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

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")> _
Public Interface IVsTextManagerEvents2
用法
Dim instance As 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

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.

See Also

Reference

IVsTextManagerEvents2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace