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