Skip to content

Commit 5fbb86a

Browse files
committed
stop before using other ranges
1 parent 6cf7b9d commit 5fbb86a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ class WordHighlighter {
461461
// update decorators of friends
462462
for (const other of this.linkedHighlighters()) {
463463
if (other?.editor.getModel() === this.editor.getModel()) {
464+
other._stopAll();
464465
other.decorations.set(decorations);
465466
other._hasWordHighlights.set(other.hasDecorations());
466467
}

0 commit comments

Comments
 (0)