in src/highlights.ts [38:54]
private _show(): void {
const { activeTextEditor: editor } = vscode.window;
if (!editor || !editor.viewColumn) {
return;
}
if (this._ignore.has(editor.document.uri.toString())) {
return;
}
const [anchor] = this._view.selection;
if (!anchor) {
return;
}
const ranges = this._delegate.getEditorHighlights(anchor, editor.document.uri);
if (ranges) {
editor.setDecorations(this._decorationType, ranges);
}
}