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 <mar...@nisus.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com