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 60831 - Description of custom folds may contain extra strings
Summary: Description of custom folds may contain extra strings
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 09:35 UTC by Roman Strobl
Modified: 2007-11-05 13:39 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 Roman Strobl 2005-07-11 09:35:25 UTC
[NetBeans 200507061800; WinXP; JDK 1.5.0_04]

Custom folds with this order of attributes:

// <editor-fold desc="Start of auto generated elements" defaultstate="collapsed"> 

generate incorrect description:

Start of auto generated elements" defaultstate="collapsed

Note the second attribute is contained in the fold description as well.

The other order of attributes:

// <editor-fold defaultstate="collapsed" desc="Start of auto generated elements">

works correctly.
Comment 1 Vitezslav Stejskal 2007-04-16 05:40:45 UTC
Reproducible in a trunk build.
Comment 2 Vitezslav Stejskal 2007-04-27 05:14:00 UTC
Checking in CustomFoldManager.java;
/cvs/editor/libsrc/org/netbeans/editor/CustomFoldManager.java,v  <-- 
CustomFoldManager.java
new revision: 1.9; previous revision: 1.8
done