indexRangeToPosRange

Returns TextPosStructRange of the given index range. Used for presence/selection conversions: never rejects an index inside a UTF-16 surrogate pair, unlike edit/style.