LibGUI: Add focus hooks to TextEditor

This commit is contained in:
AnotherTest
2020-07-04 22:37:55 +04:30
committed by Andreas Kling
parent fd64be02e0
commit c35493c156
2 changed files with 6 additions and 0 deletions

View File

@@ -94,6 +94,8 @@ public:
Function<void()> on_cursor_change;
Function<void()> on_selection_change;
Function<void()> on_focusin;
Function<void()> on_focusout;
void set_text(const StringView&);
void scroll_cursor_into_view();