• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Line breaks in Carbon to Cocoa paste
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Filetypes for export only
  • Next by Date: Re: QTMovie and threads
  • Previous by thread: Filetypes for export only
  • Next by thread: Core data search and spotlight importer question
  • Index(es):
    • Date
    • Thread