Reputation: 11469
I'd like to have an NSTextView alert a user to misspelled words (eg with a red underline), but not automatically correct them. In my use case, I just want the user alerted to misspelled words, but there are enough cases where words will be spelled incorrectly that I don't want it correcting for them.
I've seen the Continuous Spell Checking
(which, when I tested it, performed correction, not just checking), and Automatic Spelling Correction
(which doesn't seem to do much of anything). Is this possible? Am I missing something obvious?
Upvotes: 1
Views: 285
Reputation: 15589
The Spelling and Grammar settings in the NIB are overruled by the Text settings in the Keyboard System Preferences. The settings can be changed in code when the view is loaded. The user can change the settings at runtime with Spelling and Grammar in the Edit menu or the Context menu (if available).
Upvotes: 1