Contents

selectedRanges

Returns an array of selected ranges.

Declaration

optional var selectedRanges: [NSValue] { get set }

Discussion

This property is required for the replace all in selection, select all, and select all in selection actions. The returned NSArray object should contain NSRanges wrapped by NSValues.

See Also

Selection Information