• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
keyDown: missing events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: [OT] Retain count riddle
  • Next by Date: Re: Distributed Objects pitfalls and strategies
  • Previous by thread: Re: printing a stack trace to the console
  • Next by thread: Getting the Value of an NSSecureTextField
  • Index(es):
    • Date
    • Thread