init(ranges:)

Initialize a selection to character ranges.

Declaration

init(ranges: RangeSet<AttributedString.Index>)