Compartilhar via


IVsTextMarkerClient.OnAfterSpanReload Method

Signals that the text under the marker has been altered but the marker has not been deleted.

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

Syntax

'Declaration
Sub OnAfterSpanReload
void OnAfterSpanReload()
void OnAfterSpanReload()
abstract OnAfterSpanReload : unit -> unit
function OnAfterSpanReload()

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::OnAfterSpanReload();

OnAfterSpanReload is called in response to a call from ReloadLines or ReloadStream. These methods modify the text, but do not modify the marker, and as such, the marker type and position may not be correct. Use this notification to correct the marker position and type, if necessary.

.NET Framework Security

See Also

Reference

IVsTextMarkerClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace