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

  1. <?xml version="1.0"?>
  2.  
  3. <!-- syntaxdefinition for C# 2000 by Mike Krueger -->
  4.  
  5. <SyntaxDefinition name = "C64C#" extensions = ".???">
  6.  
  7.     <Environment> 
  8.         <Default      color = "#97A0EF" bgcolor = "#3F3FDF"/>
  9.         <Selection    bgcolor = "Black"/>
  10.         <VRuler       color = "LightGreen"/>
  11.         <InvalidLines color = "Red"/>
  12.         <CaretMarker  color = "DarkBlue"/>
  13.         
  14.         <LineNumbers  color = "#97A0EF" bgcolor = "#3F3FDF"/>
  15.         
  16.         <FoldLine     color = "#97A0EF"/>
  17.         <FoldMarker   color = "#97A0EF" bgcolor="#3F3FDF"/>
  18.         
  19.         <EOLMarkers   color = "LightBlue"/>
  20.         <SpaceMarkers color = "LightBlue"/>
  21.         <TabMarkers   color = "LightBlue"/>
  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="LightGreen" stopateol = "true">
  34.               <Begin>#</Begin>
  35.           </Span>
  36.           
  37.           <Span name = "LINECOMMENT" rule = "DocumentSet" bold = "false" italic = "true" color = "LightGray" stopateol = "true">
  38.                <Begin>///</Begin>
  39.           </Span>
  40.           
  41.           <Span name = "LINECOMMENT" rule = "TestSet" bold = "false" italic = "true" color = "LightGray" stopateol = "true">
  42.                <Begin>//@!/@</Begin>
  43.           </Span>
  44.           
  45.             <Span name = "BLOCKCOMMENT" rule = "TestSet" bold = "false" italic = "true" color = "LightGray" stopateol = "false">
  46.                 <Begin>/*</Begin>
  47.                 <End>*/</End>
  48.             </Span>
  49.               
  50.             <Span name = "STRING" bold = "false" italic = "false" color = "Magenta" stopateol = "true">
  51.                 <Begin>"</Begin>
  52.                 <End>"</End>
  53.             </Span>
  54.             
  55.             <Span name = "MORELINEDSTRING" bold = "false" italic = "false" color = "Magenta" 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.             <MarkPrevious bold = "true" italic = "false" color = "Yellow">(</MarkPrevious>
  66.             
  67.             <KeyWords name = "Punctuation" bold = "false" italic = "false" color = "LightCyan">
  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 = "AccessKeywords" bold="true" italic="false" color="Black">
  92.                 <Key word = "this" />
  93.                 <Key word = "base" />
  94.             </KeyWords>
  95.             
  96.             <KeyWords name = "OperatorKeywords" bold="true" italic="false" color="White">
  97.                 <Key word = "as" />
  98.                 <Key word = "is" />
  99.                 <Key word = "new" />
  100.                 <Key word = "sizeof" />
  101.                 <Key word = "typeof" />
  102.                 <Key word = "true" />
  103.                 <Key word = "false" />
  104.                 <Key word = "stackalloc" />
  105.             </KeyWords>
  106.           
  107.         
  108.             <KeyWords name = "SelectionStatements" bold="true" italic="false" color="White">
  109.                 <Key word = "else" />
  110.                 <Key word = "if" />
  111.                 <Key word = "switch" />
  112.                 <Key word = "case" />
  113.             </KeyWords>
  114.         
  115.             <KeyWords name = "IterationStatements" bold="true" italic="false" color="White">
  116.                 <Key word = "do" />
  117.                 <Key word = "for" />
  118.                 <Key word = "foreach" />
  119.                 <Key word = "in" />
  120.                 <Key word = "while" />
  121.             </KeyWords>
  122.         
  123.             <KeyWords name = "JumpStatements" bold="false" italic="false" color="White">
  124.                 <Key word = "break" />
  125.                 <Key word = "continue" />
  126.                 <Key word = "default" />
  127.                 <Key word = "goto" />
  128.                 <Key word = "return" />
  129.             </KeyWords>
  130.           
  131.             <KeyWords name = "ExceptionHandlingStatements" bold="true" italic="false" color="White">
  132.                 <Key word = "try" />
  133.                 <Key word = "throw" />
  134.                 <Key word = "catch" />
  135.                 <Key word = "finally" />
  136.             </KeyWords>
  137.           
  138.             <KeyWords name = "CheckedUncheckedStatements" bold="true" italic="false" color="White">
  139.                 <Key word = "checked" />
  140.                 <Key word = "unchecked" />
  141.             </KeyWords>
  142.         
  143.             <KeyWords name = "UnsafeFixedStatements" bold="false" italic="false" color="White">
  144.                 <Key word = "fixed" />
  145.                 <Key word = "unsafe" />
  146.             </KeyWords>
  147.           
  148.             <KeyWords name = "PreprocessorDirectives" bold="false" italic="false" color="Green">
  149.                 <Key word = "#if" />
  150.                 <Key word = "#else" />
  151.                 <Key word = "#elif" />
  152.                 <Key word = "#endif" />
  153.                 <Key word = "#define" />
  154.                 <Key word = "#undef" />
  155.                 <Key word = "#warning" />
  156.                 <Key word = "#error" />
  157.                 <Key word = "#line" />
  158.                 <Key word = "#region" />
  159.                 <Key word = "#endregion" />
  160.               </KeyWords>
  161.           
  162.             <KeyWords name = "ValueTypes" bold="true" italic="false" color="White">
  163.                 <Key word = "bool" />
  164.                 <Key word = "byte" />
  165.                 <Key word = "char" />
  166.                 <Key word = "decimal" />
  167.                 <Key word = "double" />
  168.                 <Key word = "enum" />
  169.                 <Key word = "float" />
  170.                 <Key word = "int" />
  171.                 <Key word = "long" />
  172.                 <Key word = "sbyte" />
  173.                 <Key word = "short" />
  174.                 <Key word = "struct" />
  175.                 <Key word = "uint" />
  176.                 <Key word = "ushort" />
  177.                 <Key word = "ulong" />
  178.               </KeyWords>
  179.           
  180.               <KeyWords name = "ReferenceTypes" bold="false" italic="false" color="White">
  181.                 <Key word = "class" />
  182.                 <Key word = "interface" />
  183.                 <Key word = "delegate" />
  184.                 <Key word = "object" />
  185.                 <Key word = "string" />
  186.               </KeyWords>
  187.           
  188.               <KeyWords name = "Void" bold="false" italic="false" color="White">
  189.                 <Key word = "void" />
  190.               </KeyWords>
  191.           
  192.               <KeyWords name = "ConversionKeyWords" bold="true" italic="false" color="White">
  193.                 <Key word = "explicit" />
  194.                 <Key word = "implicit" />
  195.                 <Key word = "operator" />
  196.               </KeyWords>
  197.           
  198.             <KeyWords name = "MethodParameters" bold="true" italic="false" color="White">
  199.                 <Key word = "params" />
  200.                 <Key word = "ref" />
  201.                 <Key word = "out" />
  202.               </KeyWords>
  203.           
  204.               <KeyWords name = "Modifiers" bold="false" italic="false" color="White">
  205.                 <Key word = "abstract" />
  206.                 <Key word = "const" />
  207.                 <Key word = "event" />
  208.                 <Key word = "extern" />
  209.                 <Key word = "override" />
  210.                 <Key word = "readonly" />
  211.                 <Key word = "sealed" />
  212.                 <Key word = "static" />
  213.                 <Key word = "virtual" />
  214.               </KeyWords>
  215.           
  216.               <KeyWords name = "AccessModifiers" bold="true" italic="false" color="White">
  217.                 <Key word = "public" />
  218.                 <Key word = "protected" />
  219.                 <Key word = "private" />
  220.                 <Key word = "internal" />
  221.               </KeyWords>
  222.           
  223.             <KeyWords name = "NameSpaces" bold="true" italic="false" color="White">
  224.                 <Key word = "namespace" />
  225.                 <Key word = "using" />
  226.             </KeyWords>
  227.           
  228.             <KeyWords name = "LockKeyWord" bold="false" italic="false" color="White">
  229.                 <Key word = "lock" />
  230.               </KeyWords>
  231.           
  232.             <KeyWords name = "GetSet" bold="false" italic="false" color="White">
  233.                 <Key word = "get" />
  234.                 <Key word = "set" />
  235.                 <Key word = "add" />
  236.                 <Key word = "remove" />
  237.             </KeyWords>
  238.           
  239.             <KeyWords name = "Literals" bold="true" italic="false" color="White">
  240.                 <Key word = "null" />
  241.                 <Key word = "value" />
  242.             </KeyWords>
  243.         </RuleSet>
  244.         
  245.         <RuleSet name = "TestSet" ignorecase = "true">
  246.              <Delimiters>~!@%^*()-+=|\#/{}[]:;"'<> , .?</Delimiters>
  247.             <KeyWords name = "ErrorWords" bold="true" italic="true" color="Red">
  248.                     <Key word = "TODO" />
  249.                     <Key word = "FIXME" />
  250.             </KeyWords>
  251.             <KeyWords name = "WarningWords" bold="true" italic="true" color="Yellow">
  252.                     <Key word = "HACK" />
  253.                     <Key word = "UNDONE" />
  254.             </KeyWords>
  255.               
  256.         </RuleSet>
  257.         
  258.         <RuleSet name = "DocumentSet" ignorecase = "false">
  259.               <Delimiters>~!@%^*()-+=|\#/{}[]:;"'<> , .?</Delimiters>
  260.             
  261.             <Span name = "XMLTAG" rule = "XMLDocuSet" bold = "false" italic = "true" color = "Gray" stopateol = "true">
  262.                 <Begin><</Begin>
  263.                 <End>></End>
  264.             </Span>
  265.             
  266.             <KeyWords name = "Testword" bold="true" italic="true" color="Red">
  267.                     <Key word = "TODO" />
  268.             </KeyWords>
  269.         </RuleSet>
  270.         
  271.         <RuleSet name = "XMLDocuSet" ignorecase = "false">
  272.               <Delimiters>~!@%^*()-+=|\#/{}[]:;"'<> , .?</Delimiters>
  273.               
  274.             <Span name = "STRING" bold = "true" italic = "true" color = "Silver" stopateol = "true">
  275.                 <Begin>"</Begin>
  276.                 <End>"</End>
  277.             </Span>
  278.              
  279.             
  280.             <KeyWords name = "Punctuation" bold = "true" italic = "true" color = "Gray">
  281.                 <Key word = "/" />
  282.                 <Key word = "|" />
  283.                 <Key word = "=" />
  284.               </KeyWords>
  285.               
  286.              <KeyWords name = "SpecialComment" bold="true" italic="true" color="Gray">
  287.                     <Key word = "c" />
  288.                     <Key word = "code" />
  289.                     <Key word = "example" />
  290.                     <Key word = "list" />
  291.                     <Key word = "para" />
  292.                     <Key word = "param" />
  293.                     <Key word = "paramref" />
  294.                     <Key word = "permission" />
  295.                     <Key word = "remarks" />
  296.                     <Key word = "returns" />
  297.                     <Key word = "see" />
  298.                     <Key word = "seealso" />
  299.                     <Key word = "summary" />
  300.                     <Key word = "value" />
  301.                     <Key word = "type" />
  302.                     <Key word = "name" />
  303.                     <Key word = "cref" />
  304.                     <Key word = "item" />
  305.                     <Key word = "term" />
  306.                     <Key word = "description" />
  307.                     <Key word = "listheader" />
  308.               </KeyWords>
  309.         </RuleSet>
  310.     </RuleSets>
  311.  
  312. </SyntaxDefinition>
  313.