Skip to main content

tab_indent

Function tab_indent 

Source
pub fn tab_indent(text: &str, caret: usize, indent: u8) -> String
Expand description

The spaces a Tab inserts at caret: to the next tab stop of width indent, counted in characters from the start of the caret’s line.