LSP::Message::DidChange::Params
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(text_document : LSP::Data::TextDocumentVersionedIdentifier = Data::TextDocumentVersionedIdentifier.new, content_changes : Array(LSP::Data::TextDocumentContentChangeEvent) = [] of Data::TextDocumentContentChangeEvent)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content_changes
The actual content changes. The content changes describe single state changes to the document. So if there are two content changes c1 and c2 for a document in state S then c1 move the document to S' and c2 to S''.
content_changes=(content_changes : Array(Data::TextDocumentContentChangeEvent))
The actual content changes. The content changes describe single state changes to the document. So if there are two content changes c1 and c2 for a document in state S then c1 move the document to S' and c2 to S''.
text_document
The document that did change. The version number points to the version after all provided content changes have been applied.
text_document=(text_document : Data::TextDocumentVersionedIdentifier)
The document that did change. The version number points to the version after all provided content changes have been applied.