Provides notification of changes to a newly created hidden text session.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Thetype exposes the following members.
|ExecMarkerCommand||Executes a text marker command against a marker.|
|GetMarkerCommandInfo||Returns marker command information.|
|GetTipText||Signals that the user has hovered the mouse over a collapsed hidden text region.|
|MakeBaseSpanVisible||Called when a particular hidden region needs to be displayed.|
|OnBeforeSessionEnd||Called before the hidden text session is terminated.|
|OnHiddenRegionChange||Called when the user expands or collapses a hidden region.|
If you create your own hidden text session, then you can implement . This interface provides notification when the user expands and collapses hidden text regions, and so on. This allows you to implement specific actions for your language service in response to user action.Notes to Implementers
Implement this interface to receive notification of user actions that affect hidden text regions within the text buffer. If a hidden text session already exists for the text buffer, that is, a call to GetHiddenTextSession returns a pointer to IVsHiddenTextSession, then you cannot specify a hidden text client.
However, if a hidden text session does not exist for the text buffer, then you can pass in a pointer to your hidden text client when you create a new hidden text session by calling CreateHiddenTextSession.