1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00
serenity/Userland/Applications/TextEditor
Andreas Kling 2905e10513 LibGUI+TextEditor: Make TextDocument modified state track undo stack
This was quite unreliable before. Changes to the undo stack's modified
state are now reflected in the document's modified state, and the
GUI::TextEditor widget has its undo/redo actions updated automatically.

UndoStack is still a bit hard to understand due to the lazy coalescing
of commands, and that's something we should improve upon (e.g with more
explicit, incremental command merging.) But for now, this is a nice
improvement and undo/redo finally behaves in a way that feels natural.
2021-05-08 13:49:34 +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: Minor cleanups in the FileArgument class 2021-05-06 12:35:25 +02:00
FileArgument.h TextEditor: Minor cleanups in the FileArgument class 2021-05-06 12:35:25 +02:00
main.cpp TextEditor: Rename "file_name" => "filename" 2021-05-06 12:33:46 +02:00
MainWidget.cpp LibGUI+TextEditor: Make TextDocument modified state track undo stack 2021-05-08 13:49:34 +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