Is it possible to toggle the search panel?


I’m looking for a way to toggle the search/replace panel on/off based on its state.
Is there an easy way to do that?

Thank you very much in advance,

closeSearchPanel(view) || openSearchPanel(view) should work for that (closeSearchPanel returns true only when the it actually closed the panel)

Thank you @marijn! :heart: