File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
packages/jupyterlab-lsp/src
adapters/codemirror/features Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -184,8 +184,8 @@ Setup Notebook
184
184
Copy File examples${/ }${file } ${OUTPUT DIR }${/ } home${/ }${file }
185
185
Try to Close All Tabs
186
186
Open ${file } in ${MENU NOTEBOOK }
187
- Wait Until Fully Initialized
188
187
Capture Page Screenshot 00-opened.png
188
+ Wait Until Fully Initialized
189
189
Capture Page Screenshot 01-initialized.png
190
190
191
191
Open Diagnostics Panel
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ export class Highlights extends CodeMirrorLSPFeature {
73
73
} ;
74
74
75
75
protected onCursorActivity = async ( ) => {
76
+ if ( ! this . virtual_editor ?. virtual_document ?. document_info ) {
77
+ return ;
78
+ }
76
79
let root_position : IRootPosition ;
77
80
78
81
try {
Original file line number Diff line number Diff line change @@ -256,9 +256,7 @@ export class DocumentConnectionManager {
256
256
}
257
257
258
258
public unregister_document ( virtual_document : VirtualDocument ) {
259
- const connection = this . connections . get ( virtual_document . id_path ) ;
260
259
this . connections . delete ( virtual_document . id_path ) ;
261
- this . closed . emit ( { connection, virtual_document } ) ;
262
260
}
263
261
}
264
262
You can’t perform that action at this time.
0 commit comments