From 94b74937d8f6a8680386388b8c34e0167fc06ebd Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Tue, 22 Feb 2022 15:00:56 -0500 Subject: LibGUI+LibSyntax: Stringify Highlighter::Language This patch adds a Highlighter::Language -> string helper and a callback for Highlighter changes. --- Userland/Libraries/LibGUI/TextEditor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibGUI/TextEditor.h') diff --git a/Userland/Libraries/LibGUI/TextEditor.h b/Userland/Libraries/LibGUI/TextEditor.h index ba3e46a97e..dd64808930 100644 --- a/Userland/Libraries/LibGUI/TextEditor.h +++ b/Userland/Libraries/LibGUI/TextEditor.h @@ -107,6 +107,7 @@ public: Function on_selection_change; Function on_focusin; Function on_focusout; + Function on_highlighter_change; void set_text(StringView, AllowCallback = AllowCallback::Yes); void scroll_cursor_into_view(); -- cgit v1.2.3