IMPORT_C TBool | ConfirmCursorOverTag | ( | const CRichText & | aTextObj, |
| TInt | aTagStart, |
| TInt | aTagLen, |
| TInt | aCurPos |
| ) | [virtual] |
This confirmation routine is called by the parsing framework when it's logic determines the cursor is over a tag. It gives the parser a chance to override the default cursor-tag rollover matching. This is not necessary if the default behaviour is acceptable. It is called from the CRichText::CursorOverTag() when the framework tests for format redraw when over a tag and CRichText::OverrideFormatForParsersIfApplicable() when Tagma is formatting text.
Parameters |
---|
aTextObj | A reference to the text document tag is within. |
aTagStart | The document position of the first tag character. |
aTagLen | The number of characters in the tag. |
aCurPos | The cursor position used in calculation of calling routines. |
- Return Value
- TBool ETrue if parser agrees cursor over a tag, EFalse otherwise.