@@ -22,7 +22,7 @@ import { IEditorPane, IEditorPaneWithSelection } from '../../../common/editor.js
2222import { CellViewModelStateChangeEvent , NotebookCellStateChangedEvent , NotebookLayoutInfo } from './notebookViewEvents.js' ;
2323import { NotebookCellTextModel } from '../common/model/notebookCellTextModel.js' ;
2424import { NotebookTextModel } from '../common/model/notebookTextModel.js' ;
25- import { CellKind , ICellOutput , INotebookCellStatusBarItem , INotebookRendererInfo , INotebookFindOptions , IOrderedMimeType , NotebookCellInternalMetadata , NotebookCellMetadata , NOTEBOOK_EDITOR_ID } from '../common/notebookCommon.js' ;
25+ import { CellKind , ICellOutput , INotebookCellStatusBarItem , INotebookRendererInfo , INotebookFindOptions , IOrderedMimeType , NotebookCellInternalMetadata , NotebookCellMetadata , NOTEBOOK_EDITOR_ID , NOTEBOOK_DIFF_EDITOR_ID } from '../common/notebookCommon.js' ;
2626import { isCompositeNotebookEditorInput } from '../common/notebookEditorInput.js' ;
2727import { INotebookKernel } from '../common/notebookKernelService.js' ;
2828import { NotebookOptions } from './notebookOptions.js' ;
@@ -32,7 +32,6 @@ import { IEditorCommentsOptions, IEditorOptions } from '../../../../editor/commo
3232import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js' ;
3333import { ICodeEditor } from '../../../../editor/browser/editorBrowser.js' ;
3434import { IObservable } from '../../../../base/common/observable.js' ;
35- import { NotebookTextDiffEditor } from './diff/notebookDiffEditor.js' ;
3635import { INotebookTextDiffEditor } from './diff/notebookDiffEditorBrowser.js' ;
3736
3837//#region Shared commands
@@ -931,7 +930,7 @@ export function getNotebookEditorFromEditorPane(editorPane?: IEditorPane): INote
931930 return editorPane . getControl ( ) as INotebookEditor | undefined ;
932931 }
933932
934- if ( editorPane . getId ( ) === NotebookTextDiffEditor . ID ) {
933+ if ( editorPane . getId ( ) === NOTEBOOK_DIFF_EDITOR_ID ) {
935934 return ( editorPane . getControl ( ) as INotebookTextDiffEditor ) . inlineNotebookEditor ;
936935 }
937936
0 commit comments