Re: Custom field editor context menu
Re: Custom field editor context menu
- Subject: Re: Custom field editor context menu
- From: "Rimas M." <email@hidden>
- Date: Tue, 8 Jun 2010 00:47:06 +0300
Hi Martin,
You are right - that works. I can swear that I have tried this before.
But looks like was overridden to much methods. Now I have started this
part from scratch and..tadaaa.
Thank you.
Regards,
Rimas M.
On Tue, Jun 8, 2010 at 12:17 AM, Martin Wierschin <email@hidden> wrote:
> Hi Rimas,
>
> I want menu to have only my custom items. No spelling & co above my
> items. Always. Even with some text selected.
>
> How could I achieve that?
>
> In your NSTextView subclass, you can override -[NSTextView menuForEvent:] to
> return your custom menu.
> ~Martin
>
_______________________________________________
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