summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/androidjniaccessibility.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2014-05-06 18:13:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-08 13:50:22 +0200
commiteed30131e168d12ed44e9ed469bef70cd4a80f4e (patch)
tree5f982a019f38387bfd862fae1564e2d3e4d7b377 /src/plugins/platforms/android/androidjniaccessibility.cpp
parent36caeadb4db9fab1cf581f9a3bb3c4a2e14de49a (diff)
Android: text cursor position fixes
The Android input method protocol specifies that finishComposingText() should not move the cursor. Since Qt likes to move the cursor to the end of the newly committed text, we have to explicitly move the cursor to where the preedit cursor used to be. Fortunately we already keep track of that. Also implement support for the newCursorPosition argument to commitText() since the function needed to be rewritten anyway. (It was calling finishComposingText().) Task-number: QTBUG-38794 Change-Id: Iff2c43bdbd3dda812ccdc71da63f3fa730474eef Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/plugins/platforms/android/androidjniaccessibility.cpp')
0 files changed, 0 insertions, 0 deletions