class LSProtocol::LinkedEditingRanges
- LSProtocol::LinkedEditingRanges
- Reference
- Object
Overview
The result of a linked editing range request.
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#ranges : Array(Range)
A list of ranges that can be edited together.
-
#word_pattern : String | Nil
An optional word pattern (regular expression) that describes valid contents for the given ranges.
Constructor Detail
Instance Method Detail
A list of ranges that can be edited together. The ranges must have identical length and contain identical text content. The ranges cannot overlap.
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.