toggleAutomaticDashSubstitution(_:)
Toggles the state of the automatic dash substitution.
Declaration
func toggleAutomaticDashSubstitution(_ sender: Any?)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
Checking and substituting text
checkTextInDocument(_:)checkTextInSelection(_:)checkText(in:types:options:)handleTextCheckingResults(_:forRange:types:options:orthography:wordCount:)enabledTextCheckingTypesisAutomaticDashSubstitutionEnabledisAutomaticDataDetectionEnabledtoggleAutomaticDataDetection(_:)isAutomaticSpellingCorrectionEnabledtoggleAutomaticSpellingCorrection(_:)isAutomaticTextReplacementEnabledtoggleAutomaticTextReplacement(_:)performValidatedReplacement(in:with:)