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.
In the XML editor elements can be folded by clicking a '-' near the gutter. I find that when I do this and continue editing other elements that come after those that are folded, the fold elements will spontaneously expand while I am manipulating the editor.
*** Bug 178220 has been marked as a duplicate of this bug. ***
*** Bug 197436 has been marked as a duplicate of this bug. ***
The FoldManager in XML is very simplistic. Should be converted to CSL diff/commit fold support.
*** Bug 155834 has been marked as a duplicate of this bug. ***
*** Bug 211178 has been marked as a duplicate of this bug. ***
*** Bug 228311 has been marked as a duplicate of this bug. ***
Hi Svata, Just verifying that issue #228311 is truly a duplicate of this issue. That issue is about code completion, not folding. Specifically, CC will pop up when pasting XML from the clipboard. This issue occurs even if nothing is folded, and even if code folding is disabled. The same issue that causes that problem causes this one as well?
mea culpa ... I mixed two bugs together. Sorry & thanks for the notice.
*** Bug 238715 has been marked as a duplicate of this bug. ***
So it's could not be fixed for six years?
The fix is not straightforward, as XML implements its own folding mechanism from scratch, APIs which could help with this (and other) issues on XML folding were introduced in NB 7.4. So XML folding support should not be fixed, but should be rather rewritten. Anyway, there are priorities that I had to follow which round down to a work time I can dedicate for a particular module. XML folding has a rather low priority for me personally, compared to other assignments, sorry. I understand you are unhappy with the progress; the easiest and fastest solution to do is to clone the source from hg.netbeans.org and propose the fix; review takes a lot less time than develop the fix + tests.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.
Reopen this bug as still reproducible in Netbeans 8.1 and 8.2.