add

fun add(from: DocPos, to: DocPos, value: T)

Add a range. Ranges should be added in sorted (by from and value.startSide) order.