Merge from vscode 073a24de05773f2261f89172987002dc0ae2f1cd (#9711)

This commit is contained in:
Anthony Dresser
2020-03-24 00:24:15 -07:00
committed by GitHub
parent 29741d684e
commit 89ef1b0c2e
226 changed files with 6161 additions and 3288 deletions

View File

@@ -38,10 +38,13 @@ export const NOTEBOOK_DISPLAY_ORDER = [
export interface NotebookDocumentMetadata {
editable: boolean;
cellEditable?: boolean;
cellRunnable?: boolean;
}
export interface NotebookCellMetadata {
editable: boolean;
editable?: boolean;
runnable?: boolean;
}
export interface INotebookDisplayOrder {
@@ -132,6 +135,7 @@ export interface ICell {
outputs: IOutput[];
metadata?: NotebookCellMetadata;
onDidChangeOutputs?: Event<NotebookCellOutputsSplice[]>;
onDidChangeMetadata: Event<NotebookCellMetadata | undefined>;
resolveTextBufferFactory(): PieceTreeTextBufferFactory;
// TODO@rebornix it should be later on replaced by moving textmodel resolution into CellTextModel
contentChange(): void;