IVsTextManagerEvents2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Informs the user about changes in the text manager.
public interface class IVsTextManagerEvents2
public interface class IVsTextManagerEvents2
__interface IVsTextManagerEvents2
[System.Runtime.InteropServices.Guid("4697E418-183E-414E-9173-E5FBF27692A9")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextManagerEvents2
[System.Runtime.InteropServices.Guid("4697E418-183E-414E-9173-E5FBF27692A9")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextManagerEvents2
[<System.Runtime.InteropServices.Guid("4697E418-183E-414E-9173-E5FBF27692A9")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextManagerEvents2 = interface
[<System.Runtime.InteropServices.Guid("4697E418-183E-414E-9173-E5FBF27692A9")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextManagerEvents2 = interface
Public Interface IVsTextManagerEvents2
- Derived
- Attributes
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.
Methods
OnRegisterMarkerType(Int32) |
Fired when an external marker type is registered. |
OnRegisterView(IVsTextView) |
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(IVsTextView) |
Fired when a view is unregistered. |
OnUserPreferencesChanged2(VIEWPREFERENCES2[], FRAMEPREFERENCES2[], LANGPREFERENCES2[], FONTCOLORPREFERENCES2[]) |
Fired when the user's global preferences are changed. |