pub fn delete(body: &mut TextBody, a: Pos, b: Pos) -> Pos
Delete the range between a and b; returns the caret at the start.
a
b