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.

Bug 155834 - Preserve code folds when cutting & pasting
Summary: Preserve code folds when cutting & pasting
Status: RESOLVED DUPLICATE of bug 152237
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 11:42 UTC by ats37
Modified: 2011-11-11 20:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ats37 2008-12-19 11:42:20 UTC
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.
Comment 1 Svata Dedic 2011-11-11 20:48:46 UTC

*** This bug has been marked as a duplicate of bug 152237 ***