struct

LSP::Message::DidChange::Params

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(text_document : LSP::Data::TextDocumentVersionedIdentifier = Data::TextDocumentVersionedIdentifier.new, content_changes : Array(LSP::Data::TextDocumentContentChangeEvent) = [] of Data::TextDocumentContentChangeEvent)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance 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''.

Source
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''.

Source
text_document

The document that did change. The version number points to the version after all provided content changes have been applied.

Source
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.

Source