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.
1) put into embedded js, below code, look at the color of indywidual letters, var ala = "<" + name + ">";
i.e. code below is interpreted as having syntax error because of char "<" if (tymczWiek < 21) nieletni.push(tymczWiek);
Reproducible, uff, this issue will is pretty tricky. The problem is that part of the javascript syntax contains a code which can also be recognized by html lexer as html code. Since I create the javascript embedding dynamically (html lexer has no special state for javascript),the html lexer lexs the "javascript" tokes since it has no idea about the inner language. The consequence is that there is a plenty of html tokes in the <script> tag content which are actually just a garbage. However I use this garbage tokens to create the javascript embedding. The described problem is IMHO unsolvable (or at least seems to be to be very tricky) the only way how to fix is to convince Hanz to fix #99526, which causes that the javascript embeddings on the garbage html tokens are treated separately - read the issue #99526 for more info.
already fixed by fix of issue #102794