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.
While working on IZ 108361 I modified Vladimir's original test program by copying the comment and include several times (I didn't care if it was compilable, I just needed to see the folds). When I copied the comment/includes to the end of the file I did not get folds on them (I did on the other copies). I checked what was coming back from the code model (APTFoldingProvider.parse()) and its only sending 3 include sections back (I have 4 in the source file). Here is my updated source file: #include <iostream> #include <stdlib.h> /* * STL */ #include <vector> #include <map> /* * STL */ #include <vector> #include <map> #include <map> #include <map> #include <map> using namespace std; int main(int argc, char** argv) { return (EXIT_SUCCESS); } /* * STL */ #include <vector> #include <map>
thanks for investigation. I think I know the reason.
downgrade to P4
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team