Export (0) Print
Expand All

IVsTextManagerEvents2 Interface

Informs the user about changes in the text manager.

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

[InterfaceTypeAttribute()]
[GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")]
public interface IVsTextManagerEvents2

The IVsTextManagerEvents2 type exposes the following members.

  NameDescription
Public methodOnRegisterMarkerTypeFired when an external marker type is registered.
Public methodOnRegisterViewFired when a view is registered.
Public methodOnReplaceAllInFilesBeginFired when a Replace All in Files operation has begun.
Public methodOnReplaceAllInFilesEndFired when a Replace All in Files operation has ended.
Public methodOnUnregisterViewFired when a view is unregistered.
Public methodOnUserPreferencesChanged2Fired when the user's global preferences are changed.
Top

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 and Figures Language Service.

Notes to Implementers

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

Show:
© 2014 Microsoft