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(1)

Properties(2)

Constructors(1)

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(2)

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.

Readonly wordPattern

wordPattern: undefined | 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 by TypeDoc. Maintained by 洛竹