ime: Maintain selection direction in FinishComposingText.
FinishComposingText saves the old selection in order to reapply it after the composition is finished. However, it needs to also maintain the direction (the order of base vs. extent), or else a backward selection will be restored as a forward selection after calling FinishComposingText. Bug: 1145727, b/172284191 Change-Id: Ie1e8ef69fcabcb11aebbbc5003e044f70e6535d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518309 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#824323}
Showing
Please register or sign in to comment