Since there are different keywords for CSS1 and CSS2 how do I lex the right ones. Do I put both CSS1, and CSS2, in
<Keywords>
<Language index="0"
value="CSS1 and CSS2"/>
</Keywords>
Or is there another way? Because I did the above and it doesn't work correctly (I think).......
Look at the css.porperties file in the zip file above to see what I mean. :)
Sorry for the spam. :P
Anyways here is part of the lexer.
<Keywords>
<!-- CSS1 keywords -->
<Language index="0"
value="color background-color background-image
background-repeat background-attachment
background-position background
font-family font-style font-variant
font-weight font-size font
word-spacing letter-spacing
text-decoration vertical-align
text-transform text-align text-indent
line-height margin-top margin-right
margin-bottom margin-left margin
padding-top padding-right padding-bottom
padding-left padding
border-top-width border-right-width
border-bottom-width border-left-width
border-width border-top border-right
border-bottom border-left border
border-color border-style width height
float clear display white-space
list-style-type list-style-image
list-style-position list-style"/>
<User index="1"
value=""/>
<Documentation index="2"
value=""/>
</Keywords>
Now since the lexer specifies different colors for the CSS1 and the CSS2 keywords, how do I apply them? If I add the CSS2 keywords to vale="..." the CSS2 keywords get lexed like CSS1 keywords. :( How do I fix this? Or is it possible right now? Thanks