1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 |
|
---|
4 | Syntax highlighting definition for Ruby
|
---|
5 |
|
---|
6 | xslthl - XSLT Syntax Highlighting
|
---|
7 | http://sourceforge.net/projects/xslthl/
|
---|
8 | Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
|
---|
9 |
|
---|
10 | This software is provided 'as-is', without any express or implied
|
---|
11 | warranty. In no event will the authors be held liable for any damages
|
---|
12 | arising from the use of this software.
|
---|
13 |
|
---|
14 | Permission is granted to anyone to use this software for any purpose,
|
---|
15 | including commercial applications, and to alter it and redistribute it
|
---|
16 | freely, subject to the following restrictions:
|
---|
17 |
|
---|
18 | 1. The origin of this software must not be misrepresented; you must not
|
---|
19 | claim that you wrote the original software. If you use this software
|
---|
20 | in a product, an acknowledgment in the product documentation would be
|
---|
21 | appreciated but is not required.
|
---|
22 | 2. Altered source versions must be plainly marked as such, and must not be
|
---|
23 | misrepresented as being the original software.
|
---|
24 | 3. This notice may not be removed or altered from any source distribution.
|
---|
25 |
|
---|
26 | Michal Molhanec <mol1111 at users.sourceforge.net>
|
---|
27 | Jirka Kosek <kosek at users.sourceforge.net>
|
---|
28 | Michiel Hendriks <elmuerte at users.sourceforge.net>
|
---|
29 |
|
---|
30 | -->
|
---|
31 | <highlighters>
|
---|
32 | <highlighter type="oneline-comment">#</highlighter>
|
---|
33 | <highlighter type="heredoc">
|
---|
34 | <start><<</start>
|
---|
35 | <noWhiteSpace/>
|
---|
36 | </highlighter>
|
---|
37 | <highlighter type="string">
|
---|
38 | <string>"</string>
|
---|
39 | <escape>\</escape>
|
---|
40 | </highlighter>
|
---|
41 | <highlighter type="string">
|
---|
42 | <string>%Q{</string>
|
---|
43 | <endString>}</endString>
|
---|
44 | <escape>\</escape>
|
---|
45 | </highlighter>
|
---|
46 | <highlighter type="string">
|
---|
47 | <string>%/</string>
|
---|
48 | <endString>/</endString>
|
---|
49 | <escape>\</escape>
|
---|
50 | </highlighter>
|
---|
51 | <highlighter type="string">
|
---|
52 | <string>'</string>
|
---|
53 | <escape>\</escape>
|
---|
54 | </highlighter>
|
---|
55 | <highlighter type="string">
|
---|
56 | <string>%q{</string>
|
---|
57 | <endString>}</endString>
|
---|
58 | <escape>\</escape>
|
---|
59 | </highlighter>
|
---|
60 | <highlighter type="hexnumber">
|
---|
61 | <prefix>0x</prefix>
|
---|
62 | <ignoreCase />
|
---|
63 | </highlighter>
|
---|
64 | <highlighter type="number">
|
---|
65 | <point>.</point>
|
---|
66 | <exponent>e</exponent>
|
---|
67 | <ignoreCase />
|
---|
68 | </highlighter>
|
---|
69 | <highlighter type="keywords">
|
---|
70 | <keyword>alias</keyword>
|
---|
71 | <keyword>and</keyword>
|
---|
72 | <keyword>BEGIN</keyword>
|
---|
73 | <keyword>begin</keyword>
|
---|
74 | <keyword>break</keyword>
|
---|
75 | <keyword>case</keyword>
|
---|
76 | <keyword>class</keyword>
|
---|
77 | <keyword>def</keyword>
|
---|
78 | <keyword>defined</keyword>
|
---|
79 | <keyword>do</keyword>
|
---|
80 | <keyword>else</keyword>
|
---|
81 | <keyword>elsif</keyword>
|
---|
82 | <keyword>END</keyword>
|
---|
83 | <keyword>end</keyword>
|
---|
84 | <keyword>ensure</keyword>
|
---|
85 | <keyword>false</keyword>
|
---|
86 | <keyword>for</keyword>
|
---|
87 | <keyword>if</keyword>
|
---|
88 | <keyword>in</keyword>
|
---|
89 | <keyword>module</keyword>
|
---|
90 | <keyword>next</keyword>
|
---|
91 | <keyword>nil</keyword>
|
---|
92 | <keyword>not</keyword>
|
---|
93 | <keyword>or</keyword>
|
---|
94 | <keyword>redo</keyword>
|
---|
95 | <keyword>rescue</keyword>
|
---|
96 | <keyword>retry</keyword>
|
---|
97 | <keyword>return</keyword>
|
---|
98 | <keyword>self</keyword>
|
---|
99 | <keyword>super</keyword>
|
---|
100 | <keyword>then</keyword>
|
---|
101 | <keyword>true</keyword>
|
---|
102 | <keyword>undef</keyword>
|
---|
103 | <keyword>unless</keyword>
|
---|
104 | <keyword>until</keyword>
|
---|
105 | <keyword>when</keyword>
|
---|
106 | <keyword>while</keyword>
|
---|
107 | <keyword>yield</keyword>
|
---|
108 | </highlighter>
|
---|
109 | </highlighters> |
---|