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 227857

Summary: Incorrect detection of closing parentesis when EL inside
Product: javascript Reporter: ecerichter
Component: EditorAssignee: Petr Pisl <ppisl>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot
NB DEV 201402140001 screenshot of the issue.
I hope the video helps...

Description ecerichter 2013-03-24 01:13:50 UTC
Product Version = NetBeans IDE Dev (Build 201303222300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

consider this piece of code:

onclick="doEditIdioma(${fi});"

when cursor is positioned on the first parentesis, the second is shown yellow as expected.
but when cursor is positioned on the second parentesis, it is shown as red (like if an error), and the first one is not marked.

See attached screenshot for reference.
Comment 1 ecerichter 2013-03-24 01:15:06 UTC
Created attachment 132983 [details]
Screenshot
Comment 2 Vladimir Riha 2013-05-22 09:34:26 UTC
reproducible

Product Version: NetBeans IDE Dev (Build 201305212300)
Comment 3 Petr Pisl 2014-02-17 13:54:20 UTC
In HTML files it's already fixed. Please reopen if you find a case, where it doesn't work correctly.
Comment 4 ecerichter 2014-02-17 15:36:42 UTC
Problem persists in JSP files using latest DEV build (8.0).
Comment 5 ecerichter 2014-02-17 15:37:14 UTC
Created attachment 145313 [details]
NB DEV 201402140001 screenshot of the issue.
Comment 6 ecerichter 2014-02-17 15:42:25 UTC
Created attachment 145314 [details]
I hope the video helps...