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)

[GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")]
[InterfaceTypeAttribute(1)]
public interface IVsTextManagerEvents

NameDescription
System_CAPS_pubmethodOnRegisterMarkerType(Int32)

Fired when an external marker type is registered.

System_CAPS_pubmethodOnRegisterView(IVsTextView)

Fires when a view is registered.

System_CAPS_pubmethodOnUnregisterView(IVsTextView)

Fires when a view is unregistered.

System_CAPS_pubmethodOnUserPreferencesChanged(VIEWPREFERENCES[], FRAMEPREFERENCES[], LANGPREFERENCES[], FONTCOLORPREFERENCES[])

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
Show: