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 237938 - Definition of an Ext class is not coloring properly
Summary: Definition of an Ext class is not coloring properly
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: 231923
Blocks:
  Show dependency tree
 
Reported: 2013-11-04 10:37 UTC by Petr Pisl
Modified: 2013-11-15 09:50 UTC (History)
2 users (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 Petr Pisl 2013-11-04 10:37:21 UTC
Have a code: 

Ext.define('My.app.Panel', {
    constructor: function(config) {
    }
});

Ext.define('My.app.PanelPart2', {
    override: 'My.app.Panel',
    constructor: function(config) {
    }
});

The app identifier has String color, not color of an identifier.
Comment 1 Petr Pisl 2013-11-04 16:32:29 UTC
Should be fixed in web-main:
http://hg.netbeans.org/web-main/rev/d43f44abc07c

It can be added in the patch for NB 7.4. In this case please add the 74patch_candidate to whiteboard.
Comment 2 Vladimir Riha 2013-11-05 09:19:01 UTC
SW added, I'll verify it tomorrow in trunk. Thank you
Comment 3 Vladimir Riha 2013-11-05 09:30:18 UTC
Ha, it is already in trunk build. Verified

Product Version: NetBeans IDE Dev (Build 201311050001)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 Petr Pisl 2013-11-12 15:19:31 UTC
The change was transplanted to the releases:
http://hg.netbeans.org/releases/rev/bce5b4dc68d7
Comment 5 Vladimir Riha 2013-11-15 09:50:52 UTC
Verified in patch

Product Version: NetBeans IDE 7.4 (Build 201311142201)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)