path: root/tests/benchmarks/opengl/main.cpp
diff options
authorKonstantin Ritt <>2014-04-04 07:28:20 +0300
committerThe Qt Project <>2014-04-04 19:32:21 +0200
commit0b5911f37619acc20463f01df5588764e22a35b0 (patch)
treebe7c5fec3931777c68297a78738d02209cab6a5f /tests/benchmarks/opengl/main.cpp
parentd8286729451ce18f07d47a5bc3f5af08eda860fa (diff)
QTextLayout: Fix visual cursor movement in some cases
To guarantee proper positioning at the end of the last line in a bidirectional text we have to insert the eol position into the insertion points vector, accordingly to the visual ordering. Detection of the last *logical* item in a *visual* line is unrelaed to the text direction, it is simply `iterator.item == iterator.lastItem`. [ChangeLog][QtGui][QTextLayout] Fixed visual cursor movement in bidirectional text. Task-number: QTBUG-18060 (partially related) Change-Id: I53b6ab889ef580ab0560b620b808b1e09efc0fbd Reviewed-by: Lars Knoll <> Reviewed-by: Ahmed Saidi <>
Diffstat (limited to 'tests/benchmarks/opengl/main.cpp')
0 files changed, 0 insertions, 0 deletions