"check spelling as you type" persistence
"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.