Filtering all keyboard input in an NSTextView
Filtering all keyboard input in an NSTextView
- Subject: Filtering all keyboard input in an NSTextView
- From: Steve Bennett <email@hidden>
- Date: Thu, 14 Mar 2002 18:23:22 -0500
Hi!
Here's a weird one. I'm not going to go into the reasons (they're really
complex), but I need to have an NSTextView which on occation filters ALL of
it's incoming keystrokes through my own handler, including all Command key
sequences.
Now, I've tried my own subclass of NSTextView which overrides keyDown, and
that works just peachy EXCEPT... Command key sequences still try to do their
thing without running through keyDown first. Any suggestions on how I can
filter those as well, at least the ones which make it to the application?
(I'm aware some command key sequences are processed by the OS -- nothing I
can do about those...)
-->Steve Bennett
_______________________________________________
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.