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 227451 - wrong javascript variable selection (Affects variable renaming also)
Summary: wrong javascript variable selection (Affects variable renaming also)
Status: RESOLVED DUPLICATE of bug 226828
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 08:28 UTC by nb_johan1
Modified: 2013-03-15 22:40 UTC (History)
1 user (show)

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 nb_johan1 2013-03-14 08:28:36 UTC
In the following code, if I try to highlight the variable 'arr', then the '</script>' tag and some part after it, is also highlighted. This affects badly variable renaming also (Using Ctrl-R), which deletes part of the code.

<script type="text/javascript">
    var arr = "";
    testFunc({
        var1: arr,
        var2: true
    });
</script>
Comment 1 Vladimir Riha 2013-03-15 22:40:06 UTC

*** This bug has been marked as a duplicate of bug 226828 ***