summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/context/data/context-jedit.xml
blob: 8e91f75e5216f42372629d05eadcb861a6f55b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?xml version="1.0"?>

<!DOCTYPE MODE SYSTEM "xmode.dtd">

<MODE>

	<!-- complex regexps are way too slow and freeze jedit on large files --> 

	
	<RULES>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='nl'>^%.*interface=(dutch|nl).*</SEQ_REGEXP>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='en'>^%.*interface=(english|en).*</SEQ_REGEXP>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='de'>^%.*interface=(german|de).*</SEQ_REGEXP>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='cz'>^%.*interface=(czech|cz).*</SEQ_REGEXP>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='it'>^%.*interface=(italian|it).*</SEQ_REGEXP>
		<SEQ_REGEXP HASH_CHAR='%' DELEGATE='ro'>^%.*interface=(romanian|ro).*</SEQ_REGEXP>
	
		<IMPORT DELEGATE="common"/>

	</RULES>

	<RULES SET='common'>
			
		<SEQ_REGEXP TYPE='COMMENT2' HASH_CHAR='%'>^%[A-Z](\s|$)</SEQ_REGEXP>
		
		<SEQ_REGEXP TYPE='KEYWORD2' HASH_CHAR='\'>\\[@?!]([^@?!a-zA-Z]|$)</SEQ_REGEXP>
		
		<SEQ TYPE="KEYWORD2">\\</SEQ>

		<SEQ TYPE="KEYWORD2">\$</SEQ>
		<SEQ TYPE="KEYWORD2">\{</SEQ>
		<SEQ TYPE="KEYWORD2">\}</SEQ>
	
		<SEQ TYPE="KEYWORD2">\#</SEQ>
		<SEQ TYPE="KEYWORD2">\(</SEQ>
		<SEQ TYPE="KEYWORD2">\)</SEQ>
		<SEQ TYPE="KEYWORD2">\[</SEQ>
		<SEQ TYPE="KEYWORD2">\]</SEQ>
		<SEQ TYPE="KEYWORD2">\&lt;</SEQ>
		<SEQ TYPE="KEYWORD2">\&gt;</SEQ>
		<SEQ TYPE="KEYWORD2">\=</SEQ>
	
		<SEQ TYPE="KEYWORD2">\~</SEQ>
		<SEQ TYPE="KEYWORD2">\%</SEQ>
		<SEQ TYPE="KEYWORD2">\^</SEQ>
		<SEQ TYPE="KEYWORD2">\&amp;</SEQ>
		<SEQ TYPE="KEYWORD2">\-</SEQ>
		<SEQ TYPE="KEYWORD2">\+</SEQ>
		<SEQ TYPE="KEYWORD2">\/</SEQ>
		<SEQ TYPE="KEYWORD2">\|</SEQ>
	
		<SEQ TYPE="KEYWORD2">\`</SEQ>
		<SEQ TYPE="KEYWORD2">\*</SEQ>
		<SEQ TYPE="KEYWORD2">\_</SEQ>
		<SEQ TYPE="KEYWORD2">\:</SEQ>
		<SEQ TYPE="KEYWORD2">\;</SEQ>
		<SEQ TYPE="KEYWORD2">\"</SEQ>
		<SEQ TYPE="KEYWORD2">\'</SEQ>
		<SEQ TYPE="KEYWORD2">\.</SEQ>
		<SEQ TYPE="KEYWORD2">\,</SEQ>

		<SEQ TYPE="KEYWORD2">\1</SEQ>
		<SEQ TYPE="KEYWORD2">\2</SEQ>
		<SEQ TYPE="KEYWORD2">\3</SEQ>
		<SEQ TYPE="KEYWORD2">\4</SEQ>
		<SEQ TYPE="KEYWORD2">\5</SEQ>
		<SEQ TYPE="KEYWORD2">\6</SEQ>
		<SEQ TYPE="KEYWORD2">\7</SEQ>
		<SEQ TYPE="KEYWORD2">\8</SEQ>
		<SEQ TYPE="KEYWORD2">\9</SEQ>
		<SEQ TYPE="KEYWORD2">\0</SEQ>			
						
		<SEQ TYPE="COMMENT1">$</SEQ>	
		<SEQ TYPE="COMMENT1">{</SEQ>	
		<SEQ TYPE="COMMENT1">}</SEQ>	
	
		<SEQ TYPE="KEYWORD1">#</SEQ>	
		<SEQ TYPE="KEYWORD1">(</SEQ>	
		<SEQ TYPE="KEYWORD1">)</SEQ>    
		<SEQ TYPE="KEYWORD1">[</SEQ>    
		<SEQ TYPE="KEYWORD1">]</SEQ>  	
		<SEQ TYPE="KEYWORD1">&lt;</SEQ>	
		<SEQ TYPE="KEYWORD1">&gt;</SEQ> 
		<SEQ TYPE="KEYWORD1">=</SEQ>	
		<SEQ TYPE="KEYWORD4">"</SEQ>	
	
		<SEQ TYPE="COMMENT2">~</SEQ>	
		<SEQ TYPE="COMMENT2">%</SEQ>	
		<SEQ TYPE="COMMENT2">^</SEQ>	
		<SEQ TYPE="COMMENT2">&amp;</SEQ>
		<SEQ TYPE="COMMENT2">-</SEQ>	
		<SEQ TYPE="COMMENT2">+</SEQ>	
		<SEQ TYPE="COMMENT2">/</SEQ>	
		<SEQ TYPE="COMMENT2">|</SEQ>	
	
		<SEQ TYPE="KEYWORD4">`</SEQ>	
		<SEQ TYPE="KEYWORD4">*</SEQ>	
		<SEQ TYPE="KEYWORD4">_</SEQ>	
		<SEQ TYPE="KEYWORD4">'</SEQ>	
	
	</RULES>

	<RULES SET='en'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-en::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
	<RULES SET='nl'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-nl::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
	<RULES SET='de'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-de::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
	<RULES SET='cz'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-cz::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
	<RULES SET='it'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-it::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
	<RULES SET='ro'>
		<IMPORT DELEGATE="context-base::context.base"/>
		<IMPORT DELEGATE="cont-ro::MAIN"/>
		<IMPORT DELEGATE="common"/>
	</RULES>
		
</MODE>