You've already forked godot
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:
@@ -2627,7 +2627,7 @@ bool ScriptEditor::edit(const Ref<Resource> &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<Resource> &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);
|
||||
|
||||
Reference in New Issue
Block a user