@@ -646,7 +646,7 @@ where
646646
647647 let selection = doc.selection(view.id).clone().transform(|range| {
648648 // TODO: use `Range::cursor()` here instead. However, that works in terms of
649− // graphemes, wheras this function does yet. So we're doing the same logic
649+ // graphemes, whereas this function doesn't yet. So we're doing the same logic
650650 // here, but just in terms of chars instead.
651651 let search_start_pos = if range.anchor < range.head {
652652 range.head - 1