Options
All
  • Public
  • Public/Protected
  • All
Menu

A notebook range represents an ordered pair of two cell indices. It is guaranteed that start is less than or equal to end.

Hierarchy

  • NotebookRange

Index

Constructors

Properties

Methods

Constructors

Properties

end: number

The exclusive end index of this range (zero-based).

stubbed
isEmpty: boolean

true if start and end are equal.

stubbed
start: number

The zero-based start index of this range.

stubbed

Methods

  • Derive a new range for this range.

    stubbed

    Parameters

    • change: { end?: number; start?: number }

      An object that describes a change to this range.

      • Optional end?: number
      • Optional start?: number

    Returns NotebookRange

    A range that reflects the given change. Will return this range if the change is not changing anything.