spell checking
spell checking
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