| Shareable search history. Known implementations are explorer search
dialog and editor find&replace dialog.
Typical use case:
Editor registers a listener to listen on lastSelected SearchPattern. If user
opens explorer's search dialog and perform search, a search expression is added
into SearchHistory and lastSelected SearchPattern is setted. The event is fired,
editor can retrieve lastSelected SearchPattern and in accordance with its parameters
it can highlight(in yellow) all matched patterns. If editor dialog is open,
it contains shareable SearchHistory. Another direction is search in editor, that
adds a SearchPattern in SearchHistory, thus the new item is available also in
explorer's search dialog.
since: org.openidex.util/3 3.5, NB 4.1 author: Martin Roskanin |