IVsTextViewEvents 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.
Notifier of events occurring on the text view object.
public interface class IVsTextViewEvents
public interface class IVsTextViewEvents
__interface IVsTextViewEvents
[System.Runtime.InteropServices.Guid("E1965DA9-E791-49E2-9F9D-ED766D885967")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextViewEvents
[System.Runtime.InteropServices.Guid("E1965DA9-E791-49E2-9F9D-ED766D885967")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextViewEvents
[<System.Runtime.InteropServices.Guid("E1965DA9-E791-49E2-9F9D-ED766D885967")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextViewEvents = interface
[<System.Runtime.InteropServices.Guid("E1965DA9-E791-49E2-9F9D-ED766D885967")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextViewEvents = interface
Public Interface IVsTextViewEvents
- Derived
- Attributes
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.
Methods
OnChangeCaretLine(IVsTextView, Int32, Int32) |
Notifies the client when a change of caret line occurs. |
OnChangeScrollInfo(IVsTextView, Int32, Int32, Int32, Int32, Int32) |
Notifies a client when the scrolling information is changed. |
OnKillFocus(IVsTextView) |
Notifies a client when a view loses focus. |
OnSetBuffer(IVsTextView, IVsTextLines) |
Notifies a client when a view is attached to a new buffer. |
OnSetFocus(IVsTextView) |
Notifies a client when a view receives focus. |