• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom field editor context menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Custom field editor context menu (From: "Rimas M." <email@hidden>)
 >Re: Custom field editor context menu (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: Debugging sporadic crashes
  • Next by Date: Re: setting tab stops in a document
  • Previous by thread: Re: Custom field editor context menu
  • Next by thread: Limitation on an NSStatusBarItem's menu?
  • Index(es):
    • Date
    • Thread