diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-03-03 05:26:57 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-03-04 01:05:32 (GMT) |
commit | 7d22f04a0d2af6752fbbcaa970808a6e8d33399b (patch) | |
tree | dc01efc5abaa1161b06e7d5cde46cf70bfbef1a8 /translations | |
parent | d893ad027570ae7b3127636a4622f9cb4d5bb7a0 (diff) | |
download | Qt-7d22f04a0d2af6752fbbcaa970808a6e8d33399b.zip Qt-7d22f04a0d2af6752fbbcaa970808a6e8d33399b.tar.gz Qt-7d22f04a0d2af6752fbbcaa970808a6e8d33399b.tar.bz2 |
Fix word selection locking on string boundaries.
QTextBoundaryFinder will return the position -1 if it reaches the end
of a string without finding a boundary, reset the cursor and anchor
to 0 or the string length as appropriate in those cases.
Also allow selection to lock onto the string limits as if they were
words.
Change-Id: Ie9d233967c73eb6a61f19c76494f04bca18612f8
Task-number: QTBUG-17860
Reviewed-by: Martin Jones
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions