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 227279 - Context not recognized inside function assignment
Summary: Context not recognized inside function assignment
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 12:00 UTC by Vladimir Riha
Modified: 2013-06-27 12:08 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 2013-03-11 12:00:46 UTC
Please try following:


    var request = new XMLHttpRequest();
    request.open("GET", url, true);
    request.onreadystatechange = function() {
        this. // cc here
    };
    request.send();


If you try code completion on the line with comment, only send(), open() and onreadystatechange() are offered because they are used in code. But otter properties like responseText, status etc. are not offered



Product Version: NetBeans IDE Dev (Build 201303102300)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-06-27 12:08:31 UTC
Works fine now so closing. Thank you

Product Version: NetBeans IDE Dev (Build web-main-10912-on-20130626)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)