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 108678 - Missing fold information
Summary: Missing fold information
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 17:35 UTC by _ gordonp
Modified: 2013-05-17 08: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 _ gordonp 2007-07-02 17:35:30 UTC
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>
Comment 1 Vladimir Voskresensky 2007-07-02 17:50:38 UTC
thanks for investigation. I think I know the reason.
Comment 2 Maria Tishkova 2007-08-21 15:47:43 UTC
downgrade to P4
Comment 3 Quality Engineering 2009-12-21 06:01:10 UTC
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