Merge pull request #60890 from pfertyk/issue-60866-fix-backspace-selection-left
This commit is contained in:
commit
5013c1d5b6
2 changed files with 192 additions and 171 deletions
|
|
@ -2388,7 +2388,7 @@ void TextEdit::_move_caret_page_down(bool p_select) {
|
|||
}
|
||||
|
||||
void TextEdit::_do_backspace(bool p_word, bool p_all_to_left) {
|
||||
if (!editable || (caret.column == 0 && caret.line == 0)) {
|
||||
if (!editable || (caret.column == 0 && caret.line == 0 && !has_selection())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue