Skip to main content

multiline_word_position

Function multiline_word_position 

pub fn multiline_word_position(value: &str, dir: isize, from: usize) -> usize
Expand description

MultilineTextField.getPreviousWord / getNextWord’s beginIndex (a book page): any whitespace, line breaks included, separates words, and the search starts from the cursor clamped to the last character, as vanilla’s does.