~ubuntu-branches/ubuntu/wily/xslthl/wily

« back to all changes in this revision

Viewing changes to highlighters/bourne-hl.xml

  • Committer: Package Import Robot
  • Author(s): Mathieu Malaterre
  • Date: 2013-05-16 08:59:07 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130516085907-ujk9f81x8w344ch1
Tags: 2.1.0-2
Upload to sid

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!--
 
3
 
 
4
Syntax highlighting definition for SH
 
5
 
 
6
xslthl - XSLT Syntax Highlighting
 
7
http://sourceforge.net/projects/xslthl/
 
8
Copyright (C) 2010 Mathieu Malaterre
 
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
-->
 
27
<highlighters>
 
28
        <highlighter type="oneline-comment">#</highlighter>
 
29
        <highlighter type="heredoc">
 
30
                <start>&lt;&lt;</start>
 
31
                <quote>'</quote>
 
32
                <quote>"</quote>
 
33
                <flag>-</flag>
 
34
                <noWhiteSpace />
 
35
                <looseTerminator />
 
36
        </highlighter>
 
37
        <highlighter type="string">
 
38
                <string>"</string>
 
39
                <escape>\</escape>
 
40
        </highlighter>
 
41
        <highlighter type="string">
 
42
                <string>'</string>
 
43
                <escape>\</escape>
 
44
                <spanNewLines />
 
45
        </highlighter>
 
46
        <highlighter type="hexnumber">
 
47
                <prefix>0x</prefix>
 
48
                <ignoreCase />
 
49
        </highlighter>
 
50
        <highlighter type="number">
 
51
                <point>.</point>
 
52
                <pointStarts />
 
53
                <ignoreCase />
 
54
        </highlighter>
 
55
        <highlighter type="keywords">
 
56
                <!-- reserved words -->
 
57
                <keyword>if</keyword>
 
58
                <keyword>then</keyword>
 
59
                <keyword>else</keyword>
 
60
                <keyword>elif</keyword>
 
61
                <keyword>fi</keyword>
 
62
                <keyword>case</keyword>
 
63
                <keyword>esac</keyword>
 
64
                <keyword>for</keyword>
 
65
                <keyword>while</keyword>
 
66
                <keyword>until</keyword>
 
67
                <keyword>do</keyword>
 
68
                <keyword>done</keyword>
 
69
                <!-- built-ins -->
 
70
                <keyword>exec</keyword>
 
71
                <keyword>shift</keyword>
 
72
                <keyword>exit</keyword>
 
73
                <keyword>times</keyword>
 
74
                <keyword>break</keyword>
 
75
                <keyword>export</keyword>
 
76
                <keyword>trap</keyword>
 
77
                <keyword>continue</keyword>
 
78
                <keyword>readonly</keyword>
 
79
                <keyword>wait</keyword>
 
80
                <keyword>eval</keyword>
 
81
                <keyword>return</keyword>
 
82
                <!-- other commands -->
 
83
                <keyword>cd</keyword>
 
84
                <keyword>echo</keyword>
 
85
                <keyword>hash</keyword>
 
86
                <keyword>pwd</keyword>
 
87
                <keyword>read</keyword>
 
88
                <keyword>set</keyword>
 
89
                <keyword>test</keyword>
 
90
                <keyword>type</keyword>
 
91
                <keyword>ulimit</keyword>
 
92
                <keyword>umask</keyword>
 
93
                <keyword>unset</keyword>
 
94
        </highlighter>
 
95
</highlighters>