aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/commands.rs b/helix-view/src/commands.rs
index 1309d48a..2b2f1239 100644
--- a/helix-view/src/commands.rs
+++ b/helix-view/src/commands.rs
@@ -303,8 +303,8 @@ pub fn delete_char_forward(view: &mut View, count: usize) {
let text = &view.state.doc.slice(..);
let transaction = Transaction::change_by_selection(&view.state, |range| {
(
- graphemes::nth_next_grapheme_boundary(text, range.head, count),
range.head,
+ graphemes::nth_next_grapheme_boundary(text, range.head, count),
None,
)
});