
Dear Support Team,
I'm developing a WPF application using mvvm. Most of the data and logics are in the vm.
Basically what I'm trying to do is to search specific texts in the syntax editor without using the editor search view control. I already implement the logic to handle the search part without the editor search view. The search results are displayed on a grid. So, what I want is when I double click a specific result on grid, the text in syntax editor will be highlighted and the cursor will go there programatically. Right now I don't know how to trigger the ViewSearch event and get the search result because the only way I know how to trigger the event is to use the find all button in editor search view. I have the search result, I just need to highlight it in syntax editor.
Please show me the code example of how to implement it.
Thanks,