on master help sign in
Fix delete key.
commit4c49197e2021dc4af1e971b663290ec02c5b3bd1 authorBlaž Hrastnik <blaz@mxxn.io> dateThu 1 Oct 2020, 16:06 (6 years ago) parent4189c36
1 file changed+1−1
helix-view/src/commands.rs+1−1
helix-view/src/commands.rs+1−1
@@ -303,8 +303,8 @@ pub fn delete_char_forward(view: &mut View, count: usize) {
303303 let text = &view.state.doc.slice(..);
304304 let transaction = Transaction::change_by_selection(&view.state, |range| {
305305 (
306− graphemes::nth_next_grapheme_boundary(text, range.head, count),
307306 range.head,
307+ graphemes::nth_next_grapheme_boundary(text, range.head, count),
308308 None,
309309 )
310310 });