From a12385dc4b94efd806f669af38a3325e82189c37 Mon Sep 17 00:00:00 2001 From: Itamar Date: Tue, 29 Mar 2022 16:32:12 +0300 Subject: LibGUI: Add match_case parameter to TextDocument::find_all() --- Userland/Libraries/LibGUI/TextDocument.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/TextDocument.h') 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 find_all(StringView needle, bool regmatch = false); + Vector 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); -- cgit v1.2.3