Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinkedEditingRanges

Represents a list of ranges that can be edited together along with a word pattern to describe valid range contents.

Hierarchy

  • LinkedEditingRanges

Index

Constructors

Properties

Constructors

constructor

  • Create a new linked editing ranges object.

    Parameters

    • ranges: Range[]

      A list of ranges that can be edited together

    • Optional wordPattern: RegExp

      An optional word pattern that describes valid contents for the given ranges

    Returns LinkedEditingRanges

Properties

Readonly ranges

ranges: Range[]

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

Optional Readonly wordPattern

wordPattern: RegExp

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

Generated using TypeDoc