Function word_position
pub fn word_position(value: &str, dir: isize, from: usize) -> usizeExpand description
EditBox.getWordPosition(dir, from): the character index dir words away
from from. Forward, past the rest of the word and its spaces; backward,
over any spaces to the start of the word.