Terminal/LibGUI::TextEditor: Add shift+return to search forwards

This adds support for shift+return key combo in single line TextEditor
fields. Used in this case for searching backwards/forwards in the
Terminal find window.
This commit is contained in:
Marcus Nilsson 2021-06-02 13:21:17 +02:00 committed by Andreas Kling
commit 11fa3e4f92
Notes: sideshowbarker 2024-07-18 17:00:21 +09:00
3 changed files with 11 additions and 0 deletions

View file

@ -138,6 +138,7 @@ public:
Function<void(bool modified)> on_modified_change;
Function<void()> on_mousedown;
Function<void()> on_return_pressed;
Function<void()> on_shift_return_pressed;
Function<void()> on_escape_pressed;
Function<void()> on_up_pressed;
Function<void()> on_down_pressed;