Edit

Share via


IDebugDocumentTextEvents2::onReplaceText

Notifies the debug package that text has been replaced in the document.

Syntax

int onReplaceText( 
   enum_TEXT_POSITION pos,
   uint               dwNumToReplace
);

Parameters

pos
[in] A TEXT_POSITION indicates where the text was replaced.

dwNumToReplace
[in] Specifies the number of characters of text that were replaced.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also