1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

TextEditor: Plumb modified state from GUI::TextDocument to GUI::Window

Instead of tracking this stuff ourselves at the application level,
we now just act as an intermediary and pass along the information to
the windowing system.
This commit is contained in:
Andreas Kling 2021-05-01 18:51:43 +02:00
parent 5b68a76c77
commit e9c40b0243
2 changed files with 7 additions and 22 deletions

View file

@ -118,8 +118,6 @@ private:
RefPtr<Web::OutOfProcessWebView> m_page_view;
RefPtr<Core::ConfigFile> m_config;
bool m_document_dirty { false };
bool m_document_opening { false };
bool m_auto_detect_preview_mode { false };
bool m_use_regex { false };
bool m_match_case { true };