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 232776 - Mark occurrences doesn't work in with
Summary: Mark occurrences doesn't work in with
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 232144
  Show dependency tree
 
Reported: 2013-07-16 09:05 UTC by Petr Pisl
Modified: 2013-08-13 12:45 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 Petr Pisl 2013-07-16 09:05:20 UTC
Have a code:
var testWith01 = {
    prop01: "ahoj",
    prop02: 20,
    method01: function() {
        
    }
}

with (testWith01) {
    prop01 = prop01 + prop02;
    method01();
}

The mark occurrences doesn't work as expected inside the with object.
Comment 1 Petr Pisl 2013-07-16 12:24:42 UTC
Fixed in at branch javascript-with
Comment 2 Petr Pisl 2013-08-13 12:45:31 UTC
Added to the web-main in the change: http://hg.netbeans.org/web-main/rev/5cbdcccf7a98