Enter key down

2008-05-29 Thread Micha Fuhrmann
Hi there! It must be simple, it has to be simple... But I can't figure out where to start... I'm simply trying to catch the Enter key down event from a text view. Any help appreciated. Michael ___ Cocoa-dev mailing list (Cocoa-dev

Re: Enter key down

2008-05-29 Thread I. Savant
It must be simple, it has to be simple... But I can't figure out where to start... I'm simply trying to catch the Enter key down event from a text view. Look through the introductory Cocoa material regarding the Responder Chain: http://developer.apple.com/documentation/Cocoa

Re: Enter key down

2008-05-29 Thread Aki Inoue
On May 29, 2008, at 6:33 AM, I. Savant wrote: It must be simple, it has to be simple... But I can't figure out where to start... I'm simply trying to catch the Enter key down event from a text view. Look through the introductory Cocoa material regarding the Responder Chain: http

Re: Enter key down

2008-05-29 Thread Douglas Davidson
On May 29, 2008, at 10:13 AM, Aki Inoue wrote: When you want to handle key events in NSTextView, see - textView:doCommandBySelector: delegate method. http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextView_Class/Reference/Reference.html#/

Re: Enter key down

2008-05-29 Thread I. Savant
When you want to handle key events in NSTextView, see - textView:doCommandBySelector: delegate method. http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextView_Class/Reference/Reference.html#/ /apple_ref/occ/instm/NSObject/textView:doCommandBySelector: Ah -