isAutomaticDashSubstitutionEnabled
A Boolean value that indicates whether automatic dash substitution is enabled.
Declaration
var isAutomaticDashSubstitutionEnabled: Bool { get set }Discussion
true if it is enabled, otherwise false.
Turning on automatic dash substitution enables automatic conversion of a two ASCII hyphen (-) characters into an em-dash.
See Also
Checking and substituting text
checkTextInDocument(_:)checkTextInSelection(_:)checkText(in:types:options:)handleTextCheckingResults(_:forRange:types:options:orthography:wordCount:)enabledTextCheckingTypestoggleAutomaticDashSubstitution(_:)isAutomaticDataDetectionEnabledtoggleAutomaticDataDetection(_:)isAutomaticSpellingCorrectionEnabledtoggleAutomaticSpellingCorrection(_:)isAutomaticTextReplacementEnabledtoggleAutomaticTextReplacement(_:)performValidatedReplacement(in:with:)