View Source GenLSP.Structures.LinkedEditingRanges (gen_lsp v0.8.1)

The result of a linked editing range request.

@since 3.16.0

Link to this section Summary

Functions

Fields

  • 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.

Link to this section Types

@type t() :: %GenLSP.Structures.LinkedEditingRanges{
  ranges: [GenLSP.Structures.Range.t()],
  word_pattern: String.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.LinkedEditingRanges{}

View Source (struct)

fields

Fields

  • 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.