struct LSP::Data::TextEdit

Overview

A textual edit applicable to a text document.

Included Modules

Defined in:

lsp/data/text_edit.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(range : LSP::Data::Range = Range.new, new_text : String = "") #

[View source]

Instance Method Detail

def new_text : String #

[View source]
def new_text=(new_text : String) #

[View source]
def range : Range #

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


[View source]
def range=(range : Range) #

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


[View source]