show find in notebook when opening from searchResults view (#14447)

* initial changes

* open notebook through our command

* address comments
This commit is contained in:
Maddy
2021-03-05 10:49:09 -08:00
committed by GitHub
parent f6f45bc3f9
commit b82942a030
4 changed files with 40 additions and 3 deletions

View File

@@ -321,6 +321,10 @@ export class FindWidget extends Widget implements IOverlayWidget, IVerticalSashL
this._findInput.focus();
}
public setFindInput(searchTerm: string): void {
this._findInput.inputBox.value = searchTerm;
}
public highlightFindOptions(): void {
this._findInput.highlightFindOptions();
}