mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge pull request #68282 from alfredbaudisch/backspace-multi-care
Correctly deletes multi-caret selection with backspace
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user