Skip to content

Commit

Permalink
Remove duplicated focus/blur handler which was causing issue caught by
Browse files Browse the repository at this point in the history
` Highlights are changed when moving cursor between cells` test
  • Loading branch information
krassowski committed Feb 24, 2024
1 parent f401568 commit f4c5c83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/jupyterlab-lsp/src/features/highlights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4c5c83

Please sign in to comment.