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 - -var is not treated as javascript but as text
Summary: -var is not treated as javascript but as text
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Jade (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 19:33 UTC by Petr Pisl
Modified: 2015-03-04 03:57 UTC (History)
0 users

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 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