This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using Netbeans 6.5 under Sun's JDK 1.6.0_02 on Windows XP. I'm editing some XSLT templates that produce HTML output, and found that if I used the code folding to close up elements and then copy/cut & paste code from after the folded element to before it (I think it was within the same xsl:template, but I wouldn't swear to it), the folded element kept unfolding itself again (presumably as the tree model refreshes?). Since I had several sections to move/copy, this soon became very irritating as I had to keep re-folding the element each time in order to get at the next part I wanted to copy... Please, when reparsing the file, preserve the folded code sections. It would make things much slicker.
*** This bug has been marked as a duplicate of bug 152237 ***