-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open search panel programmatically #532
Comments
You can run |
Is it at all possible to prepopulate the search box with arbitrary strings, like @owennicol asks? The only thing I've managed to do so far with the function you mentioned, @rebornix, is to search for the text that is currently selected. |
@owennicol I already added an answer to your question on SO: |
how to close the search panel programmatically? |
@ijse I found the close event ID is |
When you do cmd+f in the Monaco Editor, you get the find/search box appear.
Is there a way to have this open when the editor loads, with pre-populated text?
monaco-editor version: 0.9.0
Browser: chrome
OS: macOS
Steps or JS usage snippet reproducing the issue:
The text was updated successfully, but these errors were encountered: