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.
Product Version = NetBeans IDE 7.4 (Build 201310111528) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56 example: was: // Events: addEvent(popupwraper, 'keydown', keyClick); addEvent(document.regForm, 'submit', validateForm); var enters = document.querySelectorAll('.enter'); for (var i = 0, len = enters.length; i < len; ++i) { enters[i].onclick = enterPopup; }; After Alt+Shift+F: // Events: addEvent(popupwraper, 'keydown', keyClick); addEvent(document.regForm, 'submit', validateForm); var enters = document.querySelectorAll('.enter'); for (var i = 0, len = enters.length; i < len; ++i) { enters[i].onclick = enterPopup; } ;
Created attachment 141403 [details] IDE log
Reproducible. It is because the ; has no reason to be there. Although it is probably still valid code, JSlint also complains about it. I think this is more of a P4. Thank you for reporting
*** Bug 237550 has been marked as a duplicate of this bug. ***