Sample: cleaning up CommandLineArgs sample
[io/quag.git] / projects / SyntaxHighlighters / SubEthaEdit / Io.plist
blob4a08d3cff1a59ca27b8989c4f0062a30a47b1ce3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
6 <!-- Derived partially from the Python.plist syntax definition, and Hydra's Template.plist -->
8 <key>Header</key>
9 <dict>
11 <!-- The language's name, shown in the Hydra's menu -->
12 <key>Name</key>
13 <string>Io</string>
15 <!-- The languages file extensions seperated by "," for syntax coloring on load. -->
16 <key>Extensions</key>
17 <string>io</string> <!-- *.foobar,*.foo,*.bar -->
19 <!-- Set of valid characters for variables, to find keywords (see below, in the Plain Strings section) -->
20 <key>Valid Characters for Variables</key>
21 <string>_0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</string>
23 <!-- Optional: A regular expression matching the languages functions, for display in Hydra's function popup -->
24 <key>Functions Regular Expression</key>
25 <!--<string>(function \([^\)]*\))</string> <!-- matches "function (something)" -->
26 <string>([^ ]* *:?= *method *\()</string>
27 <!-- Optional: Replace strings before display in the function popup -->
28 <key>Function Modifiers</key>
29 <array>
30 <dict>
31 <key>Replace</key>
32 <!--<string>\([^\)]*\)</string> <!-- Regular expression to search. This one matches (.*) -->
33 <string>( *:?= *method *\()</string>
34 <key>With</key>
35 <string></string> <!-- Replacement String. (Everything inside () gets deleted.) -->
36 </dict>
37 </array>
38 </dict>
41 <key>Styles</key>
42 <array>
44 <!-- Sample Singleline Style (default, if no "Mutiline" key present) -->
45 <dict>
46 <!-- Unique name -->
47 <key>Name</key>
48 <string>Keywords in Template</string>
50 <!-- This style's color as an array of red, green and blue values, ranging from 0 to 1. -->
51 <key>Color</key>
52 <array>
53 <real>0.0</real>
54 <real>0.0</real>
55 <real>1</real> <!-- It's blue. -->
56 </array>
58 <!-- Optional: 'Plain Strings' are regular expressions not surrounded by
59 legal variable name characters (see above)
60 This is useful if you want to match "self" but not e.g. "myself" -->
61 <key>Plain Strings</key>
62 <array>
63 <string>super</string>
64 <string>continue</string>
65 <string>list</string>
66 <string>break</string>
67 <string>clone</string>
68 <string>proto</string>
69 <string>raiseException</string>
70 <string>pause</string>
71 <string>wait</string>
72 <string>exit</string>
73 <string>yield</string>
74 <string>block</string>
75 <string>return</string>
76 <string>method</string>
77 <string>catchException</string>
78 <string>resume</string>
79 <string>self</string>
80 <string>thisContext</string>
81 <string>sender</string>
82 </array>
85 <!-- Optional: Matches a regular expression
86 <key>Regular Expressions</key>
87 <array>
88 <string>fo{1,2}bar</string> <!-- matches "fobar" and "foobar", everywhere in the text - ->
89 </array>
90 -->
91 </dict>
94 <!-- Sample Multiline Style -->
95 <dict>
97 <!-- This sytle's name. HAS TO BE UNIQUE. -->
98 <key>Name</key>
99 <string>C-Style Comments</string>
101 <!-- This sytle's color as an array of red, green and blue values. -->
102 <key>Color</key>
103 <array>
104 <real>0.1371999979019165</real>
105 <real>0.4313000142574310</real>
106 <real>0.1449999958276749</real> <!-- PBX's standard comment color. -->
107 </array>
109 <!-- This is a Multiline Style: Multiline=true (default is false) -->
110 <key>Multiline</key>
111 <true/>
113 <!-- This is a Comment: Comment=true (default is false) -->
114 <!-- (Mainly used to not show functions in popup, which are in comments) -->
115 <key>Comment</key>
116 <true/>
118 <!-- The Comment begins with "/*" -->
119 <key>Multiline Begin</key>
120 <string>/*</string> <!-- Begin. This is a string. -->
122 <!-- The Comment ends with "*/" -->
123 <key>Multiline End</key>
124 <string>*/</string> <!-- End. This is a string. -->
126 </dict>
128 <dict>
129 <key>Color</key>
130 <array>
131 <real>0.0</real>
132 <real>0.0</real>
133 <real>1</real>
134 </array>
135 <key>Multiline</key>
136 <false/>
137 <key>Name</key>
138 <string>Numbers</string>
139 <key>Plain Strings</key>
140 <array>
141 <string>[0-9]*\.*[0-9]+</string>
142 <string>[1-9][0-9]*([eE][0-9.]+)?[Ll]</string>
143 <string>0[Xx][0-9a-fA-F]+</string>
144 <string>[0-9+.-]+[Jj]</string>
145 <string>([1-9][0-9]*)?\.[0-9]*([eE][1-9][0-9]*(\.[0-9]*)?)?</string>
146 <string>([1-9][0-9]*([eE][0-9]+)?|0)</string>
147 </array>
148 </dict>
149 <dict>
150 <key>Color</key>
151 <array>
152 <real>0.46274000406265259</real>
153 <real>0.058820001780986786</real>
154 <real>0.082353003323078156</real>
155 </array>
156 <key>Name</key>
157 <string>Strings</string>
158 <key>Regular Expressions</key>
159 <array>
160 <string>("(\\"|[^"])*")</string>
161 </array>
162 </dict>
163 <dict>
164 <key>Color</key>
165 <array>
166 <real>0.46274000406265259</real>
167 <real>0.058820001780986786</real>
168 <real>0.082353003323078156</real>
169 </array>
170 <key>Comment</key>
171 <true/>
172 <key>Multiline</key>
173 <true/>
174 <key>Multiline Begin</key>
175 <string>"""</string>
176 <key>Multiline End</key>
177 <string>"""</string>
178 <key>Name</key>
179 <string>Here Document</string>
180 </dict>
182 </array>
183 </dict>
184 </plist>