diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-03-03 05:20:17 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-03-30 00:35:10 (GMT) |
commit | 84413a25bc025f099a075387fb6ab8449d9ef217 (patch) | |
tree | 1b13a4beb5cfe6faccad0a3def7a0f05c39947c2 /tests/auto/declarative/qdeclarativeviewer | |
parent | f0c6b3eefdf342bbb71e9409ea050da3c92ac861 (diff) | |
download | Qt-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