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

Method script_goto_method

editor/script/script_editor_plugin.cpp:3977–3985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3975}
3976
3977bool ScriptEditor::script_goto_method(Ref<Script> p_script, const String &p_method) {
3978 int line = p_script->get_member_line(p_method);
3979
3980 if (line == -1) {
3981 return false;
3982 }
3983
3984 return edit(p_script, line, 0);
3985}
3986
3987void ScriptEditor::set_live_auto_reload_running_scripts(bool p_enabled) {
3988 auto_reload_running_scripts = p_enabled;

Callers 2

_go_to_methodMethod · 0.80
_lookup_keyMethod · 0.80

Calls 1

get_member_lineMethod · 0.45

Tested by

no test coverage detected