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 214419

Summary: Incorrect folding mark fragment
Product: groovy Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Vladimir Riha 2012-06-19 08:39:32 UTC
Created attachment 121028 [details]
screenshot

Check the screenshot, if you create a new Groovy Class file, there is this folding mark


Product Version: NetBeans IDE 7.2 RC1 (Build 201206182200)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b05
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Janicek 2012-06-20 14:37:39 UTC
Valid issue and weird problem.. org.netbeans.modules.groovy.editor.api.StructureAnalyzer.folds(ParserResult info) seems to be working fine. It returns only two valid comment folds and nothing else. It is possible that the problem is somewhere in the CSL, but that's just a guess. Don't want to waste more time on this one since it's not blocking anything (even the cold folding is the same, so it's only minor ui problem)

Decreasing to P4, setting TM = Next and hopefully I'll come back one day when all the important issues in the groovy area will be fixed already:]