Posted 14 years ago
by Mick George
-
Senior Software Engineer,
CNC Software, LLC
![Avatar](https://secure.gravatar.com/avatar/c1095710f72f520ab10e84750c7431e0.jpg?s=64&d=identicon&r=g)
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.