diff options
author | Lars Knoll <lars.knoll@qt.io> | 2019-10-09 13:37:51 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2019-10-14 09:42:50 +0200 |
commit | 754b8b3e09a84960feb37a412c893895fe41a390 (patch) | |
tree | aecb6ef225564c0b9d269d6da71024fe3fb712c2 /examples/qml | |
parent | 04b0d1b217229494e317ab0dfcd0b15436d67f70 (diff) |
Fix updating of text nodes in QQuickTextEdit
The update algorithm wasn't correctly removing all node that
requires removing, as the startPosition is not always up to
date when deleting lines of code.
Instead, figure out the first Node after the changed region that
is clean and keep that one as a reference.
Amends 560a1991ac4524ff16352da23a2b54d717548f33.
Fixes: QTBUG-74745
Change-Id: I4a2c5bd7a673af5cad1850e3a5b703f9554cd7e6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Igor Bugaev <freedbrt@gmail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples/qml')
0 files changed, 0 insertions, 0 deletions