currentSearchState
Returns the current search result snapshot.
Must be called on the EDT: this reads live search-controller state synchronously. The returned immutable value may be retained or passed to another thread.
Return
current terminal search state.