struct

LSP::DidChangeTextDocumentParams

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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(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 : VersionedTextDocumentIdentifier)

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

Source