Partager via


IVsTextViewEvents Interface

Notifier of events occurring on the text view object.

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

Syntax

'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("E1965DA9-E791-49E2-9F9D-ED766D885967")> _
Public Interface IVsTextViewEvents
[InterfaceTypeAttribute()]
[GuidAttribute("E1965DA9-E791-49E2-9F9D-ED766D885967")]
public interface IVsTextViewEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"E1965DA9-E791-49E2-9F9D-ED766D885967")]
public interface class IVsTextViewEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E1965DA9-E791-49E2-9F9D-ED766D885967")>]
type IVsTextViewEvents =  interface end
public interface IVsTextViewEvents

The IVsTextViewEvents type exposes the following members.

Methods

  Name Description
Public method OnChangeCaretLine Notifies the client when a change of caret line occurs.
Public method OnChangeScrollInfo Notifies a client when the scrolling information is changed.
Public method OnKillFocus Notifies a client when a view loses focus.
Public method OnSetBuffer Notifies a client when a view is attached to a new buffer.
Public method OnSetFocus Notifies a client when a view receives focus.

Top

Remarks

See illustrations of the implementation and/or calling of this interface in the sample Figures Language Service.

Notes to Implementers

Implement IVsTextViewEvents coincident with implementations of IVsTextView.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace