IVsTextMarkerClient::OnAfterMarkerChange Method (IVsTextMarker^)

 

Signals that the marker position has changed.

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

int OnAfterMarkerChange(
	IVsTextMarker^ pMarker
)

Parameters

pMarker
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextMarker^

[in] Pointer to the IVsTextMarker interface for the marker that was changed.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextMarkerClient::OnAfterMarkerChange(
   [in] IVsTextMarker* pMarker
);

This method is called when the marker moves in response to text being inserted in front of the marker. Use this notification to modify the task list, and so on.

Return to top
Show: