Using Carbon I store a styled text file in a textarea with the save method.
All the text properties (like text color, size, etc.) are saved with the file.
But if I view this file with a hex editor I can’t find any formatting bytes - so where is it saved? Under Cocoa this is done with backslash chars followed by codes - but as I said - under Carbon it seems to be mystic.
Does anybody know where the format information is stored?
my question was NOT, if I should use Carbon or Cocoa … Meanwhile I use Cocoa.
BUT THIS is my question:
If I view this file with a hex editor I can’t find any formatting bytes - so where is it saved? Under Cocoa this is done with backslash chars followed by codes - but as I said - under Carbon it seems to be mystic.
Does anybody know where the format information is stored?