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)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")> _
Public Interface IVsTextManagerEvents2
[InterfaceTypeAttribute()]
[GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")]
public interface IVsTextManagerEvents2
[InterfaceTypeAttribute()]
[GuidAttribute(L"4697E418-183E-414E-9173-E5FBF27692A9")]
public interface class IVsTextManagerEvents2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")>]
type IVsTextManagerEvents2 = interface end
public interface IVsTextManagerEvents2
The IVsTextManagerEvents2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
OnRegisterMarkerType | Fired when an external marker type is registered. | |
OnRegisterView | Fired when a view is registered. | |
OnReplaceAllInFilesBegin | Fired when a Replace All in Files operation has begun. | |
OnReplaceAllInFilesEnd | Fired when a Replace All in Files operation has ended. | |
OnUnregisterView | Fired when a view is unregistered. | |
OnUserPreferencesChanged2 | Fired when the user's global preferences are changed. |
Top
Remarks
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.