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

Summary: Editor did not correctly syntax highlight
Product: javascript Reporter: xuanhung_cntt
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

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