-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to fix native selection and focus issues
See atom/atom#16267 The Atom text editing components (text-editor, selection, marker) call their event handlers synchronously. Within a handler of a cursor event the text buffer, the cursor, and the selection cannot be reliably updated (the editor loses focus somewhere during the updates). So the updates were refactored to happen asynchronously. As a result the cursor jump has become clearly visible, but this does not break the UX of this package.
- Loading branch information
1 parent
f634ac8
commit b48d44c
Showing
1 changed file
with
189 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters