diff options
author | Blaž Hrastnik | 2020-10-01 07:06:28 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-10-01 07:06:28 +0000 |
commit | 4c49197e2021dc4af1e971b663290ec02c5b3bd1 (patch) | |
tree | 4d4d11fb37fcad96dc4989d08745e7648cb9f60e /helix-view/src/commands.rs | |
parent | 4189c362b2e0216487aff74885331a1cb95e972b (diff) |
Fix delete key.
Diffstat (limited to 'helix-view/src/commands.rs')
-rw-r--r-- | helix-view/src/commands.rs | 2 |
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, ) }); |