1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix ScriptEditor::edit() ignoring column parameter

This commit is contained in:
Artemy Fedotov
2025-09-02 20:32:46 +04:00
parent 0c51ede243
commit fb7d2829f3

View File

@@ -2627,7 +2627,7 @@ bool ScriptEditor::edit(const Ref<Resource> &p_resource, int p_line, int p_col,
} }
if (p_line > 0) { if (p_line > 0) {
se->goto_line(p_line); se->goto_line(p_line, p_col);
} }
} }
_update_script_names(); _update_script_names();
@@ -2738,7 +2738,7 @@ bool ScriptEditor::edit(const Ref<Resource> &p_resource, int p_line, int p_col,
_update_modified_scripts_for_external_editor(p_resource); _update_modified_scripts_for_external_editor(p_resource);
if (p_line >= 0) { if (p_line >= 0) {
se->goto_line(p_line); se->goto_line(p_line, p_col);
} }
notify_script_changed(p_resource); notify_script_changed(p_resource);