on master help sign in
Fix typo in comment.
commite4d41d06e3b52863d35ce3703f78cc8e0807c504 authorNathan Vegdahl <cessen@cessen.com> dateWed 28 Jul 2021, 19:20 (5 years ago) parent285aba2
1 file changed+1−1
helix-term/src/commands.rs+1−1
helix-term/src/commands.rs+1−1
@@ -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