From f4c5c8310bdedac4ef82cd0edc9155062b58c3b8 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Sat, 24 Feb 2024 19:30:44 +0000 Subject: [PATCH] Remove duplicated focus/blur handler which was causing issue caught by ` Highlights are changed when moving cursor between cells` test --- packages/jupyterlab-lsp/src/features/highlights.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/jupyterlab-lsp/src/features/highlights.ts b/packages/jupyterlab-lsp/src/features/highlights.ts index 5aba67258..0f52d82d4 100644 --- a/packages/jupyterlab-lsp/src/features/highlights.ts +++ b/packages/jupyterlab-lsp/src/features/highlights.ts @@ -97,8 +97,7 @@ export class HighlightsFeature extends Feature { const updateListener = EditorView.updateListener.of(viewUpdate => { if ( viewUpdate.docChanged || - viewUpdate.selectionSet || - viewUpdate.focusChanged + viewUpdate.selectionSet ) { this.onCursorActivity(editorAccessor, adapter).catch( this.console.warn