Merge from vscode 5d18ad4c5902e3bddbc9f78da82dfc2ac349e908 (#9683)

This commit is contained in:
Anthony Dresser
2020-03-20 01:17:27 -07:00
committed by GitHub
parent 1520441b84
commit dd8fb9433b
89 changed files with 3095 additions and 445 deletions

View File

@@ -36,6 +36,14 @@ export const NOTEBOOK_DISPLAY_ORDER = [
'text/plain'
];
export interface NotebookDocumentMetadata {
editable: boolean;
}
export interface NotebookCellMetadata {
editable: boolean;
}
export interface INotebookDisplayOrder {
defaultOrder: string[];
userOrder?: string[];
@@ -122,6 +130,7 @@ export interface ICell {
language: string;
cellKind: CellKind;
outputs: IOutput[];
metadata?: NotebookCellMetadata;
onDidChangeOutputs?: Event<NotebookCellOutputsSplice[]>;
resolveTextBufferFactory(): PieceTreeTextBufferFactory;
// TODO@rebornix it should be later on replaced by moving textmodel resolution into CellTextModel