iterGaps

fun iterGaps(f: (posA: DocPos, posB: DocPos, length: Int) -> Unit)

Iterate over the unchanged parts left by these changes. posA provides the position of the range in the old document, posB the new position in the changed document.