Function multiline_word_position
pub fn multiline_word_position(value: &str, dir: isize, from: usize) -> usizeExpand 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.