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.
Summary: | Code folds every time document structure changed | ||
---|---|---|---|
Product: | xml | Reporter: | aekold <aekold> |
Component: | Text-Edit | Assignee: | issues@xml <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | file to reproduce problem |
Description
aekold
2009-07-28 13:01:24 UTC
Created attachment 85327 [details]
file to reproduce problem
Steps to reproduce: (I am using line numbers from attached file) 1. Check all folding checkboxes in preferences. 2. Open build-impl.xml (from attachment or any of your projects). 3. Unfold block at line 678 and all it's subblocks. 3. Go to line 685 4. After line 685 start typing another <target Expected result: block at line 678 will stay unfolded if it was unfolded manyally Actual result: block at line 678 folded back, manual unfolding required to see it again. IMO this is a problem in XML fold manager, which always creates new folds instead of reusing existing ones. The infrastructure applies the folding rules to any newly created fold. |