We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f401568 commit 4779dc2Copy full SHA for 4779dc2
packages/jupyterlab-lsp/src/features/highlights.ts
@@ -95,11 +95,7 @@ export class HighlightsFeature extends Feature {
95
const { editor: editorAccessor, widgetAdapter: adapter } =
96
factoryOptions;
97
const updateListener = EditorView.updateListener.of(viewUpdate => {
98
- if (
99
- viewUpdate.docChanged ||
100
- viewUpdate.selectionSet ||
101
- viewUpdate.focusChanged
102
- ) {
+ if (viewUpdate.docChanged || viewUpdate.selectionSet) {
103
this.onCursorActivity(editorAccessor, adapter).catch(
104
this.console.warn
105
);
0 commit comments