Contents

markedRange

Returns the range of the marked text.

Declaration

- (NSRange) markedRange;

Return Value

The range of marked text.

Discussion

The returned range measures from the start of the receiver’s text storage. The return value’s location is NSNotFound, and its length is 0 if and only if hasMarkedText returns false.

See Also

Deprecated methods