• 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
Re: [NSUndoManager undoMenuItemTitle]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSUndoManager undoMenuItemTitle]


  • Subject: Re: [NSUndoManager undoMenuItemTitle]
  • From: Martin Hairer <email@hidden>
  • Date: Wed, 21 Sep 2005 11:00:49 +0100

I asked about this a few years ago.

The essential gist is that this is some cruft left over from the OpenStep/Windows API. The ampersand caused the following letter ("U" in this case) to be highlighted as the "mnemonic" in the menu. (This doesn't work anymore, though.) It appears NSUndoManager is internally using the deprecated -setTitleWithMnemonic: instead of - setTitle:

For more info, see my old thread with an answer from Matt Rollefson of Apple:

Amazing! This was four years ago and nobody ever bothered to fix that bug?? It
is clearly unwanted behaviour and goes against the documentation as well.
Looks like I'll be better off just implementing that by myself instead of working around
it... Cheers,


Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________ 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
References: 
 >[NSUndoManager undoMenuItemTitle] (From: Martin Hairer <email@hidden>)
 >Re: [NSUndoManager undoMenuItemTitle] (From: Mason Mark <email@hidden>)

  • Prev by Date: Newbie Q about NSCoder
  • Next by Date: Re: Newbie Q about NSCoder
  • Previous by thread: Re: [NSUndoManager undoMenuItemTitle]
  • Next by thread: _NSAppKitImgCacheLock?
  • Index(es):
    • Date
    • Thread