summaryrefslogtreecommitdiffstats
path: root/editor/editor_help_search.h
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2021-03-19 18:49:21 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-03-19 18:49:21 -0300
commit77597ea47cb6c5e7e0b9506cc8e8c305f0f59d9c (patch)
treea3875f69a4c7666fc9ace49356d0f96c3fdb2aa9 /editor/editor_help_search.h
parent47cf9985ebf2799d9718fa1a2ca96f2f70c6d212 (diff)
downloadredot-engine-77597ea47cb6c5e7e0b9506cc8e8c305f0f59d9c.tar.gz
Select non-perfect matches if necessary in the Search Help dialog
Diffstat (limited to 'editor/editor_help_search.h')
-rw-r--r--editor/editor_help_search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_help_search.h b/editor/editor_help_search.h
index 0e236d523d..350a02315f 100644
--- a/editor/editor_help_search.h
+++ b/editor/editor_help_search.h
@@ -124,6 +124,7 @@ class EditorHelpSearch::Runner : public Reference {
TreeItem *root_item = nullptr;
Map<String, TreeItem *> class_items;
TreeItem *matched_item = nullptr;
+ float match_highest_score = 0;
bool _is_class_disabled_by_feature_profile(const StringName &p_class);