NSTextView and keyDown: in the responder chain
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