Contents

textRanges

Represents an array of noncontiguous logical ranges in the selection.

Declaration

var textRanges: [NSTextRange] { get }

Discussion

The array must be logically ordered. When editing, all ranges in a text selection constitute a single insertion point.

See Also

Characteristics of a selection