diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-10-31 23:18:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-31 23:18:32 +0100 |
| commit | 1dd742777a427c9b96c34d87c218bd3ec30a0224 (patch) | |
| tree | d850e5852f0b75713ba2452bc112e015a0766740 /editor/editor_help_search.h | |
| parent | 1aef3a42b234b86c5db21d5a64509453e6bf145c (diff) | |
| parent | 6772ebcea00df6d01be5b333e7b5a5fff1c7a27a (diff) | |
| download | redot-engine-1dd742777a427c9b96c34d87c218bd3ec30a0224.tar.gz | |
Merge pull request #53452 from aaronfranke/who-let-the-docs-out
Diffstat (limited to 'editor/editor_help_search.h')
| -rw-r--r-- | editor/editor_help_search.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/editor/editor_help_search.h b/editor/editor_help_search.h index bc57c0e3c6..7285f76c01 100644 --- a/editor/editor_help_search.h +++ b/editor/editor_help_search.h @@ -43,12 +43,14 @@ class EditorHelpSearch : public ConfirmationDialog { enum SearchFlags { SEARCH_CLASSES = 1 << 0, - SEARCH_METHODS = 1 << 1, - SEARCH_SIGNALS = 1 << 2, - SEARCH_CONSTANTS = 1 << 3, - SEARCH_PROPERTIES = 1 << 4, - SEARCH_THEME_ITEMS = 1 << 5, - SEARCH_ALL = SEARCH_CLASSES | SEARCH_METHODS | SEARCH_SIGNALS | SEARCH_CONSTANTS | SEARCH_PROPERTIES | SEARCH_THEME_ITEMS, + SEARCH_CONSTRUCTORS = 1 << 1, + SEARCH_METHODS = 1 << 2, + SEARCH_OPERATORS = 1 << 3, + SEARCH_SIGNALS = 1 << 4, + SEARCH_CONSTANTS = 1 << 5, + SEARCH_PROPERTIES = 1 << 6, + SEARCH_THEME_ITEMS = 1 << 7, + SEARCH_ALL = SEARCH_CLASSES | SEARCH_CONSTRUCTORS | SEARCH_METHODS | SEARCH_OPERATORS | SEARCH_SIGNALS | SEARCH_CONSTANTS | SEARCH_PROPERTIES | SEARCH_THEME_ITEMS, SEARCH_CASE_SENSITIVE = 1 << 29, SEARCH_SHOW_HIERARCHY = 1 << 30 }; @@ -99,7 +101,9 @@ class EditorHelpSearch::Runner : public RefCounted { struct ClassMatch { DocData::ClassDoc *doc; bool name = false; + Vector<DocData::MethodDoc *> constructors; Vector<DocData::MethodDoc *> methods; + Vector<DocData::MethodDoc *> operators; Vector<DocData::MethodDoc *> signals; Vector<DocData::ConstantDoc *> constants; Vector<DocData::PropertyDoc *> properties; |
