• 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: ESC to cancel editing in tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ESC to cancel editing in tableview


  • Subject: Re: ESC to cancel editing in tableview
  • From: Peter Seibel <email@hidden>
  • Date: Mon, 8 Jan 2007 14:01:38 -0800

On Jan 8, 2007, at 1:25 PM, Sean McBride wrote:

On 2007-01-08 13:47, Michael Watson said:

Yeah, I recall the convention, I just couldn't actually think of an
application today that canceled text field editing with command-
period. I wonder why people aren't doing this.

Probably because they are using keyDown: or something and checking only
for 'escape', instead of going through NSResponder which takes care of
deciding which keys/key combos mean cancellation.


In fact, power users can even customise their keybindings, see:
<http://www.lsmason.com/articles/macosxkeybindings.html>

Which is another good reason to go through NSResponder.

Is there any way to use this same mechanism for per-app key bindings? As in, I'd like the user to be able to create a MyApp.dict containing key bindings a la the StandardKeyBinding.dict and DefaultKeyBinding.dict files and then have my app load it to change the key bindings just for my app.


-Peter
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >ESC to cancel editing in tableview (From: Benjámin Salánki <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: "Sean McBride" <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Michael Watson <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: "Sean McBride" <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Michael Watson <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Dynamically creating NSBundles
  • Next by Date: Why would -[NSString dataUsingEncoding:allowLossyConversion:] throw exception?
  • Previous by thread: Re: ESC to cancel editing in tableview
  • Next by thread: Re: ESC to cancel editing in tableview
  • Index(es):
    • Date
    • Thread