You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix completion string check when column = 0
This commit is contained in:
@@ -4122,7 +4122,7 @@ void TextEdit::_update_completion_candidates() {
|
||||
}
|
||||
}
|
||||
|
||||
if (l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) {
|
||||
if (cursor.column > 0 && l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) {
|
||||
cancel = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user