Skip to content

Commit 7daf6e1

Browse files
committed
fix build.
1 parent 5ae0dc0 commit 7daf6e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vs/workbench/contrib/notebook/browser/notebookServiceImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { NotebookKernelProviderAssociationRegistry, NotebookViewTypesExtensionRe
2727
import { CellViewModel } from 'vs/workbench/contrib/notebook/browser/viewModel/notebookViewModel';
2828
import { NotebookCellTextModel } from 'vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
2929
import { NotebookTextModel } from 'vs/workbench/contrib/notebook/common/model/notebookTextModel';
30-
import { ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, BUILTIN_RENDERER_ID, CellEditType, CellKind, CellOutputKind, CellUri, DisplayOrderKey, ICellEditOperation, IDisplayOutput, INotebookKernelInfo2, INotebookKernelProvider, INotebookRendererInfo, INotebookTextModel, IOrderedMimeType, ITransformedDisplayOutputDto, mimeTypeSupportedByCore, NotebookCellOutputsSplice, notebookDocumentFilterMatch, NotebookEditorPriority, NOTEBOOK_DISPLAY_ORDER, sortMimeTypes } from 'vs/workbench/contrib/notebook/common/notebookCommon';
30+
import { ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, BUILTIN_RENDERER_ID, CellEditType, CellKind, CellOutputKind, DisplayOrderKey, ICellEditOperation, IDisplayOutput, INotebookKernelInfo2, INotebookKernelProvider, INotebookRendererInfo, INotebookTextModel, IOrderedMimeType, ITransformedDisplayOutputDto, mimeTypeSupportedByCore, NotebookCellOutputsSplice, notebookDocumentFilterMatch, NotebookEditorPriority, NOTEBOOK_DISPLAY_ORDER, sortMimeTypes } from 'vs/workbench/contrib/notebook/common/notebookCommon';
3131
import { NotebookOutputRendererInfo } from 'vs/workbench/contrib/notebook/common/notebookOutputRenderer';
3232
import { NotebookEditorDescriptor, NotebookProviderInfo } from 'vs/workbench/contrib/notebook/common/notebookProvider';
3333
import { IMainNotebookController, INotebookService } from 'vs/workbench/contrib/notebook/common/notebookService';

src/vs/workbench/contrib/notebook/browser/view/renderers/dnd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export class CellDragAndDropController extends Disposable {
256256
}
257257

258258
private copyCells(draggedCells: ICellViewModel[], ontoCell: ICellViewModel, direction: 'above' | 'below') {
259-
this.notebookEditor.textModel!.pushStackElement('Copy Cells');
259+
this.notebookEditor.textModel!.pushStackElement('Copy Cells', undefined);
260260
let firstNewCell: ICellViewModel | undefined = undefined;
261261
let firstNewCellState: CellEditState = CellEditState.Preview;
262262
for (let i = 0; i < draggedCells.length; i++) {
@@ -273,6 +273,6 @@ export class CellDragAndDropController extends Disposable {
273273
this.notebookEditor.focusNotebookCell(firstNewCell, firstNewCellState === CellEditState.Editing ? 'editor' : 'container');
274274
}
275275

276-
this.notebookEditor.textModel!.pushStackElement('Copy Cells');
276+
this.notebookEditor.textModel!.pushStackElement('Copy Cells', undefined);
277277
}
278278
}

0 commit comments

Comments
 (0)