Wayland IME: Fix caret position on preedit string.
Currently, there are two issues. - Delegate method is called after resetting preedit cursor so the passed value is always -1. - According to the protocol definition, it is the byte-offset, but we need to convert it to the string16's offset. Bug: 1140536 Test: Ran manually with Lacros. Change-Id: I06b018b7e945208f9f1f166ecf0dcf36d882a2c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486010Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
Jun Mukai <mukai@chromium.org> Commit-Queue: Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#821180}
Showing
Please register or sign in to comment