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
声明
<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 | |
---|---|---|
OnChangeCaretLine | Notifies the client when a change of caret line occurs. | |
OnChangeScrollInfo | Notifies a client when the scrolling information is changed. | |
OnKillFocus | Notifies a client when a view loses focus. | |
OnSetBuffer | Notifies a client when a view is attached to a new buffer. | |
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.