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

Method edit_script

editor/editor_interface.cpp:653–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653void EditorInterface::edit_script(const Ref<Script> &p_script, int p_line, int p_col, bool p_grab_focus) {
654 ScriptEditor::get_singleton()->edit(p_script, p_line - 1, p_col - 1, p_grab_focus);
655}
656
657void EditorInterface::open_scene_from_path(const String &scene_path, bool p_set_inherited) {
658 if (EditorNode::get_singleton()->is_changing_scene()) {

Callers

nothing calls this directly

Calls 1

editMethod · 0.45

Tested by

no test coverage detected