Patch #878 2006-03-01 16:09

sethjackson

CSS lexer
Download
878-CSS_lexer.patch (11.3 KB)
Category
Lexer
Status
Closed
Close date
2006-03-01 16:26
Assigned to
 
Index: src/sdk/resources/lexers/lexer_css.xml
===================================================================
--- src/sdk/resources/lexers/lexer_css.xml    (revision 2097)
+++ src/sdk/resources/lexers/lexer_css.xml    (working copy)
@@ -63,70 +63,82 @@
                         index="16"
                         fg="128,0,0"/>
                 <Keywords>
-                        <!-- These are the CSS1 and CSS2 keywords.
-                             The lexer is supposed to lex the CSS1 and CSS2
-                             keywords differently (see above) unfortunatly it
-                             doesn't :(
-                             The CSS1 keywords are first then the CSS2
-                             keywords I seperated them by a two line breaks. -->
-                        <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
-
-                                       border-top-color border-right-color
-                                       border-bottom-color border-left-color
-                                       border-color border-top-style
-                                       border-right-style border-bottom-style
-                                       border-left-style border-style top right
-                                       bottom left position z-index direction
-                                       unicode-bidi min-width max-width
-                                       min-height max-height overflow clip
-                                       visibility content quotes counter-reset
-                                       counter-increment marker-offset
-                                       size marks page-break-before
-                                       page-break-after page-break-inside page
-                                       orphans widows font-stretch
-                                       font-size-adjust unicode-range
-                                       units-per-em src panose-1 stemv stemh
-                                       slope cap-height x-height ascent descent
-                                       widths bbox definition-src baseline
-                                       centerline mathline topline text-shadow
-                                       caption-side table-layout border-collapse
-                                       border-spacing empty-cells speak-header
-                                       cursor outline outline-width
-                                       outline-style outline-color volume speak
-                                       pause-before pause-after pause cue-before
-                                       cue-after cue play-during azimuth
-                                       elevation speech-rate voice-family pitch
-                                       pitch-range stress richness
-                                       speak-punctuation speak-numeral"/>
-                        <!-- These are the pseudoclass keywords.
-                             I don't know if there is a better way to
-                             declare these. -->
-                        <User index="1"
-                            value="first-letter first-line link active visited
-                                   first-child focus hover lang before after
-                                   left right first"/>
-                        <Documentation index="2"
-                                    value=""/>
+                        <!-- CSS1 Keywords -->
+                        <Set index="0"
+
download for full patch...
killerbot 2006-03-01 16:26

applied in revision 2099