mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-15 12:51:00 +01:00
merge conflict resolve.
This commit is contained in:
@@ -771,9 +771,6 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
},
|
||||
deleteCell: (index: number) => {
|
||||
this.deleteCell(index, true, false);
|
||||
},
|
||||
emitSelections: (selections: number[]) => {
|
||||
this.updateSelectionsFromEdits(selections);
|
||||
}
|
||||
}
|
||||
));
|
||||
@@ -850,9 +847,6 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
},
|
||||
createCellViewModel: (cell: NotebookCellTextModel) => {
|
||||
return createCellViewModel(this._instantiationService, this, cell);
|
||||
},
|
||||
emitSelections: (selections: number[]) => {
|
||||
this.updateSelectionsFromEdits(selections);
|
||||
}
|
||||
})
|
||||
);
|
||||
@@ -904,9 +898,6 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
},
|
||||
createCellViewModel: (cell: NotebookCellTextModel) => {
|
||||
return createCellViewModel(this._instantiationService, this, cell);
|
||||
},
|
||||
emitSelections: (selections: number[]) => {
|
||||
this.updateSelectionsFromEdits(selections);
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Emitter, Event } from 'vs/base/common/event';
|
||||
import { Disposable, dispose, IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { NotebookCellTextModel } from 'vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
||||
import { INotebookTextModel, NotebookCellOutputsSplice, NotebookDocumentMetadata, NotebookCellMetadata, ICellEditOperation, CellEditType, CellUri, CellKind, IProcessedOutput, notebookDocumentMetadataDefaults, diff, NotebookCellsChangeType, ICellDto2, TransientOptions, NotebookTextModelChangedEvent, NotebookCellTextModelSplice } from 'vs/workbench/contrib/notebook/common/notebookCommon';
|
||||
import { INotebookTextModel, NotebookCellOutputsSplice, NotebookDocumentMetadata, NotebookCellMetadata, ICellEditOperation, CellEditType, CellUri, CellKind, IProcessedOutput, notebookDocumentMetadataDefaults, diff, NotebookCellsChangeType, ICellDto2, TransientOptions, NotebookTextModelChangedEvent } from 'vs/workbench/contrib/notebook/common/notebookCommon';
|
||||
import { ITextSnapshot } from 'vs/editor/common/model';
|
||||
import { IUndoRedoService, UndoRedoElementType, IUndoRedoElement, IResourceUndoRedoElement } from 'vs/platform/undoRedo/common/undoRedo';
|
||||
import { InsertCellEdit, DeleteCellEdit, MoveCellEdit, SpliceCellsEdit, CellMetadataEdit } from 'vs/workbench/contrib/notebook/common/model/cellEdit';
|
||||
|
||||
Reference in New Issue
Block a user