LSProtocol::LinkedEditingRanges
Inherits JSON::Serializable / Reference / Object
The result of a linked editing range request.
@since 3.16.0
Constructors
new(pull : JSON::PullParser)
Sourcenew(ranges : Array(Range) | Nil, word_pattern : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance 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.
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.