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 - Inconsistency in code folding
Summary: Inconsistency in code folding
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 09:23 UTC by Jiri Prox
Modified: 2009-11-02 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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