diff options
author | Pasi Matilainen <pasi.matilainen@digia.com> | 2012-01-16 07:10:18 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-03 10:10:44 (GMT) |
commit | 1b031759ddfdab9703dfecac13f1ed318da3dafe (patch) | |
tree | 05c3e701922ef5aef268a26521fc805a03978ff3 /src/gui/text/qabstracttextdocumentlayout.h | |
parent | 882a868486949784206d2ef386ad4e2c0da2b07e (diff) | |
download | Qt-1b031759ddfdab9703dfecac13f1ed318da3dafe.zip Qt-1b031759ddfdab9703dfecac13f1ed318da3dafe.tar.gz Qt-1b031759ddfdab9703dfecac13f1ed318da3dafe.tar.bz2 |
QTextEdit cursor position fix when moving left/right with selection
When text has been selected in a QTextEdit and the left or right arrow
key is pressed, the cursor moves one character beyond the start or end
of the selection, when it shouldn't move past the selection. Fixed by
moving the cursor to the right place when a selection is active.
Task-number: QTBUG-22853
Change-Id: I9ea1863436db98627a6fd041ce554cf10be26493
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/gui/text/qabstracttextdocumentlayout.h')
0 files changed, 0 insertions, 0 deletions