@@ -1,5 +1,5 @@
11use helix_core::{
2− comment, coords_at_pos, find_first_non_whitespace_char2, find_root, graphemes, indent,
2+ comment, coords_at_pos, find_first_non_whitespace_char, find_root, graphemes, indent,
33 match_brackets,
44 movement::{self, Direction},
55 object, pos_at_coords,
@@ -224,7 +224,7 @@ pub fn move_first_nonwhitespace(cx: &mut Context) {
224224 let text = doc.text();
225225 let line_idx = text.char_to_line(range.head);
226226
227− if let Some(pos) = find_first_non_whitespace_char2(text.line(line_idx)) {
227+ if let Some(pos) = find_first_non_whitespace_char(text.line(line_idx)) {
228228 let pos = pos + text.line_to_char(line_idx);
229229 Range::new(pos, pos)
230230 } else {
@@ -447,7 +447,7 @@ pub fn extend_first_nonwhitespace(cx: &mut Context) {
447447 let text = doc.text();
448448 let line_idx = text.char_to_line(range.head);
449449
450− if let Some(pos) = find_first_non_whitespace_char2(text.line(line_idx)) {
450+ if let Some(pos) = find_first_non_whitespace_char(text.line(line_idx)) {
451451 let pos = pos + text.line_to_char(line_idx);
452452 Range::new(range.anchor, pos)
453453 } else {