Invalidate text painting nodes when document text block is updated
authorSarunas Valaskevicius <rakatan@gmail.com>
Sun, 9 Feb 2014 18:50:42 +0000 (18:50 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 5 May 2014 10:39:13 +0000 (12:39 +0200)
commitaa30ba3effca50bccb9df60a564f31afc689ca73
tree53ab623328fd812e49929c2164ec7870fe9382f8
parentb78372c4ba31da2d941d70ba23a927deae7d830c
Invalidate text painting nodes when document text block is updated

The commit fixes text repainting when only formatting of the text is
changed by invalidating the affected blocks which will be repainted
on the next update.

Task-number: QTBUG-36743
Change-Id: I03ba747f9d08a9f49d0a012b8349c89c20dc6b55
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
src/quick/items/qquicktextedit.cpp
src/quick/items/qquicktextedit_p.h