Instance Method

checkTextInDocument:

Performs the default text checking on the entire document.

Declaration

- (void)checkTextInDocument:(id)sender;

Parameters

sender

The control sending the message. May be nil.

Discussion

Immediately performs the text checking and replaces the document content with the checked content.

The checks performed are specified by enabledTextCheckingTypes;

See Also

Text Checking and Substitutions

- checkTextInSelection:

Performs the default text checking on the current selection.

- checkTextInRange:types:options:

Check and replace the text in the range using the specified checking types and options.

- handleTextCheckingResults:forRange:types:options:orthography:wordCount:

Handles the text checking results returned by the text view

enabledTextCheckingTypes

The default text checking types.

automaticDashSubstitutionEnabled

A Boolean value that indicates whether automatic dash substitution is enabled.

- toggleAutomaticDashSubstitution:

Toggles the state of the automatic dash substitution.

automaticDataDetectionEnabled

A Boolean value that indicates whether automatic data detection is enabled.

- toggleAutomaticDataDetection:

Toggles the state of the automatic data detection.

automaticSpellingCorrectionEnabled

A Boolean value that indicates whether automatic spelling correction is enabled.

- toggleAutomaticSpellingCorrection:

Toggles the state of the automatic spelling correction.

automaticTextReplacementEnabled

A Boolean value that indicates whether automatic text replacement is enabled.

- toggleAutomaticTextReplacement:

Toggles the state of the automatic text replacement.