mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb+LibWebView+WebContent: Support case-insensitive find-in-page
This allows searching for text with case-insensitivity. As this is probably what most users expect, the default behavior is changes to perform case-insensitive lookups. Chromes may add UI to change the behavior as they see fit.
This commit is contained in:
committed by
Andreas Kling
parent
fe3fde2411
commit
b01e810a89
@@ -180,9 +180,9 @@ void ViewImplementation::paste(String const& text)
|
||||
client().async_paste(page_id(), text);
|
||||
}
|
||||
|
||||
void ViewImplementation::find_in_page(String const& query)
|
||||
void ViewImplementation::find_in_page(String const& query, CaseSensitivity case_sensitivity)
|
||||
{
|
||||
client().async_find_in_page(page_id(), query);
|
||||
client().async_find_in_page(page_id(), query, case_sensitivity);
|
||||
}
|
||||
|
||||
void ViewImplementation::find_in_page_next_match()
|
||||
|
||||
Reference in New Issue
Block a user