mirror of https://github.com/helix-editor/helix
fixed repeat_last_motion extends selection (#7159)
parent
3a8592abdb
commit
3334e7e4b2
|
@ -1266,7 +1266,7 @@ where
|
||||||
|
|
||||||
find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count);
|
find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count);
|
||||||
cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| {
|
cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| {
|
||||||
find_char_impl(editor, &search_fn, inclusive, true, ch, 1);
|
find_char_impl(editor, &search_fn, inclusive, extend, ch, 1);
|
||||||
})));
|
})));
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue