[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 154278] KWrite crashes on code folding
From: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2007-12-19 14:06:55
Message-ID: 20071219140655.23816.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=154278
------- Additional Comments From thomas.friedrichsmeier ruhr-uni-bochum de 2007-12-19 15:06 -------
Created an attachment (id=22622)
--> (http://bugs.kde.org/attachment.cgi?id=22622&action=view)
Proposed patch
Confirming in SVN revision 748424.
The problem seems to be that inside KateFoldingTree::toggleRegionVisibility(),
invalid nodes are deleted. This will also delete the node's children. However,
any (now deleted) children of the node may still be in the list as dangling
pointers. Solution: Delayed deletion of these nodes. It would be nice, if
somebody else could take another look at this, though.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic