class

LSProtocol::LinkedEditingRanges

Inherits JSON::Serializable / Reference / Object

The result of a linked editing range request.

@since 3.16.0

Constructors

new(pull : JSON::PullParser)
Source
new(ranges : Array(Range) | Nil, word_pattern : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ranges

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

Source
word_pattern

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.

Source