Detailed description of issue
We are trying to create an event listener on the search panel, on keydown we will be binding [↑], [↓] to navigate search results, but there is no where documented how to navigate to the previous and next search result.
Expected behaviour
Expected to have methods that navigate to the previous and next search result, just like the arrows in the search panel.
Does your issue happen with every document, or just one?
all
instance.UI.hotkeys.on('DOWN', e => {
const searchValue = 'your_search_text'
instance.UI.searchText(searchValue, {
// ...options // see the API reference for options
})
});