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.
Please copy & paste following: !function(test) { console.info("vstupni param: " + test); var bar = "bar promenna"; var Alert = function() { }; Alert.prototype.getInfo = function(param) { return "Info from Alert " + param + " and " + bar; }; var alert = new Alert(); console.info(alert.getInfo(22)); }("sranda"); And place cursor inside Alert on line var alert = new Alert(); => check attached screenshot, on line with "var Alert =" there is incorrect "highlighting" Product Version: NetBeans IDE 7.3 (Build 201302132200) Updates: Updates available Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 134742 [details] screenshot
Sorry, I thought I was having Dev build instead of 7.3. This works fine in Dev