mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
@@ -236,7 +236,7 @@ class NotebookFindWidget extends SimpleFindReplaceWidget implements INotebookEdi
|
||||
override async show(initialInput?: string, options?: IShowNotebookFindWidgetOptions): Promise<void> {
|
||||
const searchStringUpdate = this._state.searchString !== initialInput;
|
||||
super.show(initialInput, options);
|
||||
this._state.change({ searchString: initialInput ?? '', isRevealed: true }, false);
|
||||
this._state.change({ searchString: initialInput ?? this._state.searchString, isRevealed: true }, false);
|
||||
|
||||
if (typeof options?.matchIndex === 'number') {
|
||||
if (!this._findModel.findMatches.length) {
|
||||
|
||||
Reference in New Issue
Block a user