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.
Create a basic editor plugin for groovy. Add code folding for classes like FOLD:ClassDeclaration where ClassDeclaration is the grammar for representing a class. When you write a class say A like class A { int x; int y; int z; } The code folding folds only the first two lines. I found this in the latest builds (both on 7th Oct and 17th Oct builds. Have raised this as P2 as this module is the backbone of many scripting languages!
Is the groovy nbs file containing grammar and fold definition available? I have found nsb just with tokens definition in trunk (groovy module). Can you attach the groovy nbs you have used for reproduction?
Not reproducible, moreover, code related to code folding has been rewritten, so this might be already fixed. Reopen, if you encounter it again and provide files for reproduction.