diff options
author | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-07-03 13:46:21 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-08-11 10:13:38 +0000 |
commit | afaeecd4e8adc5de3a94bbdbf7e6d805d66c4241 (patch) | |
tree | 026af0a637b770022a35d77fc77cfb947e0113d3 /header.BSD | |
parent | 0cf00efcedb8f8ef438f8d204b7adf938849bf9c (diff) |
iOS: ensure that we restore text selection with correct cursor and anchor pos
Qt keeps track of the selection direction since a selection anchor can be placed
both to the left or to the right of the cursor. On iOS, the selection should
instead always be specified from left to right (using a position together with a
positive length). So when restoring the selection after performing the
calculation of the text rect, we need to ensure that we follow this format.
Change-Id: Id8bea6c35e2781e1431ee963f601b6e9ef05dbf5
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'header.BSD')
0 files changed, 0 insertions, 0 deletions