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 75431

Summary: Folding issue: fold label is always "{...}"
Product: cnd Reporter: Sergey Grinev <sergius>
Component: EditorAssignee: Sergey Grinev <sergius>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Sergey Grinev 2006-04-24 16:27:38 UTC
Run cnd suite, create sample helloapp project, open main.cc

1. Collapse main()
2. Wrote next code at the end of file and collapxe it:
/* 
random text
*/
3. Collapse #includes
4. Wrote next code at the end of file and collapxe it:
// line 1 
// line 2

Expected: all such folds should have different label"
for (1): "{...}"
for (2): "/*...*/"
for (3): smth like "#..."
for (4): smth like "//..."

Observed: fold label is always "{...}"
Comment 1 Vladimir Voskresensky 2006-04-24 17:07:16 UTC
just a comment.
Expected for (3) smth like "#include ..."
Comment 2 Vladimir Voskresensky 2007-04-06 18:06:15 UTC
was fixed when I made folding work
Comment 3 akumta 2008-01-10 20:43:24 UTC
Verified with Netbeans6.0