Protected_activeSignal emitted when the active editor have changed.
Protected_adapterSignal emitted when the adapter is connected.
Protected_disposedSignal emitted when the adapter is disposed.
Protected_editorSignal emitted when an editor is changed.
Protected_editorSignal emitted when an editor is removed.
ReadonlyeditorThe wrapped Notebook widget.
ProtectedoptionsSignal emitted when the active editor have changed.
Signal emitted when the adapter is connected.
The LSP document and connection manager instance.
Signal emitted when the adapter is disposed.
Get current path of the document.
Signal emitted when the an editor is changed.
Signal emitted when the an editor is removed.
Get the list of CM editor with its type in the document,
Check if the document contains multiple editors
The virtual document is connected or not
Check if the adapter is disposed
Get the language identifier of the document
Get the file extension of the document.
Get the mime type of the document.
The translator provider.
Internal virtual document of the adapter.
Get the ID of the internal widget.
Get the inner HTMLElement of the document widget.
ProtectedconnectOpens a connection for the document. The connection may or may not be initialized, yet, and depending on when this is called, the client may not be fully connected.
a VirtualDocument
OptionalsendOpen: booleanwhether to open the document immediately
Generate the virtual document associated with the document.
Callback called on the document changed event.
OptionalisInit: booleanGet the index of editor from the cursor position in the virtual document.
the position of cursor in the virtual document.
Get the wrapper of input editor.
Update the virtual document on cell changing event.
Observable list of changed cells
Changed data
ProtectedinitProtectedinitProtectedlanguage_Get the metadata of notebook.
ProtectedonConnect the virtual document with the language server.
Callback on connection closed event.
ProtectedonHandler for opening a document contained in a parent document. The assumption is that the editor already exists for this, and as such the document should be queued for immediate opening.
the VirtualDocument that contains the VirtualDocument in another language
information about the foreign VirtualDocument
Callback on kernel changed event, it will disconnect the document with the language server and then reconnect.
Session context of changed kernel
Changed data
ProtectedonCallback on document saved event.
Protectedreload
Foreign code: low level adapter is not aware of the presence of foreign languages; it operates on the virtual document and must not attempt to infer the language dependencies as this would make the logic of inspections caching impossible to maintain, thus the WidgetAdapter has to handle that, keeping multiple connections and multiple virtual documents.