diff options
author | Itamar <itamar8910@gmail.com> | 2022-03-29 16:32:12 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-29 17:45:36 +0200 |
commit | a12385dc4b94efd806f669af38a3325e82189c37 (patch) | |
tree | 8e728c4227a373f09303f4fa03f8ccabb2cb5d48 /Userland/Libraries/LibGUI/TextDocument.h | |
parent | ab0b4f46f7a440d16ff5e58d3f63e38daa9c59fb (diff) | |
download | serenity-a12385dc4b94efd806f669af38a3325e82189c37.zip |
LibGUI: Add match_case parameter to TextDocument::find_all()
Diffstat (limited to 'Userland/Libraries/LibGUI/TextDocument.h')
-rw-r--r-- | Userland/Libraries/LibGUI/TextDocument.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TextDocument.h b/Userland/Libraries/LibGUI/TextDocument.h index ee43a0cf2b..c574d4b350 100644 --- a/Userland/Libraries/LibGUI/TextDocument.h +++ b/Userland/Libraries/LibGUI/TextDocument.h @@ -89,7 +89,7 @@ public: String text() const; String text_in_range(const TextRange&) const; - Vector<TextRange> find_all(StringView needle, bool regmatch = false); + Vector<TextRange> find_all(StringView needle, bool regmatch = false, bool match_case = true); void update_regex_matches(StringView); TextRange find_next(StringView, const TextPosition& start = {}, SearchShouldWrap = SearchShouldWrap::Yes, bool regmatch = false, bool match_case = true); |