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 267422

Summary: Coloring is broken after if (i++ < 10)
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2016-08-03 13:06:11 UTC
If you have simple code:

var i = 2;
if (i++ < 10) console.log("i is < 10");
   else console.log("i is big");

then the keyword else is not colored.
Comment 1 Petr Pisl 2016-08-03 13:08:00 UTC
The coloring is broken at all.
Comment 2 Petr Pisl 2016-08-03 13:39:14 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2016-08-04 02:03:49 UTC
Integrated into 'main-silver', will be available in build *201608040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1f109a306d77
User: Petr Pisl <ppisl@netbeans.org>
Log: #267422 - Coloring is broken after if (i++ < 10)