Re: Insert at cursor position NSTokenField
Re: Insert at cursor position NSTokenField
- Subject: Re: Insert at cursor position NSTokenField
- From: "Paris Page" <email@hidden>
- Date: Sat, 18 Aug 2007 18:41:34 +0200
Hi,
I'm still looking for a way to insert at the current user's cursor position in
NSTokenFields.
Any pointer appreciated as right now I feel a little lost.
On 8/2/07, Paris Page <email@hidden> wrote:
> 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