This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hide suggestion list for text change not at cursor position
If the suggestion list is displayed, and the user enters a newline, we currently hide (i.e., dismiss) the suggestion list. That makes sense, and we want to retain that behavior. However, if a text change occurs _elsewhere_ in the buffer (e.g., automated tooling that adds semicolons at the end of each line of code in JavaScript), that change shouldn't interfere with a human user interacting with the autocomplete suggestion list. With this change, we only hide the suggestion list if a text change occurs at the cursor where the human user is interacting with the autocomplete selection list.
- Loading branch information
1 parent
9e7f364
commit 05d33f8
Showing
2 changed files
with
27 additions
and
9 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
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