Review-request: Fix infinite loop caused by variable-refresh

Sebastian Sauer mail at dipe.org
Fri Jun 3 20:13:59 BST 2011


Hi,

attached patch fixes the infinite loop with the document attached to comment 
#3 in https://bugs.kde.org/show_bug.cgi?id=260219 .

The idea is to not include the previous and next root-areas and mark them 
dirty if charsAdded and charsRemoved ==0 what means no characters where 
changed. In such a case we can assume that the change is related to the 
current root-area only.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VariableRefresh.patch
Type: text/x-patch
Size: 2871 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110603/3e22d851/attachment.bin>


More information about the calligra-devel mailing list