@@ -18,15 +18,15 @@ import { Action2, registerAction2 } from 'vs/platform/actions/common/actions';
1818import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey' ;
1919import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation' ;
2020import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry' ;
21- import { IShowNotebookFindWidgetOptions , NotebookFindWidget } from 'vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget' ;
21+ import { IShowNotebookFindWidgetOptions , NotebookFindContrib } from 'vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget' ;
2222import { getNotebookEditorFromEditorPane } from 'vs/workbench/contrib/notebook/browser/notebookBrowser' ;
2323import { registerNotebookContribution } from 'vs/workbench/contrib/notebook/browser/notebookEditorExtensions' ;
2424import { CellUri } from 'vs/workbench/contrib/notebook/common/notebookCommon' ;
2525import { INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR , KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED , NOTEBOOK_EDITOR_FOCUSED , NOTEBOOK_IS_ACTIVE_EDITOR } from 'vs/workbench/contrib/notebook/common/notebookContextKeys' ;
2626import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
2727import { EditorOption } from 'vs/editor/common/config/editorOptions' ;
2828
29- registerNotebookContribution ( NotebookFindWidget . id , NotebookFindWidget ) ;
29+ registerNotebookContribution ( NotebookFindContrib . id , NotebookFindContrib ) ;
3030
3131registerAction2 ( class extends Action2 {
3232 constructor ( ) {
@@ -49,7 +49,7 @@ registerAction2(class extends Action2 {
4949 return ;
5050 }
5151
52- const controller = editor . getContribution < NotebookFindWidget > ( NotebookFindWidget . id ) ;
52+ const controller = editor . getContribution < NotebookFindContrib > ( NotebookFindContrib . id ) ;
5353 controller . hide ( ) ;
5454 editor . focus ( ) ;
5555 }
@@ -76,7 +76,7 @@ registerAction2(class extends Action2 {
7676 return ;
7777 }
7878
79- const controller = editor . getContribution < NotebookFindWidget > ( NotebookFindWidget . id ) ;
79+ const controller = editor . getContribution < NotebookFindContrib > ( NotebookFindContrib . id ) ;
8080 controller . show ( ) ;
8181 }
8282} ) ;
@@ -139,7 +139,7 @@ StartFindAction.addImplementation(100, (accessor: ServicesAccessor, codeEditor:
139139 }
140140 }
141141
142- const controller = editor . getContribution < NotebookFindWidget > ( NotebookFindWidget . id ) ;
142+ const controller = editor . getContribution < NotebookFindContrib > ( NotebookFindContrib . id ) ;
143143
144144 const searchStringOptions = getSearchStringOptions ( codeEditor , {
145145 forceRevealReplace : false ,
@@ -180,7 +180,7 @@ StartFindReplaceAction.addImplementation(100, (accessor: ServicesAccessor, codeE
180180 return false ;
181181 }
182182
183- const controller = editor . getContribution < NotebookFindWidget > ( NotebookFindWidget . id ) ;
183+ const controller = editor . getContribution < NotebookFindContrib > ( NotebookFindContrib . id ) ;
184184
185185 const searchStringOptions = getSearchStringOptions ( codeEditor , {
186186 forceRevealReplace : false ,
0 commit comments