You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code checked if the beginning of the text was reached (line == 0 and column == 0). If so, it didn't remove the text. This resulted in any selection from right to left (that extended to the beginning of the text) to not work with backspace. The selection didn't have to go beyond the frame of the TextEdit, just to the beginning of the first word (worked both with mouse drag and with Shift + left arrow).
Selecting the text from left to right worked fine, because the caret was placed at the end of the text, not the beginning, so the condition was not met.
I've added another part to the condition, checking if there is a selection available ;)
pfertyk
added a commit
to pfertyk/godot
that referenced
this issue
May 9, 2022
Godot version
5636903
System information
Windows 10 x64
Issue description
When you select text in TextEdit, particularly from right to left, with cursor finishing beyond the TextEdit, Backspace has no effect:
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: