Preserve range during undo
Refactor text insert undo