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 222508 - Incorrect coloring
Summary: Incorrect coloring
Status: RESOLVED INVALID
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 08:14 UTC by Tomas Mysik
Modified: 2013-06-18 11:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (19.35 KB, image/png)
2012-11-21 08:14 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-11-21 08:14:14 UTC
Created attachment 128182 [details]
screenshot

Have a look at the attachment.

Thanks.

Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Updates: NetBeans IDE is updated to version , NetBeans 7.3 Beta 2
Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_35-b10
System: Linux version 3.5.0-18-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Petr Pisl 2012-11-21 16:31:36 UTC
Could you share a part of the source, where I can reproduce it? I'm not able to reproduce it now, just from what is written on the picture.
Comment 2 Tomas Mysik 2012-11-22 05:53:22 UTC
The file is from NB repo: extbrowser/plugins/chrome/js/options.js

Thanks.
Comment 3 Petr Pisl 2012-11-22 08:34:12 UTC
Tomas thanks, I will look at it.
Comment 4 Petr Pisl 2012-11-22 08:58:34 UTC
I have opened the file and it looks different then on your screenshot. Tomasi, which color schema do you use? In the default it looks differently. The _container on line 53 is green, because it has assigned only simple value. 

The rest properties of NetBeans_PresetCustomizer are black bold, which means that are objects. At least somewhere in the file are defined methods, properties or are methods called. We can discuss this way of coloring.
Comment 5 Tomas Mysik 2012-11-22 09:26:46 UTC
I use my own color schema. So, if there is no bug in coloring, feel free to close this issue. But if you look at my screenshot, it seems as a bug, right? What is the difference between _moreHelpButton and _addPresetButton?

Thanks.
Comment 6 Petr Pisl 2012-11-22 15:33:55 UTC
The difference is somewhere in the code. Probably _moreHelpButton is a simple  property without a methods or other properties, so it's simple field and _addPresetButton has probably methods or other properties so it's behave as an object. 

I have talked about this with Tomas. I will close as invalid for now.