home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 53 / IOPROG_53.ISO / soft / sharpdevelop / data / modes / java-mode.xml < prev    next >
Encoding:
Extensible Markup Language  |  2001-10-26  |  5.6 KB  |  194 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- syntaxdefinition for Java 2001 by Jonathan Pierce & Mike Krueger -->
  4.  
  5. <SyntaxDefinition Name = "JAVA" Extensions = ".java" Indent = "True">
  6.     
  7.     <Environment DefaultColor = "Black" BackgroundColor = "White"> 
  8.         <HRuler Color = "Blue"/>
  9.         <Selection Color = "LightBlue"/>
  10.         <Cursor Color = "DarkBlue"/>
  11.         <Linenumbers Color = "Black" BackgroundColor = "WhiteSmoke"/>
  12.         <InvalidLines Color = "Red"/>
  13.         <EOLMarkers Color = "DarkCyan"/>
  14.         <SpaceMarkers Color = "DarkCyan"/>
  15.         <TabMarkers Color = "DarkCyan"/>
  16.         <CaretMarker Color = "Yellow"/>
  17.         <BookMarks Color = "#408080"/>
  18.         <FoldLine Color = "#808080" BackgroundColor="Black"/>
  19.         <FoldMarker Color = "#808080" BackgroundColor="White"/>
  20.     </Environment>
  21.     
  22.     <Properties>
  23.         <Property Name = "indentOpen" Value = "{" />
  24.         <Property Name = "indentClose" Value = "}" />
  25.     </Properties>
  26.     
  27.     <Digits Name = "Digits" Bold = "False" Italic = "False" Color = "DarkBlue"/>
  28.     
  29.     <RuleSet IgnoreCase = "False">
  30.         <Delimeters>~!%^*()-+=|\#/{}[]:;"'<> , .?</Delimeters>
  31.     
  32.         <Span Name = "LINECOMMENT" Rule = "TestSet" Bold = "False" Italic = "True" Color = "SlateGray" StopAtEol = "True">
  33.             <Begin>//</Begin>
  34.         </Span>
  35.     
  36.         <Span Name = "BLOCKCOMMENT" Rule = "TestSet" Bold = "False" Italic = "True" Color = "SlateGray" StopAtEol = "False">
  37.             <Begin>/*</Begin>
  38.             <End>*/</End>
  39.         </Span>
  40.     
  41.         <Span Name = "STRING" Bold = "False" Italic = "False" Color = "Magenta" StopAtEol = "True">
  42.             <Begin>"</Begin>
  43.             <End>"</End>
  44.         </Span>
  45.         
  46.         <Span Name = "CHAR" Bold = "False" Italic = "False" Color = "Magenta" StopAtEol = "True">
  47.             <Begin>'</Begin>
  48.             <End>'</End>
  49.         </Span>
  50.     
  51.         <MarkPrevious Bold = "True" Italic = "False" Color = "MidnightBlue">(</MarkPrevious>
  52.     
  53.         <KeyWords Name = "Punctuation" Bold = "False" Italic = "False" Color = "DarkGreen">
  54.             <Key Word = "?" />
  55.             <Key Word = "," />
  56.             <Key Word = "." />
  57.             <Key Word = "(" />
  58.             <Key Word = ")" />
  59.             <Key Word = "[" />
  60.             <Key Word = "]" />
  61.             <Key Word = "{" />
  62.             <Key Word = "}" />
  63.             <Key Word = "+" />
  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.         </KeyWords>
  74.     
  75.     
  76.     
  77.         <KeyWords Name = "AccessKeywords" Bold="True" Italic="False" Color="Black">
  78.             <Key Word = "this" />
  79.             <Key Word = "super" />
  80.         </KeyWords>
  81.     
  82.         <KeyWords Name = "OperatorKeywords" Bold="True" Italic="False" Color="DarkCyan">
  83.             <Key Word = "new" />
  84.             <Key Word = "instanceof" />
  85.             <Key Word = "true" />
  86.             <Key Word = "false" />
  87.         </KeyWords>
  88.     
  89.         <KeyWords Name = "SelectionStatements" Bold="True" Italic="False" Color="Blue">
  90.             <Key Word = "else" />
  91.             <Key Word = "if" />
  92.             <Key Word = "switch" />
  93.             <Key Word = "case" />
  94.         </KeyWords>
  95.     
  96.         <KeyWords Name = "IterationStatements" Bold="True" Italic="False" Color="Blue">
  97.             <Key Word = "do" />
  98.             <Key Word = "for" />
  99.             <Key Word = "while" />
  100.         </KeyWords>
  101.     
  102.         <KeyWords Name = "JumpStatements" Bold="False" Italic="False" Color="Navy">
  103.             <Key Word = "break" />
  104.             <Key Word = "continue" />
  105.             <Key Word = "default" />
  106.             <Key Word = "goto" />
  107.             <Key Word = "return" />
  108.         </KeyWords>
  109.     
  110.         <KeyWords Name = "ExceptionHandlingStatements" Bold="True" Italic="False" Color="Teal">
  111.             <Key Word = "try" />
  112.             <Key Word = "throw" />
  113.             <Key Word = "catch" />
  114.             <Key Word = "finally" />
  115.         </KeyWords>
  116.     
  117.     
  118.         <KeyWords Name = "ValueTypes" Bold="True" Italic="False" Color="Red">
  119.             <Key Word = "boolean" />
  120.             <Key Word = "double" />
  121.             <Key Word = "int" />
  122.             <Key Word = "short" />
  123.             <Key Word = "long" />
  124.             <Key Word = "float" />
  125.             <Key Word = "byte" />
  126.             <Key Word = "char" />
  127.         </KeyWords>
  128.     
  129.         <KeyWords Name = "ReferenceTypes" Bold="False" Italic="False" Color="Red">
  130.             <Key Word = "class" />
  131.             <Key Word = "interface" />
  132.             <Key Word = "object" />
  133.         </KeyWords>
  134.     
  135.         <KeyWords Name = "Void" Bold="False" Italic="False" Color="Red">
  136.             <Key Word = "void" />
  137.         </KeyWords>
  138.     
  139.         
  140.         <KeyWords Name = "Modifiers" Bold="False" Italic="False" Color="Brown">
  141.             <Key Word = "abstract" />
  142.             <Key Word = "const" />
  143.             <Key Word = "static" />
  144.             <Key Word = "final" />
  145.             <Key Word = "native" />
  146.             <Key Word = "extends" />
  147.             <Key Word = "implements" />
  148.             <Key Word = "volatile" />
  149.             <Key Word = "transient" />
  150.             <Key Word = "throws" />
  151.             <Key Word = "strictfp" />
  152.             <Key Word = "synchronized" />
  153.         </KeyWords>
  154.     
  155.         <KeyWords Name = "AccessModifiers" Bold="True" Italic="False" Color="Blue">
  156.             <Key Word = "public" />
  157.             <Key Word = "protected" />
  158.             <Key Word = "private" />
  159.         </KeyWords>
  160.     
  161.         <KeyWords Name = "NameSpaces" Bold="True" Italic="False" Color="Green">
  162.             <Key Word = "package" />
  163.             <Key Word = "import" />
  164.         </KeyWords>
  165.     
  166.         <KeyWords Name = "Literals" Bold="True" Italic="False" Color="Black">
  167.         <Key Word = "null" />
  168.         </KeyWords>
  169.     </RuleSet>
  170.     
  171.     <RuleSet Name = "TestSet" IgnoreCase = "True">
  172.         <Delimeters>~!%^*()-+=|\#/{}[]:;"'<> , .?</Delimeters>
  173.         <KeyWords Name = "Todoword" Bold="True" Italic="True" Color="Red">
  174.             <Key Word = "TODO" />
  175.         </KeyWords>
  176.         
  177.         <KeyWords Name = "JAVADOC comments" Bold="True" Italic="True" Color="DarkGray">
  178.             <Key Word = "@author" />
  179.             <Key Word = "@version" />
  180.             <Key Word = "@param" />
  181.             <Key Word = "@return" />
  182.             <Key Word = "@exception" />
  183.             <Key Word = "@throws" />
  184.             <Key Word = "@see" />
  185.             <Key Word = "@since" />
  186.             <Key Word = "@serial" />
  187.             <Key Word = "@serialField" />
  188.             <Key Word = "@serialData" />
  189.             <Key Word = "@deprecated" />
  190.         </KeyWords>
  191.         
  192.     </RuleSet>
  193.  
  194. </SyntaxDefinition>