Re: Edit NSTokenField's token?
Re: Edit NSTokenField's token?
- Subject: Re: Edit NSTokenField's token?
- From: Frédéric BLANC <email@hidden>
- Date: Mon, 15 Mar 2010 14:02:56 +0100
Hi,
I'm "resurrecting" this old thread (from late 2007!) to see whether
someone succeeded in reproducing Apple Mail's ability to turn any
given token into "editable plain text" mode. (I'm here talking about
the behaviour of Apple Mail's "Edit Address" token-based menu item.)
Alexander Griekspoor (hi!) seemed to reply so to Fredrik Olsson (hi!)
[relevant tidbits copied below], and I'd love to hear anyone willing
to share some more details 'cause my initial attempts+websearches
didn't lead me to good results so far :( ! [Note: It was very easy to
add this "Edit" token-based menu item to my tokens; but its dedicated
action is lacking the li'l "trick" that would turn the corresponding
token back to (editable) plain text…]
Thanks in advance,
--
— Fred
===
25 jul 2006 kl. 14.14.54 skrev Fredrik Olsson:
>> Mail allows the user to edit a token by (…) selecting edit from the
>> token's menu.
>>
>> This behavior is not default for NSTokenField. (…)
>>
>> Is there a way to let the user edit an existing token, instead of
>> deleting and retyping?
>>
>> Tokens are highlighted when hovering the mouse (…), but I can not find
>> a reference in the documentation for how to catch these events, or even
>> selection of tokens.
On Fri, Dec 7, 2007 at 10:09 AM, Alexander Griekspoor (…) wrote:
> Unfortunately the double-click editing of tokens is not possible on Tiger. I
> ended up with a menu with an edit item that tries to bring it back in
> editing mode again (tricky). (…)
_______________________________________________
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