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 209941 - GoTo Declaration for functions does not work
Summary: GoTo Declaration for functions does not work
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 14:59 UTC by Vladimir Riha
Modified: 2012-07-10 04:10 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 Vladimir Riha 2012-03-22 14:59:10 UTC
Use following code:

function IDSyncLock(toDelete, toUpdate, toInsert, callback, lecture, course, originalCallback, originalResponse) {

    this.toDelete = toDelete;
    this.deleted = 0;
    this.response = originalResponse;
    this.originalCallback = originalCallback;
    this.notifyDeleted = function() {
        this.deleted++;
        if (this.deleted === this.toDelete)
            this.globalNotify();
    };
    
    this.globalNotify = function() {
        callback(this.response, course, lecture, false, this.originalCallback);
    };
};



Now press Ctrl and click on "globalNotify" on the line with this.globalNotify();
=> nothing happens



Product Version: NetBeans IDE Dev (Build 2012-03-22_03-56-25 )
Java: 1.6.0_23; OpenJDK Client VM 20.0-b11
System: Linux version 3.0.0-16-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2012-03-23 15:35:16 UTC
Reproducible
Comment 2 Petr Pisl 2012-03-23 16:34:19 UTC
Fixed.
Comment 3 Vladimir Riha 2012-03-26 08:37:24 UTC
verified

Product Version: NetBeans IDE Dev (Build 2012-03-23_09-53-16 )
Comment 4 Quality Engineering 2012-07-10 04:10:50 UTC
Integrated into 'main-golden', will be available in build *201207100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2ea6fa4fb3cb
User: Petr Pisl <ppisl@netbeans.org>
Log: #209941 - GoTo Declaration for functions does not work