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 157469

Summary: folding - show first and last line
Product: editor Reporter: phazei <phazei>
Component: Code foldingAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description phazei 2009-01-26 23:30:46 UTC
An option to show both first and last line when folding.  Folding isn't always perfect, and if a bracket is missing
somewhere it can affect things adversely.  Just to be visually at ease that the fold worked properly, it would be nice
if it not only showed the first line, but also the last line of the fold, or an option to either show it or not.

That would be really great.

Thanks :)
Comment 1 jeremyclarke 2009-07-31 17:58:21 UTC

*** This issue has been marked as a duplicate of 167319 ***
Comment 2 jeremyclarke 2009-07-31 17:59:08 UTC
Sorry, closed this by accident, meant to mark a different one as duplicate
Comment 3 jeremyclarke 2009-07-31 18:30:42 UTC
See this ticket for what I think is a solid argument in favor of showing the first line in a folded comment (last line
I'm not so convinced about)

http://www.netbeans.org/issues/show_bug.cgi?id=169660
Comment 4 Svata Dedic 2012-05-28 14:59:00 UTC
last line should not be necessary; API design should be opened in that direction, however.

*** This bug has been marked as a duplicate of bug 169660 ***