From fb7d2829f3ff646872c61bc78f770953179f195c Mon Sep 17 00:00:00 2001 From: Artemy Fedotov Date: Tue, 2 Sep 2025 20:32:46 +0400 Subject: [PATCH] Fix `ScriptEditor::edit()` ignoring column parameter --- editor/script/script_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cpp index 2eca9e0f88b..daf8397aabe 100644 --- a/editor/script/script_editor_plugin.cpp +++ b/editor/script/script_editor_plugin.cpp @@ -2627,7 +2627,7 @@ bool ScriptEditor::edit(const Ref &p_resource, int p_line, int p_col, } if (p_line > 0) { - se->goto_line(p_line); + se->goto_line(p_line, p_col); } } _update_script_names(); @@ -2738,7 +2738,7 @@ bool ScriptEditor::edit(const Ref &p_resource, int p_line, int p_col, _update_modified_scripts_for_external_editor(p_resource); if (p_line >= 0) { - se->goto_line(p_line); + se->goto_line(p_line, p_col); } notify_script_changed(p_resource);