diff options
author | Hannu Koivisto <hannu.koivisto@vincit.fi> | 2010-09-14 15:30:48 +0300 |
---|---|---|
committer | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2010-09-15 15:19:20 +0300 |
commit | 813e63a214fb79f3428a562763e2bbcb9e61e8a9 (patch) | |
tree | f4b46352b84acd0e30ea2da688f6f070ec6222e6 /.gitignore | |
parent | 3f6c9a17d619d21bcb1245d836f6d36157a57665 (diff) |
Fixes: shift+arrow key selection with MTextEdit
RevBy: Pekka Vuorela
Details: selecting just a single character with shift+arrow key didn't work
because MInputContext::update() was called due to smartMoveCursor() ->
moveCursor() -> updateMicroFocus() and at that time edit mode wasn't yet
EditModeSelect and therefore query for selected text returned nothing.
updateMicroFocus() wasn't called again after setting the mode either and just
adding that would have resulted to unnecessary update() calls, so a mechanism
to suppress actual updateMicroFocus() calls was introduced and that was used
to ensure just one updateMicroFocus() call after moving the cursor and
setting the mode.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions