Re: moveBackward, insertText, etc (from interpretKeyEvents)
Re: moveBackward, insertText, etc (from interpretKeyEvents)
- Subject: Re: moveBackward, insertText, etc (from interpretKeyEvents)
- From: email@hidden
- Date: Wed, 7 Dec 2005 12:57:47 -0800
I added that, and oddly, my methods are getting called - previously I
got a beep instead of moveLeft: - but now it's working. Thank you.
On Dec 7, 2005, at 12:50 PM, Wain wrote:
Hi, I'll answer the simplest question: NSString
*NSStringFromSelector(SEL aSelector).
Wain
On 7 Dec 2005, at 20:40, email@hidden wrote:
I've got a custom view and I'm trying to respond to the forward,
back, up, down, etc. keys.
I can correctly accept and resign firstResponder. And I've
implemented insertTab and insertBackTab - they both work. However,
when I implement insertText, moveBackward,
moveBackwardAndModifySelection, and others, all I get is a beep -
they are never called.
Is there something I'm missing when it comes to these NSResponder
methods? I can try to override doCommandBySelector to see what's
getting called, but how do I view or NSLog the SEL that gets passed?
Thanks,
Blake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40yahoo.co.uk
This email sent to email@hidden
___________________________________________________________To help
you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden