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

    A notebook edit represents edits that should be applied to the contents of a notebook.

    Implemented by

    Index

    Constructors

    Properties

    newCellMetadata?: { [key: string]: any }

    Optional new metadata for the cells.

    newCells: NotebookCellData[]

    New cells being inserted. May be empty.

    newNotebookMetadata?: { [key: string]: any }

    Optional new metadata for the notebook.

    Range of the cells being edited. May be empty.

    Methods

    • Utility to create an edit that update a cell's metadata.

      Parameters

      • index: number

        The index of the cell to update.

      • newCellMetadata: { [key: string]: any }

        The new metadata for the cell.

      Returns NotebookEdit

    • Utility to create an edit that updates the notebook's metadata.

      Parameters

      • newNotebookMetadata: { [key: string]: any }

        The new metadata for the notebook.

      Returns NotebookEdit