pub fn delete_range(buf: &mut Buffer, range: EditRange) -> String
Delete range from buffer; returns deleted text. Cursor moves to start.