1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:27:35 +00:00

LibGUI: Add IncrementalSearchBanner

Compared to traditional modal search, incremental search begins
matching as soon as the user starts typing, highlighting results
immediately. This refactors Itamar's work for HackStudio into a
common LibGUI widget to be used in all multi-line TextEditors.
This commit is contained in:
thankyouverycool 2022-11-28 17:58:17 -05:00 committed by Sam Atkins
parent 3c4a563415
commit 8231bd9bc3
6 changed files with 267 additions and 1 deletions

View file

@ -1,6 +1,7 @@
compile_gml(EmojiInputDialog.gml EmojiInputDialogGML.h emoji_input_dialog_gml)
compile_gml(FontPickerDialog.gml FontPickerDialogGML.h font_picker_dialog_gml)
compile_gml(FilePickerDialog.gml FilePickerDialogGML.h file_picker_dialog_gml)
compile_gml(IncrementalSearchBanner.gml IncrementalSearchBannerGML.h incremental_search_banner_gml)
compile_gml(PasswordInputDialog.gml PasswordInputDialogGML.h password_input_dialog_gml)
set(SOURCES
@ -57,6 +58,7 @@ set(SOURCES
Icon.cpp
IconView.cpp
ImageWidget.cpp
IncrementalSearchBanner.cpp
INILexer.cpp
INISyntaxHighlighter.cpp
InputBox.cpp
@ -133,6 +135,7 @@ set(GENERATED_SOURCES
EmojiInputDialogGML.h
FilePickerDialogGML.h
FontPickerDialogGML.h
IncrementalSearchBannerGML.h
PasswordInputDialogGML.h
)