HI,
I need to enumerate Collapsed Regions in the code window of VS 2015. I have a solution that worked for VS 2013 that uses interfaces in the following:
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Outlining;
However, when I converted my project to VS2015, I get errors that .Text is not found etc.
I posted this question in StackOverflow and get the folloing reply:
Use MEF to import an IOutliningManagerService, call GetOutliningManager() with your TextView, then use its methods to see the collapsible regions
Please help me by providing a working example if you can to enumerate Collapsed regions.
Joginder Nahil
www.starprinttools.com