Skip to main content

word_start

Function word_start 

Source
pub fn word_start(text: &str, caret: usize) -> usize
Expand description

Byte offset where the identifier ending at caret starts.