]> git.saurik.com Git - wxWidgets.git/blame - src/stc/scintilla/include/SciLexer.h
update to docs now minimal sample compiles
[wxWidgets.git] / src / stc / scintilla / include / SciLexer.h
CommitLineData
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
a834585d 50#define SCLEX_SCRIPTOL 33
65ec6247 51#define SCLEX_AUTOMATIC 1000
9ce192d4
RD
52#define SCE_P_DEFAULT 0
53#define SCE_P_COMMENTLINE 1
54#define SCE_P_NUMBER 2
55#define SCE_P_STRING 3
56#define SCE_P_CHARACTER 4
57#define SCE_P_WORD 5
58#define SCE_P_TRIPLE 6
59#define SCE_P_TRIPLEDOUBLE 7
60#define SCE_P_CLASSNAME 8
61#define SCE_P_DEFNAME 9
62#define SCE_P_OPERATOR 10
63#define SCE_P_IDENTIFIER 11
f6bcfd97
BP
64#define SCE_P_COMMENTBLOCK 12
65#define SCE_P_STRINGEOL 13
9ce192d4
RD
66#define SCE_C_DEFAULT 0
67#define SCE_C_COMMENT 1
68#define SCE_C_COMMENTLINE 2
69#define SCE_C_COMMENTDOC 3
70#define SCE_C_NUMBER 4
71#define SCE_C_WORD 5
72#define SCE_C_STRING 6
73#define SCE_C_CHARACTER 7
f6bcfd97 74#define SCE_C_UUID 8
9ce192d4
RD
75#define SCE_C_PREPROCESSOR 9
76#define SCE_C_OPERATOR 10
77#define SCE_C_IDENTIFIER 11
78#define SCE_C_STRINGEOL 12
d134f170 79#define SCE_C_VERBATIM 13
65ec6247
RD
80#define SCE_C_REGEX 14
81#define SCE_C_COMMENTLINEDOC 15
82#define SCE_C_WORD2 16
b8b0e402
RD
83#define SCE_C_COMMENTDOCKEYWORD 17
84#define SCE_C_COMMENTDOCKEYWORDERROR 18
9ce192d4
RD
85#define SCE_H_DEFAULT 0
86#define SCE_H_TAG 1
87#define SCE_H_TAGUNKNOWN 2
88#define SCE_H_ATTRIBUTE 3
89#define SCE_H_ATTRIBUTEUNKNOWN 4
90#define SCE_H_NUMBER 5
91#define SCE_H_DOUBLESTRING 6
92#define SCE_H_SINGLESTRING 7
93#define SCE_H_OTHER 8
94#define SCE_H_COMMENT 9
95#define SCE_H_ENTITY 10
f6bcfd97
BP
96#define SCE_H_TAGEND 11
97#define SCE_H_XMLSTART 12
98#define SCE_H_XMLEND 13
99#define SCE_H_SCRIPT 14
100#define SCE_H_ASP 15
101#define SCE_H_ASPAT 16
d134f170
RD
102#define SCE_H_CDATA 17
103#define SCE_H_QUESTION 18
104#define SCE_H_VALUE 19
65ec6247 105#define SCE_H_XCCOMMENT 20
b8b0e402
RD
106#define SCE_H_SGML_DEFAULT 21
107#define SCE_H_SGML_COMMAND 22
108#define SCE_H_SGML_1ST_PARAM 23
109#define SCE_H_SGML_DOUBLESTRING 24
110#define SCE_H_SGML_SIMPLESTRING 25
111#define SCE_H_SGML_ERROR 26
112#define SCE_H_SGML_SPECIAL 27
113#define SCE_H_SGML_ENTITY 28
114#define SCE_H_SGML_COMMENT 29
115#define SCE_H_SGML_1ST_PARAM_COMMENT 30
116#define SCE_H_SGML_BLOCK_DEFAULT 31
f6bcfd97
BP
117#define SCE_HJ_START 40
118#define SCE_HJ_DEFAULT 41
119#define SCE_HJ_COMMENT 42
120#define SCE_HJ_COMMENTLINE 43
121#define SCE_HJ_COMMENTDOC 44
122#define SCE_HJ_NUMBER 45
123#define SCE_HJ_WORD 46
124#define SCE_HJ_KEYWORD 47
125#define SCE_HJ_DOUBLESTRING 48
126#define SCE_HJ_SINGLESTRING 49
127#define SCE_HJ_SYMBOLS 50
128#define SCE_HJ_STRINGEOL 51
65ec6247 129#define SCE_HJ_REGEX 52
f6bcfd97
BP
130#define SCE_HJA_START 55
131#define SCE_HJA_DEFAULT 56
132#define SCE_HJA_COMMENT 57
133#define SCE_HJA_COMMENTLINE 58
134#define SCE_HJA_COMMENTDOC 59
135#define SCE_HJA_NUMBER 60
136#define SCE_HJA_WORD 61
137#define SCE_HJA_KEYWORD 62
138#define SCE_HJA_DOUBLESTRING 63
139#define SCE_HJA_SINGLESTRING 64
140#define SCE_HJA_SYMBOLS 65
141#define SCE_HJA_STRINGEOL 66
65ec6247 142#define SCE_HJA_REGEX 67
f6bcfd97
BP
143#define SCE_HB_START 70
144#define SCE_HB_DEFAULT 71
145#define SCE_HB_COMMENTLINE 72
146#define SCE_HB_NUMBER 73
147#define SCE_HB_WORD 74
148#define SCE_HB_STRING 75
149#define SCE_HB_IDENTIFIER 76
150#define SCE_HB_STRINGEOL 77
f6bcfd97
BP
151#define SCE_HBA_START 80
152#define SCE_HBA_DEFAULT 81
153#define SCE_HBA_COMMENTLINE 82
154#define SCE_HBA_NUMBER 83
155#define SCE_HBA_WORD 84
156#define SCE_HBA_STRING 85
157#define SCE_HBA_IDENTIFIER 86
158#define SCE_HBA_STRINGEOL 87
f6bcfd97
BP
159#define SCE_HP_START 90
160#define SCE_HP_DEFAULT 91
161#define SCE_HP_COMMENTLINE 92
162#define SCE_HP_NUMBER 93
163#define SCE_HP_STRING 94
164#define SCE_HP_CHARACTER 95
165#define SCE_HP_WORD 96
166#define SCE_HP_TRIPLE 97
167#define SCE_HP_TRIPLEDOUBLE 98
168#define SCE_HP_CLASSNAME 99
169#define SCE_HP_DEFNAME 100
170#define SCE_HP_OPERATOR 101
171#define SCE_HP_IDENTIFIER 102
f6bcfd97
BP
172#define SCE_HPA_START 105
173#define SCE_HPA_DEFAULT 106
174#define SCE_HPA_COMMENTLINE 107
175#define SCE_HPA_NUMBER 108
176#define SCE_HPA_STRING 109
177#define SCE_HPA_CHARACTER 110
178#define SCE_HPA_WORD 111
179#define SCE_HPA_TRIPLE 112
180#define SCE_HPA_TRIPLEDOUBLE 113
181#define SCE_HPA_CLASSNAME 114
182#define SCE_HPA_DEFNAME 115
183#define SCE_HPA_OPERATOR 116
184#define SCE_HPA_IDENTIFIER 117
d134f170
RD
185#define SCE_HPHP_DEFAULT 118
186#define SCE_HPHP_HSTRING 119
187#define SCE_HPHP_SIMPLESTRING 120
188#define SCE_HPHP_WORD 121
189#define SCE_HPHP_NUMBER 122
190#define SCE_HPHP_VARIABLE 123
191#define SCE_HPHP_COMMENT 124
192#define SCE_HPHP_COMMENTLINE 125
65ec6247
RD
193#define SCE_HPHP_HSTRING_VARIABLE 126
194#define SCE_HPHP_OPERATOR 127
9ce192d4 195#define SCE_PL_DEFAULT 0
65ec6247 196#define SCE_PL_ERROR 1
9ce192d4
RD
197#define SCE_PL_COMMENTLINE 2
198#define SCE_PL_POD 3
199#define SCE_PL_NUMBER 4
200#define SCE_PL_WORD 5
201#define SCE_PL_STRING 6
202#define SCE_PL_CHARACTER 7
203#define SCE_PL_PUNCTUATION 8
204#define SCE_PL_PREPROCESSOR 9
205#define SCE_PL_OPERATOR 10
206#define SCE_PL_IDENTIFIER 11
207#define SCE_PL_SCALAR 12
208#define SCE_PL_ARRAY 13
209#define SCE_PL_HASH 14
210#define SCE_PL_SYMBOLTABLE 15
9ce192d4
RD
211#define SCE_PL_REGEX 17
212#define SCE_PL_REGSUBST 18
213#define SCE_PL_LONGQUOTE 19
214#define SCE_PL_BACKTICKS 20
215#define SCE_PL_DATASECTION 21
65ec6247
RD
216#define SCE_PL_HERE_DELIM 22
217#define SCE_PL_HERE_Q 23
218#define SCE_PL_HERE_QQ 24
219#define SCE_PL_HERE_QX 25
220#define SCE_PL_STRING_Q 26
221#define SCE_PL_STRING_QQ 27
222#define SCE_PL_STRING_QX 28
223#define SCE_PL_STRING_QR 29
224#define SCE_PL_STRING_QW 30
a834585d
RD
225#define SCE_B_DEFAULT 0
226#define SCE_B_COMMENT 1
227#define SCE_B_NUMBER 2
228#define SCE_B_KEYWORD 3
229#define SCE_B_STRING 4
230#define SCE_B_PREPROCESSOR 5
231#define SCE_B_OPERATOR 6
232#define SCE_B_IDENTIFIER 7
233#define SCE_B_DATE 8
234#define SCE_PROPS_DEFAULT 0
235#define SCE_PROPS_COMMENT 1
236#define SCE_PROPS_SECTION 2
237#define SCE_PROPS_ASSIGNMENT 3
238#define SCE_PROPS_DEFVAL 4
f6bcfd97
BP
239#define SCE_L_DEFAULT 0
240#define SCE_L_COMMAND 1
241#define SCE_L_TAG 2
242#define SCE_L_MATH 3
243#define SCE_L_COMMENT 4
d134f170
RD
244#define SCE_LUA_DEFAULT 0
245#define SCE_LUA_COMMENT 1
246#define SCE_LUA_COMMENTLINE 2
247#define SCE_LUA_COMMENTDOC 3
248#define SCE_LUA_NUMBER 4
249#define SCE_LUA_WORD 5
250#define SCE_LUA_STRING 6
251#define SCE_LUA_CHARACTER 7
252#define SCE_LUA_LITERALSTRING 8
253#define SCE_LUA_PREPROCESSOR 9
254#define SCE_LUA_OPERATOR 10
255#define SCE_LUA_IDENTIFIER 11
256#define SCE_LUA_STRINGEOL 12
1a2fb4cd
RD
257#define SCE_LUA_WORD2 13
258#define SCE_LUA_WORD3 14
259#define SCE_LUA_WORD4 15
260#define SCE_LUA_WORD5 16
261#define SCE_LUA_WORD6 17
d134f170
RD
262#define SCE_ERR_DEFAULT 0
263#define SCE_ERR_PYTHON 1
264#define SCE_ERR_GCC 2
265#define SCE_ERR_MS 3
266#define SCE_ERR_CMD 4
267#define SCE_ERR_BORLAND 5
268#define SCE_ERR_PERL 6
65ec6247
RD
269#define SCE_ERR_NET 7
270#define SCE_ERR_LUA 8
a834585d 271#define SCE_ERR_CTAG 9
65ec6247
RD
272#define SCE_ERR_DIFF_CHANGED 10
273#define SCE_ERR_DIFF_ADDITION 11
274#define SCE_ERR_DIFF_DELETION 12
275#define SCE_ERR_DIFF_MESSAGE 13
276#define SCE_BAT_DEFAULT 0
277#define SCE_BAT_COMMENT 1
278#define SCE_BAT_WORD 2
279#define SCE_BAT_LABEL 3
280#define SCE_BAT_HIDE 4
281#define SCE_BAT_COMMAND 5
282#define SCE_BAT_IDENTIFIER 6
283#define SCE_BAT_OPERATOR 7
284#define SCE_MAKE_DEFAULT 0
285#define SCE_MAKE_COMMENT 1
286#define SCE_MAKE_PREPROCESSOR 2
287#define SCE_MAKE_IDENTIFIER 3
288#define SCE_MAKE_OPERATOR 4
289#define SCE_MAKE_TARGET 5
290#define SCE_MAKE_IDEOL 9
a834585d
RD
291#define SCE_DIFF_DEFAULT 0
292#define SCE_DIFF_COMMENT 1
293#define SCE_DIFF_COMMAND 2
294#define SCE_DIFF_HEADER 3
295#define SCE_DIFF_POSITION 4
296#define SCE_DIFF_DELETED 5
297#define SCE_DIFF_ADDED 6
65ec6247
RD
298#define SCE_CONF_DEFAULT 0
299#define SCE_CONF_COMMENT 1
300#define SCE_CONF_NUMBER 2
301#define SCE_CONF_IDENTIFIER 3
302#define SCE_CONF_EXTENSION 4
303#define SCE_CONF_PARAMETER 5
304#define SCE_CONF_STRING 6
305#define SCE_CONF_OPERATOR 7
306#define SCE_CONF_IP 8
307#define SCE_CONF_DIRECTIVE 9
308#define SCE_AVE_DEFAULT 0
309#define SCE_AVE_COMMENT 1
310#define SCE_AVE_NUMBER 2
311#define SCE_AVE_WORD 3
312#define SCE_AVE_KEYWORD 4
313#define SCE_AVE_STATEMENT 5
314#define SCE_AVE_STRING 6
315#define SCE_AVE_ENUM 7
316#define SCE_AVE_STRINGEOL 8
317#define SCE_AVE_IDENTIFIER 9
318#define SCE_AVE_OPERATOR 10
319#define SCE_ADA_DEFAULT 0
320#define SCE_ADA_COMMENT 1
321#define SCE_ADA_NUMBER 2
322#define SCE_ADA_WORD 3
323#define SCE_ADA_STRING 4
324#define SCE_ADA_CHARACTER 5
325#define SCE_ADA_OPERATOR 6
326#define SCE_ADA_IDENTIFIER 7
327#define SCE_ADA_STRINGEOL 8
1a2fb4cd
RD
328#define SCE_BAAN_DEFAULT 0
329#define SCE_BAAN_COMMENT 1
330#define SCE_BAAN_COMMENTDOC 2
331#define SCE_BAAN_NUMBER 3
332#define SCE_BAAN_WORD 4
333#define SCE_BAAN_STRING 5
334#define SCE_BAAN_PREPROCESSOR 6
335#define SCE_BAAN_OPERATOR 7
336#define SCE_BAAN_IDENTIFIER 8
337#define SCE_BAAN_STRINGEOL 9
338#define SCE_BAAN_WORD2 10
65ec6247
RD
339#define SCE_LISP_DEFAULT 0
340#define SCE_LISP_COMMENT 1
341#define SCE_LISP_NUMBER 2
342#define SCE_LISP_KEYWORD 3
343#define SCE_LISP_STRING 6
344#define SCE_LISP_STRINGEOL 8
345#define SCE_LISP_IDENTIFIER 9
346#define SCE_LISP_OPERATOR 10
347#define SCE_EIFFEL_DEFAULT 0
348#define SCE_EIFFEL_COMMENTLINE 1
349#define SCE_EIFFEL_NUMBER 2
350#define SCE_EIFFEL_WORD 3
351#define SCE_EIFFEL_STRING 4
352#define SCE_EIFFEL_CHARACTER 5
353#define SCE_EIFFEL_OPERATOR 6
354#define SCE_EIFFEL_IDENTIFIER 7
355#define SCE_EIFFEL_STRINGEOL 8
b8b0e402
RD
356#define SCE_NNCRONTAB_DEFAULT 0
357#define SCE_NNCRONTAB_COMMENT 1
358#define SCE_NNCRONTAB_TASK 2
359#define SCE_NNCRONTAB_SECTION 3
360#define SCE_NNCRONTAB_KEYWORD 4
361#define SCE_NNCRONTAB_MODIFIER 5
362#define SCE_NNCRONTAB_ASTERISK 6
363#define SCE_NNCRONTAB_NUMBER 7
364#define SCE_NNCRONTAB_STRING 8
365#define SCE_NNCRONTAB_ENVIRONMENT 9
366#define SCE_NNCRONTAB_IDENTIFIER 10
1a2fb4cd
RD
367#define SCE_MATLAB_DEFAULT 0
368#define SCE_MATLAB_COMMENT 1
369#define SCE_MATLAB_COMMAND 2
370#define SCE_MATLAB_NUMBER 3
371#define SCE_MATLAB_KEYWORD 4
372#define SCE_MATLAB_STRING 5
373#define SCE_MATLAB_OPERATOR 6
374#define SCE_MATLAB_IDENTIFIER 7
a834585d
RD
375#define SCE_SCRIPTOL_DEFAULT 0
376#define SCE_SCRIPTOL_COMMENT 1
377#define SCE_SCRIPTOL_COMMENTLINE 2
378#define SCE_SCRIPTOL_COMMENTDOC 3
379#define SCE_SCRIPTOL_NUMBER 4
380#define SCE_SCRIPTOL_WORD 5
381#define SCE_SCRIPTOL_STRING 6
382#define SCE_SCRIPTOL_CHARACTER 7
383#define SCE_SCRIPTOL_UUID 8
384#define SCE_SCRIPTOL_PREPROCESSOR 9
385#define SCE_SCRIPTOL_OPERATOR 10
386#define SCE_SCRIPTOL_IDENTIFIER 11
387#define SCE_SCRIPTOL_STRINGEOL 12
388#define SCE_SCRIPTOL_VERBATIM 13
389#define SCE_SCRIPTOL_REGEX 14
390#define SCE_SCRIPTOL_COMMENTLINEDOC 15
391#define SCE_SCRIPTOL_WORD2 16
392#define SCE_SCRIPTOL_COMMENTDOCKEYWORD 17
393#define SCE_SCRIPTOL_COMMENTDOCKEYWORDERROR 18
394#define SCE_SCRIPTOL_COMMENTBASIC 19
d134f170 395//--Autogenerated -- end of section automatically generated from Scintilla.iface
f6bcfd97 396
9ce192d4 397#endif