/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

A little help with VS outlining extensibility?

Last post 04-10-2007, 5:44 PM by Amberite. 2 replies.
Sort Posts: Previous Next
  •  04-09-2007, 1:25 PM 178

    A little help with VS outlining extensibility?

    Hello,

    After your recent updates, your add-in is working great! I am actually creating an add-in for my personal use that does a specific task I need, however I am trying to also create custom outlining regions in the VS editor based on my specific needs. I am looking but I can't find the methods / interfaces necessary to do this. Can you just point me in the right direction as to which interfaces in the SDK take care of this functionality? I would really appreciate it. Thanks!
     

  •  04-10-2007, 1:38 AM 179 in reply to 178

    Re: A little help with VS outlining extensibility?

    Not a problem. The main interface for creating hidden regions is IVsHiddenTextSession. This interface have methods AddHiddenRegions and EnumHiddenRegions. These methods provided all functionality to support hidden regions in any VS editor. To get this interface you need to get first a pointer to IVsHiddenTextManager.

     


    Thank you,
    Misha Zhutov
    http://submain.com - .NET Developer Tools
  •  04-10-2007, 5:44 PM 180 in reply to 179

    Re: A little help with VS outlining extensibility?

    Misha,

    That's great, it was exactly what I was looking for! Thanks so much.
     

View as RSS news feed in XML