Theia API Documentation v1.65.0
    Preparing search index...

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

    Implemented by

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    end: number

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

    isEmpty: boolean

    true if start and end are equal.

    start: number

    The zero-based start index of this range.

    Methods

    • Derive a new range for this range.

      Parameters

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

        An object that describes a change to this range.

      Returns NotebookRange

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