summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-13 15:55:50 +0200
committerGitHub <noreply@github.com>2019-08-13 15:55:50 +0200
commit61ab7fdf4e85417a919eb62b84a6b14c48a00a1a (patch)
treed7d5079843cb2c193b82f4a57c73f243d7ea39fd /editor/code_editor.h
parent985955d5b46031c2555540a3a0091f4a46bddbfe (diff)
parent95a8b2b5d9cc7d9a2b4302a9259a3035b572cd35 (diff)
downloadredot-engine-61ab7fdf4e85417a919eb62b84a6b14c48a00a1a.tar.gz
Merge pull request #31239 from YeldhamDev/script_search_matches_placement
Make the script search have a proper matches counter
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 700e72627c..a4b3aa312f 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -64,6 +64,7 @@ class FindReplaceBar : public HBoxContainer {
GDCLASS(FindReplaceBar, HBoxContainer);
LineEdit *search_text;
+ Label *matches_label;
ToolButton *find_prev;
ToolButton *find_next;
CheckBox *case_sensitive;
@@ -90,6 +91,7 @@ class FindReplaceBar : public HBoxContainer {
void _get_search_from(int &r_line, int &r_col);
void _update_results_count();
+ void _update_matches_label();
void _show_search();
void _hide_bar();