mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #110225 from fstxz/edit_script_column
Fix `ScriptEditor::edit()` ignoring column parameter
This commit is contained in:
commit
42fbaba8ad
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue