Q: In my application I have overridden the Text object methods:
readRichText:atPosition:
writeRichText:forRun:atPosition:emitDefaultRichText.
However, no matter what I try, these methods are never called. I have also tried implementing the equivalent delegate methods:
textWillReadRichText:stream:atPosition:
textWillWriteRichText:stream:forRun:atPosition:emitDefaultRichText:
but I'm not getting anywhere here either. What am I doing wrong?
A: While these methods were implemented under 1.0, they have been obsoleted by replaceSelWithCell: and its associated methods in subsequent releases. Although these methods appear in the header file and the specification sheet for the Text object, they are never called within your application.
QA665
Valid for 2.0, 3.0