Create new CSS file
set cursor into root rule
select some font in style builder
two semicolons are added at the end of line and the code is broken so
font-family: 'Times New Roman',Times,serif;
There are two issues in steps
1) two semicolons are correct code so it can appear and no error should be highlighted
2) two semicolons should not be added, because there is no reason for it
- both issues are "P2 - P3", but broken code disables style builder and preview totally, it's not possible to use it
please fix at least one of problems and downgrade priority
When the regression happened??? I belive it worked recently and I didn't do any change in the css editor! I'll look at
It must be a regression of this week, I was working with it last week and it worked well.
From what I saw I think the AST is now different from that expected by CssModel.updateModel().
Imo its a regression caused by some changes made recently by jjancura in css editor support module.
Petre, I work on fix for this, do not loose your time.
The parse tree after the Hanze's recent fix of css grammar is very unfortunate - the declarations are recursivelly
nested together instead of being on the same path-level), but we agreed that it is risky to change it now. I'll modify
the css model accoring to the current structure, but after 6.0 I would like to revert and properly fix the grammar.
Checking in CssModel.java;
/cvs/web/css/src/org/netbeans/modules/css/model/CssModel.java,v <-- CssModel.java
new revision: 1.16; previous revision: 1.15
Checking in CssRuleItem.java;
/cvs/web/css/src/org/netbeans/modules/css/model/CssRuleItem.java,v <-- CssRuleItem.java
new revision: 1.6; previous revision: 1.5
*** Issue 121075 has been marked as a duplicate of this issue. ***
NetBeans IDE Dev (Build 200711040000)