mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
TextEditor: Add layout options to View menu
Toolbar, status bar, and ruler can now be toggled on/off and their settings are saved in ~/.config/TextEditor.ini
This commit is contained in:
parent
c877612211
commit
5a03b326a7
4 changed files with 49 additions and 0 deletions
|
@ -84,6 +84,10 @@ private:
|
|||
RefPtr<GUI::Action> m_replace_previous_action;
|
||||
RefPtr<GUI::Action> m_replace_all_action;
|
||||
|
||||
RefPtr<GUI::Action> m_layout_toolbar_action;
|
||||
RefPtr<GUI::Action> m_layout_statusbar_action;
|
||||
RefPtr<GUI::Action> m_layout_ruler_action;
|
||||
|
||||
GUI::ActionGroup m_preview_actions;
|
||||
RefPtr<GUI::Action> m_no_preview_action;
|
||||
RefPtr<GUI::Action> m_markdown_preview_action;
|
||||
|
@ -117,6 +121,7 @@ private:
|
|||
RefPtr<GUI::Action> m_shell_highlight;
|
||||
|
||||
RefPtr<Web::OutOfProcessWebView> m_page_view;
|
||||
RefPtr<Core::ConfigFile> m_config;
|
||||
|
||||
bool m_document_dirty { false };
|
||||
bool m_document_opening { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue