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 268900 - Editor did not correctly syntax highlight
Summary: Editor did not correctly syntax highlight
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-09 01:46 UTC by xuanhung_cntt
Modified: 2016-12-08 14:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (71.41 KB, text/plain)
2016-11-09 01:46 UTC, xuanhung_cntt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xuanhung_cntt 2016-11-09 01:46:46 UTC
Product Version = NetBeans IDE 8.2 RC (Build 201609140952)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

Editor did not correctly syntax highlight if you edit javascript file with this code:

console.log(4
< 
5);
Comment 1 xuanhung_cntt 2016-11-09 01:46:50 UTC
Created attachment 162836 [details]
IDE log
Comment 2 Petr Pisl 2016-11-09 09:53:01 UTC
Reproducible, matching of the parenthesis doesn't work. I expect that is connected with the <, where lexer evaluate this as start of a tag.
Comment 3 Petr Pisl 2016-11-14 15:42:41 UTC
Fixed in web-main.
Comment 4 Quality Engineering 2016-11-16 02:51:38 UTC
Integrated into 'main-silver', will be available in build *201611160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/12f287455c41
User: Petr Pisl <ppisl@netbeans.org>
Log: #268900 - Editor did not correctly syntax highlight
Comment 5 xuanhung_cntt 2016-11-16 04:26:57 UTC
Thanks
Comment 6 Petr Pisl 2016-12-08 14:22:13 UTC
The fix was transplanted to the releases/release82