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 92592

Summary: Inconsistency in code folding
Product: java Reporter: Jiri Prox <jiriprox>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2007-01-16 09:23:34 UTC
NetBeans IDE Dev (Build 070116)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Code folding behaviour is inconsistent. When typing {} as an empty method body
(or inner class) the code fold is not shown. After adding space between the
brackets the fold is created. When the space is deleted the fold is still
present. After reopening file the fold is gone again.
Comment 1 Miloslav Metelka 2007-01-16 18:31:54 UTC
I guess that this needs to be changed somewhere in JavaElementFoldManager to
create even the empty-body folds. Reassigning to java/editor for evaluation.
Comment 2 Jan Lahoda 2008-11-19 12:49:33 UTC
seems like a good later candidate.
Comment 3 Quality Engineering 2009-11-02 11:02:49 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX