Instance Property

automaticDashSubstitutionEnabled

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

Declaration

@property(getter=isAutomaticDashSubstitutionEnabled) BOOL automaticDashSubstitutionEnabled;

Discussion

YES if it is enabled, otherwise NO.

Turning on automatic dash substitution enables automatic conversion of a two ASCII hyphen (-) characters into an em-dash.

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.

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