mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Refactor AbstractView::do_search() into two standalone steps
This change splits the do_search() into find_next_search_match() and highlight_search() to allow the given index be independently highlighted when needed.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
cc93736f21
commit
d0e44993a1
@@ -164,7 +164,8 @@ protected:
|
||||
|
||||
void stop_highlighted_search_timer();
|
||||
void start_highlighted_search_timer();
|
||||
void do_search(String&&);
|
||||
ModelIndex find_next_search_match(StringView const);
|
||||
void highlight_search(ModelIndex const index);
|
||||
|
||||
ModelIndex drop_candidate_index() const { return m_drop_candidate_index; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user