Skip to main content

grapheme_to_display_col

Function grapheme_to_display_col 

Source
pub fn grapheme_to_display_col(
    line: &str,
    grapheme_idx: usize,
    tab_width: usize,
) -> usize
Expand description

Display column at which the grapheme at grapheme_idx begins.