summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorWilliam Deurwaarder <william.git@xs4all.nl>2021-08-30 21:51:56 +0200
committerWilliam Deurwaarder <william.git@xs4all.nl>2021-08-30 21:51:56 +0200
commitb2f858870d1e7ff9dc8c0e498be434b441748463 (patch)
treebfd9bf5381c221a82f62a4e6e227f60733bcd0ec /editor
parentefc87481e45c66b3a18dfe1db82c3289fe2a370d (diff)
Show help for built-in functions (@GlobalScope)
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_help.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 24b6ba1a14..490c8f287f 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -1328,6 +1328,8 @@ void EditorHelp::_help_callback(const String &p_topic) {
} else if (what == "class_global") {
if (constant_line.has(name)) {
line = constant_line[name];
+ } else if (method_line.has(name)) {
+ line = method_line[name];
} else {
Map<String, Map<String, int>>::Element *iter = enum_values_line.front();
while (true) {