summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeviewer
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-03-03 05:20:17 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2011-03-30 00:35:10 (GMT)
commit84413a25bc025f099a075387fb6ab8449d9ef217 (patch)
tree1b13a4beb5cfe6faccad0a3def7a0f05c39947c2 /tests/auto/declarative/qdeclarativeviewer
parentf0c6b3eefdf342bbb71e9409ea050da3c92ac861 (diff)
downloadQt-84413a25bc025f099a075387fb6ab8449d9ef217.zip
Qt-84413a25bc025f099a075387fb6ab8449d9ef217.tar.gz
Qt-84413a25bc025f099a075387fb6ab8449d9ef217.tar.bz2
Return correct boundaries reasons from QTextBoundaryFinder.
The next character after a boundary is at pos, not pos + 1. Also consider whether the previous and next character are whitespace in combination when determing word boudaries otherwise positions between whitespace characters will return both StartWord and EndWord. And since there's no need to look ahead one character don't shortcut` the regular logic for the boundary before the last character. Change-Id: I2efbf3947066767945f96bf8456ef518d2149191 Task-number: QTBUG-11365 Reviewed-by: Denis Dzyubenko Reviewed-by: Ritt Konstantin
Diffstat (limited to 'tests/auto/declarative/qdeclarativeviewer')
0 files changed, 0 insertions, 0 deletions