copy

fun copy(pageIndex: Int = this.pageIndex, start: Int = this.start, end: Int = this.end, text: String = this.text, quads: List<KiteRectangle> = this.quads): KiteTextSelection(source)

Keeps the original copy signature and preserves this selection's location.