@@ -288,9 +288,6 @@ impl State {
291−/// Coordinates are a 0-indexed line and column pair.
292−pub type Coords = (usize, usize); // line, col
294/// Convert a character index to (line, column) coordinates.
291/// Convert a character index to (line, column) coordinates.
295pub fn coords_at_pos(text: &RopeSlice, pos: usize) -> Position {
292pub fn coords_at_pos(text: &RopeSlice, pos: usize) -> Position {
296 let line = text.char_to_line(pos);
293 let line = text.char_to_line(pos);