mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
AK: Rename FileSystemPath -> LexicalPath
And move canonicalized_path() to a static method on LexicalPath. This is to make it clear that FileSystemPath/canonicalized_path() only perform *lexical* canonicalization.
This commit is contained in:
parent
f746bbda17
commit
602c3fdb3a
Notes:
sideshowbarker
2024-07-19 06:06:58 +09:00
Author: https://github.com/bugaevc
Commit: 602c3fdb3a
Pull-request: https://github.com/SerenityOS/serenity/pull/2394
Reviewed-by: https://github.com/awesomekling ✅
44 changed files with 174 additions and 181 deletions
|
@ -26,14 +26,15 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FileSystemPath.h>
|
||||
#include <AK/Function.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <LibGUI/ActionGroup.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/TextEditor.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
class TextEditorWidget final : public GUI::Widget {
|
||||
C_OBJECT(TextEditorWidget)
|
||||
public:
|
||||
|
@ -47,7 +48,7 @@ public:
|
|||
|
||||
private:
|
||||
TextEditorWidget();
|
||||
void set_path(const FileSystemPath& file);
|
||||
void set_path(const LexicalPath& file);
|
||||
void update_title();
|
||||
void update_markdown_preview();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue