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.
tested in todays build (5202) editing CSS is broken in that I can not change some of the colors, notable the keyword color - it allows me to change it in the color editing UI, but when i change it only part of the preview changes, the rest stays dark blue (default color). Opening a file will show the proper colors for a second or two, and the revert. the two colors that seem to be the most obvious are the keyword color (dark blue) and the identifier color (dark green)
I've seen the same problem and I -just- realized what the problem is. At the -lexical- level, the CSS colors are assigned the lexical colors assigned to keys and values. However, the Schliemann CSS parser then kicks in and -changes- the colors according to its own hardcoded colors in CSS.nbs: COLOR:key: { color_name: "css_key"; default_coloring: "keyword"; foreground_color:"blue"; } This doesn't work well with themes. Is it really necessary to set the colors here? I think it should instead be using logical color names (for example "mod-unused" for unused variables, "mark-occurrences" for occurrences highlighting etc) such that this works with the various themes.
there appears to be a similar problem with js color highlighting - var foo = "asfs"; x = /foo/; both the regex and the variable name show up dark green, even though they are set to white and yellow in the color options.
We will look at it.
Similar problem exists with diff .patch files. I can't change colors for added/removed lines and headers.
More users reports this problem on users and ruby-users forum.
In netbeans 6.1 after editing css files highlighting becomes broken in css and jsp files.
Created attachment 62989 [details] broken jsp syntax highlighting after editing css files
languages/css module has been removed from NetBeans build.