Reading text attachments from pasteboard into NSTextView
Reading text attachments from pasteboard into NSTextView
- Subject: Reading text attachments from pasteboard into NSTextView
- From: Kai BrĂ¼ning <email@hidden>
- Date: Wed, 23 Jan 2008 16:33:29 +0100
NSTextView seems to have broad support for copying text attachments
to pasteboards in whatever custom format is desired:
- textView:writablePasteboardTypesForCell:atIndex: delegate method
- textView:writeCell:atIndex:toPasteboard:type: delegate method
But I can't find similar support for reading from a pasteboard. From
what I have seen, the only method seems to be to put an attributed
string with the text attachment(s) in it on the pastboard. While this
is possible, I would rather like to convert some custom format into a
text attachment the moment it is read from the pasteboard.
Do I overlook something?
Thank you
Kai
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden