Skip to main content

delete_visual_range

Function delete_visual_range 

Source
pub fn delete_visual_range(
    raw: &str,
    visual_start: usize,
    visual_end: usize,
) -> String
Expand description

Delete visible characters in the visual range [visual_start, visual_end). Preserves all style tag structure ({name|, }) and only removes the content characters that fall within the visual range.