Merge pull request #32190 from KoBeWi/undo_redo_stuff
Fix autocompletion undo
This commit is contained in:
commit
48db920f4a
1 changed files with 1 additions and 1 deletions
|
@ -6282,7 +6282,7 @@ void TextEdit::_confirm_completion() {
|
|||
CharType last_completion_char = completion_current.insert_text[completion_current.insert_text.length() - 1];
|
||||
|
||||
if ((last_completion_char == '"' || last_completion_char == '\'') && last_completion_char == next_char) {
|
||||
_base_remove_text(cursor.line, cursor.column, cursor.line, cursor.column + 1);
|
||||
_remove_text(cursor.line, cursor.column, cursor.line, cursor.column + 1);
|
||||
}
|
||||
|
||||
if (last_completion_char == '(') {
|
||||
|
|
Loading…
Reference in a new issue