I have a SyntaxEditor that is linked to an EditorSearchView. The EditorSearchView window fires an event whenever any of the settings are changed (such as Find Text typed) that updates the HighlightedResultSearchOptions of the SyntaxEditor.
Everything works well except for one problem. If I change the "Look in" dropdown on the EditorSearchView to "Selection," it works as expected--it loops through the items found only in the current selected text. However, all of the found items in the SyntaxEditor, even the ones outside of the selection, are still highlighted. As far as I can tell, this is a bug, as I am setting the HightightedResultSearchOptions directly from the EditorSearchView's SearchOptions.