checkTextInSelection(_:)
Performs the default text checking on the current selection.
Declaration
func checkTextInSelection(_ sender: Any?)Parameters
- sender:
The control sending the message. May be
nil.
Discussion
Immediately performs the text checking and replaces the selection with the checked content.
The checks performed are specified by enabledTextCheckingTypes;
See Also
Checking and substituting text
checkTextInDocument(_:)checkText(in:types:options:)handleTextCheckingResults(_:forRange:types:options:orthography:wordCount:)enabledTextCheckingTypesisAutomaticDashSubstitutionEnabledtoggleAutomaticDashSubstitution(_:)isAutomaticDataDetectionEnabledtoggleAutomaticDataDetection(_:)isAutomaticSpellingCorrectionEnabledtoggleAutomaticSpellingCorrection(_:)isAutomaticTextReplacementEnabledtoggleAutomaticTextReplacement(_:)performValidatedReplacement(in:with:)