struct LSP::DidChangeNotebookDocumentParams
- LSP::DidChangeNotebookDocumentParams
- Struct
- Value
- Object
Overview
The params sent in a change notebook document notification.
Included Modules
- JSON::Serializable
Defined in:
lsp/document_sync/did_change_notebook_document.crConstructors
Instance Method Summary
-
#change : NotebookDocumentChangeEvent
The actual changes to the notebook document.
-
#change=(change : NotebookDocumentChangeEvent)
The actual changes to the notebook document.
- #notebook_document : VersionedNotebookDocumentIdentifier
- #notebook_document=(notebook_document : VersionedNotebookDocumentIdentifier)
Constructor Detail
Instance Method Detail
def change : NotebookDocumentChangeEvent
#
The actual changes to the notebook document.
The change describes single state change to the notebook document. So it moves a notebook document, its cells and its cell text document contents from state S to S'.
To mirror the content of a notebook using change events use the following approach:
- start with the same initial content
- apply the 'notebookDocument/didChange' notifications in the order you receive them.
def change=(change : NotebookDocumentChangeEvent)
#
The actual changes to the notebook document.
The change describes single state change to the notebook document. So it moves a notebook document, its cells and its cell text document contents from state S to S'.
To mirror the content of a notebook using change events use the following approach:
- start with the same initial content
- apply the 'notebookDocument/didChange' notifications in the order you receive them.