Skip to main content

next_word_boundary_chars

Function next_word_boundary_chars 

pub fn next_word_boundary_chars(text: &str, char_idx: usize) -> usize
Expand description

Char index of the next word boundary at or after char_idx — the char-indexed mirror of next_word_boundary. Used to extend a reader selection rightward by a whole word (Shift+Ctrl+Right).