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 Dev (Build 201212080001) Operating System = Linux version 3.5.0-20-generic running on amd64 Java; VM; Vendor = 1.7.0_09 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script type="text/javascript"> var fillEditor = function(selectedItem) { <c:if test="${hello}"> </c:if> }; </script> </head> <body> <h1>Hello World!</h1> </body> </html> when there is "ENTER" after var fillEditor = function(selectedItem) { then a one more "}" added in new line.
reproducible
The problem is that there are multiple areas of JS splitted by jsp fragment. We can't use the snapshot in typing hooks and thus we think there is a missing }.
*** This bug has been marked as a duplicate of bug 233772 ***