Structure describes the range. Range describes the word or chain symbol in text.

Hierarchy

  • Range

Index

Constructors

Properties

Constructors

constructor

  • new Range(text: string, size: Size, newLineForm: boolean): Range
  • Initializes a new instance of the Range class with the specified location and size.

    Parameters

    • text: string
    • size: Size
    • newLineForm: boolean

    Returns Range

Properties

isEnd

isEnd: boolean

Is end range.

isStart

isStart: boolean

Is start range.

newLineForm

newLineForm: boolean

After this range, new line is starting.

pos

pos: Point

Position of range.

size

size: Size

Size of range.

text

text: string

Contents of range.

Generated using TypeDoc