class LSProtocol::NotebookDocumentCellChanges
- LSProtocol::NotebookDocumentCellChanges
- Reference
- Object
Overview
Cell changes to a notebook document.
@since 3.18.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(data : Array(NotebookCell) | Nil = nil, structure : NotebookDocumentCellChangeStructure | Nil = nil, text_content : Array(NotebookDocumentCellContentChanges) | Nil = nil)
Instance Method Summary
-
#data : Array(NotebookCell) | Nil
Changes to notebook cells properties like its kind, execution summary or metadata.
-
#structure : NotebookDocumentCellChangeStructure | Nil
Changes to the cell structure to add or remove cells.
-
#text_content : Array(NotebookDocumentCellContentChanges) | Nil
Changes to the text content of notebook cells.
Constructor Detail
def self.new(data : Array(NotebookCell) | Nil = nil, structure : NotebookDocumentCellChangeStructure | Nil = nil, text_content : Array(NotebookDocumentCellContentChanges) | Nil = nil)
#
Instance Method Detail
def data : Array(NotebookCell) | Nil
#
Changes to notebook cells properties like its kind, execution summary or metadata.
def structure : NotebookDocumentCellChangeStructure | Nil
#
Changes to the cell structure to add or remove cells.
def text_content : Array(NotebookDocumentCellContentChanges) | Nil
#
Changes to the text content of notebook cells.