1 <?xml version="1.0"?>
\r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
5 <!-- Smalltalk mode, by Marcio Marchini mqm@magma.ca -->
\r
9 <PROPERTY NAME="commentStart" VALUE=""" />
\r
10 <PROPERTY NAME="commentEnd" VALUE=""" />
\r
11 <PROPERTY NAME="indentOpenBrackets" VALUE="[" />
\r
12 <PROPERTY NAME="indentCloseBrackets" VALUE="]" />
\r
15 <RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
\r
16 <!-- Standard literals -->
\r
17 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
\r
22 <SPAN TYPE="COMMENT1">
\r
27 <SEQ TYPE="OPERATOR">:=</SEQ>
\r
28 <SEQ TYPE="OPERATOR">_</SEQ>
\r
29 <SEQ TYPE="OPERATOR">=</SEQ>
\r
30 <SEQ TYPE="OPERATOR">==</SEQ>
\r
31 <SEQ TYPE="OPERATOR">></SEQ>
\r
32 <SEQ TYPE="OPERATOR"><</SEQ>
\r
33 <SEQ TYPE="OPERATOR">>=</SEQ>
\r
34 <SEQ TYPE="OPERATOR"><=</SEQ>
\r
35 <SEQ TYPE="OPERATOR">+</SEQ>
\r
36 <SEQ TYPE="OPERATOR">-</SEQ>
\r
37 <SEQ TYPE="OPERATOR">/</SEQ>
\r
38 <SEQ TYPE="OPERATOR">*</SEQ>
\r
40 <MARK_PREVIOUS TYPE="KEYWORD3" MATCH_TYPE="OPERATOR">:</MARK_PREVIOUS>
\r
41 <MARK_FOLLOWING TYPE="LABEL" MATCH_TYPE="OPERATOR">#</MARK_FOLLOWING>
\r
42 <MARK_FOLLOWING TYPE="LITERAL1" MATCH_TYPE="OPERATOR">$</MARK_FOLLOWING>
\r
47 <KEYWORD1>true</KEYWORD1>
\r
48 <KEYWORD1>false</KEYWORD1>
\r
49 <KEYWORD1>nil</KEYWORD1>
\r
51 <!-- Reserved identifiers -->
\r
52 <KEYWORD2>self</KEYWORD2>
\r
53 <KEYWORD2>super</KEYWORD2>
\r
55 <!-- not really keywords, but a different color works well-->
\r
56 <KEYWORD3>isNil</KEYWORD3>
\r
57 <KEYWORD3>not</KEYWORD3>
\r
60 <LITERAL2>Smalltalk</LITERAL2>
\r
61 <LITERAL2>Transcript</LITERAL2>
\r
63 <!-- base classes -->
\r
64 <LITERAL2>Date</LITERAL2>
\r
65 <LITERAL2>Time</LITERAL2>
\r
66 <LITERAL2>Boolean</LITERAL2>
\r
67 <LITERAL2>True</LITERAL2>
\r
68 <LITERAL2>False</LITERAL2>
\r
69 <LITERAL2>Character</LITERAL2>
\r
70 <LITERAL2>String</LITERAL2>
\r
71 <LITERAL2>Array</LITERAL2>
\r
72 <LITERAL2>Symbol</LITERAL2>
\r
73 <LITERAL2>Integer</LITERAL2>
\r
74 <LITERAL2>Object</LITERAL2>
\r