Re: ESC to cancel editing in tableview
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