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 198006 - PHP, Css, Javascritp and HTML code folding doesn't work without initial comment
Summary: PHP, Css, Javascritp and HTML code folding doesn't work without initial comment
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 197061 197904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-22 14:27 UTC by Petr Pisl
Modified: 2011-05-16 11:19 UTC (History)
5 users (show)

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 Petr Pisl 2011-04-22 14:27:00 UTC
There is a regression in CSL caused by change cc9616a5f85b http://hg.netbeans.org/main/rev/cc9616a5f85b, that is one of changes fixing issue #195855. As a result of this change the code folding don't works for files based on CSL (php, html, css, javascript), when there is no initial comment at the first line.
Comment 1 Petr Pisl 2011-04-22 14:29:57 UTC
I have commit fix for it, it stops my next work. I hope that the owner of the module does have nothing against it:).

http://hg.netbeans.org/web-main/rev/e85f0534d657
Comment 2 Petr Jiricka 2011-04-22 14:35:36 UTC
Looks like a patch candidate? Cc'ing Marian.
Comment 3 Quality Engineering 2011-04-23 04:37:38 UTC
Integrated into 'main-golden', will be available in build *201104230000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e85f0534d657
User: Petr Pisl <ppisl@netbeans.org>
Log: #198006 - PHP, Css, Javascritp and HTML code folding doesn't work without initial comment
Comment 4 Petr Pisl 2011-04-29 10:16:14 UTC
*** Bug 197904 has been marked as a duplicate of this bug. ***
Comment 5 Vladimir Riha 2011-05-02 11:40:40 UTC
verified in Dev 201105020000...

Is issue #197061 duplicate of this?
Comment 6 Marek Fukala 2011-05-03 07:37:29 UTC
*** Bug 197061 has been marked as a duplicate of this bug. ***
Comment 7 Petr Pisl 2011-05-16 11:19:18 UTC
Although the bug that caused the regression (issue #195855) was also fixed in the release70 branch, the transplant fix doesn't contain the changed that is fixed here. So it will not be fixed in the patch, because it seems that is not in the release as well.