Download DigitalRuneTextEditorCssHighlighting.zip, last updated 08/07/2011 (9.66 KB)

Download
  • md5: 4ef11a50a0bd719feec13b1ae50681d2
<?xml version="1.0" encoding="utf-8"?>
<!-- CSS syntax highlighting for DigitalRune TextEditor. Created by Cyotek (http://cyotek.com/) -->
<SyntaxDefinition name="CSS" extensions="*.css">
  <Environment>
    <Default color="Maroon" bgcolor="White" />
  </Environment>
  <RuleSets>
    <RuleSet ignorecase="false">
      <Span name="CssClass" rule="CssClass" bold="false" italic="false" color="Black" stopateol="false">
        <Begin>{</Begin>
        <End>}</End>
      </Span>
      <Span name="Comment" bold="false" italic="false" color="Green" stopateol="false">
        <Begin>/*</Begin>
        <End>*/</End>
      </Span>
    </RuleSet>
    <RuleSet name="ValueRules" ignorecase="false">
      <Span name="Comment" bold="false" italic="false" color="Green" stopateol="false">
        <Begin>/*</Begin>
        <End>*/</End>
      </Span>
      <Span name="String" bold="false" italic="false" color="BlueViolet" stopateol="true">
        <Begin>"</Begin>
        <End>"</End>
      </Span>
      <Span name="Char" bold="false" italic="false" color="BlueViolet" stopateol="true">
        <Begin>'</Begin>
        <End>'</End>
      </Span>
      <KeyWords name="Flags" bold="true" italic="false" color="BlueViolet">
        <Key word="!important" />
      </KeyWords>
    </RuleSet>
    <RuleSet name="CssClass" ignorecase="true">
      <Span name="Value" rule="ValueRules" bold="false" italic="false" color="Blue" stopateol="false">
        <Begin color="Black">:</Begin>
        <End color="Black">;</End>
      </Span>
      <KeyWords name="CSSLevel1PropertyNames" bold="false" italic="false" color="Red">
        <Key word="background" />
        <Key word="background-attachment" />
        <Key word="background-color" />
        <Key word="background-image" />
        <Key word="background-position" />
        <Key word="background-repeat" />
        <Key word="border" />
        <Key word="border-bottom" />
        <Key word="border-bottom-color" />
        <Key word="border-bottom-style" />
        <Key word="border-bottom-width" />
        <Key word="border-color" />
        <Key word="border-left" />
        <Key word="border-left-color" />
        <Key word="border-left-style" />
        <Key word="border-left-width" />
        <Key word="border-right" />
        <Key word="border-right-color" />
        <Key word="border-right-style" />
        <Key word="border-right-width" />
        <Key word="border-style" />
        <Key word="border-top" />
        <Key word="border-top-color" />
        <Key word="border-top-style" />
        <Key word="border-top-width" />
        <Key word="border-width" />
        <Key word="clear" />
        <Key word="color" />
        <Key word="display" />
        <Key word="float" />
        <Key word="font" />
        <Key word="font-family" />
        <Key word="font-size" />
        <Key word="font-style" />
        <Key word="font-variant" />
        <Key word="font-weight" />
        <Key word="height" />
        <Key word="letter-spacing" />
        <Key word="line-height" />
        <Key word="list-style" />
        <Key word="list-style-image" />
        <Key word="list-style-position" />
        <Key word="list-style-type" />
        <Key word="margin" />
        <Key word="margin-bottom" />
        <Key word="margin-left" />
        <Key word="margin-right" />
        <Key word="margin-top" />
        <Key word="padding" />
        <Key word="padding-bottom" />
        <Key word="padding-left" />
        <Key word="padding-right" />
        <Key word="padding-top" />
        <Key word="text-align" />
        <Key word="text-decoration" />
        <Key word="text-indent" />
        <Key word="text-transform" />
        <Key word="vertical-align" />
        <Key word="white-space" />
        <Key word="width" />
        <Key word="word-spacing" />
      </KeyWords>
      <KeyWords name="CSSLevel2PropertyNames" bold="false" italic="false" color="Red">
        <Key word="border-collapse" />
        <Key word="border-spacing" />
        <Key word="bottom" />
        <Key word="caption-side" />
        <Key word="clip" />
        <Key word="content" />
        <Key word="counter-increment" />
        <Key word="counter-reset" />
        <Key word="cursor" />
        <Key word="direction" />
        <Key word="empty-cells" />
        <Key word="left" />
        <Key word="max-height" />
        <Key word="max-width" />
        <Key word="min-height" />
        <Key word="min-width" />
        <Key word="orphans" />
        <Key word="outline" />
        <Key word="outline-color" />
        <Key word="outline-style" />
        <Key word="outline-width" />
        <Key word="overflow" />
        <Key word="page-break-after" />
        <Key word="page-break-before" />
        <Key word="page-break-inside" />
        <Key word="position" />
        <Key word="quotes" />
        <Key word="right" />
        <Key word="table-layout" />
        <Key word="top" />
        <Key word="unicode-bidi" />
        <Key word="visibility" />
        <Key word="widows" />
        <Key word="z-index" />
      </KeyWords>
      <KeyWords name="CSSLevel3PropertyNames" bold="false" italic="false" color="Red">
        <Key word="@font-face" />
        <Key word="@keyframes" />
        <Key word="alignment-adjust" />
        <Key word="alignment-baseline" />
        <Key word="animation" />
        <Key word="animation-delay" />
        <Key word="animation-direction" />
        <Key word="animation-duration" />
        <Key word="animation-iteration-count" />
        <Key word="animation-name" />
        <Key word="animation-play-state" />
        <Key word="animation-timing-function" />
        <Key word="appearance" />
        <Key word="backface-visibility" />
        <Key word="background-clip" />
        <Key word="background-origin" />
        <Key word="background-size" />
        <Key word="baseline-shift" />
        <Key word="bookmark-label" />
        <Key word="bookmark-level" />
        <Key word="bookmark-target" />
        <Key word="border-bottom-left-radius" />
        <Key word="border-bottom-right-radius" />
        <Key word="border-image" />
        <Key word="border-image-outset" />
        <Key word="border-image-repeat" />
        <Key word="border-image-slice" />
        <Key word="border-image-source" />
        <Key word="border-image-width" />
        <Key word="border-radius" />
        <Key word="border-top-left-radius" />
        <Key word="border-top-right-radius" />
        <Key word="box-align" />
        <Key word="box-decoration-break" />
        <Key word="box-direction" />
        <Key word="box-flex" />
        <Key word="box-flex-group" />
        <Key word="box-lines" />
        <Key word="box-ordinal-group" />
        <Key word="box-orient" />
        <Key word="box-pack" />
        <Key word="box-shadow" />
        <Key word="box-sizing" />
        <Key word="color-profile" />
        <Key word="column-count" />
        <Key word="column-fill" />
        <Key word="column-gap" />
        <Key word="column-rule" />
        <Key word="column-rule-color" />
        <Key word="column-rule-style" />
        <Key word="column-rule-width" />
        <Key word="columns" />
        <Key word="column-span" />
        <Key word="column-width" />
        <Key word="crop" />
        <Key word="dominant-baseline" />
        <Key word="drop-initial-after-adjust" />
        <Key word="drop-initial-after-align" />
        <Key word="drop-initial-before-adjust" />
        <Key word="drop-initial-before-align" />
        <Key word="drop-initial-size" />
        <Key word="drop-initial-value" />
        <Key word="fit" />
        <Key word="fit-position" />
        <Key word="float-offset" />
        <Key word="font-size-adjust" />
        <Key word="font-stretch" />
        <Key word="grid-columns" />
        <Key word="grid-rows" />
        <Key word="hanging-punctuation" />
        <Key word="hyphenate-after" />
        <Key word="hyphenate-before" />
        <Key word="hyphenate-character" />
        <Key word="hyphenate-lines" />
        <Key word="hyphenate-resource" />
        <Key word="hyphens" />
        <Key word="icon" />
        <Key word="image-orientation" />
        <Key word="image-resolution" />
        <Key word="inline-box-align" />
        <Key word="line-stacking" />
        <Key word="line-stacking-ruby" />
        <Key word="line-stacking-shift" />
        <Key word="line-stacking-strategy" />
        <Key word="mark" />
        <Key word="mark-after" />
        <Key word="mark-before" />
        <Key word="marks" />
        <Key word="marquee-direction" />
        <Key word="marquee-play-count" />
        <Key word="marquee-speed" />
        <Key word="marquee-style" />
        <Key word="move-to" />
        <Key word="nav-down" />
        <Key word="nav-index" />
        <Key word="nav-left" />
        <Key word="nav-right" />
        <Key word="nav-up" />
        <Key word="opacity" />
        <Key word="outline-offset" />
        <Key word="overflow-style" />
        <Key word="overflow-x" />
        <Key word="overflow-y" />
        <Key word="page" />
        <Key word="page-policy" />
        <Key word="perspective" />
        <Key word="perspective-origin" />
        <Key word="phonemes" />
        <Key word="punctuation-trim" />
        <Key word="rendering-intent" />
        <Key word="resize" />
        <Key word="rest" />
        <Key word="rest-after" />
        <Key word="rest-before" />
        <Key word="rotation" />
        <Key word="rotation-point" />
        <Key word="ruby-align" />
        <Key word="ruby-overhang" />
        <Key word="ruby-position" />
        <Key word="ruby-span" />
        <Key word="size" />
        <Key word="string-set" />
        <Key word="target" />
        <Key word="target-name" />
        <Key word="target-new" />
        <Key word="target-position" />
        <Key word="text-align-last" />
        <Key word="text-height" />
        <Key word="text-justify" />
        <Key word="text-outline" />
        <Key word="text-overflow" />
        <Key word="text-shadow" />
        <Key word="text-wrap" />
        <Key word="transform" />
        <Key word="transform-origin" />
        <Key word="transform-style" />
        <Key word="transition" />
        <Key word="transition-delay" />
        <Key word="transition-duration" />
        <Key word="transition-property" />
        <Key word="transition-timing-function" />
        <Key word="voice-balance" />
        <Key word="voice-duration" />
        <Key word="voice-pitch" />
        <Key word="voice-pitch-range" />
        <Key word="voice-rate" />
        <Key word="voice-stress" />
        <Key word="voice-volume" />
        <Key word="word-break" />
        <Key word="word-wrap" />
      </KeyWords>
    </RuleSet>
  </RuleSets>
</SyntaxDefinition>

Donate

Donate