Re: NSTextView and keyDown: in the responder chain

2009-02-12 Thread Ross Carter
On Feb 11, 2009, at 10:21 PM, Tom wrote: 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(). I expect that there isn't a keyDown event that NSTextView doesn't

[SOLVED] Re: NSTextView and keyDown: in the responder chain

2009-02-12 Thread Tom
On 13/02/2009, at 1:58 AM, Ross Carter wrote: On Feb 11, 2009, at 10:21 PM, Tom wrote: 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(). I expect that there

NSTextView and keyDown: in the responder chain

2009-02-11 Thread Tom
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

Re: NSTextView and keyDown: in the responder chain

2009-02-11 Thread Graham Cox
On 12 Feb 2009, at 1:59 pm, Tom wrote: Is this a bug in NSTextView or am I missing something? Have you actually set the next responder of the field editor/text view? I think you have to actually do that explcitly (- setNextResponder:) --Graham

Re: NSTextView and keyDown: in the responder chain

2009-02-11 Thread Tom
On 12/02/2009, at 1:06 PM, Graham Cox wrote: On 12 Feb 2009, at 1:59 pm, Tom wrote: Is this a bug in NSTextView or am I missing something? Have you actually set the next responder of the field editor/text view? I think you have to actually do that explcitly (- setNextResponder:)