]>
Commit | Line | Data |
---|---|---|
9ce192d4 | 1 | // Scintilla source code edit control |
65ec6247 RD |
2 | /** @file SciLexer.h |
3 | ** Interface to the added lexer functions in the SciLexer version of the edit control. | |
4 | **/ | |
1a2fb4cd | 5 | // Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org> |
9ce192d4 RD |
6 | // The License.txt file describes the conditions under which this software may be distributed. |
7 | ||
d134f170 RD |
8 | // Most of this file is automatically generated from the Scintilla.iface interface definition |
9 | // file which contains any comments about the definitions. HFacer.py does the generation. | |
10 | ||
9ce192d4 RD |
11 | #ifndef SCILEXER_H |
12 | #define SCILEXER_H | |
13 | ||
14 | // SciLexer features - not in standard Scintilla | |
15 | ||
d134f170 | 16 | //++Autogenerated -- start of section automatically generated from Scintilla.iface |
9ce192d4 RD |
17 | #define SCLEX_CONTAINER 0 |
18 | #define SCLEX_NULL 1 | |
19 | #define SCLEX_PYTHON 2 | |
20 | #define SCLEX_CPP 3 | |
21 | #define SCLEX_HTML 4 | |
22 | #define SCLEX_XML 5 | |
23 | #define SCLEX_PERL 6 | |
24 | #define SCLEX_SQL 7 | |
25 | #define SCLEX_VB 8 | |
26 | #define SCLEX_PROPERTIES 9 | |
27 | #define SCLEX_ERRORLIST 10 | |
28 | #define SCLEX_MAKEFILE 11 | |
29 | #define SCLEX_BATCH 12 | |
f6bcfd97 BP |
30 | #define SCLEX_XCODE 13 |
31 | #define SCLEX_LATEX 14 | |
d134f170 RD |
32 | #define SCLEX_LUA 15 |
33 | #define SCLEX_DIFF 16 | |
65ec6247 RD |
34 | #define SCLEX_CONF 17 |
35 | #define SCLEX_PASCAL 18 | |
36 | #define SCLEX_AVE 19 | |
37 | #define SCLEX_ADA 20 | |
38 | #define SCLEX_LISP 21 | |
39 | #define SCLEX_RUBY 22 | |
40 | #define SCLEX_EIFFEL 23 | |
41 | #define SCLEX_EIFFELKW 24 | |
42 | #define SCLEX_TCL 25 | |
b8b0e402 | 43 | #define SCLEX_NNCRONTAB 26 |
1a2fb4cd RD |
44 | #define SCLEX_BULLANT 27 |
45 | #define SCLEX_VBSCRIPT 28 | |
46 | #define SCLEX_ASP 29 | |
47 | #define SCLEX_PHP 30 | |
48 | #define SCLEX_BAAN 31 | |
49 | #define SCLEX_MATLAB 32 | |
65ec6247 | 50 | #define SCLEX_AUTOMATIC 1000 |
9ce192d4 RD |
51 | #define SCE_P_DEFAULT 0 |
52 | #define SCE_P_COMMENTLINE 1 | |
53 | #define SCE_P_NUMBER 2 | |
54 | #define SCE_P_STRING 3 | |
55 | #define SCE_P_CHARACTER 4 | |
56 | #define SCE_P_WORD 5 | |
57 | #define SCE_P_TRIPLE 6 | |
58 | #define SCE_P_TRIPLEDOUBLE 7 | |
59 | #define SCE_P_CLASSNAME 8 | |
60 | #define SCE_P_DEFNAME 9 | |
61 | #define SCE_P_OPERATOR 10 | |
62 | #define SCE_P_IDENTIFIER 11 | |
f6bcfd97 BP |
63 | #define SCE_P_COMMENTBLOCK 12 |
64 | #define SCE_P_STRINGEOL 13 | |
9ce192d4 RD |
65 | #define SCE_C_DEFAULT 0 |
66 | #define SCE_C_COMMENT 1 | |
67 | #define SCE_C_COMMENTLINE 2 | |
68 | #define SCE_C_COMMENTDOC 3 | |
69 | #define SCE_C_NUMBER 4 | |
70 | #define SCE_C_WORD 5 | |
71 | #define SCE_C_STRING 6 | |
72 | #define SCE_C_CHARACTER 7 | |
f6bcfd97 | 73 | #define SCE_C_UUID 8 |
9ce192d4 RD |
74 | #define SCE_C_PREPROCESSOR 9 |
75 | #define SCE_C_OPERATOR 10 | |
76 | #define SCE_C_IDENTIFIER 11 | |
77 | #define SCE_C_STRINGEOL 12 | |
d134f170 | 78 | #define SCE_C_VERBATIM 13 |
65ec6247 RD |
79 | #define SCE_C_REGEX 14 |
80 | #define SCE_C_COMMENTLINEDOC 15 | |
81 | #define SCE_C_WORD2 16 | |
b8b0e402 RD |
82 | #define SCE_C_COMMENTDOCKEYWORD 17 |
83 | #define SCE_C_COMMENTDOCKEYWORDERROR 18 | |
1a2fb4cd RD |
84 | #define SCE_B_DEFAULT 0 |
85 | #define SCE_B_COMMENT 1 | |
86 | #define SCE_B_NUMBER 2 | |
87 | #define SCE_B_KEYWORD 3 | |
88 | #define SCE_B_STRING 4 | |
89 | #define SCE_B_PREPROCESSOR 5 | |
90 | #define SCE_B_OPERATOR 6 | |
91 | #define SCE_B_IDENTIFIER 7 | |
92 | #define SCE_B_DATE 8 | |
9ce192d4 RD |
93 | #define SCE_H_DEFAULT 0 |
94 | #define SCE_H_TAG 1 | |
95 | #define SCE_H_TAGUNKNOWN 2 | |
96 | #define SCE_H_ATTRIBUTE 3 | |
97 | #define SCE_H_ATTRIBUTEUNKNOWN 4 | |
98 | #define SCE_H_NUMBER 5 | |
99 | #define SCE_H_DOUBLESTRING 6 | |
100 | #define SCE_H_SINGLESTRING 7 | |
101 | #define SCE_H_OTHER 8 | |
102 | #define SCE_H_COMMENT 9 | |
103 | #define SCE_H_ENTITY 10 | |
f6bcfd97 BP |
104 | #define SCE_H_TAGEND 11 |
105 | #define SCE_H_XMLSTART 12 | |
106 | #define SCE_H_XMLEND 13 | |
107 | #define SCE_H_SCRIPT 14 | |
108 | #define SCE_H_ASP 15 | |
109 | #define SCE_H_ASPAT 16 | |
d134f170 RD |
110 | #define SCE_H_CDATA 17 |
111 | #define SCE_H_QUESTION 18 | |
112 | #define SCE_H_VALUE 19 | |
65ec6247 | 113 | #define SCE_H_XCCOMMENT 20 |
b8b0e402 RD |
114 | #define SCE_H_SGML_DEFAULT 21 |
115 | #define SCE_H_SGML_COMMAND 22 | |
116 | #define SCE_H_SGML_1ST_PARAM 23 | |
117 | #define SCE_H_SGML_DOUBLESTRING 24 | |
118 | #define SCE_H_SGML_SIMPLESTRING 25 | |
119 | #define SCE_H_SGML_ERROR 26 | |
120 | #define SCE_H_SGML_SPECIAL 27 | |
121 | #define SCE_H_SGML_ENTITY 28 | |
122 | #define SCE_H_SGML_COMMENT 29 | |
123 | #define SCE_H_SGML_1ST_PARAM_COMMENT 30 | |
124 | #define SCE_H_SGML_BLOCK_DEFAULT 31 | |
f6bcfd97 BP |
125 | #define SCE_HJ_START 40 |
126 | #define SCE_HJ_DEFAULT 41 | |
127 | #define SCE_HJ_COMMENT 42 | |
128 | #define SCE_HJ_COMMENTLINE 43 | |
129 | #define SCE_HJ_COMMENTDOC 44 | |
130 | #define SCE_HJ_NUMBER 45 | |
131 | #define SCE_HJ_WORD 46 | |
132 | #define SCE_HJ_KEYWORD 47 | |
133 | #define SCE_HJ_DOUBLESTRING 48 | |
134 | #define SCE_HJ_SINGLESTRING 49 | |
135 | #define SCE_HJ_SYMBOLS 50 | |
136 | #define SCE_HJ_STRINGEOL 51 | |
65ec6247 | 137 | #define SCE_HJ_REGEX 52 |
f6bcfd97 BP |
138 | #define SCE_HJA_START 55 |
139 | #define SCE_HJA_DEFAULT 56 | |
140 | #define SCE_HJA_COMMENT 57 | |
141 | #define SCE_HJA_COMMENTLINE 58 | |
142 | #define SCE_HJA_COMMENTDOC 59 | |
143 | #define SCE_HJA_NUMBER 60 | |
144 | #define SCE_HJA_WORD 61 | |
145 | #define SCE_HJA_KEYWORD 62 | |
146 | #define SCE_HJA_DOUBLESTRING 63 | |
147 | #define SCE_HJA_SINGLESTRING 64 | |
148 | #define SCE_HJA_SYMBOLS 65 | |
149 | #define SCE_HJA_STRINGEOL 66 | |
65ec6247 | 150 | #define SCE_HJA_REGEX 67 |
f6bcfd97 BP |
151 | #define SCE_HB_START 70 |
152 | #define SCE_HB_DEFAULT 71 | |
153 | #define SCE_HB_COMMENTLINE 72 | |
154 | #define SCE_HB_NUMBER 73 | |
155 | #define SCE_HB_WORD 74 | |
156 | #define SCE_HB_STRING 75 | |
157 | #define SCE_HB_IDENTIFIER 76 | |
158 | #define SCE_HB_STRINGEOL 77 | |
f6bcfd97 BP |
159 | #define SCE_HBA_START 80 |
160 | #define SCE_HBA_DEFAULT 81 | |
161 | #define SCE_HBA_COMMENTLINE 82 | |
162 | #define SCE_HBA_NUMBER 83 | |
163 | #define SCE_HBA_WORD 84 | |
164 | #define SCE_HBA_STRING 85 | |
165 | #define SCE_HBA_IDENTIFIER 86 | |
166 | #define SCE_HBA_STRINGEOL 87 | |
f6bcfd97 BP |
167 | #define SCE_HP_START 90 |
168 | #define SCE_HP_DEFAULT 91 | |
169 | #define SCE_HP_COMMENTLINE 92 | |
170 | #define SCE_HP_NUMBER 93 | |
171 | #define SCE_HP_STRING 94 | |
172 | #define SCE_HP_CHARACTER 95 | |
173 | #define SCE_HP_WORD 96 | |
174 | #define SCE_HP_TRIPLE 97 | |
175 | #define SCE_HP_TRIPLEDOUBLE 98 | |
176 | #define SCE_HP_CLASSNAME 99 | |
177 | #define SCE_HP_DEFNAME 100 | |
178 | #define SCE_HP_OPERATOR 101 | |
179 | #define SCE_HP_IDENTIFIER 102 | |
f6bcfd97 BP |
180 | #define SCE_HPA_START 105 |
181 | #define SCE_HPA_DEFAULT 106 | |
182 | #define SCE_HPA_COMMENTLINE 107 | |
183 | #define SCE_HPA_NUMBER 108 | |
184 | #define SCE_HPA_STRING 109 | |
185 | #define SCE_HPA_CHARACTER 110 | |
186 | #define SCE_HPA_WORD 111 | |
187 | #define SCE_HPA_TRIPLE 112 | |
188 | #define SCE_HPA_TRIPLEDOUBLE 113 | |
189 | #define SCE_HPA_CLASSNAME 114 | |
190 | #define SCE_HPA_DEFNAME 115 | |
191 | #define SCE_HPA_OPERATOR 116 | |
192 | #define SCE_HPA_IDENTIFIER 117 | |
d134f170 RD |
193 | #define SCE_HPHP_DEFAULT 118 |
194 | #define SCE_HPHP_HSTRING 119 | |
195 | #define SCE_HPHP_SIMPLESTRING 120 | |
196 | #define SCE_HPHP_WORD 121 | |
197 | #define SCE_HPHP_NUMBER 122 | |
198 | #define SCE_HPHP_VARIABLE 123 | |
199 | #define SCE_HPHP_COMMENT 124 | |
200 | #define SCE_HPHP_COMMENTLINE 125 | |
65ec6247 RD |
201 | #define SCE_HPHP_HSTRING_VARIABLE 126 |
202 | #define SCE_HPHP_OPERATOR 127 | |
9ce192d4 | 203 | #define SCE_PL_DEFAULT 0 |
65ec6247 | 204 | #define SCE_PL_ERROR 1 |
9ce192d4 RD |
205 | #define SCE_PL_COMMENTLINE 2 |
206 | #define SCE_PL_POD 3 | |
207 | #define SCE_PL_NUMBER 4 | |
208 | #define SCE_PL_WORD 5 | |
209 | #define SCE_PL_STRING 6 | |
210 | #define SCE_PL_CHARACTER 7 | |
211 | #define SCE_PL_PUNCTUATION 8 | |
212 | #define SCE_PL_PREPROCESSOR 9 | |
213 | #define SCE_PL_OPERATOR 10 | |
214 | #define SCE_PL_IDENTIFIER 11 | |
215 | #define SCE_PL_SCALAR 12 | |
216 | #define SCE_PL_ARRAY 13 | |
217 | #define SCE_PL_HASH 14 | |
218 | #define SCE_PL_SYMBOLTABLE 15 | |
9ce192d4 RD |
219 | #define SCE_PL_REGEX 17 |
220 | #define SCE_PL_REGSUBST 18 | |
221 | #define SCE_PL_LONGQUOTE 19 | |
222 | #define SCE_PL_BACKTICKS 20 | |
223 | #define SCE_PL_DATASECTION 21 | |
65ec6247 RD |
224 | #define SCE_PL_HERE_DELIM 22 |
225 | #define SCE_PL_HERE_Q 23 | |
226 | #define SCE_PL_HERE_QQ 24 | |
227 | #define SCE_PL_HERE_QX 25 | |
228 | #define SCE_PL_STRING_Q 26 | |
229 | #define SCE_PL_STRING_QQ 27 | |
230 | #define SCE_PL_STRING_QX 28 | |
231 | #define SCE_PL_STRING_QR 29 | |
232 | #define SCE_PL_STRING_QW 30 | |
f6bcfd97 BP |
233 | #define SCE_L_DEFAULT 0 |
234 | #define SCE_L_COMMAND 1 | |
235 | #define SCE_L_TAG 2 | |
236 | #define SCE_L_MATH 3 | |
237 | #define SCE_L_COMMENT 4 | |
d134f170 RD |
238 | #define SCE_LUA_DEFAULT 0 |
239 | #define SCE_LUA_COMMENT 1 | |
240 | #define SCE_LUA_COMMENTLINE 2 | |
241 | #define SCE_LUA_COMMENTDOC 3 | |
242 | #define SCE_LUA_NUMBER 4 | |
243 | #define SCE_LUA_WORD 5 | |
244 | #define SCE_LUA_STRING 6 | |
245 | #define SCE_LUA_CHARACTER 7 | |
246 | #define SCE_LUA_LITERALSTRING 8 | |
247 | #define SCE_LUA_PREPROCESSOR 9 | |
248 | #define SCE_LUA_OPERATOR 10 | |
249 | #define SCE_LUA_IDENTIFIER 11 | |
250 | #define SCE_LUA_STRINGEOL 12 | |
1a2fb4cd RD |
251 | #define SCE_LUA_WORD2 13 |
252 | #define SCE_LUA_WORD3 14 | |
253 | #define SCE_LUA_WORD4 15 | |
254 | #define SCE_LUA_WORD5 16 | |
255 | #define SCE_LUA_WORD6 17 | |
d134f170 RD |
256 | #define SCE_ERR_DEFAULT 0 |
257 | #define SCE_ERR_PYTHON 1 | |
258 | #define SCE_ERR_GCC 2 | |
259 | #define SCE_ERR_MS 3 | |
260 | #define SCE_ERR_CMD 4 | |
261 | #define SCE_ERR_BORLAND 5 | |
262 | #define SCE_ERR_PERL 6 | |
65ec6247 RD |
263 | #define SCE_ERR_NET 7 |
264 | #define SCE_ERR_LUA 8 | |
265 | #define SCE_ERR_DIFF_CHANGED 10 | |
266 | #define SCE_ERR_DIFF_ADDITION 11 | |
267 | #define SCE_ERR_DIFF_DELETION 12 | |
268 | #define SCE_ERR_DIFF_MESSAGE 13 | |
269 | #define SCE_BAT_DEFAULT 0 | |
270 | #define SCE_BAT_COMMENT 1 | |
271 | #define SCE_BAT_WORD 2 | |
272 | #define SCE_BAT_LABEL 3 | |
273 | #define SCE_BAT_HIDE 4 | |
274 | #define SCE_BAT_COMMAND 5 | |
275 | #define SCE_BAT_IDENTIFIER 6 | |
276 | #define SCE_BAT_OPERATOR 7 | |
277 | #define SCE_MAKE_DEFAULT 0 | |
278 | #define SCE_MAKE_COMMENT 1 | |
279 | #define SCE_MAKE_PREPROCESSOR 2 | |
280 | #define SCE_MAKE_IDENTIFIER 3 | |
281 | #define SCE_MAKE_OPERATOR 4 | |
282 | #define SCE_MAKE_TARGET 5 | |
283 | #define SCE_MAKE_IDEOL 9 | |
284 | #define SCE_CONF_DEFAULT 0 | |
285 | #define SCE_CONF_COMMENT 1 | |
286 | #define SCE_CONF_NUMBER 2 | |
287 | #define SCE_CONF_IDENTIFIER 3 | |
288 | #define SCE_CONF_EXTENSION 4 | |
289 | #define SCE_CONF_PARAMETER 5 | |
290 | #define SCE_CONF_STRING 6 | |
291 | #define SCE_CONF_OPERATOR 7 | |
292 | #define SCE_CONF_IP 8 | |
293 | #define SCE_CONF_DIRECTIVE 9 | |
294 | #define SCE_AVE_DEFAULT 0 | |
295 | #define SCE_AVE_COMMENT 1 | |
296 | #define SCE_AVE_NUMBER 2 | |
297 | #define SCE_AVE_WORD 3 | |
298 | #define SCE_AVE_KEYWORD 4 | |
299 | #define SCE_AVE_STATEMENT 5 | |
300 | #define SCE_AVE_STRING 6 | |
301 | #define SCE_AVE_ENUM 7 | |
302 | #define SCE_AVE_STRINGEOL 8 | |
303 | #define SCE_AVE_IDENTIFIER 9 | |
304 | #define SCE_AVE_OPERATOR 10 | |
305 | #define SCE_ADA_DEFAULT 0 | |
306 | #define SCE_ADA_COMMENT 1 | |
307 | #define SCE_ADA_NUMBER 2 | |
308 | #define SCE_ADA_WORD 3 | |
309 | #define SCE_ADA_STRING 4 | |
310 | #define SCE_ADA_CHARACTER 5 | |
311 | #define SCE_ADA_OPERATOR 6 | |
312 | #define SCE_ADA_IDENTIFIER 7 | |
313 | #define SCE_ADA_STRINGEOL 8 | |
1a2fb4cd RD |
314 | #define SCE_BAAN_DEFAULT 0 |
315 | #define SCE_BAAN_COMMENT 1 | |
316 | #define SCE_BAAN_COMMENTDOC 2 | |
317 | #define SCE_BAAN_NUMBER 3 | |
318 | #define SCE_BAAN_WORD 4 | |
319 | #define SCE_BAAN_STRING 5 | |
320 | #define SCE_BAAN_PREPROCESSOR 6 | |
321 | #define SCE_BAAN_OPERATOR 7 | |
322 | #define SCE_BAAN_IDENTIFIER 8 | |
323 | #define SCE_BAAN_STRINGEOL 9 | |
324 | #define SCE_BAAN_WORD2 10 | |
65ec6247 RD |
325 | #define SCE_LISP_DEFAULT 0 |
326 | #define SCE_LISP_COMMENT 1 | |
327 | #define SCE_LISP_NUMBER 2 | |
328 | #define SCE_LISP_KEYWORD 3 | |
329 | #define SCE_LISP_STRING 6 | |
330 | #define SCE_LISP_STRINGEOL 8 | |
331 | #define SCE_LISP_IDENTIFIER 9 | |
332 | #define SCE_LISP_OPERATOR 10 | |
333 | #define SCE_EIFFEL_DEFAULT 0 | |
334 | #define SCE_EIFFEL_COMMENTLINE 1 | |
335 | #define SCE_EIFFEL_NUMBER 2 | |
336 | #define SCE_EIFFEL_WORD 3 | |
337 | #define SCE_EIFFEL_STRING 4 | |
338 | #define SCE_EIFFEL_CHARACTER 5 | |
339 | #define SCE_EIFFEL_OPERATOR 6 | |
340 | #define SCE_EIFFEL_IDENTIFIER 7 | |
341 | #define SCE_EIFFEL_STRINGEOL 8 | |
b8b0e402 RD |
342 | #define SCE_NNCRONTAB_DEFAULT 0 |
343 | #define SCE_NNCRONTAB_COMMENT 1 | |
344 | #define SCE_NNCRONTAB_TASK 2 | |
345 | #define SCE_NNCRONTAB_SECTION 3 | |
346 | #define SCE_NNCRONTAB_KEYWORD 4 | |
347 | #define SCE_NNCRONTAB_MODIFIER 5 | |
348 | #define SCE_NNCRONTAB_ASTERISK 6 | |
349 | #define SCE_NNCRONTAB_NUMBER 7 | |
350 | #define SCE_NNCRONTAB_STRING 8 | |
351 | #define SCE_NNCRONTAB_ENVIRONMENT 9 | |
352 | #define SCE_NNCRONTAB_IDENTIFIER 10 | |
1a2fb4cd RD |
353 | #define SCE_MATLAB_DEFAULT 0 |
354 | #define SCE_MATLAB_COMMENT 1 | |
355 | #define SCE_MATLAB_COMMAND 2 | |
356 | #define SCE_MATLAB_NUMBER 3 | |
357 | #define SCE_MATLAB_KEYWORD 4 | |
358 | #define SCE_MATLAB_STRING 5 | |
359 | #define SCE_MATLAB_OPERATOR 6 | |
360 | #define SCE_MATLAB_IDENTIFIER 7 | |
d134f170 | 361 | //--Autogenerated -- end of section automatically generated from Scintilla.iface |
f6bcfd97 | 362 | |
9ce192d4 | 363 | #endif |