• 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
"check spelling as you type" persistence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"check spelling as you type" persistence


  • Subject: "check spelling as you type" persistence
  • From: Chris Silverberg <email@hidden>
  • Date: Wed, 28 Jan 2004 18:19:32 -0800
  • Organization: Silverberg.Net

I would like to add a frequent requested feature to my application... that
is, to save/restore the 'check spelling as you type' preference.

This is rather straight-forward for NSTextView which implements a couple of
useful methods:

setContinuousSpellCheckingEnabled: (preferred choice)
toggleContinuousSpellChecking:

However, NSTextField implements neither of these methods. But here's the
weird thing... NSTextField *does* support spell checking. In fact, the
"Check Spelling as you Type" menu command calls
'toggleContinuousSpellChecking:' for the first responder... indicating that
NSTextField should at least support toggleContinuousSpellChecking. But
programmatically I can't call it. And 'responseToSelector' even returns NO.
So I'm not sure how to persist spell checking for text fields. Clearly it
seems like it should be possible if it supports spell checking.
Suggestions?

thanks,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "check spelling as you type" persistence
      • From: Public Look <email@hidden>
  • Prev by Date: Re: NSMenuItem states...
  • Next by Date: Re: OT: Advice sought...
  • Previous by thread: Re: Changing the Window level upon dragging.
  • Next by thread: Re: "check spelling as you type" persistence
  • Index(es):
    • Date
    • Thread