Fix Sublime text external editor Exec Flags setting

The placeholder must be `{col}`, not `{column}`.
This commit is contained in:
Hugo Locurcio 2025-04-15 23:44:54 +02:00
parent dbddc9ef29
commit 704e99d315
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -1168,7 +1168,7 @@ String EditorSettings::_guess_exec_args_for_extenal_editor(const String &p_path)
if (editor.begins_with("rider")) {
new_exec_flags = "{project} --line {line} {file}";
} else if (editor == "subl" || editor == "sublime text" || editor == "sublime_text") {
new_exec_flags = "{project} {file}:{line}:{column}";
new_exec_flags = "{project} {file}:{line}:{col}";
} else if (editor == "vim" || editor == "gvim") {
new_exec_flags = "\"+call cursor({line}, {col})\" {file}";
} else if (editor == "emacs") {