提交 0eb11e8f 编写于 作者: J Johannes Rieken
上级 21dd836d
......@@ -1343,8 +1343,8 @@ declare module 'vscode' {
export interface NotebookEditorCellEdit {
replaceCells(from: number, to: number, cells: NotebookCellData[]): void;
replaceOutputs(index: number, outputs: CellOutput[]): void;
replaceCells(start: number, end: number, cells: NotebookCellData[]): void;
replaceOutput(index: number, outputs: CellOutput[]): void;
replaceMetadata(index: number, metadata: NotebookCellMetadata): void;
/** @deprecated */
......
......@@ -527,7 +527,7 @@ export class NotebookEditorCellEditBuilder implements vscode.NotebookEditorCellE
});
}
replaceOutputs(index: number, outputs: vscode.CellOutput[]): void {
replaceOutput(index: number, outputs: vscode.CellOutput[]): void {
this._throwIfFinalized();
this._collectedEdits.push({
editType: CellEditType.Output,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册