summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-06 15:31:19 +0200
committerGitHub <noreply@github.com>2022-07-06 15:31:19 +0200
commit635d447a69cea1bac19c8ffd2bfc38fc3753441d (patch)
tree1a3c713560f2c895e1b7080782a6380ad3cad290 /editor/plugins/script_text_editor.cpp
parentea61cd3b320b145fc0dffb7056c01b5672432d90 (diff)
parenta9098e6147d294378bf7c62fb10c83a0d2670b33 (diff)
downloadredot-engine-635d447a69cea1bac19c8ffd2bfc38fc3753441d.tar.gz
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index 7d4ffd1a25..7c3520c39d 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -886,6 +886,9 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
emit_signal(SNAME("go_to_help"), "class_enum:" + result.class_name + ":" + result.class_member);
} break;
+ case ScriptLanguage::LOOKUP_RESULT_CLASS_ANNOTATION: {
+ emit_signal(SNAME("go_to_help"), "class_annotation:" + result.class_name + ":" + result.class_member);
+ } break;
case ScriptLanguage::LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE: {
emit_signal(SNAME("go_to_help"), "class_global:" + result.class_name + ":" + result.class_member);
} break;