Reduce SelectionHighlighter flashing when moving within the same word

This commit is contained in:
Alex Dima 2017-10-23 09:38:58 +02:00
parent 089f675513
commit 2ca58657e9

View file

@ -638,6 +638,7 @@ class SelectionHighlighterState {
public readonly wordSeparators: string;
constructor(lastWordUnderCursor: Selection, searchText: string, matchCase: boolean, wordSeparators: string) {
this.lastWordUnderCursor = lastWordUnderCursor;
this.searchText = searchText;
this.matchCase = matchCase;
this.wordSeparators = wordSeparators;