From e4d41d06e3b52863d35ce3703f78cc8e0807c504 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Wed, 28 Jul 2021 19:20:23 -0700 Subject: [PATCH] Fix typo in comment. --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index baa3e8978..dc28c0986 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -646,7 +646,7 @@ where let selection = doc.selection(view.id).clone().transform(|range| { // TODO: use `Range::cursor()` here instead. However, that works in terms of - // graphemes, wheras this function does yet. So we're doing the same logic + // graphemes, whereas this function doesn't yet. So we're doing the same logic // here, but just in terms of chars instead. let search_start_pos = if range.anchor < range.head { range.head - 1