1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00
serenity/Userland/Applications/TextEditor
ry755 8af7cda17a TextEditor: Specify the starting line and column number using colons
This allows the user to specify a specific line and column number to
start at when opening a file in TextEditor through the terminal, by
adding a colon after the file name.

For example, `TextEditor ReadMe.md:10:5` will open ReadMe.md and put
the cursor on line 10 at column 5.

To ensure that the user isn't trying to open a file that actually has
colons in its name, it checks if the file exists before parsing.

Replaces the feature added in b474f49164
Closes #5589
2021-05-02 10:25:51 +02:00
..
CMakeLists.txt TextEditor: Specify the starting line and column number using colons 2021-05-02 10:25:51 +02:00
FileArgument.cpp TextEditor: Specify the starting line and column number using colons 2021-05-02 10:25:51 +02:00
FileArgument.h TextEditor: Specify the starting line and column number using colons 2021-05-02 10:25:51 +02:00
main.cpp TextEditor: Specify the starting line and column number using colons 2021-05-02 10:25:51 +02:00
MainWidget.cpp TextEditor: Make sure to mark the Window as unmodified after saving 2021-05-01 19:42:29 +02:00
MainWidget.h TextEditor: Plumb modified state from GUI::TextDocument to GUI::Window 2021-05-01 19:42:29 +02:00
TextEditorWindow.gml Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00