PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/modes/ssharp.xml

#
XML | 145 lines | 139 code | 4 blank | 2 comment | 0 complexity | b8570c7de24a4f2d4105244e68f02ca7 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <?xml version="1.0"?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3. <!-- S# mode, by Barry Carr (Ixian Software Components Ltd)
  4. based on Marcio Marchini mqm@magma.ca Smalltalk mode -->
  5. <MODE>
  6. <PROPS>
  7. <PROPERTY NAME="lineComment" VALUE="#" />
  8. <PROPERTY NAME="commentStart" VALUE="&quot;" />
  9. <PROPERTY NAME="commentEnd" VALUE="&quot;" />
  10. <PROPERTY NAME="indentOpenBrackets" VALUE="[" />
  11. <PROPERTY NAME="indentCloseBrackets" VALUE="]" />
  12. </PROPS>
  13. <RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
  14. <!-- Standard literals -->
  15. <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
  16. <BEGIN>'</BEGIN>
  17. <END>'</END>
  18. </SPAN>
  19. <EOL_SPAN TYPE="COMMENT3">#</EOL_SPAN>
  20. <EOL_SPAN TYPE="COMMENT2">""</EOL_SPAN>
  21. <SPAN TYPE="COMMENT1">
  22. <BEGIN>"</BEGIN>
  23. <END>"</END>
  24. </SPAN>
  25. <SPAN TYPE="LITERAL2" >
  26. <BEGIN>«</BEGIN>
  27. <END>»</END>
  28. </SPAN>
  29. <SEQ TYPE="OPERATOR">(</SEQ>
  30. <SEQ TYPE="OPERATOR">)</SEQ>
  31. <SEQ TYPE="OPERATOR">{</SEQ>
  32. <SEQ TYPE="OPERATOR">}</SEQ>
  33. <SEQ TYPE="OPERATOR">:=</SEQ>
  34. <SEQ TYPE="OPERATOR">_</SEQ>
  35. <SEQ TYPE="OPERATOR">=</SEQ>
  36. <SEQ TYPE="OPERATOR">==</SEQ>
  37. <SEQ TYPE="OPERATOR">&gt;</SEQ>
  38. <SEQ TYPE="OPERATOR">&lt;</SEQ>
  39. <SEQ TYPE="OPERATOR">&gt;=</SEQ>
  40. <SEQ TYPE="OPERATOR">&lt;=</SEQ>
  41. <SEQ TYPE="OPERATOR">+</SEQ>
  42. <SEQ TYPE="OPERATOR">-</SEQ>
  43. <SEQ TYPE="OPERATOR">/</SEQ>
  44. <SEQ TYPE="OPERATOR">//</SEQ>
  45. <SEQ TYPE="OPERATOR">\\</SEQ>
  46. <SEQ TYPE="OPERATOR">*</SEQ>
  47. <SEQ TYPE="OPERATOR">**</SEQ>
  48. <SEQ TYPE="OPERATOR">#</SEQ>
  49. <SEQ TYPE="OPERATOR">^</SEQ>
  50. <SEQ TYPE="OPERATOR">^^</SEQ>
  51. <SEQ TYPE="OPERATOR">;</SEQ>
  52. <SEQ TYPE="OPERATOR">.</SEQ>
  53. <SEQ TYPE="OPERATOR">-&gt;</SEQ>
  54. <SEQ TYPE="OPERATOR">&amp;&amp;</SEQ>
  55. <SEQ TYPE="OPERATOR">||</SEQ>
  56. <SEQ TYPE="OPERATOR">^|</SEQ>
  57. <SEQ TYPE="OPERATOR">!=</SEQ>
  58. <SEQ TYPE="OPERATOR">~=</SEQ>
  59. <SEQ TYPE="OPERATOR">!==</SEQ>
  60. <SEQ TYPE="OPERATOR">~~</SEQ>
  61. <MARK_PREVIOUS TYPE="KEYWORD3" EXCLUDE_MATCH="TRUE">:</MARK_PREVIOUS>
  62. <MARK_FOLLOWING TYPE="LABEL" EXCLUDE_MATCH="TRUE">#</MARK_FOLLOWING>
  63. <MARK_FOLLOWING TYPE="LITERAL1" EXCLUDE_MATCH="TRUE">$</MARK_FOLLOWING>
  64. <KEYWORDS>
  65. <!-- Constants -->
  66. <KEYWORD1>disable</KEYWORD1>
  67. <KEYWORD1>enable</KEYWORD1>
  68. <KEYWORD1>no</KEYWORD1>
  69. <KEYWORD1>off</KEYWORD1>
  70. <KEYWORD1>on</KEYWORD1>
  71. <KEYWORD1>yes</KEYWORD1>
  72. <!-- Reserved identifiers -->
  73. <KEYWORD2>self</KEYWORD2>
  74. <KEYWORD2>true</KEYWORD2>
  75. <KEYWORD2>false</KEYWORD2>
  76. <KEYWORD2>nil</KEYWORD2>
  77. <KEYWORD2>super</KEYWORD2>
  78. <KEYWORD2>thread</KEYWORD2>
  79. <KEYWORD2>sender</KEYWORD2>
  80. <KEYWORD2>senderMethod</KEYWORD2>
  81. <KEYWORD2>blockSelf</KEYWORD2>
  82. <KEYWORD2>scheduler</KEYWORD2>
  83. <KEYWORD2>¼</KEYWORD2>
  84. <!-- not really keywords, but a different color works well-->
  85. <KEYWORD4>isNil</KEYWORD4>
  86. <KEYWORD4>not</KEYWORD4>
  87. <!-- not really -->
  88. <LITERAL2>Smalltalk</LITERAL2>
  89. <LITERAL2>Transcript</LITERAL2>
  90. <!-- base classes -->
  91. <LITERAL2>Date</LITERAL2>
  92. <LITERAL2>Time</LITERAL2>
  93. <LITERAL2>Boolean</LITERAL2>
  94. <LITERAL2>True</LITERAL2>
  95. <LITERAL2>False</LITERAL2>
  96. <LITERAL2>Character</LITERAL2>
  97. <LITERAL2>String</LITERAL2>
  98. <LITERAL2>Array</LITERAL2>
  99. <LITERAL2>Symbol</LITERAL2>
  100. <LITERAL2>Integer</LITERAL2>
  101. <LITERAL2>Object</LITERAL2>
  102. <LITERAL3>Application</LITERAL3>
  103. <LITERAL3>Category</LITERAL3>
  104. <LITERAL3>Class</LITERAL3>
  105. <LITERAL3>Compiler</LITERAL3>
  106. <LITERAL3>EntryPoint</LITERAL3>
  107. <LITERAL3>Enum</LITERAL3>
  108. <LITERAL3>Eval</LITERAL3>
  109. <LITERAL3>Exception</LITERAL3>
  110. <LITERAL3>Function</LITERAL3>
  111. <LITERAL3>IconResource</LITERAL3>
  112. <LITERAL3>Interface</LITERAL3>
  113. <LITERAL3>Literal</LITERAL3>
  114. <LITERAL3>Namespace</LITERAL3>
  115. <LITERAL3>Method</LITERAL3>
  116. <LITERAL3>Mixin</LITERAL3>
  117. <LITERAL3>Module</LITERAL3>
  118. <LITERAL3>Project</LITERAL3>
  119. <LITERAL3>Reference</LITERAL3>
  120. <LITERAL3>Require</LITERAL3>
  121. <LITERAL3>Resource</LITERAL3>
  122. <LITERAL3>Signal</LITERAL3>
  123. <LITERAL3>Struct</LITERAL3>
  124. <LITERAL3>Subsystem</LITERAL3>
  125. <LITERAL3>Specifications</LITERAL3>
  126. <LITERAL3>Warning</LITERAL3>
  127. </KEYWORDS>
  128. </RULES>
  129. </MODE>