diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-15 15:11:41 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-18 13:05:42 +0200 |
commit | 5335cc4a5a73bbd6d717989b4257660b92000fb6 (patch) | |
tree | 52b65fdf32b46832a5126dd589ace6c647fc1f20 /src/plugins | |
parent | f54044d4a92ab5ef04c11bc3ca9f064e91d97e63 (diff) |
Fix cursor positioning on bidi boundaries
When the cursor is positioned between to script items that have different
writing directions, prioritise the script item that has the same direction
as the paragraph (i.e. the QTextEngine) when deciding where and how to
display the cursor. If visual cursor movement is enabled, the behavior is
unchanged.
As a drive-by, clean up coding style and avoid shadowing of function-
local variables.
Task-number: QTBUG-88529
Pick-to: 6.2
Change-Id: I15227b10b1469d9caf1235b00e4d6f9f64a8b510
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions