mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibGUI: Add support for jumping to a line and column in TextEditor
We had support for going to a specific line before, but now we support jumping around using the `line:column` format :^)
This commit is contained in:
parent
75c8e07cc3
commit
617edafbf2
3 changed files with 29 additions and 7 deletions
|
@ -190,7 +190,7 @@ public:
|
|||
Action& cut_action() { return *m_cut_action; }
|
||||
Action& copy_action() { return *m_copy_action; }
|
||||
Action& paste_action() { return *m_paste_action; }
|
||||
Action& go_to_line_action() { return *m_go_to_line_action; }
|
||||
Action& go_to_line_or_column_action() { return *m_go_to_line_or_column_action; }
|
||||
Action& select_all_action() { return *m_select_all_action; }
|
||||
Action& insert_emoji_action() { return *m_insert_emoji_action; }
|
||||
|
||||
|
@ -426,7 +426,7 @@ private:
|
|||
RefPtr<Action> m_cut_action;
|
||||
RefPtr<Action> m_copy_action;
|
||||
RefPtr<Action> m_paste_action;
|
||||
RefPtr<Action> m_go_to_line_action;
|
||||
RefPtr<Action> m_go_to_line_or_column_action;
|
||||
RefPtr<Action> m_select_all_action;
|
||||
RefPtr<Action> m_insert_emoji_action;
|
||||
Core::ElapsedTimer m_triple_click_timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue