MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / update_docs_from_script

Method update_docs_from_script

editor/script/script_editor_plugin.cpp:3837–3844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3835}
3836
3837void ScriptEditor::update_docs_from_script(const Ref<Script> &p_script) {
3838 ERR_FAIL_COND(p_script.is_null());
3839
3840 for (const DocData::ClassDoc &cd : p_script->get_documentation()) {
3841 EditorHelp::get_doc_data()->add_doc(cd);
3842 update_doc(cd.name);
3843 }
3844}
3845
3846void ScriptEditor::_update_selected_editor_menu() {
3847 for (int i = 0; i < tab_container->get_tab_count(); i++) {

Callers 1

reload_scriptMethod · 0.80

Calls 3

is_nullMethod · 0.45
get_documentationMethod · 0.45
add_docMethod · 0.45

Tested by

no test coverage detected