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 223970 - Context of property's property not correct
Summary: Context of property's property not correct
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 10:50 UTC by Vladimir Riha
Modified: 2016-08-10 01:54 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 Vladimir Riha 2012-12-18 10:50:37 UTC
Please try following:

function Wrap() {
  this.pers = new Person();
}


function Person() {
  this.run = function() {
  };
}

var wrapper = new Wrap();
wrapper.pers.run(); // place cursor here to inside run



Now if you place cursor like this:
wrapper.pers.r|un();

then:
- run declaration in Person() is not highlighted 

and related to this

- refactor|rename does not rename declaration of run()




Product Version: NetBeans IDE Dev (Build web-main-9550-on-20121218)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 8 version 6.2 running on amd64; Cp1252; en_US (nb)
Comment 1 Petr Pisl 2016-08-09 10:34:43 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2016-08-10 01:54:09 UTC
Integrated into 'main-silver', will be available in build *201608100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/54c0eed86a1c
User: Petr Pisl <ppisl@netbeans.org>
Log: #223970 - Context of property's property not correct