• 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
NSTextView and keyDown: in the responder chain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView and keyDown: in the responder chain


  • Subject: NSTextView and keyDown: in the responder chain
  • From: Tom <email@hidden>
  • Date: Thu, 12 Feb 2009 12:59:04 +1000

Hi everyone,

From what I've read about [NSResponder keyDown], if the responder doesn't handle the event it should pass the event to [self nextResponder] or NSBeep() if it doesn't have a next responder.

However, I've found that when an NSTextView receives a keyDown event that doesn't handle, it doesn't bother to send the event down the responder chain and just calls NSBeep(). This is a problem because I have a special responder at the end of the chain that receives all unhandled keyDown events. Everything works fine except when the keyDown event happens in a NSTextView (such as a window's field editor).

Is this a bug in NSTextView or am I missing something?


Kind regards,

Tom
Vigital

_______________________________________________

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: NSTextView and keyDown: in the responder chain
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Application Architecture or approach
  • Next by Date: Re: NSTextView and keyDown: in the responder chain
  • Previous by thread: Re: How to force a message to a overriding method from within an init method
  • Next by thread: Re: NSTextView and keyDown: in the responder chain
  • Index(es):
    • Date
    • Thread