• 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
Command+Option+Return not sent to doCommandBySelector:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Command+Option+Return not sent to doCommandBySelector:
      • From: Ross Carter <email@hidden>
  • Prev by Date: Re: App works when launched from Xcode, not from Finder
  • Next by Date: NSPredicate Matches
  • Previous by thread: Lack of Manpower May Kill VLC For Mac
  • Next by thread: Re: Command+Option+Return not sent to doCommandBySelector:
  • Index(es):
    • Date
    • Thread