class LSProtocol::LinkedEditingRanges

Overview

The result of a linked editing range request.

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(ranges : Array(Range) | Nil, word_pattern : String | Nil = nil) #

[View source]

Instance Method Detail

def ranges : Array(Range) #

A list of ranges that can be edited together. The ranges must have identical length and contain identical text content. The ranges cannot overlap.


[View source]
def word_pattern : String | Nil #

An optional word pattern (regular expression) that describes valid contents for the given ranges. If no pattern is provided, the client configuration's word pattern will be used.


[View source]