init(ranges:)
Create multiple selections with a given range-set.
Declaration
init(ranges: RangeSet<String.Index>)Parameters
- ranges:
A range-set of
String.Indexrepresenting the selection.
Create multiple selections with a given range-set.
init(ranges: RangeSet<String.Index>)A range-set of String.Index representing the selection.