Re: Overriding NSMenu from an NSTextView
Re: Overriding NSMenu from an NSTextView
- Subject: Re: Overriding NSMenu from an NSTextView
- From: Jack Carbaugh <email@hidden>
- Date: Mon, 31 Aug 2009 18:01:59 -0400
Change the Key equiv of the menu item when your textview takes on key
focus, then set it back when finished.
On Aug 31, 2009, at 5:50 PM, Chilton Webb wrote:
Hi!
I have a menu item that defines Command+Shift+Arrow (left and right)
to do something.
But I'd also like to support the 'normal' NSTextView behavior for
Command+Shift+Arrow.
How do I tell my app to ignore this particular menu command (and use
the default NSTextView behavior) when editing a text view, and then
to go back to using the menu command when I'm done editing the text
view?
Thanks!
-Chilton
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden