summaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-05-30 03:29:07 +0000
committerBlaž Hrastnik2022-05-30 03:29:07 +0000
commit370a16d0f00d6146fdeb87cc16fb352e860e2377 (patch)
treef9d946826d98f7d01f56e57b42088a31aebe7b15 /helix-term/src/ui
parent5ed622399026754b3712db7ac8c2d6fc372d0238 (diff)
Update to ropey 1.5
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 85028e2f..f074d9f1 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -467,7 +467,7 @@ impl EditorView {
// make sure we display tab as appropriate amount of spaces
let visual_tab_width = tab_width - (visual_x as usize % tab_width);
let grapheme_tab_width =
- ropey::str_utils::char_to_byte_idx(&tab, visual_tab_width);
+ helix_core::str_utils::char_to_byte_idx(&tab, visual_tab_width);
(&tab[..grapheme_tab_width], visual_tab_width)
} else if grapheme == " " {