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 - Incorrect detection of closing parentesis when EL inside
Summary: Incorrect detection of closing parentesis when EL inside
Status: REOPENED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-24 01:13 UTC by ecerichter
Modified: 2014-02-17 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (13.01 KB, image/png)
2013-03-24 01:15 UTC, ecerichter
Details
NB DEV 201402140001 screenshot of the issue. (10.54 KB, image/png)
2014-02-17 15:37 UTC, ecerichter
Details
I hope the video helps... (324.62 KB, video/mp4)
2014-02-17 15:42 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
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...