delete

fun delete(from: DocPos, to: DocPos)

Delete text from from to to.