mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Indicate code editor search match number
This commit is contained in:
parent
3e9ead05f2
commit
77a78cb4ad
2 changed files with 83 additions and 23 deletions
|
@ -82,9 +82,12 @@ class FindReplaceBar : public HBoxContainer {
|
|||
CodeTextEditor *base_text_editor = nullptr;
|
||||
CodeEdit *text_editor = nullptr;
|
||||
|
||||
uint32_t flags = 0;
|
||||
|
||||
int result_line;
|
||||
int result_col;
|
||||
int results_count;
|
||||
int results_count_to_current;
|
||||
|
||||
bool replace_all_mode = false;
|
||||
bool preserve_cursor = false;
|
||||
|
@ -131,6 +134,9 @@ public:
|
|||
bool search_prev();
|
||||
bool search_next();
|
||||
|
||||
bool needs_to_count_results = true;
|
||||
bool line_col_changed_for_result = false;
|
||||
|
||||
FindReplaceBar();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue