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