on master help sign in
Fix delete key.
4c49197Blaž Hrastnik
helix-view/src/commands.rs+1−1
@@ -303,8 +303,8 @@ pub fn delete_char_forward(view: &mut View, count: usize) {
303 let text = &view.state.doc.slice(..);
303 let text = &view.state.doc.slice(..);
304 let transaction = Transaction::change_by_selection(&view.state, |range| {
304 let transaction = Transaction::change_by_selection(&view.state, |range| {
305 (
305 (
306− graphemes::nth_next_grapheme_boundary(text, range.head, count),
307 range.head,
306 range.head,
307+ graphemes::nth_next_grapheme_boundary(text, range.head, count),
308 None,
308 None,
309 )
309 )
310 });
310 });