Re: How to disable Spellcheck on NSTextView
Re: How to disable Spellcheck on NSTextView
- Subject: Re: How to disable Spellcheck on NSTextView
- From: Dan Saul <email@hidden>
- Date: Fri, 8 Apr 2005 11:03:14 -0500
I do balieve that is only automatic spelling.
On Apr 8, 2005 2:42 AM, Marco Biasini <email@hidden> wrote:
>
> On 08.04.2005, at 02:21, Satoshi Matsumoto wrote:
>
> > Hi Hebin,
> >
> > on 05.4.8 6:25 AM, Hebin Wei at email@hidden wrote:
> >> NSTextView support Spellcheck on it contextual menu by default. Is
> >> there any
> >> way I can disable this feature? My application need to remove this
> >> feature.
> >
>
> You can even disable spell checking in Interface Builder. There's a
> check box called "enable spell-checking" (or similar).
>
> Cheers
>
> > You can customize the NSTextView's context menu overriding following
> > class
> > method:
> >
> > + (NSMenu *)defaultMenu
> > Overridden by subclasses to return the default pop-up menu for
> > instances of
> > the receiving class. NSView's implementation returns nil.
> >
> >
> > + (NSMenu *)defaultMenu
> > {
> > NSMenu *contextMenu;
> >
> > //Set default NSTextView
> > contextMenu =[NSTextView defaultMenu];
> >
> > // remove some menu items that you don't want to display
> > ......
> > .......
> > return contextMenu;
> > }
> >
> >
> > Satoshi
> > -----------------------------------------------------
> > Satoshi Matsumoto <email@hidden>
> > 816-5 Odake, Odawara, Kanagawa, Japan 256-0802
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Cocoa-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > email@hidden
> >
> > 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
>
_______________________________________________
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