keyDown: missing events
keyDown: missing events
- Subject: keyDown: missing events
- From: Kevin Ballard <email@hidden>
- Date: Wed, 31 Mar 2004 06:10:55 -0500
Has anybody seen anything like this before? In an NSTextView subclass,
when typing really fast often times keypresses never show up in the
keyDown: event. The text view was supposed to respond to the return key
and do something special, but occasionally it would just make a newline
instead of responding. I did a bunch of logging and it was simply
missing key events. After a lot of fooling around, I discovered these
missing events showed up in the interpretKeyEvents: method, and I
overrode that to parse the events instead. Is there any problem using
that event to catch certain keypresses? And does anybody have any idea
why keyDown: would keep missing keypresses?
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.