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 125660 - HTML code folding is missing at HTML code
Summary: HTML code folding is missing at HTML code
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 124558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-21 13:11 UTC by Jindrich Sedek
Modified: 2008-01-23 14:49 UTC (History)
4 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 Jindrich Sedek 2008-01-21 13:11:29 UTC
Create new HTML document - there are no code folds and it's no possible to fold the code using shortcuts either.
Comment 1 Marek Fukala 2008-01-22 08:28:13 UTC
The top level language AST processing metod is not called neither in html nor in jsp. The processing is invoked for
embedded languages (html in jsp for example). So none of the features based on the AST works then.

This is a regression in Schlieman.

html.nbs snip:
# AST generator
AST {
    process:org.netbeans.modules.html.editor.HTML.process;
    process_embedded: "true";
    skip_embedded: "true";
}
Comment 2 Marek Fukala 2008-01-22 08:29:10 UTC
*** Issue 124558 has been marked as a duplicate of this issue. ***
Comment 3 Marek Fukala 2008-01-22 08:47:32 UTC
Please look at that, QE would be happy to have this fixed in M1.
Comment 4 Daniel Prusa 2008-01-22 10:46:58 UTC
Reproducible also with yaml files, including the flat view in navigator reported in issue 124558.
As for the javascript files, folds are present, but functions are missing in navigator completely.
I will look at it.
Comment 5 Daniel Prusa 2008-01-22 13:01:33 UTC
Fixed in trunk (except missing js functions in navigator which I have mentioned above - it is a different issue, filed
as #125586).

/cvs/languages/engine/src/org/netbeans/modules/languages/ParserManagerImpl.java,v  <--  ParserManagerImpl.java
new revision: 1.63; previous revision: 1.62
Comment 6 Jindrich Sedek 2008-01-22 14:55:45 UTC
verified in trunk, please merge into M1.
Comment 7 Daniel Prusa 2008-01-22 15:45:32 UTC
Fix merged into M1.

/cvs/languages/engine/src/org/netbeans/modules/languages/ParserManagerImpl.java,v  <--  ParserManagerImpl.java
new revision: 1.62.2.1; previous revision: 1.62
Comment 8 Jindrich Sedek 2008-01-23 07:55:17 UTC
verified in M1