Posted 15 years ago
by Mick George
-
Principle Software Engineer,
CNC Software, LLC

Product Version: SyntaxEditor v10.1.520
Hi, I am trying to determine if a search result is within a collapsed region and if so automatically expand that region so the user can see the result.
I have tried using the ISearchResultSet from a IEditorViewSearcher FindNext method in conjunction with the current documents OutliningManager to determine the outlining state but I seem to be missing something, or should I be looking to the SyntaxEditor ViewSearch event?
Thanks in advance.
Hi, I am trying to determine if a search result is within a collapsed region and if so automatically expand that region so the user can see the result.
I have tried using the ISearchResultSet from a IEditorViewSearcher FindNext method in conjunction with the current documents OutliningManager to determine the outlining state but I seem to be missing something, or should I be looking to the SyntaxEditor ViewSearch event?
Thanks in advance.