summaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-29 14:35:53 +0200
committerGitHub <noreply@github.com>2022-04-29 14:35:53 +0200
commit81139c94a8b1fd0ea29cb64627f4b8dc0962a5b7 (patch)
treea0eee1a6ab374d2bef0eab4bcdcb61eabc696beb /editor/code_editor.h
parent65aacd6b0af7d6fd7cc2f8b9d032bc130d0860fb (diff)
parent77a78cb4adf89ab6d864ca3ea2536f45592bbd6f (diff)
Merge pull request #60109 from rohanrhu/find-match-number
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index d52f57860c..bb1791940e 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -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();
};