iterChangedRanges
fun iterChangedRanges(f: (fromA: DocPos, toA: DocPos, fromB: DocPos, toB: DocPos) -> Unit, individual: Boolean = false)
Iterate over the ranges changed by these changes.
When individual is true, adjacent changes are reported separately.