1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

HackStudio: Add option to open file in single click

This feature is similar to Clion's "Open files with Single Click" which
allows user to open file without double clicking it

HackStudio: Update action name to remove "toggle"

Action name does need to include "Toggle" word since its already implie
d with checkable action
This commit is contained in:
Abhishek Raturi 2023-07-27 21:12:40 -04:00 committed by Andrew Kaster
parent a608458ee6
commit 7bc3fd8c15
2 changed files with 12 additions and 0 deletions

View file

@ -113,6 +113,7 @@ private:
NonnullRefPtr<GUI::Action> create_remove_current_editor_tab_widget_action();
ErrorOr<NonnullRefPtr<GUI::Action>> create_remove_current_editor_action();
ErrorOr<NonnullRefPtr<GUI::Action>> create_open_action();
ErrorOr<NonnullRefPtr<GUI::Action>> create_toggle_open_file_in_single_click_action();
NonnullRefPtr<GUI::Action> create_save_action();
NonnullRefPtr<GUI::Action> create_save_as_action();
NonnullRefPtr<GUI::Action> create_show_in_file_manager_action();
@ -247,6 +248,7 @@ private:
RefPtr<GUI::Action> m_locations_history_back_action;
RefPtr<GUI::Action> m_locations_history_forward_action;
RefPtr<GUI::Action> m_toggle_semantic_highlighting_action;
RefPtr<GUI::Action> m_toggle_view_file_in_single_click_action;
RefPtr<GUI::Action> m_open_project_configuration_action;
RefPtr<Gfx::Font const> read_editor_font_from_config();