Partager via


IVsTextViewEvents Interface

Definition

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.

Applies to