Skip to content

Commit

Permalink
fix #106570
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Nov 11, 2020
1 parent 4d6c4ae commit a986b57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vs/editor/contrib/multicursor/multicursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,11 @@ export class SelectionHighlighter extends Disposable implements IEditorContribut
});

this.decorations = this.editor.deltaDecorations(this.decorations, decorations);

const currentFindState = CommonFindController.get(this.editor).getState();
if (currentFindState.isRegex || currentFindState.matchCase || currentFindState.wholeWord) {
CommonFindController.get(this.editor).highlightFindOptions();
}
}

private static readonly _SELECTION_HIGHLIGHT_OVERVIEW = ModelDecorationOptions.register({
Expand Down

0 comments on commit a986b57

Please sign in to comment.