According Documentation the EndOfLine character in Cocoa is Hex 0A (LF) , in Carbon Hex 0D (CR)

Preset Text with the Inspector in a TextArea has an EndOfLine character of Hex 0D
if I keyin the exact same Text in the running Programm it has an EndOfLine character of Hex 0A (which is acc. Documentation)
(Cocoa compiled)

Do I miss something or is it a bug?


The endofline for OSX is OA(LF) regardless if it is Cocoa or Carbon…

Except for TextArea which used OD(CR) internally for CARBON, but properly uses OA(LF) under COCOA

So technically COCOA works 100% properly in this respect. CARBON used the “wrong” EOL for TextArea