mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #60890 from pfertyk/issue-60866-fix-backspace-selection-left
This commit is contained in:
commit
5013c1d5b6
@ -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…
Reference in New Issue
Block a user