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 - Incorrect folding mark fragment
Summary: Incorrect folding mark fragment
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 08:39 UTC by Vladimir Riha
Modified: 2012-06-20 14:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (28.79 KB, image/png)
2012-06-19 08:39 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
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:]