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 180690 - Incorrect folding
Summary: Incorrect folding
Status: RESOLVED DUPLICATE of bug 179462
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 02:38 UTC by lampacz
Modified: 2010-03-24 15:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
javadoc setting on (81.42 KB, image/png)
2010-03-23 10:19 UTC, lampacz
Details
javadoc comments off (85.20 KB, image/png)
2010-03-23 10:20 UTC, lampacz
Details
sample html (769 bytes, text/html)
2010-03-23 13:22 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lampacz 2010-02-14 02:38:23 UTC
When Javadoc Comments checked in Option -> Editor -> General tab, all html tags are collapsed in default for new opened files.
Comment 1 Tomas Mysik 2010-03-18 12:20:35 UTC
(In reply to comment #0)
> When Javadoc Comments checked in Option -> Editor -> General tab, all html tags
> are collapsed in default for new opened files.

Javadoc? HTML? Could you be more specific, please? I have no idea what the problem is and where should I reassign (probably not PHP).

Thanks.
Comment 2 lampacz 2010-03-23 10:19:39 UTC
Created attachment 95586 [details]
javadoc setting on
Comment 3 lampacz 2010-03-23 10:20:27 UTC
Created attachment 95587 [details]
javadoc comments off
Comment 4 lampacz 2010-03-23 10:23:49 UTC
image uploaded
first: javadoc comments checked and form tag on line 60 is collapsed when file is opened
second: javadoc comments not checked and form tag on line 60 is expanded when file is opened
Comment 5 Filip Zamboj 2010-03-23 13:21:36 UTC
reproducible on 
Product Version: NetBeans IDE Dev (Build 100323-369402e10efd)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

example file in attachment. 

1. tools -> options -> editor -> general 
2. set javadoc comments on 
3. open attached file 
it's collapsed a bit much :) 

4. close file 
5. set javadoc comments off 
6. open file - not collapsed

the problem here is that the html file is collapsed so much that you don't even see html tag.
Comment 6 Filip Zamboj 2010-03-23 13:22:41 UTC
Created attachment 95603 [details]
sample html
Comment 7 rmatous 2010-03-23 13:24:41 UTC
-> csl
Comment 8 Vitezslav Stejskal 2010-03-24 14:59:45 UTC
Why do you think this is a CSL problem? And what problem exactly? Thanks
Comment 9 rmatous 2010-03-24 15:10:38 UTC
#179462 - Code folding folds too much
http://hg.netbeans.org/web-main/rev/51669fc2f64e

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