init(range:)

Initialize a selection to a character range.

Declaration

init(range: Range<AttributedString.Index>)