Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IVsTextManagerEvents2 Interface
Collapse the table of content
Expand the table of content

IVsTextManagerEvents2 Interface

Informs the user about changes n the text manager.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)

[GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")] 
[InterfaceTypeAttribute(1)] 
public interface IVsTextManagerEvents2
/** @attribute GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsTextManagerEvents2
GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9") 
InterfaceTypeAttribute(1) 
public interface IVsTextManagerEvents2

There is one text manager in the environment. The text manager manages all of the text buffers that are active at any given point, all of the user settings for the different languages, and any other global preferences related to the core text editor. Implement IVsTextManagerEvents to receive notification of changes to these global settings. Expose this interface to the text manager using the IConnectionPointContainer interface on the text manager to receive notification of line changes from the buffer.

See illustrations of the implementation and/or calling of this interface in the samples Figures Edit Sample and Figures Language Service Sample.

Notes to Implementers Implement this interface to receive event notification from the text manager.

Community Additions

ADD
Show:
© 2015 Microsoft