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 241171 - Mark occurrences doesn't work properly
Summary: Mark occurrences doesn't work properly
Status: RESOLVED 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: 2014-01-30 13:41 UTC by Petr Pisl
Modified: 2014-02-01 05:46 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 2014-01-30 13:41:06 UTC
Have this code:

define(function(require) {
    var Editor = Backbone.View.extend({});

    Editor.prototype.openEdition = function (edition) {
        this.pager.on('empty', this.welcome, this);
        this.pager.on('selected', this.openPage, this);
        $('.project-drawer-inner').append(this.pager.el);
    };

    Editor.prototype.welcome = function () {
        this.text = "Welcome";
    };
    
    var editor = new Editor();
    editor.welcome();
});

and place cursor at editor.welcome() line at welcome word. The Editor.prototype.welcome is not marked.
Comment 1 Petr Pisl 2014-01-31 10:38:36 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2014-02-01 05:46:22 UTC
Integrated into 'main-silver', will be available in build *201402010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bad2705d7ec5
User: Petr Pisl <ppisl@netbeans.org>
Log: #241171 - Mark occurrences doesn't work properly