copy

fun LinePos.copy(line: Int = this.line, ch: Int = this.ch): LinePos

Copy a LinePos, optionally overriding line or ch.