class LSProtocol::InsertReplaceEdit

Overview

A special text edit to provide an insert and a replace operation.

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def insert : Range #

The range if the insert is requested


[View source]
def new_text : String #

The string to be inserted.


[View source]
def replace : Range #

The range if the replace is requested.


[View source]