IVsTextImageEvents::OnTextChange Method (TextAddress, TextAddress, TextAddress)

 

Notifies client of a text image change.

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

void OnTextChange(
	TextAddress taStart,
	TextAddress taEnd,
	TextAddress taNewEnd
)

Parameters

taStart
Type: Microsoft.VisualStudio.TextManager.Interop::TextAddress

[in] Starting address of text image.

taEnd
Type: Microsoft.VisualStudio.TextManager.Interop::TextAddress

[in] Ending address of text image.

taNewEnd
Type: Microsoft.VisualStudio.TextManager.Interop::TextAddress

[in] New ending address of text image.

From textmgr.idl:

HRESULT IVsTextImageEvents::OnTextChange(
   [in] TextAddress taStart,
   [in] TextAddress taEnd,
   [in] TextAddress taNewEnd
);

The environment passes a pointer to this interface through a call to AdviseTextImageEvents. Use this method to notify the environment of any changes to your text image.

Return to top
Show: