Hi,
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,
Simon
Hi,
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,
Simon
closeSearchPanel(view) || openSearchPanel(view)
should work for that (closeSearchPanel
returns true only when the it actually closed the panel)