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 54029 - Folding - 2 tags starting on same line
Summary: Folding - 2 tags starting on same line
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 15:39 UTC by zikmund
Modified: 2006-03-24 13:11 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 zikmund 2005-01-26 15:39:40 UTC
See HTML code:
   <tr><td>
   </td>
   </tr>
There are 2 folds created for 1st line, but only
inner fold is collapsable/expandable. Moreover [-]
will not change to [+] on collapse.

Note: Probably only outer fold should be folded in
case that there is no more than 1 fold mark [-]
for each line available. IMO folding of inner one
is not very usefull.
Comment 1 Marek Fukala 2005-02-10 13:56:52 UTC
fixed in both jspsyntax and html modules

Checking in HTMLFoldManager.java;
/cvs/html/editor/src/org/netbeans/modules/html/editor/folding/HTMLFoldManager.java,v
 <--  HTMLFoldManager.java
new revision: 1.6; previous revision: 1.5
done
Checking in JspFoldManager.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java,v
 <--  JspFoldManager.java
new revision: 1.13; previous revision: 1.12
done
Comment 2 zikmund 2005-02-14 13:14:06 UTC
Verified.