class LSProtocol::TextEdit

Overview

A text edit applicable to a text document.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(new_text : String | Nil, range : Range | Nil) #

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

[View source]

Instance Method Detail

def new_text : String #

The string to be inserted. For delete operations use an empty string.


[View source]
def range : Range #

The range of the text document to be manipulated. To insert text into a document create a range where start === end.


[View source]