From 862369f8420608d131dda9a3da2d7dd860fce72f Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Mon, 8 Jul 2019 20:33:04 +0300 Subject: Display a count of matches when searching in the code editor Fixes #14513 --- editor/code_editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/code_editor.h') diff --git a/editor/code_editor.h b/editor/code_editor.h index 5af1f531a9..700e72627c 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -83,11 +83,13 @@ class FindReplaceBar : public HBoxContainer { int result_line; int result_col; + int results_count; bool replace_all_mode; bool preserve_cursor; void _get_search_from(int &r_line, int &r_col); + void _update_results_count(); void _show_search(); void _hide_bar(); -- cgit v1.2.3