Skip to content

Commit

Permalink
Remove the highlight when hovering over empty space
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Sep 18, 2020
1 parent 67abb1e commit 411f91b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jupyterlab-lsp/src/features/hover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ export class HoverCM extends CodeMirrorIntegration {

// if over an empty space in a line (and not over a token) then not worth checking
if (target.classList.contains('CodeMirror-line')) {
this.remove_range_highlight();
return;
}

Expand Down

0 comments on commit 411f91b

Please sign in to comment.