Returns the range of the marked text.
- macOS 10.0–10.6Deprecated
The range of marked text.
The returned range measures from the start of the receiver’s text storage. The return value’s
NSNotFound, and its
length is 0 if and only if
Returns a Boolean value indicating whether or not the receiver has marked text.
Replaces currently marked text in the receiver’s text storage with the given string and sets the selection to the given range, computed from the beginning of the marked text.
Removes any marking from pending input text and disposes of the marked text as it wishes. The text view should accept the marked text as if it had been inserted normally.