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 257248

Summary: Hash & hashes syntax (CSS) are not working
Product: web Reporter: gerardbm
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Example image (screenshot)

Description gerardbm 2015-12-21 16:42:25 UTC
Created attachment 157881 [details]
Example image (screenshot)

In the Syntax editor, if I define a Selector color (blue), the Hash color will inherit the Selector color (blue); even if I define a different color for the Hash (red). It never shows the red color. The logical behavior is to configure a general color for the CSS selectors and then define the Hash color for the selectors that are IDs.

More important, when I define the hashes color —now in plural— (green), it works when I apply the changes. But when I reset NetBeans, hashes color inherits the CSS numbers color (yellow).

So I have all the CSS selectors in the blue color (excepting the pseudo-selectors), and all the CSS numbers in the yellow color.

In fact it would be nice if we could change the ID selectors color (#name), the class selectors color (.name), the tag selectors color (div, span, ul...), the number selectors color (:nth-child(6n)) and the RGB colors (#e1e1e1). Something like this: http://i.imgur.com/uvGmJMl.png

Regards,
Gerard