Struct languageserver_types::TextDocumentContentChangeEvent[][src]

pub struct TextDocumentContentChangeEvent {
    pub range: Option<Range>,
    pub range_length: Option<u64>,
    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. NOTE: seems redundant, see: https://github.com/Microsoft/language-server-protocol/issues/9

The new text of the document.

Trait Implementations

impl Debug for TextDocumentContentChangeEvent
[src]

Formats the value using the given formatter. Read more

impl Eq for TextDocumentContentChangeEvent
[src]

impl PartialEq for TextDocumentContentChangeEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations