summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-12 09:17:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-12 09:17:35 +0200
commitf5bf9b60bd0ac876c35e0f4ace171b75ad68e889 (patch)
tree2664b65fb19d86cba87850138baa8d241f61f60b /editor
parent2c136e6170a40f58f2dfb89d32eadfca7156ef37 (diff)
parentbeef0f687c053624f057f79a14878926b77e7e8f (diff)
downloadredot-engine-f5bf9b60bd0ac876c35e0f4ace171b75ad68e889.tar.gz
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/script_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 4996964976..253005c5ce 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -4058,6 +4058,7 @@ void ScriptEditor::_bind_methods() {
ClassDB::bind_method(D_METHOD("open_script_create_dialog", "base_name", "base_path"), &ScriptEditor::open_script_create_dialog);
ClassDB::bind_method(D_METHOD("goto_help", "topic"), &ScriptEditor::goto_help);
+ ClassDB::bind_method(D_METHOD("update_docs_from_script", "script"), &ScriptEditor::update_docs_from_script);
ADD_SIGNAL(MethodInfo("editor_script_changed", PropertyInfo(Variant::OBJECT, "script", PROPERTY_HINT_RESOURCE_TYPE, "Script")));
ADD_SIGNAL(MethodInfo("script_close", PropertyInfo(Variant::OBJECT, "script", PROPERTY_HINT_RESOURCE_TYPE, "Script")));