mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibGUI+LibSyntax: Stringify Highlighter::Language
This patch adds a Highlighter::Language -> string helper and a callback for Highlighter changes.
This commit is contained in:
parent
3aa95dd4d5
commit
94b74937d8
Notes:
sideshowbarker
2024-07-17 18:19:04 +09:00
Author: https://github.com/thankyouverycool
Commit: 94b74937d8
Pull-request: https://github.com/SerenityOS/serenity/pull/12723
4 changed files with 30 additions and 0 deletions
|
@ -107,6 +107,7 @@ public:
|
|||
Function<void()> on_selection_change;
|
||||
Function<void()> on_focusin;
|
||||
Function<void()> on_focusout;
|
||||
Function<void()> on_highlighter_change;
|
||||
|
||||
void set_text(StringView, AllowCallback = AllowCallback::Yes);
|
||||
void scroll_cursor_into_view();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue