IVsTextManagerEvents Interface


Informs users about changes in the text manager.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public interface IVsTextManagerEvents


Fired when an external marker type is registered.


Fires when a view is registered.


Fires when a view is unregistered.


Fires when the user's global preferences are changed.

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 and .f08872bd-fd9c-4e36-8cf2-a2a2622ef986d166df06-9a77-491d-aa81-6834a4ad7e50

Notes to Implementers:

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

Return to top