Re: intercepting keydowns
Re: intercepting keydowns
- Subject: Re: intercepting keydowns
- From: Bryan Zarnett <email@hidden>
- Date: Sat, 2 Apr 2005 12:13:51 -0500
I believe you have to work with the TextViews NSTextStorage object to
manage this.
I believe the API you can use is "-
(void)textStorageWillProcessEditing:(NSNotification *)aNotification"
Cheers,
Bryan
On 2-Apr-05, at 11:59 AM, Roland Silver wrote:
I have a simple Cocoa application with a controller and a window with
an NSTextView. I want to intercept keydown events on their way to the
text view, process them with a function or method, and send a possibly
different keydown event on to the text view.
Nothing I try works.
Any suggestions?
_______________________________________________
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
_______________________________________________
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