Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EditingEngine: Don't jump to the beginning or end of a non-existant word #5992

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

one-some
Copy link
Contributor

@one-some one-some commented Mar 27, 2021

Previously, when jumping to the next word on the last column of a line, or when jumping to the previous word on the first column, it would crash. This checks if that is the case, and if so, will do nothing. Fixes #5953

Previously, when jumping to the next word on the last column of a line,
or when jumping to the previous word on the first column, it would
crash. This checks if that is the case, and if so, will do nothing.
@awesomekling awesomekling merged commit 279599c into SerenityOS:master Mar 30, 2021
@one-some one-some deleted the vim-e-crash branch March 30, 2021 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TextEditor: Jumping to word end when document is empty in Vim emulation mode causes an assertion failure
2 participants