`preeditText` is partial input from IME and touchscreen autocompleting keyboards, consider it together with `text` for the `getWordAt()` function. This should allow user autocompletion to work properly in these specific conditions.