Hi,
I implemented a "Find all" search with SyntaxEditor.ActiveView.CurrentSnapshot.FindAll.
But the search results are not marked in the editor like they are marked if I use SyntaxEditor.ActiveView.Searcher.FindNext.
My question now is how I can mark these results? I know that in each search result, I have a snapshot range. So I think I need to highlight somehow these snapshot ranges. How can I do it? (In the WinForms version, I used SyntaxEditor.Document.FindReplace.MarkAll)
Best regards,
Stefan
[Modified at 02/08/2011 07:23 AM]
I implemented a "Find all" search with SyntaxEditor.ActiveView.CurrentSnapshot.FindAll.
But the search results are not marked in the editor like they are marked if I use SyntaxEditor.ActiveView.Searcher.FindNext.
My question now is how I can mark these results? I know that in each search result, I have a snapshot range. So I think I need to highlight somehow these snapshot ranges. How can I do it? (In the WinForms version, I used SyntaxEditor.Document.FindReplace.MarkAll)
Best regards,
Stefan
[Modified at 02/08/2011 07:23 AM]