]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stc/SciLexer.h
Added wxID_IGNORE
[wxWidgets.git] / include / wx / stc / SciLexer.h
1 // Scintilla source code edit control
2 // SciLexer - interface to the added lexer functions in the SciLexer version of the edit control
3 // Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
4 // The License.txt file describes the conditions under which this software may be distributed.
5
6 #ifndef SCILEXER_H
7 #define SCILEXER_H
8
9 // SciLexer features - not in standard Scintilla
10
11 #define SCLEX_CONTAINER 0
12 #define SCLEX_NULL 1
13 #define SCLEX_PYTHON 2
14 #define SCLEX_CPP 3
15 #define SCLEX_HTML 4
16 #define SCLEX_XML 5
17 #define SCLEX_PERL 6
18 #define SCLEX_SQL 7
19 #define SCLEX_VB 8
20 #define SCLEX_PROPERTIES 9
21 #define SCLEX_ERRORLIST 10
22 #define SCLEX_MAKEFILE 11
23 #define SCLEX_BATCH 12
24 #define SCLEX_XCODE 13
25 #define SCLEX_LATEX 14
26
27 // Lexical states for SCLEX_PYTHON
28 #define SCE_P_DEFAULT 0
29 #define SCE_P_COMMENTLINE 1
30 #define SCE_P_NUMBER 2
31 #define SCE_P_STRING 3
32 #define SCE_P_CHARACTER 4
33 #define SCE_P_WORD 5
34 #define SCE_P_TRIPLE 6
35 #define SCE_P_TRIPLEDOUBLE 7
36 #define SCE_P_CLASSNAME 8
37 #define SCE_P_DEFNAME 9
38 #define SCE_P_OPERATOR 10
39 #define SCE_P_IDENTIFIER 11
40 #define SCE_P_COMMENTBLOCK 12
41 #define SCE_P_STRINGEOL 13
42
43 // Lexical states for SCLEX_CPP, SCLEX_VB
44 #define SCE_C_DEFAULT 0
45 #define SCE_C_COMMENT 1
46 #define SCE_C_COMMENTLINE 2
47 #define SCE_C_COMMENTDOC 3
48 #define SCE_C_NUMBER 4
49 #define SCE_C_WORD 5
50 #define SCE_C_STRING 6
51 #define SCE_C_CHARACTER 7
52 #define SCE_C_UUID 8
53 #define SCE_C_PREPROCESSOR 9
54 #define SCE_C_OPERATOR 10
55 #define SCE_C_IDENTIFIER 11
56 #define SCE_C_STRINGEOL 12
57
58 // Lexical states for SCLEX_HTML, SCLEX_xML
59 #define SCE_H_DEFAULT 0
60 #define SCE_H_TAG 1
61 #define SCE_H_TAGUNKNOWN 2
62 #define SCE_H_ATTRIBUTE 3
63 #define SCE_H_ATTRIBUTEUNKNOWN 4
64 #define SCE_H_NUMBER 5
65 #define SCE_H_DOUBLESTRING 6
66 #define SCE_H_SINGLESTRING 7
67 #define SCE_H_OTHER 8
68 #define SCE_H_COMMENT 9
69 #define SCE_H_ENTITY 10
70 // XML and ASP
71 #define SCE_H_TAGEND 11
72 #define SCE_H_XMLSTART 12
73 #define SCE_H_XMLEND 13
74 #define SCE_H_SCRIPT 14
75 #define SCE_H_ASP 15
76 #define SCE_H_ASPAT 16
77 // Embedded Javascript
78 #define SCE_HJ_START 40
79 #define SCE_HJ_DEFAULT 41
80 #define SCE_HJ_COMMENT 42
81 #define SCE_HJ_COMMENTLINE 43
82 #define SCE_HJ_COMMENTDOC 44
83 #define SCE_HJ_NUMBER 45
84 #define SCE_HJ_WORD 46
85 #define SCE_HJ_KEYWORD 47
86 #define SCE_HJ_DOUBLESTRING 48
87 #define SCE_HJ_SINGLESTRING 49
88 #define SCE_HJ_SYMBOLS 50
89 #define SCE_HJ_STRINGEOL 51
90 // ASP Javascript
91 #define SCE_HJA_START 55
92 #define SCE_HJA_DEFAULT 56
93 #define SCE_HJA_COMMENT 57
94 #define SCE_HJA_COMMENTLINE 58
95 #define SCE_HJA_COMMENTDOC 59
96 #define SCE_HJA_NUMBER 60
97 #define SCE_HJA_WORD 61
98 #define SCE_HJA_KEYWORD 62
99 #define SCE_HJA_DOUBLESTRING 63
100 #define SCE_HJA_SINGLESTRING 64
101 #define SCE_HJA_SYMBOLS 65
102 #define SCE_HJA_STRINGEOL 66
103 // Embedded VBScript
104 #define SCE_HB_START 70
105 #define SCE_HB_DEFAULT 71
106 #define SCE_HB_COMMENTLINE 72
107 #define SCE_HB_NUMBER 73
108 #define SCE_HB_WORD 74
109 #define SCE_HB_STRING 75
110 #define SCE_HB_IDENTIFIER 76
111 #define SCE_HB_STRINGEOL 77
112 // ASP VBScript
113 #define SCE_HBA_START 80
114 #define SCE_HBA_DEFAULT 81
115 #define SCE_HBA_COMMENTLINE 82
116 #define SCE_HBA_NUMBER 83
117 #define SCE_HBA_WORD 84
118 #define SCE_HBA_STRING 85
119 #define SCE_HBA_IDENTIFIER 86
120 #define SCE_HBA_STRINGEOL 87
121 // Embedded Python
122 #define SCE_HP_START 90
123 #define SCE_HP_DEFAULT 91
124 #define SCE_HP_COMMENTLINE 92
125 #define SCE_HP_NUMBER 93
126 #define SCE_HP_STRING 94
127 #define SCE_HP_CHARACTER 95
128 #define SCE_HP_WORD 96
129 #define SCE_HP_TRIPLE 97
130 #define SCE_HP_TRIPLEDOUBLE 98
131 #define SCE_HP_CLASSNAME 99
132 #define SCE_HP_DEFNAME 100
133 #define SCE_HP_OPERATOR 101
134 #define SCE_HP_IDENTIFIER 102
135 // ASP Python
136 #define SCE_HPA_START 105
137 #define SCE_HPA_DEFAULT 106
138 #define SCE_HPA_COMMENTLINE 107
139 #define SCE_HPA_NUMBER 108
140 #define SCE_HPA_STRING 109
141 #define SCE_HPA_CHARACTER 110
142 #define SCE_HPA_WORD 111
143 #define SCE_HPA_TRIPLE 112
144 #define SCE_HPA_TRIPLEDOUBLE 113
145 #define SCE_HPA_CLASSNAME 114
146 #define SCE_HPA_DEFNAME 115
147 #define SCE_HPA_OPERATOR 116
148 #define SCE_HPA_IDENTIFIER 117
149
150 // Lexical states for SCLEX_PERL
151 #define SCE_PL_DEFAULT 0
152 #define SCE_PL_HERE 1
153 #define SCE_PL_COMMENTLINE 2
154 #define SCE_PL_POD 3
155 #define SCE_PL_NUMBER 4
156 #define SCE_PL_WORD 5
157 #define SCE_PL_STRING 6
158 #define SCE_PL_CHARACTER 7
159 #define SCE_PL_PUNCTUATION 8
160 #define SCE_PL_PREPROCESSOR 9
161 #define SCE_PL_OPERATOR 10
162 #define SCE_PL_IDENTIFIER 11
163 #define SCE_PL_SCALAR 12
164 #define SCE_PL_ARRAY 13
165 #define SCE_PL_HASH 14
166 #define SCE_PL_SYMBOLTABLE 15
167 #define SCE_PL_REF 16
168 #define SCE_PL_REGEX 17
169 #define SCE_PL_REGSUBST 18
170 #define SCE_PL_LONGQUOTE 19
171 #define SCE_PL_BACKTICKS 20
172 #define SCE_PL_DATASECTION 21
173
174 // Lexical states for SCLEX_LATEX
175 #define SCE_L_DEFAULT 0
176 #define SCE_L_COMMAND 1
177 #define SCE_L_TAG 2
178 #define SCE_L_MATH 3
179 #define SCE_L_COMMENT 4
180
181 #endif