class LSP::TextEdit

Overview

A textual edit applicable to a text document.

Included Modules

Defined in:

base/text_edit.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(**args) #

Instance Method Detail

def new_text : String #

def new_text=(new_text : String) #

def range : Range #

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


def range=(range : Range) #

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