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 250838

Summary: -var is not treated as javascript but as text
Product: javascript Reporter: Petr Pisl <ppisl>
Component: JadeAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2015-03-02 19:33:18 UTC
Have a simple code 

-var something = "test"

title The title is #{ something }


The expression var somethign = "test" should be colored as javascript, but is just black.
Comment 1 Petr Pisl 2015-03-02 19:34:19 UTC
If you place space betwee - and var, then it works correctly
Comment 2 Petr Pisl 2015-03-02 20:05:28 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2015-03-04 03:57:54 UTC
Integrated into 'main-silver', will be available in build *201503040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cd9af8464d23
User: Petr Pisl <ppisl@netbeans.org>
Log: #250838 - -var is not treated as javascript but as text