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 112602

Summary: Valid HTML script's commands are highlighted as "Syntax errors".
Product: web Reporter: webworker <webworker>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description webworker 2007-08-12 22:19:56 UTC
Here is a "cosmetic" but annoying problem: Valid [syntactically correct] Javascript statements are highlighted with 
the concise generic flag "Syntax error". The examples of such “wrong” statements could be the following:
- var RootElement1;
- function StartUp(){
- if (xmlDoc1.readyState == "4")    {
- // -->

And so on. What's good: after being saved the script inside the HTML file works properly.
Comment 1 Marek Fukala 2008-11-19 12:01:21 UTC
should be already fixed.