You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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) {
|
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user