Interface NotebookCell

interface NotebookCell {
    cellKind: CellKind;
    handle: number;
    internalMetadata: NotebookCellInternalMetadata;
    language: string;
    metadata: NotebookCellMetadata;
    onDidChangeInternalMetadata: Event<CellInternalMetadataChangedEvent>;
    onDidChangeLanguage: Event<string>;
    onDidChangeMetadata: Event<void>;
    onDidChangeOutputItems?: Event<CellOutput>;
    onDidChangeOutputs?: Event<NotebookCellOutputsSplice>;
    outputs: CellOutput[];
    selection: undefined | Range;
    text: string;
    uri: URI;
}

Implemented by

Properties

cellKind: CellKind
handle: number
language: string
onDidChangeInternalMetadata: Event<CellInternalMetadataChangedEvent>
onDidChangeLanguage: Event<string>
onDidChangeMetadata: Event<void>
onDidChangeOutputItems?: Event<CellOutput>
onDidChangeOutputs?: Event<NotebookCellOutputsSplice>
outputs: CellOutput[]
selection: undefined | Range

The selection of the cell. Zero-based line/character coordinates.

text: string
uri: URI