class LSProtocol::TextDocumentContentChangePartial

Overview

@since 3.18.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(range : Range | Nil, text : String | Nil, range_length : UInt32 | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def range : Range #

The range of the document that changed.


[View source]
def range_length : UInt32 | Nil #

The optional length of the range that got replaced.

@deprecated use range instead.


[View source]
def text : String #

The new text for the provided range.


[View source]