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

Merge pull request #110225 from fstxz/edit_script_column

Fix `ScriptEditor::edit()` ignoring column parameter
This commit is contained in:
Thaddeus Crews
2025-09-18 21:02:32 -05:00

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);