Line breaks in Carbon to Cocoa paste
Line breaks in Carbon to Cocoa paste
- Subject: Line breaks in Carbon to Cocoa paste
- From: Henri Sivonen <email@hidden>
- Date: Mon, 7 Aug 2006 13:01:59 +0300
When a Carbon app puts multiline utxt on the clipboard, NSPasteboard
loses the line breaks when I retrieve NSStringPboardType. (There are
neither LFs nor CRs.) NSStringPboardType with LF line breaks moves
fine from Cocoa to Cocoa, Cocoa to Carbon and Cocoa to Classic.
What gives? Can I ask NSPasteboard to provide an NSString with LF
line breaks when a Carbon app provided utxt (presumably with CR line
breaks)?
Or do I have to read the utxt flavor and make an NSString out of it
myself?
--
Henri Sivonen
email@hidden
http://hsivonen.iki.fi/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden