Instance Method

toggleAutomaticDashSubstitution:

Toggles the state of the automatic dash substitution.

Declaration

- (void)toggleAutomaticDashSubstitution:(id)sender;

Parameters

sender

The control sending the message. May be nil.

Discussion

Turning on automatic dash substitution enables automatic conversion of sequences of ASCII hyphen (-) characters to typographic dashes.

See Also

Text Checking and Substitutions

- checkTextInDocument:

Performs the default text checking on the entire document.

- 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.

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.