You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix some bugs about search in code editor
1. Fix #61713; 2. Fix the bug when there are consecutive matches, forward searching will skip the adjacent item; 3. Fix the bug that enable the selection-only option will affect the operations in search mode.
This commit is contained in:
@@ -92,7 +92,7 @@ class FindReplaceBar : public HBoxContainer {
|
||||
bool replace_all_mode = false;
|
||||
bool preserve_cursor = false;
|
||||
|
||||
void _get_search_from(int &r_line, int &r_col);
|
||||
void _get_search_from(int &r_line, int &r_col, bool p_is_searching_next = false);
|
||||
void _update_results_count();
|
||||
void _update_matches_label();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user