• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Edit NSTokenField's token?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Edit NSTokenField's token?


  • Subject: Edit NSTokenField's token?
  • From: Fredrik Olsson <email@hidden>
  • Date: Tue, 25 Jul 2006 14:14:54 +0200

Mail allows the user to edit a token by double clicking it, or selecting edit from the token's menu.

This behavior is not default for NSTokenField. Searching this mailing list and all mighty Google yields quite a few questions on this topic, but no answers unfortunately :(.

Is there a way to let the user edit an existing token, instead of deleting and retyping?

Tokens are highlighted when hovering the mouse (even when disabled, should this be a bug?), but I can not find a reference in the documentation for how to catch these events, or even selection of tokens. Browsing the NSTokenField and NSTokenFieldCell classes with the F-Script object browser do not reveal any obvious mehods for manipulating individual tokens. Am I missing something obvious, or does not Mail use NSTokenField at all?


// Fredrik Olssn _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Edit NSTokenField's token?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Getting bounding rect of NSAttributedString
  • Next by Date: Cog icon a la Smart Playlist Button in iTunes
  • Previous by thread: Re: Problems with NSAffineTransform
  • Next by thread: Re: Edit NSTokenField's token?
  • Index(es):
    • Date
    • Thread