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

Re: "check spelling as you type" persistence


  • Subject: Re: "check spelling as you type" persistence
  • From: Public Look <email@hidden>
  • Date: Wed, 28 Jan 2004 23:43:45 -0500

Read about the field editor in the available documentation. While a text field is being edited, an actual NSTextView instance is substituted for the duration of the editing. You probably just want to "persist" the state of a particular window's field editor.

On Jan 28, 2004, at 9:19 PM, Chris Silverberg wrote:

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.
_______________________________________________
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: Chris Silverberg <email@hidden>
References: 
 >"check spelling as you type" persistence (From: Chris Silverberg <email@hidden>)

  • Prev by Date: Re: Drawing graphics into a view in AppleScript Studio
  • Next by Date: Re: Drawing graphics into a view in AppleScript Studio
  • Previous by thread: "check spelling as you type" persistence
  • Next by thread: Re: "check spelling as you type" persistence
  • Index(es):
    • Date
    • Thread