Re: NSTextView attachments and context menus
Re: NSTextView attachments and context menus
- Subject: Re: NSTextView attachments and context menus
- From: Kyle Sluder <email@hidden>
- Date: Tue, 9 Mar 2010 11:32:26 -0800
On Tue, Mar 9, 2010 at 10:58 AM, Martin Hewitson
<email@hidden> wrote:
> Yes, I went down this route a little, but I was unable to figure out how to check for an attachment at that character index. I guess I need to look at this again. It seems like the elegant way to go since I only support Leopard and above.
Attachments are represented in the string as instances of
NSAttachmentCharacter. The attachment itself is stored in an attribute
whose run includes that character.
HTH,
--Kyle Sluder
_______________________________________________
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