Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Range

Defines a text range.

Hierarchy

  • Range

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new Range(start: number, length: number): Range
  • Constructor of Range

    Parameters

    • start: number

      The range start

    • length: number

      The range length

    Returns Range

Properties

Readonly Length

Length: number

The range length

Readonly Start

Start: number

The range start

Static Readonly Empty

Empty: Range = new Range(0, 0)

Gets the empty range.

Accessors

isEmpty

  • get isEmpty(): boolean
  • True is range is empty

    Returns boolean

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Method