Instance Method

toggleGrammarChecking:

Changes the state of grammar checking from enabled to disabled and vice versa.

Declaration

- (void)toggleGrammarChecking:(id)sender;

Parameters

sender

The control sending the message; may be nil.

See Also

Working With the Spelling Checker

continuousSpellCheckingEnabled

A Boolean value that indicates whether the receiver has continuous spell checking enabled.

spellCheckerDocumentTag

A tag identifying the text view's text as a document for the spell checker server.

- toggleContinuousSpellChecking:

Toggles whether continuous spell checking is enabled for the receiver.

grammarCheckingEnabled

Enables and disables grammar checking.

- setSpellingState:range:

Sets the spelling state, which controls the display of the spelling and grammar indicators on the given text range.