Fix infinite loop in wordLeft when at buffer start #947
hamid-husain
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is a critical hang in the textarea component. Calling wordLeft() (triggered by Alt+b or Alt+Left) while the cursor was at the beginning of an empty or space-filled buffer would result in an infinite loop.
The Issue
In the current implementation of wordLeft():
Beta Was this translation helpful? Give feedback.
All reactions