deleteChange

fun deleteChange(from: Int, to: Int, allowMerge: Boolean): DeleteString?

Returns a TextChange object, but does not apply that change. Useful for batching multiple changes together so that undo/redo treats them as a single step.