Úr Balázs
2014-03-10 18:27:12 UTC
Hi!
The CSS code completition works well with 'color' property, but it
does not work with 'background-color' nor 'border-color'.
If I commented some lines around line 700 in the css-rules.bfinc, it
works again.
I commented these lines:
<context symbols=" 	 {}.;:">
<element pattern="inherit" highlight="css-value" >
<autocomplete append=";" />
</element>
<element idref="e.css.end"/>
<element idref="e.css.lcomment"/>
<element idref="e.css.rbrace"/>
</context>
Can you fix this, and can you explain me, what was the problem?
There is an other bug in 'padding' and 'padding-*' properties.
In these properties there is this line after <reference> element:
<context idref="c.css.length_percentage"/>
In the 'margin' property there is these lines after <reference> element:
<context idref="c.css.width"/>
<context symbols=" 	 -{}.;:">
<group highlight="css-value" >
<autocomplete append=";" />
<element pattern="0"/>
<element pattern="auto"/>
<element pattern="inherit"/>
</group>
<element idref="e.css.length.neg"/>
<element idref="e.css.end"/>
<element idref="e.css.lcomment"/>
<element idref="e.css.rbrace"/>
</context>
Margins works well. Can you copy these lines to 'padding' properties?
Regards,
Balázs
The CSS code completition works well with 'color' property, but it
does not work with 'background-color' nor 'border-color'.
If I commented some lines around line 700 in the css-rules.bfinc, it
works again.
I commented these lines:
<context symbols=" 	 {}.;:">
<element pattern="inherit" highlight="css-value" >
<autocomplete append=";" />
</element>
<element idref="e.css.end"/>
<element idref="e.css.lcomment"/>
<element idref="e.css.rbrace"/>
</context>
Can you fix this, and can you explain me, what was the problem?
There is an other bug in 'padding' and 'padding-*' properties.
In these properties there is this line after <reference> element:
<context idref="c.css.length_percentage"/>
In the 'margin' property there is these lines after <reference> element:
<context idref="c.css.width"/>
<context symbols=" 	 -{}.;:">
<group highlight="css-value" >
<autocomplete append=";" />
<element pattern="0"/>
<element pattern="auto"/>
<element pattern="inherit"/>
</group>
<element idref="e.css.length.neg"/>
<element idref="e.css.end"/>
<element idref="e.css.lcomment"/>
<element idref="e.css.rbrace"/>
</context>
Margins works well. Can you copy these lines to 'padding' properties?
Regards,
Balázs