Merge pull request #68282 from alfredbaudisch/backspace-multi-care
Correctly deletes multi-caret selection with backspace
This commit is contained in:
commit
cf1e6bb6fc
1 changed files with 2 additions and 2 deletions
|
@ -694,8 +694,8 @@ void CodeEdit::_backspace_internal(int p_caret) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (has_selection()) {
|
||||
delete_selection();
|
||||
if (has_selection(p_caret)) {
|
||||
delete_selection(p_caret);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue