home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / Sharpdev / 099bsetup.exe / CSharp-Mode-VSEnh.xshd < prev    next >
Extensible Markup Language  |  2003-10-16  |  9KB  |  286 lines

  1. <?xml version = "1.0"?>
  2. <!-- C# mode VS.NET style by Georg Brandl -->
  3.  
  4. <SyntaxDefinition name = "VS-C#" extensions = ".cstemp">
  5.  
  6.     <Environment> 
  7.         <Default      color = "SystemColors.WindowText"    bgcolor = "SystemColors.Window"/>
  8.         <Selection    color = "SystemColors.HighlightText" bgcolor = "SystemColors.Highlight"/>
  9. <!--        <Selection    bgcolor = "LightBlue"/> -->
  10.         <VRuler       color = "SystemColors.ControlLight"/>
  11.         <InvalidLines color = "Red"/>
  12.         <CaretMarker  color = "Yellow"/>
  13.         
  14.         <LineNumbers  color = "SystemColors.ControlDark" bgcolor = "SystemColors.Window"/>
  15.         
  16.         <FoldLine     color = "#808080" bgcolor="Black"/>
  17.         <FoldMarker   color = "#808080" bgcolor="White"/>
  18.         
  19.         <EOLMarkers   color = "#E0E0E5"/>
  20.         <SpaceMarkers color = "#E0E0E5"/>
  21.         <TabMarkers   color = "#E0E0E5"/>
  22.     </Environment>
  23.     
  24.     <Properties>
  25.         <Property name="LineComment" value="//"/>
  26.     </Properties>
  27.     
  28.     <Digits name = "Digits" bold = "false" italic = "false" color = "DarkBlue"/>
  29.  
  30.     <RuleSets>
  31.         <RuleSet ignorecase="false">
  32.             <Delimiters>&<>~!@%^*()-+=|\#/{}[]:;"' ,    .?</Delimiters>
  33.             <Span name = "PreprocessorDirectives" bold="false" italic="false" color="DarkViolet" stopateol = "true">
  34.                 <Begin>#</Begin>
  35.             </Span>
  36.           
  37.             <Span name = "LINECOMMENT" rule = "DocumentSet" bold = "false" italic = "false" color = "Green" stopateol = "true">
  38.                 <Begin bold = "false" italic = "false" color = "Gray">///</Begin>
  39.             </Span>
  40.           
  41.             <Span name = "LINECOMMENT" rule = "TestSet" bold = "false" italic = "false" color = "Green" stopateol = "true">
  42.                    <Begin>//@!/@</Begin>
  43.               </Span>
  44.           
  45.             <Span name = "BLOCKCOMMENT" rule = "TestSet" bold = "false" italic = "false" color = "Green" stopateol = "false">
  46.                 <Begin>/*</Begin>
  47.                 <End>*/</End>
  48.             </Span>
  49.               
  50.             <Span name = "STRING" bold = "false" italic = "false" color = "SystemColors.WindowText" stopateol = "true">
  51.                 <Begin>"</Begin>
  52.                 <End>"</End>
  53.             </Span>
  54.             
  55.             <Span name = "MORELINEDSTRING" bold = "false" italic = "false" color = "SystemColors.WindowText" stopateol = "false" noescapesequences="true">
  56.                 <Begin>@@"</Begin>
  57.                 <End>"</End>
  58.             </Span>
  59.             
  60.             <Span name = "CHAR" bold = "false" italic = "false" color = "Magenta" stopateol = "true">
  61.                 <Begin>'</Begin>
  62.                 <End>'</End>
  63.             </Span>
  64.             
  65.             <KeyWords name = "Punctuation" bold = "false" italic = "false" color = "Green">
  66.                 <Key word = "?" />
  67.                 <Key word = "," />
  68.                 <Key word = "." />
  69.                 <Key word = ";" />
  70.                 <Key word = "(" />
  71.                 <Key word = ")" />
  72.                 <Key word = "[" />
  73.                 <Key word = "]" />
  74.                 <Key word = "{" />
  75.                 <Key word = "}" />
  76.                 <Key word = "+" />
  77.                 <Key word = "-" />
  78.                 <Key word = "/" />
  79.                 <Key word = "%" />
  80.                 <Key word = "*" />
  81.                 <Key word = "<" />
  82.                 <Key word = ">" />
  83.                 <Key word = "^" />
  84.                 <Key word = "=" />
  85.                 <Key word = "~" />
  86.                 <Key word = "!" />
  87.                 <Key word = "|" />
  88.                 <Key word = "&" />
  89.               </KeyWords>
  90.           
  91.             <KeyWords name = "Keywords" bold="true" italic="false" color="Blue">
  92.                 <Key word = "this" />
  93.                 <Key word = "base" />
  94.                 
  95.                 <Key word = "as" />
  96.                 <Key word = "is" />
  97.                 <Key word = "new" />
  98.                 <Key word = "sizeof" />
  99.                 <Key word = "typeof" />
  100.                 <Key word = "true" />
  101.                 <Key word = "false" />
  102.                 <Key word = "stackalloc" />
  103.                 
  104.                 <Key word = "else" />
  105.                 <Key word = "if" />
  106.                 <Key word = "switch" />
  107.                 <Key word = "case" />
  108.  
  109.                 <Key word = "do" />
  110.                 <Key word = "for" />
  111.                 <Key word = "foreach" />
  112.                 <Key word = "in" />
  113.                 <Key word = "while" />
  114.  
  115.                 <Key word = "break" />
  116.                 <Key word = "continue" />
  117.                 <Key word = "default" />
  118.                 <Key word = "goto" />
  119.                 <Key word = "return" />
  120.  
  121.                 <Key word = "try" />
  122.                 <Key word = "throw" />
  123.                 <Key word = "catch" />
  124.                 <Key word = "finally" />
  125.           
  126.                 <Key word = "namespace" />
  127.                 <Key word = "using" />
  128.  
  129.                 <Key word = "get" />
  130.                 <Key word = "set" />
  131.                 <Key word = "add" />
  132.                 <Key word = "remove" />
  133.             </KeyWords>
  134.           
  135.             <KeyWords name = "OtherKeywords" bold="false" italic="false" color="Blue">
  136.                 <Key word = "checked" />
  137.                 <Key word = "unchecked" />
  138.  
  139.                 <Key word = "fixed" />
  140.                 <Key word = "unsafe" />
  141.  
  142.                 <Key word = "bool" />
  143.                 <Key word = "byte" />
  144.                 <Key word = "char" />
  145.                 <Key word = "decimal" />
  146.                 <Key word = "double" />
  147.                 <Key word = "enum" />
  148.                 <Key word = "float" />
  149.                 <Key word = "int" />
  150.                 <Key word = "long" />
  151.                 <Key word = "sbyte" />
  152.                 <Key word = "short" />
  153.                 <Key word = "struct" />
  154.                 <Key word = "uint" />
  155.                 <Key word = "ushort" />
  156.                 <Key word = "ulong" />
  157.  
  158.                 <Key word = "class" />
  159.                 <Key word = "interface" />
  160.                 <Key word = "delegate" />
  161.                 <Key word = "object" />
  162.                 <Key word = "string" />
  163.  
  164.                 <Key word = "void" />
  165.  
  166.                 <Key word = "explicit" />
  167.                 <Key word = "implicit" />
  168.                 <Key word = "operator" />
  169.  
  170.                 <Key word = "params" />
  171.                 <Key word = "ref" />
  172.                 <Key word = "out" />
  173.  
  174.                 <Key word = "abstract" />
  175.                 <Key word = "const" />
  176.                 <Key word = "event" />
  177.                 <Key word = "extern" />
  178.                 <Key word = "override" />
  179.                 <Key word = "readonly" />
  180.                 <Key word = "sealed" />
  181.                 <Key word = "static" />
  182.                 <Key word = "virtual" />
  183.  
  184.                 <Key word = "public" />
  185.                 <Key word = "protected" />
  186.                 <Key word = "private" />
  187.                 <Key word = "internal" />
  188.                 
  189.                 <Key word = "lock" />
  190.  
  191.                 <Key word = "null" />
  192.                 <Key word = "value" />
  193.               </KeyWords>
  194.           
  195.             <KeyWords name = "PreprocessorDirectives" bold="false" italic="false" color="DarkViolet">
  196.                 <Key word = "#if" />
  197.                 <Key word = "#else" />
  198.                 <Key word = "#elif" />
  199.                 <Key word = "#endif" />
  200.                 <Key word = "#define" />
  201.                 <Key word = "#undef" />
  202.                 <Key word = "#warning" />
  203.                 <Key word = "#error" />
  204.                 <Key word = "#line" />
  205.                 <Key word = "#region" />
  206.                 <Key word = "#endregion" />
  207.               </KeyWords>
  208.           
  209.         </RuleSet>
  210.         
  211.         <RuleSet name = "TestSet" ignorecase = "true">
  212.               <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' ,    .?</Delimiters>
  213.             <KeyWords name = "ErrorWords" bold="true" italic="true" color="Red">
  214.                 <Key word = "TODO" />
  215.                 <Key word = "FIXME" />
  216.               </KeyWords>
  217.             <KeyWords name = "WarningWords" bold="true" italic="true" color="#EEE0E000">
  218.                 <Key word = "HACK" />
  219.                 <Key word = "UNDONE" />
  220.               </KeyWords>
  221.         </RuleSet>
  222.         
  223.         <RuleSet name = "DocumentSet" ignorecase = "false">
  224.               <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' ,    .?</Delimiters>
  225.             
  226.             <Span name = "XMLTAG" rule = "XMLDocuSet" bold = "false" italic = "false" color = "Gray" stopateol = "true">
  227.                 <Begin><</Begin>
  228.                 <End>></End>
  229.             </Span>
  230.             
  231.             <KeyWords name = "ErrorWords" bold="true" italic="true" color="Red">
  232.                     <Key word = "TODO" />
  233.                     <Key word = "FIXME" />
  234.             </KeyWords>
  235.             
  236.             <KeyWords name = "WarningWords" bold="true" italic="true" color="#EEE0E000">
  237.                     <Key word = "HACK" />
  238.                     <Key word = "UNDONE" />
  239.             </KeyWords>
  240.         </RuleSet>
  241.         
  242.         <RuleSet name = "XMLDocuSet" ignorecase = "false">
  243.               <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' ,    .?</Delimiters>
  244.               
  245.             <Span name = "STRING" bold = "true" italic = "false" color = "Silver" stopateol = "true">
  246.                 <Begin>"</Begin>
  247.                 <End>"</End>
  248.             </Span>
  249.              
  250.             
  251.             <KeyWords name = "Punctuation" bold = "true" italic = "false" color = "Gray">
  252.                 <Key word = "/" />
  253.                 <Key word = "|" />
  254.                 <Key word = "=" />
  255.               </KeyWords>
  256.               
  257.              <KeyWords name = "SpecialComment" bold="true" italic="false" color="Gray">
  258.                     <Key word = "c" />
  259.                     <Key word = "code" />
  260.                     <Key word = "example" />
  261.                     <Key word = "exception" />
  262.                     <Key word = "list" />
  263.                     <Key word = "para" />
  264.                     <Key word = "param" />
  265.                     <Key word = "paramref" />
  266.                     <Key word = "permission" />
  267.                     <Key word = "remarks" />
  268.                     <Key word = "returns" />
  269.                     <Key word = "see" />
  270.                     <Key word = "seealso" />
  271.                     <Key word = "summary" />
  272.                     <Key word = "value" />
  273.                     
  274.                     <Key word = "type" />
  275.                     <Key word = "name" />
  276.                     <Key word = "cref" />
  277.                     <Key word = "item" />
  278.                     <Key word = "term" />
  279.                     <Key word = "description" />
  280.                     <Key word = "listheader" />
  281.               </KeyWords>
  282.         </RuleSet>
  283.     </RuleSets>
  284. </SyntaxDefinition>
  285.  
  286.