Condividi tramite


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)

Syntax

'Dichiarazione
<GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextManagerEvents
'Utilizzo
Dim instance As IVsTextManagerEvents
[GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")]
[InterfaceTypeAttribute()]
public interface IVsTextManagerEvents
[GuidAttribute(L"B3175059-C6AA-4519-86C3-1FE594D26C35")]
[InterfaceTypeAttribute()]
public interface class IVsTextManagerEvents
[<GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")>]
[<InterfaceTypeAttribute()>]
type IVsTextManagerEvents =  interface end
public interface IVsTextManagerEvents

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

IVsTextManagerEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace