extend

fun extend(from: DocPos, to: DocPos = from): SelectionRange

Extend this range to cover at least from to to.