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