File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/bulkEdit/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { WorkspaceEditMetadata } from 'vs/editor/common/modes';
1111import { IProgress } from 'vs/platform/progress/common/progress' ;
1212import { ICellEditOperation } from 'vs/workbench/contrib/notebook/common/notebookCommon' ;
1313import { INotebookEditorModelResolverService } from 'vs/workbench/contrib/notebook/common/notebookEditorModelResolverService' ;
14+ import { INotebookService } from 'vs/workbench/contrib/notebook/common/notebookService' ;
1415
1516export class ResourceNotebookCellEdit extends ResourceEdit {
1617
@@ -29,6 +30,7 @@ export class BulkCellEdits {
2930 constructor (
3031 private readonly _progress : IProgress < void > ,
3132 private readonly _edits : ResourceNotebookCellEdit [ ] ,
33+ @INotebookService private readonly _notebookService : INotebookService ,
3234 @INotebookEditorModelResolverService private readonly _notebookModelService : INotebookEditorModelResolverService ,
3335 ) { }
3436
@@ -48,6 +50,7 @@ export class BulkCellEdits {
4850
4951 // apply edits
5052 const cellEdits = group . map ( edit => edit . cellEdit ) ;
53+ this . _notebookService . transformEditsOutputs ( ref . object . notebook , cellEdits ) ;
5154 ref . object . notebook . applyEdit ( ref . object . notebook . versionId , cellEdits , true ) ;
5255 ref . dispose ( ) ;
5356
You can’t perform that action at this time.
0 commit comments