Skip to content

Commit 4779dc2

Browse files
committed
Remove duplicated focus/blur handler which was causing issue caught by
` Highlights are changed when moving cursor between cells` test
1 parent f401568 commit 4779dc2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/jupyterlab-lsp/src/features/highlights.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,7 @@ export class HighlightsFeature extends Feature {
9595
const { editor: editorAccessor, widgetAdapter: adapter } =
9696
factoryOptions;
9797
const updateListener = EditorView.updateListener.of(viewUpdate => {
98-
if (
99-
viewUpdate.docChanged ||
100-
viewUpdate.selectionSet ||
101-
viewUpdate.focusChanged
102-
) {
98+
if (viewUpdate.docChanged || viewUpdate.selectionSet) {
10399
this.onCursorActivity(editorAccessor, adapter).catch(
104100
this.console.warn
105101
);

0 commit comments

Comments
 (0)