• 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
spell checking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spell checking


  • Subject: spell checking
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 15 Jun 2009 09:17:08 -0700

my multi-document app has many windows and sheets, and there are LOTS of NSTextFields (and subclasses) and editable NSTableViews and editable NSOutlineViews in these windows and sheets.

i would like to enable continuous spell checking (in response to a user preference) in a majority of these fields/views/cells.

can anyone offer some advice/suggestions as to what might be the best/easiest way to go about this?

one approach i've thought of is to override -[NSWindow makeFirstResponder] and if calling super is successful, then check to see if the new first responder responds to setContinuousSpellCheckingEnabled and if so, then turn it on. and while this seems to work, it is a little too inclusive, and i must then find all the places i don't want it on. also, i'm not sure how i'd go about specifying the document tag to be used when a "vanilla" field editor does spell checking.

thanx for any help/pointers/advice,
ken

_______________________________________________

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


  • Prev by Date: Re: Subtitle Track
  • Next by Date: Re: [iPhone] (newbie) navigation controller is null, combining navigation controller and tab bar controller
  • Previous by thread: ANN: Rosetta Booster Beta 1.0.1a (reference [NSTask] -launch return)
  • Next by thread: Re: ANN: Rosetta Booster Beta 1.0.1a (reference [NSTask] -launch return)
  • Index(es):
    • Date
    • Thread