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 - Hash & hashes syntax (CSS) are not working
Summary: Hash & hashes syntax (CSS) are not working
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-12-21 16:42 UTC by gerardbm
Modified: 2015-12-21 16:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Example image (screenshot) (10.96 KB, image/png)
2015-12-21 16:42 UTC, gerardbm

Note You need to log in before you can comment on or make changes to this bug.
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: