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">
6 <!-- Derived partially from the Python.plist syntax definition, and Hydra's Template.plist -->
11 <!-- The language's name, shown in the Hydra's menu -->
15 <!-- The languages file extensions seperated by "," for syntax coloring on load. -->
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>
32 <!--<string>\([^\)]*\)</string> <!-- Regular expression to search. This one matches (.*) -->
33 <string>( *:?= *method *\()
</string>
35 <string></string> <!-- Replacement String. (Everything inside () gets deleted.) -->
44 <!-- Sample Singleline Style (default, if no "Mutiline" key present) -->
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. -->
55 <real>1</real> <!-- It's blue. -->
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>
63 <string>super
</string>
64 <string>continue
</string>
66 <string>break
</string>
67 <string>clone
</string>
68 <string>proto
</string>
69 <string>raiseException
</string>
70 <string>pause
</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>
80 <string>thisContext
</string>
81 <string>sender
</string>
85 <!-- Optional: Matches a regular expression
86 <key>Regular Expressions</key>
88 <string>fo{1,2}bar</string> <!-- matches "fobar" and "foobar", everywhere in the text - ->
94 <!-- Sample Multiline Style -->
97 <!-- This sytle's name. HAS TO BE UNIQUE. -->
99 <string>C-Style Comments
</string>
101 <!-- This sytle's color as an array of red, green and blue values. -->
104 <real>0.1371999979019165</real>
105 <real>0.4313000142574310</real>
106 <real>0.1449999958276749</real> <!-- PBX's standard comment color. -->
109 <!-- This is a Multiline Style: Multiline=true (default is false) -->
113 <!-- This is a Comment: Comment=true (default is false) -->
114 <!-- (Mainly used to not show functions in popup, which are in comments) -->
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. -->
138 <string>Numbers
</string>
139 <key>Plain Strings
</key>
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>
152 <real>0.46274000406265259</real>
153 <real>0.058820001780986786</real>
154 <real>0.082353003323078156</real>
157 <string>Strings
</string>
158 <key>Regular Expressions
</key>
160 <string>(
"(\\"|[^
"])*")
</string>
166 <real>0.46274000406265259</real>
167 <real>0.058820001780986786</real>
168 <real>0.082353003323078156</real>
174 <key>Multiline Begin
</key>
176 <key>Multiline End</key>
179 <string>Here Document
</string>