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 165394 - select code action in javascript embedded in JSP gets broken be expression language
Summary: select code action in javascript embedded in JSP gets broken be expression la...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 12:44 UTC by Jindrich Sedek
Modified: 2013-07-18 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-05-18 12:44:06 UTC
use this code in JSP file
----------
        <script type="text/javascript">
            for(nove_i =0;nove_i<${maximum + 56415641651651651651};nove_i++){
              |
            }
        </script>
-----------
invoke select code action at position of "|" two times - 
first time - section "{...}" is selected
second time - instead of whole "for(...){ ....}" just a prefix of "for(..." is selected
selected piece size seems to be related on the lenght of expression language
Comment 1 Marek Fukala 2009-05-18 13:49:59 UTC
reproducible, low priority issue since happens only under some circumstances. If the EL is placed before the javascript
or inside the js block select code action works fine.
Comment 2 Petr Hejl 2012-09-18 13:53:32 UTC
Does not work at all now.