Check and replace the text in the range using the specified checking types and options.
- macOS 10.6+
The range to check.
The type of checking to be performed, passed by-reference. The possible constants are listed in
NSTextand can be combined using the C bit-wise
ORoperator to perform multiple checks at the same time.
A dictionary of values used during the checking process to perform. See Spell Checking Option Dictionary Keys for the supported values.
This method calls the delegate method
text allowing you to modify the parameters before the checking occurs.
This method usually would not be called directly, since
NSText itself will call it as needed, but it can be overridden.