Struct lsp::types::TextDocumentContentChangeEvent[][src]

pub struct TextDocumentContentChangeEvent {
    pub range: Option<Range>,
    pub range_length: Option<i32>,
    pub text: String,
}

An event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.

Fields

The range of the document that changed.

The length of the range that got replaced.

The new text of the document.

Trait Implementations

impl Debug for TextDocumentContentChangeEvent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations