Insert at cursor position NSTokenField
Insert at cursor position NSTokenField
- Subject: Insert at cursor position NSTokenField
- From: "Paris Page" <email@hidden>
- Date: Thu, 2 Aug 2007 11:41:27 +0200
I read and tested for quite some days already, and I still wonder how
to insert text and / or custom token objects at the current cursor
position. I did not yet found out how this is suppost to work. Do I
have to use a NSPasteboard?
So far the best I came up with is changing the array of tokens
obtained by [NSTokenField objectValue] and set the alterered array
with [NSTokenField setObjectValue], however this misses the notion of
"current user cursor position".
Any help appreciated.
_______________________________________________
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