Command+Option+Return not sent to doCommandBySelector:
Command+Option+Return not sent to doCommandBySelector:
- Subject: Command+Option+Return not sent to doCommandBySelector:
- From: Gideon King <email@hidden>
- Date: Thu, 17 Dec 2009 15:16:30 +1000
Hi
I have a custom view that implements the NSTextInputClient protocol, and it successfully receives doCommandBySelector: method calls for just about every other non-text entry key combination, but Command+Option+Return just doesn't get there (or to anything else in the NSTextInputClient protocol).
As an experiment, I implemented every action method I saw in the NSResponder class, in case it had been interpreted by something else which was just swallowing it, but none of those methods was being called for this key combination.
Obviously I can pick it up in keyDown: if necessary, but I had hoped to not need to do that...
Anybody know how I can get Command+Option+Return to call doCommandBySelector: as all the other keystrokes do?
Thanks
Gideon
_______________________________________________
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