IVsTextViewEvents::OnChangeCaretLine Method (IVsTextView^, Int32, Int32)

 

Notifies the client when a change of caret line occurs.

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

void OnChangeCaretLine(
	IVsTextView^ pView,
	int iNewLine,
	int iOldLine
)

Parameters

pView
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] Pointer to a view object.

iNewLine
Type: System::Int32

[in] Integer containing the new line.

iOldLine
Type: System::Int32

[in] Integer containing the old line.

From textmgr.idl:

HRESULT IVsTextViewEvents::OnChangeCaretLine(
   [in] IVsTextView *pView,
   [in] long iNewLine,
   [in] long iOldLine
);
Return to top
Show: