~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmithSTC/stedit/src/stelangs.cpp

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
///////////////////////////////////////////////////////////////////////////////
 
2
// File:        stelangs.cpp
 
3
// Purpose:     wxSTEditor Languages initialization
 
4
// Maintainer:
 
5
// Created:     2003-04-04
 
6
// Copyright:   (c) John Labenski, Otto Wyss
 
7
// Licence:     wxWidgets licence
 
8
///////////////////////////////////////////////////////////////////////////////
 
9
 
 
10
#include "precomp.h"
 
11
 
 
12
#include "wx/stedit/stelangs.h"
 
13
#include "wx/stedit/stedit.h"
 
14
 
 
15
extern wxSTEditorLangs  s_wxSTEditorLangs;
 
16
 
 
17
//----------------------------------------------------------------------------
 
18
// Updated to SciTE 1.71, 8/27/05
 
19
//
 
20
//  Code below marked with this copyright is under this license.
 
21
//  "Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>"
 
22
//
 
23
// Missing CSOUND, RUBY needs updating when using wxSTC/Scintilla 1.66
 
24
//----------------------------------------------------------------------------
 
25
 
 
26
//----------------------------------------------------------------------------
 
27
// wxSTEditorLanguage - base class for storing language information
 
28
// for the Scintilla lexers (YOU WILL PROBABLY NOT EVER NEED TO USE THESE)
 
29
//
 
30
// Implementation note:
 
31
//    All the languages are in order of the STE_LANG_XXX enum
 
32
//    They are grouped by value, this makes it harder to update a single
 
33
//      language, but easier to see at a glance what the status is of any one
 
34
//      language by comparing it to the others.
 
35
//    #defines are used to allow for STE_USE_LANG_XXX to "turn off" languages
 
36
//      and the structures won't be created.
 
37
//    Hopefully the static globals that aren't used will be stripped by the
 
38
//      compiler so just ignore the warnings
 
39
//
 
40
//    If you can think of a smaller, faster, easier way please tell me.
 
41
//----------------------------------------------------------------------------
 
42
 
 
43
const char* STE_CharsAlpha   = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
 
44
const char* STE_CharsNumeric = "0123456789";
 
45
 
 
46
//----------------------------------------------------------------------------
 
47
// keywordlists - these are const char and not wxChar since they don't need
 
48
//                to be translated and won't be multibyte
 
49
//----------------------------------------------------------------------------
 
50
 
 
51
//static const char* STE_WordList1_STE_LANG_CONTAINER
 
52
 
 
53
//static const char* STE_WordList1_STE_LANG_NULL
 
54
 
 
55
#if STE_USE_LANG_PYTHON
 
56
static const char* STE_WordList1_STE_LANG_PYTHON =
 
57
       "and assert break class continue def del elif "
 
58
       "else except exec finally for from global if import in is lambda None "
 
59
       "not or pass print raise return try while yield";
 
60
#endif //STE_USE_LANG_PYTHON
 
61
 
 
62
#if STE_USE_LANG_CPP || STE_USE_LANG_CPPNOCASE
 
63
static const char* STE_WordList1_STE_LANG_CPP =
 
64
       "and and_eq asm auto bitand bitor bool break case catch char class "
 
65
       "compl const const_cast continue default delete do double "
 
66
       "dynamic_cast else enum explicit export extern false float "
 
67
       "for friend goto if inline int long mutable namespace new not "
 
68
       "not_eq operator or or_eq private protected public register "
 
69
       "reinterpret_cast return short signed sizeof static static_cast "
 
70
       "struct switch template this throw true try typedef typeid "
 
71
       "typename union unsigned using virtual void volatile wchar_t while "
 
72
       "xor xor_eq";
 
73
static const char* STE_WordList2_STE_LANG_CPP = // user defined keywords
 
74
       "file";
 
75
static const char* STE_WordList3_STE_LANG_CPP =
 
76
       "a addindex addtogroup anchor arg attention author b brief bug c "
 
77
       "class code date def defgroup deprecated dontinclude e em endcode "
 
78
       "endhtmlonly endif endlatexonly endlink endverbatim enum example "
 
79
       "exception f$ f[ f] file fn hideinitializer htmlinclude htmlonly "
 
80
       "if image include ingroup internal invariant interface latexonly "
 
81
       "li line link mainpage name namespace nosubgrouping note overload "
 
82
       "p page par param post pre ref relates remarks return retval sa "
 
83
       "section see showinitializer since skip skipline struct subsection "
 
84
       "test throw todo typedef union until var verbatim verbinclude "
 
85
       "version warning weakgroup $ @ \\ & < > # { }";
 
86
#endif //STE_USE_LANG_CPP || STE_USE_LANG_CPPNOCASE
 
87
 
 
88
#if STE_USE_LANG_HTML
 
89
static const char* STE_WordList1_STE_LANG_HTML =
 
90
    // hypertext.elements
 
91
       "a abbr acronym address applet area b base basefont bdo big "
 
92
       "blockquote body br button caption center cite code col colgroup "
 
93
       "dd del dfn dir div dl dt em fieldset font form frame frameset h1 "
 
94
       "h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd "
 
95
       "label legend li link map menu meta noframes noscript object ol "
 
96
       "optgroup option p param pre q s samp script select small span "
 
97
       "strike strong style sub sup table tbody td textarea tfoot th "
 
98
       "thead title tr tt u ul var xml xmlns "
 
99
    // hypertext.attributes
 
100
       "abbr accept-charset accept accesskey action align alink alt "
 
101
       "archive axis background bgcolor border cellpadding cellspacing "
 
102
       "char charoff charset checked cite class classid clear codebase "
 
103
       "codetype color cols colspan compact content coords data datafld "
 
104
       "dataformatas datapagesize datasrc datetime declare defer dir "
 
105
       "disabled enctype event face for frame frameborder headers height "
 
106
       "href hreflang hspace http-equiv id ismap label lang language "
 
107
       "leftmargin link longdesc marginwidth marginheight maxlength media "
 
108
       "method multiple name nohref noresize noshade nowrap object onblur "
 
109
       "onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup "
 
110
       "onload onmousedown onmousemove onmouseover onmouseout onmouseup "
 
111
       "onreset onselect onsubmit onunload profile prompt readonly rel "
 
112
       "rev rows rowspan rules scheme scope selected shape size span src "
 
113
       "standby start style summary tabindex target text title topmargin "
 
114
       "type usemap valign value valuetype version vlink vspace width "
 
115
       "text password checkbox radio submit reset file hidden image "
 
116
    // html5.elements
 
117
    "article aside calendar canvas card command commandset datagrid datatree "
 
118
    "footer gauge header m menubar menulabel nav progress section switch tabbox "
 
119
    // html5.attributes
 
120
    "active command contenteditable ping "
 
121
    // others
 
122
    "public !doctype";
 
123
#endif //STE_USE_LANG_HTML
 
124
 
 
125
//static const char* STE_WordList1_STE_LANG_XML no keywords
 
126
 
 
127
#if STE_USE_LANG_PERL
 
128
static const char* STE_WordList1_STE_LANG_PERL = // 1.65
 
129
    "NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ AUTOLOAD "
 
130
    "BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept "
 
131
    "alarm and atan2 bind binmode bless caller chdir chmod chomp chop "
 
132
    "chown chr chroot close closedir cmp connect continue cos crypt "
 
133
    "dbmclose dbmopen defined delete die do dump each else elsif endgrent "
 
134
    "endhostent endnetent endprotoent endpwent endservent eof eq eval "
 
135
    "exec exists exit exp fcntl fileno flock for foreach fork format "
 
136
    "formline ge getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname "
 
137
    "gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername "
 
138
    "getpgrp getppid getpriority getprotobyname getprotobynumber getprotoent "
 
139
    "getpwent getpwnam getpwuid getservbyname getservbyport getservent "
 
140
    "getsockname getsockopt glob gmtime goto grep gt hex if index "
 
141
    "int ioctl join keys kill last lc lcfirst le length link listen "
 
142
    "local localtime lock log lstat lt map mkdir msgctl msgget msgrcv "
 
143
    "msgsnd my ne next no not oct open opendir or ord our pack package "
 
144
    "pipe pop pos print printf prototype push quotemeta qu "
 
145
    "rand read readdir readline readlink readpipe recv redo "
 
146
    "ref rename require reset return reverse rewinddir rindex rmdir "
 
147
    "scalar seek seekdir select semctl semget semop send setgrent "
 
148
    "sethostent setnetent setpgrp setpriority setprotoent setpwent "
 
149
    "setservent setsockopt shift shmctl shmget shmread shmwrite shutdown "
 
150
    "sin sleep socket socketpair sort splice split sprintf sqrt srand "
 
151
    "stat study sub substr symlink syscall sysopen sysread sysseek "
 
152
    "system syswrite tell telldir tie tied time times truncate "
 
153
    "uc ucfirst umask undef unless unlink unpack unshift untie until "
 
154
    "use utime values vec wait waitpid wantarray warn while write "
 
155
    "xor";
 
156
#endif //STE_USE_LANG_PERL
 
157
 
 
158
#if STE_USE_LANG_SQL
 
159
static const char* STE_WordList1_STE_LANG_SQL =
 
160
       "absolute action add admin after aggregate alias all allocate alter and any "
 
161
       "are array as asc assertion at authorization before begin binary bit blob "
 
162
       "boolean both breadth by call cascade cascaded case cast catalog char "
 
163
       "character check class clob close collate collation column commit completion "
 
164
       "connect connection constraint constraints constructor continue corresponding "
 
165
       "create cross cube current current_date current_path current_role "
 
166
       "current_time current_timestamp current_user cursor cycle data date day "
 
167
       "deallocate dec decimal declare default deferrable deferred delete depth "
 
168
       "deref desc describe descriptor destroy destructor deterministic dictionary "
 
169
       "diagnostics disconnect distinct domain double drop dynamic each else end "
 
170
       "end-exec equals escape every except exception exec execute external false "
 
171
       "fetch first float for foreign found from free full function general get "
 
172
       "global go goto grant group grouping having host hour identity if ignore "
 
173
       "immediate in indicator initialize initially inner inout input insert int "
 
174
       "integer intersect interval into is isolation iterate join key language "
 
175
       "large last lateral leading left less level like limit local localtime "
 
176
       "localtimestamp locator map match minute modifies modify module month names "
 
177
       "national natural nchar nclob new next no none not null numeric object of "
 
178
       "off old on only open operation option or order ordinality out outer output "
 
179
       "pad parameter parameters partial path postfix precision prefix preorder "
 
180
       "prepare preserve primary prior privileges procedure public read reads real "
 
181
       "recursive ref references referencing relative restrict result return returns "
 
182
       "revoke right role rollback rollup routine row rows savepoint schema scroll "
 
183
       "scope search second section select sequence session session_user set sets "
 
184
       "size smallint some| space specific specifictype sql sqlexception sqlstate "
 
185
       "sqlwarning start state statement static structure system_user table "
 
186
       "temporary terminate than then time timestamp timezone_hour timezone_minute "
 
187
       "to trailing transaction translation treat trigger true under union unique "
 
188
       "unknown unnest update usage user using value values varchar variable varying "
 
189
       "view when whenever where with without work write year zone";
 
190
#endif //STE_USE_LANG_SQL
 
191
 
 
192
#if STE_USE_LANG_VB || STE_USE_LANG_HTML
 
193
static const char* STE_WordList1_STE_LANG_VB =
 
194
       "addhandler addressof andalso alias and ansi as assembly auto "
 
195
       "boolean byref byte byval call case catch cbool cbyte cchar cdate "
 
196
       "cdec cdbl char cint class clng cobj const cshort csng cstr ctype "
 
197
       "date decimal declare default delegate dim do double each else "
 
198
       "elseif end enum erase error event exit false finally for friend "
 
199
       "function get gettype goto  handles if implements imports in "
 
200
       "inherits integer interface is let lib like long loop me mod "
 
201
       "module mustinherit mustoverride mybase myclass namespace new next "
 
202
       "not nothing notinheritable notoverridable object on option "
 
203
       "optional or orelse overloads overridable overrides paramarray "
 
204
       "preserve private property protected public raiseevent readonly "
 
205
       "redim rem removehandler resume return select set shadows shared "
 
206
       "short single static step stop string structure sub synclock then "
 
207
       "throw to true try typeof unicode until variant when while with "
 
208
       "withevents writeonly xor";
 
209
#endif //STE_USE_LANG_VB || STE_USE_LANG_HTML
 
210
 
 
211
//static const char* STE_WordList1_STE_LANG_PROPERTIES
 
212
 
 
213
//static const char* STE_WordList1_STE_LANG_ERRORLIST
 
214
 
 
215
//static const char* STE_WordList1_STE_LANG_MAKEFILE
 
216
 
 
217
#if STE_USE_LANG_BATCH
 
218
static const char* STE_WordList1_STE_LANG_BATCH =
 
219
       "rem set if exist errorlevel for in do break call chcp cd chdir "
 
220
       "choice cls country ctty date del erase dir echo exit goto loadfix "
 
221
       "loadhigh mkdir md move path pause prompt rename ren rmdir rd shift "
 
222
       "time type ver verify vol com con lpt nul "
 
223
       "color copy defined else not start";
 
224
#endif //STE_USE_LANG_BATCH
 
225
 
 
226
//static const char* STE_WordList1_STE_LANG_XCODE
 
227
 
 
228
#if STE_USE_LANG_LATEX || STE_USE_LANG_TEX
 
229
static const char* STE_WordList1_STE_LANG_LATEX =
 
230
    "above abovedisplayshortskip abovedisplayskip "
 
231
    "abovewithdelims accent adjdemerits advance afterassignment "
 
232
    "aftergroup atop atopwithdelims "
 
233
    "badness baselineskip batchmode begingroup "
 
234
    "belowdisplayshortskip belowdisplayskip binoppenalty botmark "
 
235
    "box boxmaxdepth brokenpenalty "
 
236
    "catcode char chardef cleaders closein closeout clubpenalty "
 
237
    "copy count countdef cr crcr csname "
 
238
    "day deadcycles def defaulthyphenchar defaultskewchar "
 
239
    "delcode delimiter delimiterfactor delimeters "
 
240
    "delimitershortfall delimeters dimen dimendef discretionary "
 
241
    "displayindent displaylimits displaystyle "
 
242
    "displaywidowpenalty displaywidth divide "
 
243
    "doublehyphendemerits dp dump "
 
244
    "edef else emergencystretch end endcsname endgroup endinput "
 
245
    "endlinechar eqno errhelp errmessage errorcontextlines "
 
246
    "errorstopmode escapechar everycr everydisplay everyhbox "
 
247
    "everyjob everymath everypar everyvbox exhyphenpenalty "
 
248
    "expandafter "
 
249
    "fam fi finalhyphendemerits firstmark floatingpenalty font "
 
250
    "fontdimen fontname futurelet "
 
251
    "gdef global group globaldefs "
 
252
    "halign hangafter hangindent hbadness hbox hfil horizontal "
 
253
    "hfill horizontal hfilneg hfuzz hoffset holdinginserts hrule "
 
254
    "hsize hskip hss horizontal ht hyphenation hyphenchar "
 
255
    "hyphenpenalty hyphen "
 
256
    "if ifcase ifcat ifdim ifeof iffalse ifhbox ifhmode ifinner "
 
257
    "ifmmode ifnum ifodd iftrue ifvbox ifvmode ifvoid ifx "
 
258
    "ignorespaces immediate indent input inputlineno input "
 
259
    "insert insertpenalties interlinepenalty "
 
260
    "jobname "
 
261
    "kern "
 
262
    "language lastbox lastkern lastpenalty lastskip lccode "
 
263
    "leaders left lefthyphenmin leftskip leqno let limits "
 
264
    "linepenalty line lineskip lineskiplimit long looseness "
 
265
    "lower lowercase "
 
266
    "mag mark mathaccent mathbin mathchar mathchardef mathchoice "
 
267
    "mathclose mathcode mathinner mathop mathopen mathord "
 
268
    "mathpunct mathrel mathsurround maxdeadcycles maxdepth "
 
269
    "meaning medmuskip message mkern month moveleft moveright "
 
270
    "mskip multiply muskip muskipdef "
 
271
    "newlinechar noalign noboundary noexpand noindent nolimits "
 
272
    "nonscript scriptscript nonstopmode nulldelimiterspace "
 
273
    "nullfont number "
 
274
    "omit openin openout or outer output outputpenalty over "
 
275
    "overfullrule overline overwithdelims "
 
276
    "pagedepth pagefilllstretch pagefillstretch pagefilstretch "
 
277
    "pagegoal pageshrink pagestretch pagetotal par parfillskip "
 
278
    "parindent parshape parskip patterns pausing penalty "
 
279
    "postdisplaypenalty predisplaypenalty predisplaysize "
 
280
    "pretolerance prevdepth prevgraf "
 
281
    "radical raise read relax relpenalty right righthyphenmin "
 
282
    "rightskip romannumeral "
 
283
    "scriptfont scriptscriptfont scriptscriptstyle scriptspace "
 
284
    "scriptstyle scrollmode setbox setlanguage sfcode shipout "
 
285
    "show showbox showboxbreadth showboxdepth showlists showthe "
 
286
    "skewchar skip skipdef spacefactor spaceskip span special "
 
287
    "splitbotmark splitfirstmark splitmaxdepth splittopskip "
 
288
    "string "
 
289
    "tabskip textfont textstyle the thickmuskip thinmuskip time "
 
290
    "toks toksdef tolerance topmark topskip tracingcommands "
 
291
    "tracinglostchars tracingmacros tracingonline tracingoutput "
 
292
    "tracingpages tracingparagraphs tracingrestores tracingstats "
 
293
    "uccode uchyph underline unhbox unhcopy unkern unpenalty "
 
294
    "unskip unvbox unvcopy uppercase "
 
295
    "vadjust valign vbadness vbox vcenter vfil vfill vfilneg "
 
296
    "vfuzz voffset vrule vsize vskip vsplit vss vtop "
 
297
    "wd widowpenalty write "
 
298
    "xdef xleaders xspaceskip "
 
299
    "year "
 
300
    // these are for etex
 
301
    "beginL beginR botmarks "
 
302
    "clubpenalties currentgrouplevel currentgrouptype "
 
303
    "currentifbranch currentiflevel currentiftype "
 
304
    "detokenize dimexpr displaywidowpenalties "
 
305
    "endL endR eTeXrevision eTeXversion everyeof "
 
306
    "firstmarks fontchardp fontcharht fontcharic fontcharwd "
 
307
    "glueexpr glueshrink glueshrinkorder gluestretch "
 
308
    "gluestretchorder gluetomu "
 
309
    "ifcsname ifdefined iffontchar interactionmode "
 
310
    "interactionmode interlinepenalties "
 
311
    "lastlinefit lastnodetype "
 
312
    "marks topmarks middle muexpr mutoglue "
 
313
    "numexpr "
 
314
    "pagediscards parshapedimen parshapeindent parshapelength "
 
315
    "predisplaydirection "
 
316
    "savinghyphcodes savingvdiscards scantokens showgroups "
 
317
    "showifs showtokens splitdiscards splitfirstmarks "
 
318
    "TeXXeTstate tracingassigns tracinggroups tracingifs "
 
319
    "tracingnesting tracingscantokens "
 
320
    "unexpanded unless "
 
321
    "widowpenalties "
 
322
    // these are for pdftex
 
323
    "pdfadjustspacing pdfannot pdfavoidoverfull "
 
324
    "pdfcatalog pdfcompresslevel "
 
325
    "pdfdecimaldigits pdfdest pdfdestmargin "
 
326
    "pdfendlink pdfendthread "
 
327
    "pdffontattr pdffontexpand pdffontname pdffontobjnum pdffontsize "
 
328
    "pdfhorigin "
 
329
    "pdfimageresolution pdfincludechars pdfinfo "
 
330
    "pdflastannot pdflastdemerits pdflastobj "
 
331
    "pdflastvbreakpenalty pdflastxform pdflastximage "
 
332
    "pdflastximagepages pdflastxpos pdflastypos "
 
333
    "pdflinesnapx pdflinesnapy pdflinkmargin pdfliteral "
 
334
    "pdfmapfile pdfmaxpenalty pdfminpenalty pdfmovechars "
 
335
    "pdfnames "
 
336
    "pdfobj pdfoptionpdfminorversion pdfoutline pdfoutput "
 
337
    "pdfpageattr pdfpageheight pdfpageresources pdfpagesattr "
 
338
    "pdfpagewidth pdfpkresolution pdfprotrudechars "
 
339
    "pdfrefobj pdfrefxform pdfrefximage "
 
340
    "pdfsavepos pdfsnaprefpoint pdfsnapx pdfsnapy pdfstartlink "
 
341
    "pdfstartthread "
 
342
    "pdftexrevision pdftexversion pdfthread pdfthreadmargin "
 
343
    "pdfuniqueresname "
 
344
    "pdfvorigin "
 
345
    "pdfxform pdfximage "
 
346
    // keywordclass.macros.plain.partial
 
347
    "TeX "
 
348
    "bgroup egroup endgraf space empty null "
 
349
    "newcount newdimen newskip newmuskip newbox newtoks newhelp newread newwrite newfam newlanguage newinsert newif "
 
350
    "maxdimen magstephalf magstep "
 
351
    "frenchspacing nonfrenchspacing normalbaselines obeylines obeyspaces raggedright ttraggedright "
 
352
    "thinspace negthinspace enspace enskip quad qquad "
 
353
    "smallskip medskip bigskip removelastskip topglue vglue hglue "
 
354
    "break nobreak allowbreak filbreak goodbreak smallbreak medbreak bigbreak "
 
355
    "line leftline rightline centerline rlap llap underbar strutbox strut "
 
356
    "cases matrix pmatrix bordermatrix eqalign displaylines eqalignno leqalignno "
 
357
    "pageno folio tracingall showhyphens fmtname fmtversion "
 
358
    "hphantom vphantom phantom smash "
 
359
    // keywordclass.macros.eplain.partial
 
360
    "eTeX "
 
361
    "newmarks grouptype interactionmode nodetype iftype "
 
362
    "tracingall loggingall tracingnone";
 
363
#endif //STE_USE_LANG_LATEX || STE_USE_LANG_TEX
 
364
 
 
365
#if STE_USE_LANG_LUA
 
366
static const char* STE_WordList1_STE_LANG_LUA =
 
367
       "and break do else elseif end false for function if "
 
368
       "in local nil not or repeat return then true until while";
 
369
static const char* STE_WordList2_STE_LANG_LUA =
 
370
       "_VERSION assert collectgarbage dofile error gcinfo loadfile loadstring "
 
371
       "print tonumber tostring type unpack "
 
372
       "_G getfenv getmetatable ipairs loadlib next pairs pcall rawequal rawget "
 
373
       "rawset require setfenv setmetatable xpcall string table math coroutine "
 
374
       "io os debug";
 
375
static const char* STE_WordList3_STE_LANG_LUA =
 
376
       "string.byte string.char string.dump string.find string.len "
 
377
       "string.lower string.rep string.sub string.upper string.format "
 
378
       "string.gfind string.gsub table.concat table.foreach table.foreachi "
 
379
       "table.getn table.sort table.insert table.remove table.setn math.abs "
 
380
       "math.acos math.asin math.atan math.atan2 math.ceil math.cos math.deg "
 
381
       "math.exp math.floor math.frexp math.ldexp math.log math.log10 math.max "
 
382
       "math.min math.mod math.pi math.pow math.rad math.random math.randomseed "
 
383
       "math.sin math.sqrt math.tan";
 
384
static const char* STE_WordList4_STE_LANG_LUA =
 
385
       "coroutine.create coroutine.resume coroutine.status coroutine.wrap "
 
386
       "coroutine.yield io.close io.flush io.input io.lines io.open io.output "
 
387
       "io.read io.tmpfile io.type io.write io.stdin io.stdout io.stderr "
 
388
       "os.clock os.date os.difftime os.execute os.exit os.getenv os.remove "
 
389
       "os.rename os.setlocale os.time os.tmpname "
 
390
       "coroutine.running package.cpath package.loaded package.loadlib package.path "
 
391
       "package.preload package.seeall io.popen";
 
392
 
 
393
// lua 4
 
394
//       "_ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT _STDERR _STDIN _STDOUT "
 
395
//       "call dostring foreach foreachi getn globals newtype rawget rawset "
 
396
//       "require sort tinsert tremove")
 
397
// old lua 4
 
398
//       "ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT _STDERR _STDIN _STDOUT "
 
399
//       "_VERSION assert call collectgarbage dofile dostring error foreach "
 
400
//       "foreachi gcinfo getn globals loadfile loadstring newtype print "
 
401
//       "rawget rawset require sort tonumber tostring tinsert tremove type "
 
402
//       "unpack";
 
403
// lua 4
 
404
//       "abs acos asin atan atan2 ceil cos deg exp floor format frexp gsub "
 
405
//       "ldexp log log10 max min mod rad random randomseed sin sqrt strbyte "
 
406
//       "strchar strfind strlen strlower strrep strsub strupper tan";
 
407
// lua 4
 
408
//       "openfile closefile readfrom writeto appendto remove rename flush seek "
 
409
//       "tmpfile tmpname read write clock date difftime execute exit getenv "
 
410
//       "setlocale time";
 
411
#endif //STE_USE_LANG_LUA
 
412
 
 
413
//static const char* STE_WordList1_STE_LANG_DIFF
 
414
 
 
415
#if STE_USE_LANG_CONF
 
416
static const char* STE_WordList1_STE_LANG_CONF =  // actually Apache
 
417
    "acceptmutex acceptpathinfo accessconfig accessfilename "
 
418
    "action addalt addaltbyencoding addaltbytype addcharset "
 
419
    "adddefaultcharset adddescription addencoding "
 
420
    "addhandler addicon addiconbyencoding addiconbytype "
 
421
    "addinputfilter addlanguage addmodule addmoduleinfo "
 
422
    "addoutputfilter addoutputfilterbytype addtype agentlog "
 
423
    "alias aliasmatch all allow allowconnect "
 
424
    "allowencodedslashes allowoverride anonymous "
 
425
    "anonymous_authoritative anonymous_logemail "
 
426
    "anonymous_mustgiveemail anonymous_nouserid "
 
427
    "anonymous_verifyemail assignuserid authauthoritative "
 
428
    "authdbauthoritative authdbgroupfile "
 
429
    "authdbmauthoritative authdbmgroupfile authdbmtype "
 
430
    "authdbmuserfile authdbuserfile authdigestalgorithm "
 
431
    "authdigestdomain authdigestfile authdigestgroupfile "
 
432
    "authdigestnccheck authdigestnonceformat "
 
433
    "authdigestnoncelifetime authdigestqop "
 
434
    "authdigestshmemsize authgroupfile "
 
435
    "authldapauthoritative authldapbinddn "
 
436
    "authldapbindpassword authldapcharsetconfig "
 
437
    "authldapcomparednonserver authldapdereferencealiases "
 
438
    "authldapenabled authldapfrontpagehack "
 
439
    "authldapgroupattribute authldapgroupattributeisdn "
 
440
    "authldapremoteuserisdn authldapurl authname authtype "
 
441
    "authuserfile bindaddress browsermatch "
 
442
    "browsermatchnocase bs2000account bufferedlogs "
 
443
    "cachedefaultexpire cachedirlength cachedirlevels "
 
444
    "cachedisable cacheenable cacheexpirycheck cachefile "
 
445
    "cacheforcecompletion cachegcclean cachegcdaily "
 
446
    "cachegcinterval cachegcmemusage cachegcunused "
 
447
    "cacheignorecachecontrol cacheignoreheaders "
 
448
    "cacheignorenolastmod cachelastmodifiedfactor "
 
449
    "cachemaxexpire cachemaxfilesize cacheminfilesize "
 
450
    "cachenegotiateddocs cacheroot cachesize "
 
451
    "cachetimemargin cgimapextension charsetdefault "
 
452
    "charsetoptions charsetsourceenc checkspelling "
 
453
    "childperuserid clearmodulelist contentdigest "
 
454
    "cookiedomain cookieexpires cookielog cookiename "
 
455
    "cookiestyle cookietracking coredumpdirectory customlog "
 
456
    "dav davdepthinfinity davlockdb davmintimeout "
 
457
    "defaulticon defaultlanguage defaulttype define "
 
458
    "deflatebuffersize deflatecompressionlevel "
 
459
    "deflatefilternote deflatememlevel deflatewindowsize "
 
460
    "deny directory directoryindex directorymatch "
 
461
    "directoryslash documentroot dumpioinput dumpiooutput "
 
462
    "enableexceptionhook enablemmap enablesendfile "
 
463
    "errordocument errorlog example expiresactive "
 
464
    "expiresbytype expiresdefault extendedstatus "
 
465
    "extfilterdefine extfilteroptions fancyindexing "
 
466
    "fileetag files filesmatch forcelanguagepriority "
 
467
    "forcetype forensiclog from group header headername "
 
468
    "hostnamelookups identitycheck ifdefine ifmodule "
 
469
    "imapbase imapdefault imapmenu include indexignore "
 
470
    "indexoptions indexorderdefault isapiappendlogtoerrors "
 
471
    "isapiappendlogtoquery isapicachefile isapifakeasync "
 
472
    "isapilognotsupported isapireadaheadbuffer keepalive "
 
473
    "keepalivetimeout languagepriority ldapcacheentries "
 
474
    "ldapcachettl ldapconnectiontimeout ldapopcacheentries "
 
475
    "ldapopcachettl ldapsharedcachefile ldapsharedcachesize "
 
476
    "ldaptrustedca ldaptrustedcatype limit limitexcept "
 
477
    "limitinternalrecursion limitrequestbody "
 
478
    "limitrequestfields limitrequestfieldsize "
 
479
    "limitrequestline limitxmlrequestbody listen "
 
480
    "listenbacklog loadfile loadmodule location "
 
481
    "locationmatch lockfile logformat loglevel maxclients "
 
482
    "maxkeepaliverequests maxmemfree maxrequestsperchild "
 
483
    "maxrequestsperthread maxspareservers maxsparethreads "
 
484
    "maxthreads maxthreadsperchild mcachemaxobjectcount "
 
485
    "mcachemaxobjectsize mcachemaxstreamingbuffer "
 
486
    "mcacheminobjectsize mcacheremovalalgorithm mcachesize "
 
487
    "metadir metafiles metasuffix mimemagicfile "
 
488
    "minspareservers minsparethreads mmapfile "
 
489
    "modmimeusepathinfo multiviewsmatch namevirtualhost "
 
490
    "nocache noproxy numservers nwssltrustedcerts "
 
491
    "nwsslupgradeable options order passenv pidfile port "
 
492
    "protocolecho proxy proxybadheader proxyblock "
 
493
    "proxydomain proxyerroroverride proxyiobuffersize "
 
494
    "proxymatch proxymaxforwards proxypass proxypassreverse "
 
495
    "proxypreservehost proxyreceivebuffersize proxyremote "
 
496
    "proxyremotematch proxyrequests proxytimeout proxyvia "
 
497
    "qsc readmename redirect redirectmatch "
 
498
    "redirectpermanent redirecttemp refererignore "
 
499
    "refererlog removecharset removeencoding removehandler "
 
500
    "removeinputfilter removelanguage removeoutputfilter "
 
501
    "removetype requestheader require resourceconfig "
 
502
    "rewritebase rewritecond rewriteengine rewritelock "
 
503
    "rewritelog rewriteloglevel rewritemap rewriteoptions "
 
504
    "rewriterule rlimitcpu rlimitmem rlimitnproc satisfy "
 
505
    "scoreboardfile script scriptalias scriptaliasmatch "
 
506
    "scriptinterpretersource scriptlog scriptlogbuffer "
 
507
    "scriptloglength scriptsock securelisten sendbuffersize "
 
508
    "serveradmin serveralias serverlimit servername "
 
509
    "serverpath serverroot serversignature servertokens "
 
510
    "servertype setenv setenvif setenvifnocase sethandler "
 
511
    "setinputfilter setoutputfilter singlelisten ssiendtag "
 
512
    "ssierrormsg ssistarttag ssitimeformat ssiundefinedecho "
 
513
    "sslcacertificatefile sslcacertificatepath "
 
514
    "sslcarevocationfile sslcarevocationpath "
 
515
    "sslcertificatechainfile sslcertificatefile "
 
516
    "sslcertificatekeyfile sslciphersuite sslengine "
 
517
    "sslmutex ssloptions sslpassphrasedialog sslprotocol "
 
518
    "sslproxycacertificatefile sslproxycacertificatepath "
 
519
    "sslproxycarevocationfile sslproxycarevocationpath "
 
520
    "sslproxyciphersuite sslproxyengine "
 
521
    "sslproxymachinecertificatefile "
 
522
    "sslproxymachinecertificatepath sslproxyprotocol "
 
523
    "sslproxyverify sslproxyverifydepth sslrandomseed "
 
524
    "sslrequire sslrequiressl sslsessioncache "
 
525
    "sslsessioncachetimeout sslusername sslverifyclient "
 
526
    "sslverifydepth startservers startthreads "
 
527
    "suexecusergroup threadlimit threadsperchild "
 
528
    "threadstacksize timeout transferlog typesconfig "
 
529
    "unsetenv usecanonicalname user userdir "
 
530
    "virtualdocumentroot virtualdocumentrootip virtualhost "
 
531
    "virtualscriptalias virtualscriptaliasip "
 
532
    "win32disableacceptex xbithack";
 
533
static const char* STE_WordList2_STE_LANG_CONF =
 
534
       "on off standalone inetd force-response-1.0 downgrade-1.0 "
 
535
       "nokeepalive indexes includes followsymlinks none "
 
536
       "x-compress x-gzip";
 
537
#endif //STE_USE_LANG_CONF
 
538
 
 
539
#if STE_USE_LANG_PASCAL
 
540
static const char* STE_WordList1_STE_LANG_PASCAL =
 
541
       "program const type var begin end array set packed record string "
 
542
       "if then else while for to downto do with repeat until case of "
 
543
       "goto exit label procedure function nil file and or not xor div "
 
544
       "mod unit uses implementation interface external asm inline object "
 
545
       "constructor destructor virtual far assembler near inherited "
 
546
       "stdcall cdecl library export exports end. class ansistring raise "
 
547
       "try except on index name finally resourcestring false true "
 
548
       "initialization finalization override overload";
 
549
#endif //STE_USE_LANG_PASCAL
 
550
 
 
551
#if STE_USE_LANG_AVE
 
552
static const char* STE_WordList1_STE_LANG_AVE =
 
553
       "nil true false else for if while then elseif end av self in exit";
 
554
#endif //STE_USE_LANG_AVE
 
555
 
 
556
#if STE_USE_LANG_ADA
 
557
static const char* STE_WordList1_STE_LANG_ADA =
 
558
       "abort abstract accept access aliased all array at begin body case "
 
559
       "constant declare delay delta digits do else elsif end entry "
 
560
       "exception exit for function generic goto if in is limited loop "
 
561
       "new null of others out package pragma private procedure protected "
 
562
       "raise range record renames requeue return reverse select separate "
 
563
       "subtype tagged task terminate then type until use when while with "
 
564
       "abs and mod not or rem xor";
 
565
#endif //STE_USE_LANG_ADA
 
566
 
 
567
#if STE_USE_LANG_LISP
 
568
static const char* STE_WordList1_STE_LANG_LISP =
 
569
       "not defun + - * / = < > <= >= princ eval apply funcall quote "
 
570
       "identity function complement backquote lambda set setq setf defun "
 
571
       "defmacro gensym make symbol intern symbol name symbol value "
 
572
       "symbol plist get getf putprop remprop hash make array aref car "
 
573
       "cdr caar cadr cdar cddr caaar caadr cadar caddr cdaar cdadr cddar "
 
574
       "cdddr caaaar caaadr caadar caaddr cadaar cadadr caddar cadddr "
 
575
       "cdaaar cdaadr cdadar cdaddr cddaar cddadr cdddar cddddr cons list "
 
576
       "append reverse last nth nthcdr member assoc subst sublis nsubst "
 
577
       "nsublis remove length list length mapc mapcar mapl maplist mapcan "
 
578
       "mapcon rplaca rplacd nconc delete atom symbolp numberp boundp "
 
579
       "null listp consp minusp zerop plusp evenp oddp eq eql equal cond "
 
580
       "case and or let l if prog prog1 prog2 progn go return do dolist "
 
581
       "dotimes catch throw error cerror break continue errset baktrace "
 
582
       "evalhook truncate float rem min max abs sin cos tan expt exp sqrt "
 
583
       "random logand logior logxor lognot bignums logeqv lognand lognor "
 
584
       "logorc2 logtest logbitp logcount integer length nil";
 
585
#endif //STE_USE_LANG_LISP
 
586
 
 
587
#if STE_USE_LANG_RUBY
 
588
static const char* STE_WordList1_STE_LANG_RUBY =
 
589
       "__FILE__ and def end in or self unless __LINE__ begin defined? "
 
590
       "ensure module redo super until BEGIN break do false next rescue "
 
591
       "then when END case else for nil retry true while alias class "
 
592
       "elsif if not return undef yield";
 
593
#endif //STE_USE_LANG_RUBY
 
594
 
 
595
#if STE_USE_LANG_EIFFEL || STE_USE_LANG_EIFFELKW
 
596
static const char* STE_WordList1_STE_LANG_EIFFEL =
 
597
       "alias all and any as bit boolean check class character clone "
 
598
       "create creation current debug deferred div do double else elseif "
 
599
       "end ensure equal expanded export external false feature forget "
 
600
       "from frozen general if implies indexing infix inherit inspect "
 
601
       "integer invariant is language like local loop mod name nochange "
 
602
       "none not obsolete old once or platform pointer prefix precursor "
 
603
       "real redefine rename require rescue result retry select separate "
 
604
       "string strip then true undefine unique until variant void when "
 
605
       "xor";
 
606
 
 
607
//static const char* STE_WordList1_STE_LANG_EIFFELKW uses EIFFEL
 
608
#endif //STE_USE_LANG_EIFFEL || STE_USE_LANG_EIFFELKW
 
609
 
 
610
#if STE_USE_LANG_TCL
 
611
static const char* STE_WordList1_STE_LANG_TCL =
 
612
       // keywordclass.tcl
 
613
       "after append array auto_execok "
 
614
       "auto_import auto_load auto_load_index auto_qualify "
 
615
       "beep bgerror binary break case catch cd clock "
 
616
       "close concat continue dde default echo else elseif "
 
617
       "encoding eof error eval exec exit expr fblocked "
 
618
       "fconfigure fcopy file fileevent flush for foreach format "
 
619
       "gets glob global history http if incr info "
 
620
       "interp join lappend lindex linsert list llength load "
 
621
       "loadTk lrange lreplace lsearch lset lsort memory msgcat "
 
622
       "namespace open package pid pkg::create pkg_mkIndex Platform-specific proc "
 
623
       "puts pwd re_syntax read regexp registry regsub rename "
 
624
       "resource return scan seek set socket source split "
 
625
       "string subst switch tclLog tclMacPkgSearch tclPkgSetup tclPkgUnknown tell "
 
626
       "time trace unknown unset update uplevel upvar variable "
 
627
       "vwait while "
 
628
       // keywordclass.tk
 
629
       "bell bind bindtags bitmap button canvas checkbutton clipboard "
 
630
       "colors console cursors destroy entry event focus font "
 
631
       "frame grab grid image Inter-client keysyms label labelframe "
 
632
       "listbox lower menu menubutton message option options pack "
 
633
       "panedwindow photo place radiobutton raise scale scrollbar selection "
 
634
       "send spinbox text tk tk_chooseColor tk_chooseDirectory tk_dialog tk_focusNext "
 
635
       "tk_getOpenFile tk_messageBox tk_optionMenu tk_popup tk_setPalette tkerror tkvars tkwait "
 
636
       "toplevel winfo wish wm "
 
637
       // keywordclass.itcl
 
638
       //"@scope body class code common component configbody "
 
639
       //"constructor define destructor hull import inherit itcl itk itk_component "
 
640
       //"itk_initialize itk_interior itk_option iwidgets keep method "
 
641
       //"private protected public "
 
642
       // keywordclass.TkCommands
 
643
        "tk_bisque tk_chooseColor tk_dialog tk_focusFollowsMouse tk_focusNext "
 
644
        "tk_focusPrev tk_getOpenFile tk_getSaveFile tk_messageBox tk_optionMenu "
 
645
        "tk_popup tk_setPalette tk_textCopy tk_textCut tk_textPaste "
 
646
        "tkButtonAutoInvoke tkButtonDown tkButtonEnter tkButtonInvoke tkButtonLeave "
 
647
        "tkButtonUp tkCancelRepeat tkCheckRadioDown tkCheckRadioEnter tkCheckRadioInvoke "
 
648
        "tkColorDialog tkColorDialog_BuildDialog tkColorDialog_CancelCmd tkColorDialog_Config tkColorDialog_CreateSelector "
 
649
        "tkColorDialog_DrawColorScale tkColorDialog_EnterColorBar tkColorDialog_HandleRGBEntry tkColorDialog_HandleSelEntry tkColorDialog_InitValues "
 
650
        "tkColorDialog_LeaveColorBar tkColorDialog_MoveSelector tkColorDialog_OkCmd tkColorDialog_RedrawColorBars tkColorDialog_RedrawFinalColor "
 
651
        "tkColorDialog_ReleaseMouse tkColorDialog_ResizeColorBars tkColorDialog_RgbToX tkColorDialog_SetRGBValue tkColorDialog_StartMove "
 
652
        "tkColorDialog_XToRgb tkConsoleAbout tkConsoleBind tkConsoleExit tkConsoleHistory "
 
653
        "tkConsoleInit tkConsoleInsert tkConsoleInvoke tkConsoleOutput tkConsolePrompt "
 
654
        "tkConsoleSource tkDarken tkEntryAutoScan tkEntryBackspace tkEntryButton1 "
 
655
        "tkEntryClosestGap tkEntryGetSelection tkEntryInsert tkEntryKeySelect tkEntryMouseSelect "
 
656
        "tkEntryNextWord tkEntryPaste tkEntryPreviousWord tkEntrySeeInsert tkEntrySetCursor "
 
657
        "tkEntryTranspose tkEventMotifBindings tkFDGetFileTypes tkFirstMenu tkFocusGroup_BindIn "
 
658
        "tkFocusGroup_BindOut tkFocusGroup_Create tkFocusGroup_Destroy tkFocusGroup_In tkFocusGroup_Out "
 
659
        "tkFocusOK tkGenerateMenuSelect tkIconList tkIconList_Add tkIconList_Arrange "
 
660
        "tkIconList_AutoScan tkIconList_Btn1 tkIconList_Config tkIconList_Create tkIconList_CtrlBtn1 "
 
661
        "tkIconList_Curselection tkIconList_DeleteAll tkIconList_Double1 tkIconList_DrawSelection tkIconList_FocusIn "
 
662
        "tkIconList_FocusOut tkIconList_Get tkIconList_Goto tkIconList_Index tkIconList_Invoke "
 
663
        "tkIconList_KeyPress tkIconList_Leave1 tkIconList_LeftRight tkIconList_Motion1 tkIconList_Reset "
 
664
        "tkIconList_ReturnKey tkIconList_See tkIconList_Select tkIconList_Selection tkIconList_ShiftBtn1 "
 
665
        "tkIconList_UpDown tkListbox tkListboxAutoScan tkListboxBeginExtend tkListboxBeginSelect "
 
666
        "tkListboxBeginToggle tkListboxCancel tkListboxDataExtend tkListboxExtendUpDown tkListboxKeyAccel_Goto "
 
667
        "tkListboxKeyAccel_Key tkListboxKeyAccel_Reset tkListboxKeyAccel_Set tkListboxKeyAccel_Unset tkListboxMotion "
 
668
        "tkListboxSelectAll tkListboxUpDown tkMbButtonUp tkMbEnter tkMbLeave "
 
669
        "tkMbMotion tkMbPost tkMenuButtonDown tkMenuDownArrow tkMenuDup "
 
670
        "tkMenuEscape tkMenuFind tkMenuFindName tkMenuFirstEntry tkMenuInvoke "
 
671
        "tkMenuLeave tkMenuLeftArrow tkMenuMotion tkMenuNextEntry tkMenuNextMenu "
 
672
        "tkMenuRightArrow tkMenuUnpost tkMenuUpArrow tkMessageBox tkMotifFDialog "
 
673
        "tkMotifFDialog_ActivateDList tkMotifFDialog_ActivateFEnt tkMotifFDialog_ActivateFList tkMotifFDialog_ActivateSEnt tkMotifFDialog_BrowseDList "
 
674
        "tkMotifFDialog_BrowseFList tkMotifFDialog_BuildUI tkMotifFDialog_CancelCmd tkMotifFDialog_Config tkMotifFDialog_Create "
 
675
        "tkMotifFDialog_FileTypes tkMotifFDialog_FilterCmd tkMotifFDialog_InterpFilter tkMotifFDialog_LoadFiles tkMotifFDialog_MakeSList "
 
676
        "tkMotifFDialog_OkCmd tkMotifFDialog_SetFilter tkMotifFDialog_SetListMode tkMotifFDialog_Update tkPostOverPoint "
 
677
        "tkRecolorTree tkRestoreOldGrab tkSaveGrabInfo tkScaleActivate tkScaleButton2Down "
 
678
        "tkScaleButtonDown tkScaleControlPress tkScaleDrag tkScaleEndDrag tkScaleIncrement "
 
679
        "tkScreenChanged tkScrollButton2Down tkScrollButtonDown tkScrollButtonDrag tkScrollButtonUp "
 
680
        "tkScrollByPages tkScrollByUnits tkScrollDrag tkScrollEndDrag tkScrollSelect "
 
681
        "tkScrollStartDrag tkScrollTopBottom tkScrollToPos tkTabToWindow tkTearOffMenu "
 
682
        "tkTextAutoScan tkTextButton1 tkTextClosestGap tkTextInsert tkTextKeyExtend "
 
683
        "tkTextKeySelect tkTextNextPara tkTextNextPos tkTextNextWord tkTextPaste "
 
684
        "tkTextPrevPara tkTextPrevPos tkTextPrevWord tkTextResetAnchor tkTextScrollPages "
 
685
        "tkTextSelectTo tkTextSetCursor tkTextTranspose tkTextUpDownLine tkTraverseToMenu "
 
686
        "tkTraverseWithinMenu";
 
687
#endif //STE_USE_LANG_TCL
 
688
 
 
689
#if STE_USE_LANG_NNCRONTAB
 
690
static const char* STE_WordList1_STE_LANG_NNCRONTAB =
 
691
       "AGAIN ALLOT AND Action BEGIN CASE COMPARE CONSTANT CREATE DO Days "
 
692
       "ELSE ENDCASE ENDOF EVAL-SUBST EVALUATE FALSE Hours I IF LEAVE "
 
693
       "LOOP Minutes Months NOT OF OFF ON OR PAD REPEAT Rule SET THEN "
 
694
       "TRUE Time UNTIL VALUE VARIABLE WHILE WeekDays Years";
 
695
static const char* STE_WordList2_STE_LANG_NNCRONTAB =
 
696
       "</JScript> </SCRIPT> </VBScript> <JScript> <VBScript> ACCESS-DATE "
 
697
       "BEEP CALL_DIAL CALL_HANGUP CHAR CLIPBOARD CONSOLE CREATION-DATE "
 
698
       "CUR-DATE DATE- DATE-INTERVAL DELAY DIAL DIR-CREATE DIR-DELETE "
 
699
       "DIR-EMPTY DIR-SIZE Day@ Domain ERR-MSG EXIST FILE-ACCESS-DATE "
 
700
       "FILE-APPEND FILE-COPY FILE-CREATE FILE-CREATION-DATE FILE-CROP "
 
701
       "FILE-DATE FILE-DELETE FILE-EMPTY FILE-EXIST FILE-MOVE FILE-RENAME "
 
702
       "FILE-SIZE FILE-WRITE FILE-WRITE-DATE FOR-CHILD-WINDOWS FOR-FILES "
 
703
       "FOR-WINDOWS FREE-SPACE GET-CUR-TIME GET-REG GET-VER GetTickCount "
 
704
       "HANGUP HIDE-ICON HINT HINT-OFF HINT-POS HINT-SIZE HINTW "
 
705
       "HOST-EXIST Hour@ IDLE INTERVAL IS-ARCHIVE IS-DIR IS-HIDDEN "
 
706
       "IS-READONLY IS-SYSTEM KILL LAUNCH LOG LOGGEDON LOGOFF LogonBatch "
 
707
       "LogonInteractive LogonNetwork MOUSE-LBCLK MOUSE-LBDCLK MOUSE-LBDN "
 
708
       "MOUSE-LBUP MOUSE-MOVE MOUSE-MOVER MOUSE-MOVEW MOUSE-RBCLK "
 
709
       "MOUSE-RBDCLK MOUSE-RBDN MOUSE-RBUP MSG Min@ Mon@ "
 
710
       "MonitorResponseTime NHOST-EXIST No ONLINE PAUSE PLAY-SOUND "
 
711
       "PLAY-SOUNDW POP3-CHECK POWEROFF PROC-EXIST PROC-TIME PURGE-OLD "
 
712
       "PURGE-OLDA PURGE-OLDW Password QSTART-APP QSTART-APPW QUERY QUIT "
 
713
       "RASDomain RASError RASPassword RASPhone RASSecPassword RASUser "
 
714
       "RE-ALL RE-MATCH REBOOT REG-DELETE-KEY REG-DELETE-VALUE REG-DWORD "
 
715
       "REG-SZ REMINDER RUN SEND-KEYS SEND-KEYS-DELAY SHOW-ICON SHUTDOWN "
 
716
       "START-APP START-APPW START-QUIT START-TIME Sec@ SecPassword THINT "
 
717
       "THINTW TimeSec@ TMSG TQUERY User WDay@ WIN-ACTIVATE WIN-ACTIVE "
 
718
       "WIN-CLICK WIN-CLOSE WIN-EXIST WIN-HIDE WIN-HWND WIN-MAXIMIZE "
 
719
       "WIN-MINIMIZE WIN-MOVE WIN-MOVER WIN-RESTORE WIN-SEND-KEYS "
 
720
       "WIN-SHOW WIN-TERMINATE WIN-TOPMOST WIN-VER WIN-WAIT WINAPI "
 
721
       "WRITE-DATE WatchClipboard WatchConnect WatchDir WatchDisconnect "
 
722
       "WatchDriveInsert WatchDriveRemove WatchFile WatchProc "
 
723
       "WatchProcStop WatchWinActivate WatchWinCreate WatchWinDestroy "
 
724
       "WatchWindow WinNT Year@ Yes";
 
725
static const char* STE_WordList3_STE_LANG_NNCRONTAB =
 
726
       "ALL AboveNormalPriority AsService BelowNormalPriority FILESONLY "
 
727
       "HighPriority IdlePriority LoadProfile NoActive NoDel NoLog "
 
728
       "NoRunAs NormalPriority OnceADay OnceAHour OnceAMonth OnceAWeek "
 
729
       "RECURSIVE RealtimePriority RunOnce SWHide ShowMaximized "
 
730
       "ShowMinimized ShowNoActivate ShowNormal StartIn StartPos "
 
731
       "StartSize TODEPTH WATCH-CHANGE-ATTRIBUTES WATCH-CHANGE-DIR-NAME "
 
732
       "WATCH-CHANGE-FILE-NAME WATCH-CHANGE-LAST-WRITE "
 
733
       "WATCH-CHANGE-SECURITY WATCH-CHANGE-SIZE WaitFor WatchSubtree "
 
734
       "WithoutProfile";
 
735
#endif //STE_USE_LANG_NNCRONTAB
 
736
 
 
737
#if STE_USE_LANG_BULLANT
 
738
static const char* STE_WordList1_STE_LANG_BULLANT =
 
739
       "abstract all ancestor and application assert attributes author "
 
740
       "begin callback class concrete config constants construct continue "
 
741
       "depends description downcast driver elif else ensures error "
 
742
       "exception exposure extension false fatal final function generics "
 
743
       "glyph help hidden host immutable in inherits is kernel label "
 
744
       "leave library locals mutable none not null obsolete options or "
 
745
       "other parameters peer private public raise reason restricted "
 
746
       "retry return returns rollback route security self settings "
 
747
       "severity step task test transaction true unknown varying warning "
 
748
       "when method end if until while trap case debug for foreach lock "
 
749
       "boolean character character$ date date$ datetime datetime$ float "
 
750
       "hex$ identifier identifier$ integer interval interval$ money "
 
751
       "money$ raw raw$ string tick tick$ time time$ version version$";
 
752
#endif //STE_USE_LANG_BULLANT
 
753
 
 
754
#if STE_USE_LANG_VBSCRIPT
 
755
static const char* STE_WordList1_STE_LANG_VBSCRIPT =
 
756
       "and begin case call continue do each else elseif end erase error "
 
757
       "event exit false for function get gosub goto if implement in load "
 
758
       "loop lset me mid new next not nothing on or property raiseevent "
 
759
       "rem resume return rset select set stop sub then to true unload "
 
760
       "until wend while with withevents attribute alias as boolean byref "
 
761
       "byte byval const compare currency date declare dim double enum "
 
762
       "explicit friend global integer let lib long module object option "
 
763
       "optional preserve private property public redim single static "
 
764
       "string type variant";
 
765
#endif //STE_USE_LANG_VBSCRIPT
 
766
 
 
767
//static const char* STE_WordList1_STE_LANG_ASP
 
768
 
 
769
#if STE_USE_LANG_PHP
 
770
static const char* STE_WordList1_STE_LANG_PHP =
 
771
    "and array as bool boolean break case cfunction class const continue declare "
 
772
    "default die directory do double echo else elseif empty enddeclare endfor "
 
773
    "endforeach endif endswitch endwhile eval exit extends false float for "
 
774
    "foreach function global if include include_once int integer isset list new "
 
775
    "null object old_function or parent print real require require_once resource "
 
776
    "return static stdclass string switch true unset use var while xor "
 
777
    "abstract catch clone exception final implements interface php_user_filter "
 
778
    "private protected public this throw try "
 
779
    "__class__ __file__ __function__ __line__ __method__ __sleep __wakeup";
 
780
#endif //STE_USE_LANG_PHP
 
781
 
 
782
// scite has empty wordlist
 
783
//static const char* STE_WordList1_STE_LANG_BAAN = "";
 
784
 
 
785
#if STE_USE_LANG_MATLAB || STE_USE_LANG_OCTAVE
 
786
static const char* STE_WordList1_STE_LANG_MATLAB =
 
787
       "break case catch continue else elseif end for function global if "
 
788
       "otherwise persistent return switch try while";
 
789
#endif //STE_USE_LANG_MATLAB || STE_USE_LANG_OCTAVE
 
790
 
 
791
#if STE_USE_LANG_SCRIPTOL
 
792
static const char* STE_WordList1_STE_LANG_SCRIPTOL =
 
793
       "act action alias always and array as bool boolean break by byte "
 
794
       "class case catch const constant continue dyn def define dict do "
 
795
       "double echo else elsif end enum error false file for float forever "
 
796
       "function globak gtk in if ifdef import include int integer java "
 
797
       "javax let long match mod nil not natural null number or print "
 
798
       "protected public real return redo scan script scriptol sol short "
 
799
       "super static step until using var text then this true try void "
 
800
       "volatile while when undef zero";
 
801
#endif //STE_USE_LANG_SCRIPTOL
 
802
 
 
803
#if STE_USE_LANG_ASM
 
804
static const char* STE_WordList1_STE_LANG_ASM =
 
805
       "aaa aad aam aas adc add and call cbw clc cld cli cmc cmp cmps "
 
806
       "cmpsb cmpsw cwd daa das dec div esc hlt idiv imul in inc int into "
 
807
       "iret ja jae jb jbe jc jcxz je jg jge jl jle jmp jna jnae jnb jnbe "
 
808
       "jnc jne jng jnge jnl jnle jno jnp jns jnz jo jp jpe jpo js jz "
 
809
       "lahf lds lea les lods lodsb lodsw loop loope loopew loopne "
 
810
       "loopnew loopnz loopnzw loopw loopz loopzw mov movs movsb movsw "
 
811
       "mul neg nop not or out pop popf push pushf rcl rcr ret retf retn "
 
812
       "rol ror sahf sal sar sbb scas scasb scasw shl shr stc std sti "
 
813
       "stos stosb stosw sub test wait xchg xlat xlatb xor bound enter "
 
814
       "ins insb insw leave outs outsb outsw popa pusha pushw arpl lar "
 
815
       "lsl sgdt sidt sldt smsw str verr verw clts lgdt lidt lldt lmsw "
 
816
       "ltr bsf bsr bt btc btr bts cdq cmpsd cwde insd iretd iretdf "
 
817
       "iretf jecxz lfs lgs lodsd loopd looped loopned loopnzd loopzd "
 
818
       "lss movsd movsx movzx outsd popad popfd pushad pushd pushfd scasd "
 
819
       "seta setae setb setbe setc sete setg setge setl setle setna "
 
820
       "setnae setnb setnbe setnc setne setng setnge setnl setnle setno "
 
821
       "setnp setns setnz seto setp setpe setpo sets setz shld shrd stosd "
 
822
       "bswap cmpxchg invd  invlpg  wbinvd  xadd lock rep repe repne "
 
823
       "repnz repz";
 
824
static const char* STE_WordList2_STE_LANG_ASM =
 
825
       "f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcom fcomp fcompp "
 
826
       "fdecstp fdisi fdiv fdivp fdivr fdivrp feni ffree fiadd ficom "
 
827
       "ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisub "
 
828
       "fisubr fld fld1 fldcw fldenv fldenvw fldl2e fldl2t fldlg2 fldln2 "
 
829
       "fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave "
 
830
       "fnsavew fnstcw fnstenv fnstenvw fnstsw fpatan fprem fptan frndint "
 
831
       "frstor frstorw fsave fsavew fscale fsqrt fst fstcw fstenv fstenvw "
 
832
       "fstp fstsw fsub fsubp fsubr fsubrp ftst fwait fxam fxch fxtract "
 
833
       "fyl2x fyl2xp1 fsetpm fcos fldenvd fnsaved fnstenvd fprem1 frstord "
 
834
       "fsaved fsin fsincos fstenvd fucom fucomp fucompp";
 
835
static const char* STE_WordList3_STE_LANG_ASM =
 
836
       "ah al ax bh bl bp bx ch cl cr0 cr2 cr3 cs cx dh di dl dr0 dr1 dr2 "
 
837
       "dr3 dr6 dr7 ds dx eax ebp ebx ecx edi edx es esi esp fs gs si sp "
 
838
       "ss st tr3 tr4 tr5 tr6 tr7";
 
839
static const char* STE_WordList4_STE_LANG_ASM =
 
840
       ".186 .286 .286c .286p .287 .386 .386c .386p .387 .486 .486p .8086 "
 
841
       ".8087 .alpha .break .code .const .continue .cref .data .data?  "
 
842
       ".dosseg .else .elseif .endif .endw .err .err1 .err2 .errb .errdef "
 
843
       ".errdif .errdifi .erre .erridn .erridni .errnb .errndef .errnz "
 
844
       ".exit .fardata .fardata? .if .lall .lfcond .list .listall .listif "
 
845
       ".listmacro .listmacroall  .model .no87 .nocref .nolist .nolistif "
 
846
       ".nolistmacro .radix .repeat .sall .seq .sfcond .stack .startup "
 
847
       ".tfcond .type .until .untilcxz .while .xall .xcref .xlist alias "
 
848
       "align assume catstr comm comment db dd df dosseg dq dt dup dw "
 
849
       "echo else elseif elseif1 elseif2 elseifb elseifdef elseifdif "
 
850
       "elseifdifi elseife elseifidn elseifidni elseifnb elseifndef end "
 
851
       "endif endm endp ends eq  equ even exitm extern externdef extrn "
 
852
       "for forc ge goto group gt high highword if if1 if2 ifb ifdef "
 
853
       "ifdif ifdifi ife  ifidn ifidni ifnb ifndef include includelib "
 
854
       "instr invoke irp irpc label le length lengthof local low lowword "
 
855
       "lroffset lt macro mask mod .msfloat name ne offset opattr option "
 
856
       "org %out page popcontext proc proto ptr public purge pushcontext "
 
857
       "record repeat rept seg segment short size sizeof sizestr struc "
 
858
       "struct substr subtitle subttl textequ this title type typedef "
 
859
       "union while width";
 
860
static const char* STE_WordList5_STE_LANG_ASM =
 
861
       "$ ? @b @f addr basic byte c carry? dword far far16 fortran fword "
 
862
       "near near16 overflow? parity? pascal qword real4 real8 real10 "
 
863
       "sbyte sdword sign? stdcall sword syscall tbyte vararg word zero? "
 
864
       "flat near32 far32 abs all assumes at casemap common compact cpu "
 
865
       "dotname emulator epilogue error export expr16 expr32 farstack "
 
866
       "flat forceframe huge language large listing ljmp loadds m510 "
 
867
       "medium memory nearstack nodotname noemulator nokeyword noljmp "
 
868
       "nom510 none nonunique nooldmacros nooldstructs noreadonly "
 
869
       "noscoped nosignextend nothing notpublic oldmacros oldstructs "
 
870
       "os_dos para private prologue radix  readonly req scoped setif2 "
 
871
       "smallstack tiny use16 use32 uses";
 
872
#endif //STE_USE_LANG_ASM
 
873
 
 
874
//static const char* STE_WordList5_STE_LANG_CPPNOCASE uses cpp
 
875
 
 
876
#if STE_USE_LANG_FORTRAN || STE_USE_LANG_F77
 
877
static const char* STE_WordList1_STE_LANG_FORTRAN =
 
878
       "allocatable allocate assignment backspace block blockdata call "
 
879
       "case character close common complex contains continue cycle data "
 
880
       "deallocate default dimension direct do double doubleprecision "
 
881
       "elemental else elseif elsewhere end endblock endblockdata enddo "
 
882
       "endfile endforall endfunction endif endinterface endmodule "
 
883
       "endprogram endselect endsubroutine endtype endwhere entry "
 
884
       "equivalence err exist exit external forall format formatted "
 
885
       "function go goto if implicit in inout include inquire integer "
 
886
       "intent interface intrinsic iolength iostat kind len logical "
 
887
       "module namelist none null nullify only open operator optional "
 
888
       "parameter pointer position precision print private procedure "
 
889
       "program public pure out read readwrite real rec recursive result "
 
890
       "return rewind save select selectcase sequence sequential stat "
 
891
       "status stop subroutine target then to type unformatted unit use "
 
892
       "where while write";
 
893
static const char* STE_WordList2_STE_LANG_FORTRAN =
 
894
       "abs achar acos acosd adjustl adjustr aimag aimax0 aimin0 aint "
 
895
       "ajmax0 ajmin0 akmax0 akmin0 all allocated alog alog10 amax0 amax1 "
 
896
       "amin0 amin1 amod anint any asin asind associated atan atan2 "
 
897
       "atan2d atand bitest bitl bitlr bitrl bjtest bit_size bktest break "
 
898
       "btest cabs ccos cdabs cdcos cdexp cdlog cdsin cdsqrt ceiling cexp "
 
899
       "char clog cmplx conjg cos cosd cosh count cpu_time cshift csin "
 
900
       "csqrt dabs dacos dacosd dasin dasind datan datan2 datan2d datand "
 
901
       "date date_and_time dble dcmplx dconjg dcos dcosd dcosh dcotan "
 
902
       "ddim dexp dfloat dflotk dfloti dflotj digits dim dimag dint dlog "
 
903
       "dlog10 dmax1 dmin1 dmod dnint dot_product dprod dreal dsign dsin "
 
904
       "dsind dsinh dsqrt dtan dtand dtanh eoshift epsilon errsns exp "
 
905
       "exponent float floati floatj floatk floor fraction free huge iabs "
 
906
       "iachar iand ibclr ibits ibset ichar idate idim idint idnint ieor "
 
907
       "ifix iiabs iiand iibclr iibits iibset iidim iidint iidnnt iieor "
 
908
       "iifix iint iior iiqint iiqnnt iishft iishftc iisign ilen imax0 "
 
909
       "imax1 imin0 imin1 imod index inint inot int int1 int2 int4 int8 "
 
910
       "iqint iqnint ior ishft ishftc isign isnan izext jiand jibclr "
 
911
       "jibits jibset jidim jidint jidnnt jieor jifix jint jior jiqint "
 
912
       "jiqnnt jishft jishftc jisign jmax0 jmax1 jmin0 jmin1 jmod jnint "
 
913
       "jnot jzext kiabs kiand kibclr kibits kibset kidim kidint kidnnt "
 
914
       "kieor kifix kind kint kior kishft kishftc kisign kmax0 kmax1 "
 
915
       "kmin0 kmin1 kmod knint knot kzext lbound leadz len len_trim "
 
916
       "lenlge lge lgt lle llt log log10 logical lshift malloc matmul "
 
917
       "max max0 max1 maxexponent maxloc maxval merge min min0 min1 "
 
918
       "minexponent minloc minval mod modulo mvbits nearest nint not "
 
919
       "nworkers number_of_processors pack popcnt poppar precision "
 
920
       "present product radix random random_number random_seed range real "
 
921
       "repeat reshape rrspacing rshift scale scan secnds "
 
922
       "selected_int_kind selected_real_kind set_exponent shape sign sin "
 
923
       "sind sinh size sizeof sngl snglq spacing spread sqrt sum "
 
924
       "system_clock tan tand tanh tiny transfer transpose trim ubound "
 
925
       "unpack verify";
 
926
 
 
927
// static const char* STE_WordList1_STE_LANG_F77 uses FORTRAN
 
928
#endif //STE_USE_LANG_FORTRAN || STE_USE_LANG_F77
 
929
 
 
930
#if STE_USE_LANG_CSS
 
931
static const char* STE_WordList1_STE_LANG_CSS =
 
932
       "left right top bottom position font-family font-style font-variant "
 
933
       "font-weight font-size font color background-color background-image "
 
934
       "background-repeat background-attachment background-position background "
 
935
       "word-spacing letter-spacing text-decoration vertical-align text-transform "
 
936
       "text-align text-indent line-height margin-top margin-right margin-bottom "
 
937
       "margin-left margin padding-top padding-right padding-bottom padding-left "
 
938
       "padding border-top-width border-right-width border-bottom-width "
 
939
       "border-left-width border-width border-top border-right border-bottom "
 
940
       "border-left border border-color border-style width height float clear "
 
941
       "display white-space list-style-type list-style-image list-style-position "
 
942
       "list-style";
 
943
static const char* STE_WordList2_STE_LANG_CSS =
 
944
       "first-letter first-line active link visited";
 
945
#endif //STE_USE_LANG_CSS
 
946
 
 
947
#if STE_USE_LANG_POV
 
948
static const char* STE_WordList1_STE_LANG_POV =
 
949
       "declare local include undef fopen fclose read write default version "
 
950
       "case range break debug error warning if ifdef ifndef switch while "
 
951
       "macro else end";
 
952
static const char* STE_WordList2_STE_LANG_POV =
 
953
       "camera light_source light_group object blob sphere cylinder box cone "
 
954
       "sor height_field julia_fractal lathe prism sphere_sweep superellipsoid "
 
955
       "text torus bicubic_patch disc mesh mesh2 polygon triangle "
 
956
       "smooth_triangle plane poly cubic quartic quadric isosurface parametric "
 
957
       "union intersection difference merge function array spline "
 
958
       "vertex_vectors normal_vectors uv_vectors face_indices normal_indices "
 
959
       "uv_indices texture texture_list interior_texture texture_map "
 
960
       "material_map image_map color_map colour_map pigment_map normal_map "
 
961
       "slope_map bump_map density_map pigment normal material interior finish "
 
962
       "reflection irid slope pigment_pattern image_pattern warp media "
 
963
       "scattering density background fog sky_sphere rainbow global_settings "
 
964
       "radiosity photons pattern transform looks_like projected_through "
 
965
       "contained_by clipped_by bounded_by";
 
966
static const char* STE_WordList3_STE_LANG_POV =
 
967
       "linear_spline quadratic_spline cubic_spline natural_spline "
 
968
       "bezier_spline b_spline read write append inverse open perspective "
 
969
       "orthographic fisheye ultra_wide_angle omnimax panoramic spherical "
 
970
       "spotlight jitter circular orient media_attenuation media_interaction "
 
971
       "shadowless parallel refraction collect pass_through global_lights "
 
972
       "hierarchy sturm smooth gif tga iff pot png pgm ppm jpeg tiff sys "
 
973
       "ttf quaternion hypercomplex linear_sweep conic_sweep type "
 
974
       "all_intersections split_union cutaway_textures no_shadow no_image "
 
975
       "no_reflection double_illuminate hollow uv_mapping all use_index "
 
976
       "use_color use_colour no_bump_scale conserve_energy fresnel average "
 
977
       "agate boxed bozo bumps cells crackle cylindrical density_file dents "
 
978
       "facets granite leopard marble onion planar quilted radial ripples "
 
979
       "spotted waves wood wrinkles solid use_alpha interpolate magnet "
 
980
       "noise_generator toroidal ramp_wave triangle_wave sine_wave "
 
981
       "scallop_wave cubic_wave poly_wave once map_type method fog_type "
 
982
       "hf_gray_16 charset ascii utf8 rotate scale translate matrix location "
 
983
       "right up direction sky angle look_at aperture blur_samples "
 
984
       "focal_point confidence variance radius falloff tightness point_at "
 
985
       "area_light adaptive fade_distance fade_power threshold strength "
 
986
       "water_level tolerance max_iteration precision slice u_steps v_steps "
 
987
       "flatness inside_vector accuracy max_gradient evaluate max_trace "
 
988
       "precompute target ior dispersion dispersion_samples caustics color "
 
989
       "colour rgb rgbf rgbt rgbft red green blue filter transmit gray hf "
 
990
       "fade_color fade_colour quick_color quick_colour brick checker hexagon "
 
991
       "brick_size mortar bump_size ambient diffuse brilliance crand phong "
 
992
       "phong_size metallic specular roughness reflection_exponent exponent "
 
993
       "thickness gradient spiral1 spiral2 agate_turb form metric offset df3 "
 
994
       "coords size mandel exterior julia control0 control1 altitude "
 
995
       "turbulence octaves omega lambda repeat flip black-hole orientation "
 
996
       "dist_exp major_radius frequency phase intervals samples ratio "
 
997
       "absorption emission aa_threshold aa_level eccentricity extinction "
 
998
       "distance turb_depth fog_offset fog_alt width arc_angle falloff_angle "
 
999
       "adc_bailout ambient_light assumed_gamma irid_wavelength "
 
1000
       "number_of_waves always_sample brigthness count error_bound "
 
1001
       "gray_threshold load_file low_error_factor max_sample minimum_reuse "
 
1002
       "nearest_count pretrace_end pretrace_start recursion_limit save_file "
 
1003
       "spacing gather max_trace_level autostop expand_thresholds";
 
1004
static const char* STE_WordList4_STE_LANG_POV =
 
1005
       "x y z t u v yes no true false on off clock clock_delta clock_on "
 
1006
       "final_clock final_frame frame_number image_height image_width "
 
1007
       "initial_clock initial_frame pi version";
 
1008
static const char* STE_WordList5_STE_LANG_POV =
 
1009
       "abs acos acosh asc asin asinh atan atanh atan2 ceil cos cosh defined "
 
1010
       "degrees dimensions dimension_size div exp file_exists floor inside "
 
1011
       "int ln log max min mod pow prod radians rand seed select sin sinh "
 
1012
       "sqrt strcmp strlen sum tan tanh val vdot vlength min_extent "
 
1013
       "max_extent trace vaxis_rotate vcross vrotate vnormalize vturbulence "
 
1014
       "chr concat str strlwr strupr substr vstr sqr cube reciprocal pwr";
 
1015
#endif //STE_USE_LANG_POV
 
1016
 
 
1017
#if STE_USE_LANG_LOUT
 
1018
static const char* STE_WordList1_STE_LANG_LOUT =
 
1019
       "@OptGall @Filter @FilterIn @FilterOut @FilterErr @FontDef @Family "
 
1020
       "@Face @Name @Metrics @ExtraMetrics @Mapping @Recode @Common @Rump "
 
1021
       "@Meld @Insert @OneOf @Next @Plus @Minus @Wide @High @HShift @VShift "
 
1022
       "@BeginHeaderComponent @EndHeaderComponent @SetHeaderComponent "
 
1023
       "@ClearHeaderComponent @OneCol @OneRow @HScale @VScale @HCover "
 
1024
       "@VCover @Scale @KernShrink @HContract @VContract @HLimited @VLimited "
 
1025
       "@HExpand @VExpand @StartHVSpan @StartHSpan @StartVSpan @HSpan @VSpan "
 
1026
       "@PAdjust @HAdjust @VAdjust @Rotate @Background @IncludeGraphic "
 
1027
       "@SysIncludeGraphic @Graphic @LinkSource @LinkDest @URLLink "
 
1028
       "@PlainGraphic @Verbatim @RawVerbatim @Case @Yield @BackEnd @Char "
 
1029
       "@Font @Space @YUnit @ZUnit @Break @Underline @SetColour @SetColor "
 
1030
       "@SetTexture @Outline @Language @CurrLang @CurrFamily @CurrFace "
 
1031
       "@CurrYUnit @CurrZUnit @LEnv @LClos @LUse @LEO @Open @Use @NotRevealed "
 
1032
       "@Tagged @Database @SysDatabase @Include @SysInclude "
 
1033
       "@IncludeGraphicRepeated @PrependGraphic @SysIncludeGraphicRepeated "
 
1034
       "@SysPrependGraphic @Target @Null @PageLabel @Galley @ForceGalley "
 
1035
       "@LInput @Split @Tag @Key @Optimize @Merge @Enclose @Begin @End "
 
1036
       "@Moment @Second @Minute @Hour @Day @Month @Year @Century @WeekDay "
 
1037
       "@YearDay @DaylightSaving @@A @@B @@C @@D @@E @@V";
 
1038
static const char* STE_WordList2_STE_LANG_LOUT =
 
1039
       "&&& && & ^// ^/ ^|| ^| ^& // / || |";
 
1040
static const char* STE_WordList3_STE_LANG_LOUT =
 
1041
       "def langdef force horizontally into extend import export precedence "
 
1042
       "associativity left right body macro named compulsory following "
 
1043
       "preceding foll_or_prec now";
 
1044
#endif //STE_USE_LANG_LOUT
 
1045
 
 
1046
#if STE_USE_LANG_ESCRIPT
 
1047
static const char* STE_WordList1_STE_LANG_ESCRIPT =
 
1048
       "basic basicio boats cfgfile file http npc os uo util accessible "
 
1049
       "addmenuitem appendconfigfileelem applyconstraint applydamage "
 
1050
       "applyrawdamage assignrecttoweatherregion append baseskilltorawskill "
 
1051
       "boatfromitem broadcast ban cdbl cint cstr checklineofsight checklosat "
 
1052
       "checkskill consumemana consumereagents consumesubstance createaccount "
 
1053
       "createitematlocation createiteminbackpack createitemininventory "
 
1054
       "createitemincontainer createmenu createmultiatlocation "
 
1055
       "createnpcfromtemplate createrootiteminstoragearea createstoragearea "
 
1056
       "clear_script_profile_counters close damage destroyitem destroymulti "
 
1057
       "destroyrootiteminstoragearea detach disableevents disconnectclient "
 
1058
       "distance disable enableevents enumerateitemsincontainer "
 
1059
       "enumerateonlinecharacters equipfromtemplate equipitem "
 
1060
       "eraseglobalproperty eraseobjproperty enable enabled erase "
 
1061
       "events_waiting exists findconfigelem findobjtypeincontainer "
 
1062
       "findrootiteminstoragearea findstoragearea fclose find fopen fread "
 
1063
       "fseek ftell fwrite gamestat getamount getcommandhelp getconfigint "
 
1064
       "getconfigintkeys getconfigmaxintkey getconfigreal getconfigstring "
 
1065
       "getconfigstringkeys getconfigstringarray getelemproperty "
 
1066
       "getequipmentbylayer getglobalproperty getharvestdifficulty "
 
1067
       "getmapinfo getmenuobjtypes getobjproperty getobjtype getobjtypebyname "
 
1068
       "getproperty getrawskill getregionstring getskill getspelldifficulty "
 
1069
       "getstandingheight getworldheight grantprivilege harvestresource "
 
1070
       "healdamage hex islegalmove insert keys listequippeditems "
 
1071
       "listghostsnearlocation listhostiles listitemsatlocation "
 
1072
       "listitemsnearlocation listitemsnearlocationoftype "
 
1073
       "listmobilesinlineofsight listmobilesnearlocation "
 
1074
       "listmobilesnearlocationex listobjectsinbox loadtusscpfile "
 
1075
       "left len log_profile lower makeboundingbox move moveboat "
 
1076
       "moveboatrelative movecharactertolocation moveitemtocontainer "
 
1077
       "moveitemtolocation move_offline_mobiles openpaperdoll open pack "
 
1078
       "performaction playlightningbolteffect playmovingeffect "
 
1079
       "playmovingeffectxyz playobjectcenteredeffect playsoundeffect "
 
1080
       "playsoundeffectprivate playstationaryeffect printtextabove "
 
1081
       "printtextaboveprivate packages polcore position print queryparam "
 
1082
       "randomdiceroll randomint rawskilltobaseskill readconfigfile readgameclock "
 
1083
       "releaseitem registerforspeechevents registeritemwithboat requestinput "
 
1084
       "reserveitem restartscript resurrect revokeprivilege runawayfrom "
 
1085
       "runawayfromlocation runtoward runtowardlocation reverse "
 
1086
       "run_script_to_completion saveworldstate selectmenuitem2 self "
 
1087
       "sendbuywindow senddialoggump sendevent sendopenspecialcontainer "
 
1088
       "sendpacket sendsellwindow sendskillwindow sendstringastipwindow "
 
1089
       "sendsysmessage sendtextentrygump setanchor setglobalproperty "
 
1090
       "setname setobjproperty setopponent setproperty setrawskill "
 
1091
       "setregionlightlevel setregionweatherlevel setscriptcontroller "
 
1092
       "setwarmode shutdown speakpowerwords splitwords startspelleffect "
 
1093
       "subtractamount systemfindboatbyserial systemfindobjectbyserial "
 
1094
       "say set_critical set_debug set_priority set_priority_divide "
 
1095
       "set_script_option setcmdlevel setdex setint setlightlevel setmaster "
 
1096
       "setname setpassword setstr shrink size sleep sleepms sort spendgold "
 
1097
       "squelch start_script syslog system_rpm target targetcoordinates "
 
1098
       "targetmultiplacement turnawayfrom turnawayfromlocation turnboat "
 
1099
       "turntoward turntowardlocation toggle unloadconfigfile unpack unban "
 
1100
       "unload_scripts upper walkawayfrom walkawayfromlocation walktoward "
 
1101
       "walktowardlocation wander writehtml writehtmlraw wait_for_event "
 
1102
       "movechar_forcelocation moveitem_forcelocation moveitem_normal "
 
1103
       "scriptopt_debug scriptopt_no_interrupt scriptopt_no_runaway "
 
1104
       "te_cancel_disable te_cancel_enable te_style_disable te_style_normal "
 
1105
       "te_style_numerical tgtopt_check_los tgtopt_harmful tgtopt_helpful "
 
1106
       "tgtopt_neutral tgtopt_nocheck_los setprop getprop";
 
1107
static const char* STE_WordList2_STE_LANG_ESCRIPT =
 
1108
       "array const dictionary global local var and default in next not "
 
1109
       "or return to include use enum";
 
1110
static const char* STE_WordList3_STE_LANG_ESCRIPT =
 
1111
       "while for endfor function program endprogram endfunction foreach "
 
1112
       "case else elseif if endcase endenum endforeach endif endwhile";
 
1113
#endif //STE_USE_LANG_ESCRIPT
 
1114
 
 
1115
#if STE_USE_LANG_PS
 
1116
static const char* STE_WordList1_STE_LANG_PS =
 
1117
       "$error = == FontDirectory StandardEncoding UserObjects abs add "
 
1118
       "aload anchorsearch and arc arcn arcto array ashow astore atan "
 
1119
       "awidthshow begin bind bitshift bytesavailable cachestatus ceiling "
 
1120
       "charpath clear cleardictstack cleartomark clip clippath closefile "
 
1121
       "closepath concat concatmatrix copy copypage cos count countdictstack "
 
1122
       "countexecstack counttomark currentcmykcolor currentcolorspace "
 
1123
       "currentdash currentdict currentfile currentflat currentfont "
 
1124
       "currentgray currenthsbcolor currentlinecap currentlinejoin "
 
1125
       "currentlinewidth currentmatrix currentmiterlimit currentpagedevice "
 
1126
       "currentpoint currentrgbcolor currentscreen currenttransfer cvi cvlit "
 
1127
       "cvn cvr cvrs cvs cvx def defaultmatrix definefont dict dictstack div "
 
1128
       "dtransform dup echo end eoclip eofill eq erasepage errordict exch "
 
1129
       "exec execstack executeonly executive exit exp false file fill "
 
1130
       "findfont flattenpath floor flush flushfile for forall ge get "
 
1131
       "getinterval grestore grestoreall gsave gt idetmatrix idiv "
 
1132
       "idtransform if ifelse image imagemask index initclip initgraphics "
 
1133
       "initmatrix inustroke invertmatrix itransform known kshow le length "
 
1134
       "lineto ln load log loop lt makefont mark matrix maxlength mod moveto "
 
1135
       "mul ne neg newpath noaccess nor not null nulldevice or pathbbox "
 
1136
       "pathforall pop print prompt pstack put putinterval quit rand rcheck "
 
1137
       "rcurveto read readhexstring readline readonly readstring rectstroke "
 
1138
       "repeat resetfile restore reversepath rlineto rmoveto roll rotate "
 
1139
       "round rrand run save scale scalefont search setblackgeneration "
 
1140
       "setcachedevice setcachelimit setcharwidth setcolorscreen "
 
1141
       "setcolortransfer setdash setflat setfont setgray sethsbcolor "
 
1142
       "setlinecap setlinejoin setlinewidth setmatrix setmiterlimit "
 
1143
       "setpagedevice setrgbcolor setscreen settransfer setvmthreshold show "
 
1144
       "showpage sin sqrt srand stack start status statusdict stop stopped "
 
1145
       "store string stringwidth stroke strokepath sub systemdict token "
 
1146
       "token transform translate true truncate type ueofill "
 
1147
       "undefineresource userdict usertime version vmstatus wcheck where "
 
1148
       "widthshow write writehexstring writestring xcheck xor";
 
1149
static const char* STE_WordList2_STE_LANG_PS =
 
1150
       "GlobalFontDirectory ISOLatin1Encoding SharedFontDirectory UserObject "
 
1151
       "arct colorimage cshow currentblackgeneration currentcacheparams "
 
1152
       "currentcmykcolor currentcolor currentcolorrendering "
 
1153
       "currentcolorscreen currentcolorspace currentcolortransfer "
 
1154
       "currentdevparams currentglobal currentgstate currenthalftone "
 
1155
       "currentobjectformat currentoverprint currentpacking "
 
1156
       "currentpagedevice currentshared currentstrokeadjust "
 
1157
       "currentsystemparams currentundercolorremoval currentuserparams "
 
1158
       "defineresource defineuserobject deletefile execform execuserobject "
 
1159
       "filenameforall fileposition filter findencoding findresource gcheck "
 
1160
       "globaldict glyphshow gstate ineofill infill instroke inueofill "
 
1161
       "inufill inustroke languagelevel makepattern packedarray printobject "
 
1162
       "product realtime rectclip rectfill rectstroke renamefile "
 
1163
       "resourceforall resourcestatus revision rootfont scheck selectfont "
 
1164
       "serialnumber setbbox setblackgeneration setcachedevice2 "
 
1165
       "setcacheparams setcmykcolor setcolor setcolorrendering "
 
1166
       "setcolorscreen setcolorspace setcolortranfer setdevparams "
 
1167
       "setfileposition setglobal setgstate sethalftone setobjectformat "
 
1168
       "setoverprint setpacking setpagedevice setpattern setshared "
 
1169
       "setstrokeadjust setsystemparams setucacheparams setundercolorremoval "
 
1170
       "setuserparams setvmthreshold shareddict startjob uappend ucache "
 
1171
       "ucachestatus ueofill ufill undef undefinefont undefineresource "
 
1172
       "undefineuserobject upath ustroke ustrokepath vmreclaim writeobject "
 
1173
       "xshow xyshow yshow";
 
1174
static const char* STE_WordList3_STE_LANG_PS =
 
1175
       "cliprestore clipsave composefont currentsmoothness "
 
1176
       "findcolorrendering setsmoothness shfill";
 
1177
static const char* STE_WordList4_STE_LANG_PS =
 
1178
       ".begintransparencygroup .begintransparencymask .bytestring "
 
1179
       ".charboxpath .currentaccuratecurves .currentblendmode "
 
1180
       ".currentcurvejoin .currentdashadapt .currentdotlength "
 
1181
       ".currentfilladjust2 .currentlimitclamp .currentopacityalpha "
 
1182
       ".currentoverprintmode .currentrasterop .currentshapealpha "
 
1183
       ".currentsourcetransparent .currenttextknockout "
 
1184
       ".currenttexturetransparent .dashpath .dicttomark "
 
1185
       ".discardtransparencygroup .discardtransparencymask "
 
1186
       ".endtransparencygroup .endtransparencymask .execn .filename "
 
1187
       ".filename .fileposition .forceput .forceundef .forgetsave "
 
1188
       ".getbitsrect .getdevice .inittransparencymask .knownget .locksafe "
 
1189
       ".makeoperator .namestring .oserrno .oserrorstring .peekstring "
 
1190
       ".rectappend .runandhide .setaccuratecurves .setblendmode "
 
1191
       ".setcurvejoin .setdashadapt .setdebug .setdefaultmatrix "
 
1192
       ".setdotlength .setfilladjust2 .setlimitclamp .setmaxlength "
 
1193
       ".setopacityalpha .setoverprintmode .setrasterop .setsafe "
 
1194
       ".setshapealpha .setsourcetransparent .settextknockout "
 
1195
       ".settexturetransparent .stringbreak .stringmatch .tempfile "
 
1196
       ".type1decrypt .type1encrypt .type1execchar .unread arccos arcsin "
 
1197
       "copydevice copyscanlines currentdevice finddevice findlibfile "
 
1198
       "findprotodevice flushpage getdeviceprops getenv makeimagedevice "
 
1199
       "makewordimagedevice max min putdeviceprops setdevice";
 
1200
#endif //STE_USE_LANG_PS
 
1201
 
 
1202
#if STE_USE_LANG_NSIS
 
1203
static const char* STE_WordList1_STE_LANG_NSIS =
 
1204
       "What Abort AddSize AllowRootDirInstall AutoCloseWindow BGGradient "
 
1205
       "BrandingText BringToFront CRCCheck Call CallInstDLL Caption "
 
1206
       "ClearErrors CompletedText ComponentText CopyFiles CreateDirectory "
 
1207
       "CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey "
 
1208
       "DeleteRegValue DetailPrint DetailsButtonText DirShow DirText "
 
1209
       "DisabledBitmap EnabledBitmap EnumRegKey EnumRegValue Exch Exec "
 
1210
       "ExecShell ExecWait ExpandEnvStrings File FileClose FileErrorText "
 
1211
       "FileOpen FileRead FileReadByte FileSeek FileWrite FileWriteByte "
 
1212
       "FindClose FindFirst FindNext FindWindow Function FunctionEnd "
 
1213
       "GetCurrentAddress GetDLLVersionLocal GetDllVersion GetFileTime "
 
1214
       "GetFileTimeLocal GetFullPathName GetFunctionAddress GetLabelAddress "
 
1215
       "GetTempFileName Goto HideWindow Icon IfErrors IfFileExists "
 
1216
       "IfRebootFlag InstProgressFlags InstType InstallButtonText "
 
1217
       "InstallColors InstallDir InstallDirRegKey IntCmp IntCmpU IntFmt "
 
1218
       "IntOp IsWindow LicenseData LicenseText MessageBox MiscButtonText "
 
1219
       "Name OutFile Pop Push Quit RMDir ReadEnvStr ReadINIStr ReadRegDword "
 
1220
       "ReadRegStr Reboot RegDLL Rename Return SearchPath Section "
 
1221
       "SectionDivider SectionEnd SectionIn SendMessage SetAutoClose "
 
1222
       "SetCompress SetDatablockOptimize SetDateSave SetDetailsPrint "
 
1223
       "SetDetailsView SetErrors SetFileAttributes SetOutPath SetOverwrite "
 
1224
       "SetRebootFlag ShowInstDetails ShowUninstDetails SilentInstall "
 
1225
       "SilentUnInstall Sleep SpaceTexts StrCmp StrCpy StrLen SubCaption "
 
1226
       "UnRegDLL UninstallButtonText UninstallCaption UninstallEXEName "
 
1227
       "UninstallIcon UninstallSubCaption UninstallText WindowIcon "
 
1228
       "WriteINIStr WriteRegBin WriteRegDword WriteRegExpandStr "
 
1229
       "WriteRegStr WriteUninstaller SectionGetFlags SectionSetFlags "
 
1230
       "SectionSetText SectionGetText LogText LogSet CreateFont "
 
1231
       "SetShellVarContext SetStaticBkColor SetBrandingImage PluginDir "
 
1232
       "SubSectionEnd SubSection CheckBitmap ChangeUI SetFont "
 
1233
       "AddBrandingImage XPStyle LangString !define !undef !ifdef !ifndef "
 
1234
       "!endif !else !macro !echo !warning !error !verbose !macroend "
 
1235
       "!insertmacro !system !include !cd !packhdr";
 
1236
static const char* STE_WordList2_STE_LANG_NSIS =
 
1237
       "$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $R0 $R1 $R2 $R3 $R4 $R5 $R6 $R7 $R8 "
 
1238
       "$R9 $CMDLINE $DESKTOP $EXEDIR $HWNDPARENT $INSTDIR $OUTDIR "
 
1239
       "$PROGRAMFILES ${NSISDIR} $\n $\r $QUICKLAUNCH $SMPROGRAMS $SMSTARTUP "
 
1240
       "$STARTMENU $SYSDIR $TEMP $WINDIR";
 
1241
static const char* STE_WordList3_STE_LANG_NSIS =
 
1242
       "ARCHIVE FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_HIDDEN "
 
1243
       "FILE_ATTRIBUTE_NORMAL FILE_ATTRIBUTE_OFFLINE FILE_ATTRIBUTE_READONLY "
 
1244
       "FILE_ATTRIBUTE_SYSTEM FILE_ATTRIBUTE_TEMPORARY HIDDEN HKCC HKCR HKCU "
 
1245
       "HKDD HKEY_CLASSES_ROOT HKEY_CURRENT_CONFIG HKEY_CURRENT_USER "
 
1246
       "HKEY_DYN_DATA HKEY_LOCAL_MACHINE HKEY_PERFORMANCE_DATA HKEY_USERS "
 
1247
       "HKLM HKPD HKU IDABORT IDCANCEL IDIGNORE IDNO IDOK IDRETRY IDYES "
 
1248
       "MB_ABORTRETRYIGNORE MB_DEFBUTTON1 MB_DEFBUTTON2 MB_DEFBUTTON3 "
 
1249
       "MB_DEFBUTTON4 MB_ICONEXCLAMATION MB_ICONINFORMATION MB_ICONQUESTION "
 
1250
       "MB_ICONSTOP MB_OK MB_OKCANCEL MB_RETRYCANCEL MB_RIGHT "
 
1251
       "MB_SETFOREGROUND MB_TOPMOST MB_YESNO MB_YESNOCANCEL NORMAL OFFLINE "
 
1252
       "READONLY SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_SHOWNORMAL SYSTEM "
 
1253
       "TEMPORARY auto colored false force hide ifnewer nevershow normal off "
 
1254
       "on show silent silentlog smooth true try";
 
1255
static const char* STE_WordList4_STE_LANG_NSIS =
 
1256
       "MyFunction MySomethingElse";
 
1257
#endif //STE_USE_LANG_NSIS
 
1258
 
 
1259
#if STE_USE_LANG_MMIXAL
 
1260
static const char* STE_WordList1_STE_LANG_MMIXAL =
 
1261
       "2ADDU 4ADDU 8ADDU 16ADDU ADD ADDU AND ANDNH ANDNL ANDNMH ANDNML "
 
1262
       "BDIF BEV BN BNN BNP BNZ BOD BP BSPEC BYTE BZ CMP CMPU CSEV CSN "
 
1263
       "CSNN CSNP CSNZ CSOD CSP CSWAP CSZ DIV DIVU ESPEC EXPR FADD FCMP "
 
1264
       "FCMPE FDIV FEQL FEQLE FIX FIXU FLOT FLOTU FMUL FREM FSQRT FSUB "
 
1265
       "FUN FUNE GET GETA GO GREG I_BIT INCH INCL INCMH INCML IS JMP LDA "
 
1266
       "LDB LDBU LDHT LDO LDOU LDSF LDT LDTU LDUNC LDVTS LDW LDWU LOC "
 
1267
       "LOCAL MOR MUL MULU MUX MXOR NAND NEG NEGU NNIX NOR NXOR O_BIT "
 
1268
       "OCTA ODIF OR ORH ORL ORMH ORML ORN PBEV PBN PBNN PBNP PBNZ PBOD "
 
1269
       "PBP PBZ POP PREFIX PREGO PRELD PREST PUSHGO PUSHJ PUT RESUME SAVE "
 
1270
       "SET SETH SETL SETMH SETML SFLOT SFLOTU SL SLU SR SRU STB STBU "
 
1271
       "STCO STHT STO STOU STSF STT STTU STUNC STW STWU SUB SUBU SWYM "
 
1272
       "SYNC SYNCD TDIF TETRA TRAP TRIP UNSAVE WDIF WYDEXOR ZSEV ZSN ZSNN "
 
1273
       "ZSNP ZSNZ ZSOD ZSP ZSZ";
 
1274
static const char* STE_WordList2_STE_LANG_MMIXAL =
 
1275
       "rA rB rC rD rE rF rG rH rI rJ rK rL rM rN rO rP rQ rR rS rT rU rV "
 
1276
       "rW rX rY rZ rBB rTT rWW rXX rYY rZZ";
 
1277
static const char* STE_WordList3_STE_LANG_MMIXAL =
 
1278
       "@ Text_Segment Data_Segment Pool_Segment Stack_Segment "
 
1279
       "StdErr StdIn StdOut Fopen Fclose Fread Fwrite Fgets Fputs Fgetws "
 
1280
       "Fputws Ftell Fseek TextRead TextWrite BinaryRead BinaryWrite "
 
1281
       "BinaryReadWrite";
 
1282
#endif //STE_USE_LANG_MMIXAL
 
1283
 
 
1284
 
 
1285
//static const char* STE_WordList1_STE_LANG_CLW - nothing in scite
 
1286
 
 
1287
//static const char* STE_WordList1_STE_LANG_CLWNOCASE - nothing in scite
 
1288
 
 
1289
//static const char* STE_WordList1_STE_LANG_LOT - nothing in scite
 
1290
 
 
1291
#if STE_USE_LANG_YAML
 
1292
static const char* STE_WordList1_STE_LANG_YAML =
 
1293
    "true false yes no";
 
1294
#endif //STE_USE_LANG_YAML
 
1295
 
 
1296
//static const char* STE_WordList1_STE_LANG_TEX - uses LATEX
 
1297
 
 
1298
#if STE_USE_LANG_METAPOST
 
1299
static const char* STE_WordList1_STE_LANG_METAPOST =
 
1300
    // keywordclass.metapost.tex
 
1301
    "btex verbatimtex etex "
 
1302
    // keywordclass.metapost.primitives
 
1303
    "charcode day linecap linejoin miterlimit month pausing "
 
1304
    "prologues showstopping time tracingcapsules tracingchoices "
 
1305
    "tracingcommands tracingequations tracinglostchars "
 
1306
    "tracingmacros tracingonline tracingoutput tracingrestores "
 
1307
    "tracingspecs tracingstats tracingtitles truecorners "
 
1308
    "warningcheck year "
 
1309
    "false nullpicture pencircle true "
 
1310
    "and angle arclength arctime ASCII bluepart boolean bot "
 
1311
    "char color cosd cycle decimal directiontime floor fontsize "
 
1312
    "greenpart hex infont intersectiontimes known length llcorner "
 
1313
    "lrcorner makepath makepen mexp mlog normaldeviate not "
 
1314
    "numeric oct odd or path pair pen penoffset picture point "
 
1315
    "postcontrol precontrol redpart reverse rotated scaled "
 
1316
    "shifted sind slanted sqrt str string subpath substring "
 
1317
    "transform transformed ulcorner uniformdeviate unknown "
 
1318
    "urcorner xpart xscaled xxpart xypart ypart yscaled yxpart "
 
1319
    "yypart zscaled "
 
1320
    "addto clip input interim let newinternal save setbounds "
 
1321
    "shipout show showdependencies showtoken showvariable "
 
1322
    "special "
 
1323
    "begingroup endgroup of curl tension and controls "
 
1324
    "reflectedabout rotatedaround interpath on off beginfig "
 
1325
    "endfig def vardef enddef epxr suffix text primary secondary "
 
1326
    "tertiary primarydef secondarydef tertiarydef top bottom "
 
1327
    "ulft urt llft lrt randomseed also contour doublepath "
 
1328
    "withcolor withpen dashed if else elseif fi for endfor forever exitif "
 
1329
    "forsuffixes downto upto step until "
 
1330
    "charlist extensible fontdimen headerbyte kern ligtable "
 
1331
    "boundarychar chardp charext charht charic charwd designsize "
 
1332
    "fontmaking charexists "
 
1333
    "cullit currenttransform gfcorners grayfont hround "
 
1334
    "imagerules lowres_fix nodisplays notransforms openit "
 
1335
    "displaying currentwindow screen_rows screen_cols "
 
1336
    "pixels_per_inch cull display openwindow numspecial "
 
1337
    "totalweight autorounding fillin proofing tracingpens "
 
1338
    "xoffset chardx granularity smoothing turningcheck yoffset "
 
1339
    "chardy hppp tracingedges vppp "
 
1340
    "extra_beginfig extra_endfig mpxbreak "
 
1341
    "end "
 
1342
    // keywordclass.metapost.plain
 
1343
    "ahangle ahlength bboxmargin defaultpen defaultscale "
 
1344
    "labeloffset background currentpen currentpicture cuttings "
 
1345
    "defaultfont extra_beginfig extra_endfig "
 
1346
    "beveled black blue bp butt cc cm dd ditto down epsilon "
 
1347
    "evenly fullcircle green halfcircle identity in infinity left "
 
1348
    "mitered mm origin pensquare pt quartercircle red right "
 
1349
    "rounded squared unitsquare up white withdots "
 
1350
    "abs bbox ceiling center cutafter cutbefore dir "
 
1351
    "directionpoint div dotprod intersectionpoint inverse mod lft "
 
1352
    "round rt unitvector whatever "
 
1353
    "cutdraw draw drawarrow drawdblarrow fill filldraw drawdot "
 
1354
    "loggingall pickup tracingall tracingnone undraw unfill "
 
1355
    "unfilldraw "
 
1356
    "buildcycle dashpattern decr dotlabel dotlabels drawoptions "
 
1357
    "incr label labels max min thelabel z "
 
1358
    "beginchar blacker capsule_end change_width "
 
1359
    "define_blacker_pixels define_corrected_pixels "
 
1360
    "define_good_x_pixels define_good_y_pixels "
 
1361
    "define_horizontal_corrected_pixels define_pixels "
 
1362
    "define_whole_blacker_pixels define_whole_pixels "
 
1363
    "define_whole_vertical_blacker_pixels "
 
1364
    "define_whole_vertical_pixels endchar extra_beginchar "
 
1365
    "extra_endchar extra_setup font_coding_scheme "
 
1366
    "font_extra_space";
 
1367
#endif //STE_USE_LANG_METAPOST
 
1368
 
 
1369
//static const char* STE_WordList1_STE_LANG_POWERBASIC
 
1370
 
 
1371
#if STE_USE_LANG_FORTH
 
1372
static const char* STE_WordList1_STE_LANG_FORTH =
 
1373
    "AGAIN BEGIN CASE DO ELSE ENDCASE ENDOF IF LOOP OF REPEAT THEN UNTIL  WHILE "
 
1374
    "[IF] [ELSE] [THEN] ?DO";
 
1375
static const char* STE_WordList2_STE_LANG_FORTH =
 
1376
    "DUP DROP ROT SWAP OVER @ ! 2@ 2! 2DUP 2DROP 2SWAP 2OVER NIP R@ >R R> 2R@ 2>R 2R> "
 
1377
    "0= 0< SP@ SP! W@ W! C@ C! < > = <> 0<> "
 
1378
    "SPACE SPACES KEY? KEY THROW CATCH ABORT */ 2* /MOD CELL+ CELLS CHAR+ "
 
1379
    "CHARS MOVE ERASE DABS TITLE HEX DECIMAL HOLD <# # #S #> SIGN "
 
1380
    "D. . U. DUMP (.\") >NUMBER ' IMMEDIATE EXIT RECURSE UNLOOP LEAVE HERE ALLOT , "
 
1381
    "C, W, COMPILE, BRANCH, RET, LIT, DLIT, ?BRANCH, \", >MARK >RESOLVE1 <MARK >RESOLVE "
 
1382
    "ALIGN ALIGNED USER-ALLOT USER-HERE HEADER DOES> SMUDGE HIDE :NONAME LAST-WORD "
 
1383
    "?ERROR ERROR2 FIND1 SFIND SET-CURRENT GET-CURRENT DEFINITIONS GET-ORDER FORTH "
 
1384
    "ONLY SET-ORDER ALSO PREVIOUS VOC-NAME. ORDER LATEST LITERAL 2LITERAL SLITERAL "
 
1385
    "CLITERAL ?LITERAL1 ?SLITERAL1 HEX-LITERAL HEX-SLITERAL ?LITERAL2 ?SLITERAL2 SOURCE "
 
1386
    "EndOfChunk CharAddr PeekChar IsDelimiter GetChar OnDelimiter SkipDelimiters OnNotDelimiter "
 
1387
    "SkipWord SkipUpTo ParseWord NextWord PARSE SKIP CONSOLE-HANDLES REFILL DEPTH ?STACK "
 
1388
    "?COMP WORD INTERPRET BYE QUIT MAIN1 EVALUATE INCLUDE-FILE INCLUDED >BODY +WORD "
 
1389
    "WORDLIST CLASS! CLASS@ PAR! PAR@ ID. ?IMMEDIATE ?VOC IMMEDIATE VOC WordByAddrWl "
 
1390
    "WordByAddr NLIST WORDS SAVE OPTIONS /notransl ANSI>OEM ACCEPT EMIT CR TYPE EKEY? "
 
1391
    "EKEY EKEY>CHAR EXTERNTASK ERASE-IMPORTS ModuleName ModuleDirName ENVIRONMENT? "
 
1392
    "DROP-EXC-HANDLER SET-EXC-HANDLER HALT ERR CLOSE-FILE CREATE-FILE CREATE-FILE-SHARED "
 
1393
    "OPEN-FILE-SHARED DELETE-FILE FILE-POSITION FILE-SIZE OPEN-FILE READ-FILE REPOSITION-FILE "
 
1394
    "DOS-LINES UNIX-LINES READ-LINE WRITE-FILE RESIZE-FILE WRITE-LINE ALLOCATE FREE RESIZE "
 
1395
    "START SUSPEND RESUME STOP PAUSE MIN MAX TRUE FALSE ASCIIZ> "
 
1396
    "R/O W/O ;CLASS ENDWITH OR AND /STRING SEARCH COMPARE EXPORT ;MODULE SPACE";
 
1397
static const char* STE_WordList3_STE_LANG_FORTH =
 
1398
    "VARIABLE CREATE : VALUE CONSTANT VM: M: var dvar chars OBJ "
 
1399
    "CONSTR: DESTR: CLASS: OBJECT: POINTER "
 
1400
    "USER USER-CREATE USER-VALUE VECT "
 
1401
    "WNDPROC: VOCABULARY -- TASK: CEZ: MODULE:";
 
1402
#endif //STE_USE_LANG_FORTH
 
1403
 
 
1404
#if STE_USE_LANG_ERLANG
 
1405
static const char* STE_WordList1_STE_LANG_ERLANG =
 
1406
    "after begin case catch cond end fun if let of query receive when "
 
1407
    "define record export import include include_lib ifdef ifndef else endif undef "
 
1408
    "apply attribute call do in letrec module primop try";
 
1409
#endif //STE_USE_LANG_ERLANG
 
1410
 
 
1411
//static const char* STE_WordList1_STE_LANG_OCTAVE uses MATLAB
 
1412
 
 
1413
//static const char* STE_WordList1_STE_LANG_MSSQL - no words in scite
 
1414
 
 
1415
#if STE_USE_LANG_VERILOG
 
1416
static const char* STE_WordList1_STE_LANG_VERILOG =
 
1417
    "always and assign begin "
 
1418
    "xbuf buf bufif0 bufif1 case casex casez cmos "
 
1419
    "default defparam else end endcase "
 
1420
    "endfunction endmodule endprimitive endspecify "
 
1421
    "endtable endtask event for force forever "
 
1422
    "fork function if initial inout input "
 
1423
    "integer join macromodule makefile module "
 
1424
    "nand negedge nmos nor not notif0 notif1 "
 
1425
    "or output parameter pmos posedge primitive "
 
1426
    "pulldown pullup rcmos real realtime reg "
 
1427
    "repeat rnmos rpmos rtran rtranif0 rtranif1 "
 
1428
    "signed specify specparam supply supply0 supply1 table "
 
1429
    "task time tran tranif0 tranif1 tri tri0 "
 
1430
    "tri1 triand trior trireg vectored wait "
 
1431
    "wand while wire wor xnor xor";
 
1432
static const char* STE_WordList2_STE_LANG_VERILOG = "";
 
1433
static const char* STE_WordList3_STE_LANG_VERILOG =
 
1434
    "$readmemb $readmemh $sreadmemb $sreadmemh $display $write $strobe $monitor $fdisplay $fwrite $fstrobe "
 
1435
    "$fmonitor $fopen $fclose $time $stime $realtime $scale $printtimescale $timeformat $stop $finish $save "
 
1436
    "$incsave $restart $input $log $nolog $key $nokey $scope $showscopes $showscopes $showvars $showvars "
 
1437
    "$countdrivers $list $monitoron $monitoroff $dumpon $dumpoff $dumpfile $dumplimit $dumpflush $dumpvars "
 
1438
    "$dumpall $reset $reset $reset $reset $reset $random $getpattern $rtoi $itor $realtobits $bitstoreal "
 
1439
    "$setup $hold $setuphold $period $width $skew $recovery";
 
1440
#endif //STE_USE_LANG_VERILOG
 
1441
 
 
1442
#if STE_USE_LANG_KIX
 
1443
static const char* STE_WordList1_STE_LANG_KIX =
 
1444
        "? and beep big break call cd cls color cookie1 copy "
 
1445
        "debug del dim display do until exit flushkb for each next function endfunction "
 
1446
        "get gets global go gosub goto if else endif md or password play quit "
 
1447
        "rd redim return run select case endselect set setl setm settime "
 
1448
        "shell sleep small use while loop";
 
1449
static const char* STE_WordList2_STE_LANG_KIX =
 
1450
        "abs addkey addprinterconnection addprogramgroup "
 
1451
        "addprogramitem asc ascan at backupeventlog box cdbl chr cint cleareventlog "
 
1452
        "close comparefiletimes createobject cstr dectohex delkey delprinterconnection "
 
1453
        "delprogramgroup delprogramitem deltree delvalue dir enumgroup enumipinfo enumkey "
 
1454
        "enumlocalgroup enumvalue execute exist existkey expandenvironmentvars fix "
 
1455
        "formatnumber freefilehandle getdiskspace getfileattr getfilesize getfiletime "
 
1456
        "getfileversion getobject iif ingroup instr instrrev int isdeclared join "
 
1457
        "kbhit keyexist lcase left len loadhive loadkey logevent logoff ltrim "
 
1458
        "memorysize messagebox open readline readprofilestring readtype readvalue "
 
1459
        "redirectoutput right rnd round rtrim savekey sendkeys sendmessage setascii "
 
1460
        "setconsole setdefaultprinter setfileattr setfocus setoption setsystemstate "
 
1461
        "settitle setwallpaper showprogramgroup shutdown sidtoname split srnd substr "
 
1462
        "trim ubound ucase unloadhive val vartype vartypename writeline "
 
1463
        "writeprofilestring writevalue";
 
1464
static const char* STE_WordList3_STE_LANG_KIX =
 
1465
        "address build color comment cpu crlf csd curdir "
 
1466
        "date day domain dos error fullname homedir homedrive homeshr hostname "
 
1467
        "inwin ipaddress0 ipaddress1 ipaddress2 ipaddress3 kix lanroot ldomain "
 
1468
        "ldrive lm logonmode longhomedir lserver maxpwage mdayno mhz monthno "
 
1469
        "month msecs pid primarygroup priv productsuite producttype pwage ras "
 
1470
        "result rserver scriptdir scriptexe scriptname serror sid site startdir "
 
1471
        "syslang ticks time userid userlang wdayno wksta wuserid ydayno year";
 
1472
#endif //STE_USE_LANG_KIX
 
1473
 
 
1474
//static const char* STE_WordList1_STE_LANG_GUI4CLI - nothing in scite
 
1475
 
 
1476
#if STE_USE_LANG_SPECMAN
 
1477
static const char* STE_WordList1_STE_LANG_SPECMAN =
 
1478
    "struct unit "
 
1479
    "integer real bool int long uint nibble byte bits bytes bit time string "
 
1480
    "var instance event "
 
1481
    "verilog vhdl "
 
1482
    "on compute start expect check that routine "
 
1483
    "specman is also first only with like "
 
1484
    "list of all radix hex dec bin ignore illegal "
 
1485
    "traceable untraceable "
 
1486
    "cover using count_only trace_only at_least transition item ranges "
 
1487
    "cross text call task within "
 
1488
    "packing low high "
 
1489
    "locker address "
 
1490
    "body code vec chars "
 
1491
    "byte_array external_pointer "
 
1492
    "choose matches "
 
1493
    "if then else when try "
 
1494
    "case casex casez default "
 
1495
    "and or not xor "
 
1496
    "until repeat while for from to step each do break continue "
 
1497
    "before next always -kind network "
 
1498
    "index it me in new return result select "
 
1499
    "cycle sample events forever "
 
1500
    "wait  change  negedge rise fall delay sync sim true detach eventually emit "
 
1501
    "gen keep keeping soft before "
 
1502
    "define as computed type extend "
 
1503
    "variable global sys "
 
1504
    "import "
 
1505
    "untyped symtab ECHO DOECHO "
 
1506
    "initialize non_terminal testgroup delayed exit finish "
 
1507
    "out append print outf appendf "
 
1508
    "post_generate pre_generate setup_test finalize_test extract_test "
 
1509
    "init run copy as_a a set_config dut_error add clear lock quit "
 
1510
    "lock unlock release swap quit to_string value stop_run "
 
1511
    "crc_8 crc_32 crc_32_flip get_config add0 all_indices and_all "
 
1512
    "apply average count delete exists first_index get_indices "
 
1513
    "has insert is_a_permutation is_empty key key_exists key_index "
 
1514
    "last last_index max max_index max_value min min_index "
 
1515
    "min_value or_all pop pop0 push push0 product resize reverse "
 
1516
    "sort split sum top top0 unique clear is_all_iterations "
 
1517
    "get_enclosing_unit hdl_path exec deep_compare deep_compare_physical "
 
1518
    "pack unpack warning error fatal "
 
1519
    "size "
 
1520
    "files load module ntv source_ref script read write "
 
1521
    "initial idle others posedge clock cycles "
 
1522
    "statement action command member exp block num file";
 
1523
static const char* STE_WordList2_STE_LANG_SPECMAN =
 
1524
    "TRUE FALSE MAX_INT MIN_INT NULL UNDEF ";
 
1525
static const char* STE_WordList3_STE_LANG_SPECMAN =
 
1526
    "any_sequence_item sequence any_sequence_driver driver "
 
1527
    "created_driver  parent_sequence "
 
1528
    "bfm_interaction_mode PULL_MODE PUSH_MODE MAIN SIMPLE RANDOM "
 
1529
    "max_random_count max_random_depth num_of_last_items "
 
1530
    "NORMAL NONE FULL LOW HIGH MEDIUM logger message "
 
1531
    "get_tags show_units show_actions show_message ignore_tags "
 
1532
    "set_style set_screen set_file set_flush_frequency "
 
1533
    "set_format set_units set_actions at_message_verbosity "
 
1534
    "short_name short_name_path short_name_style "
 
1535
    "private protected package rerun any_env "
 
1536
    "unqualified_clk clk reset_start reset_end "
 
1537
    "message_logger verbosity tags to_file "
 
1538
    "body pre_body post_body get_next_item send_to_bfm "
 
1539
    "get_depth get_driver nice_string get_index grab "
 
1540
    "is_blocked is_relevant ungrab mid_do post_do post_trace "
 
1541
    "pre_do current_grabber get_current_item get_num_items_sent "
 
1542
    "get_sequence_trace_list get_trace_list is_grabbed "
 
1543
    "try_next_item check_is_relevant delay_clock "
 
1544
    "get_sub_drivers regenerate_data wait_for_sequences "
 
1545
    "stop";
 
1546
#endif //STE_USE_LANG_SPECMAN
 
1547
 
 
1548
#if STE_USE_LANG_AU3
 
1549
static const char* STE_WordList1_STE_LANG_AU3 =
 
1550
    "and byref case continueloop dim do else elseif endfunc endif endselect exit exitloop for func "
 
1551
    "global if local next not or return select step then to until wend while exit";
 
1552
static const char* STE_WordList2_STE_LANG_AU3 =
 
1553
    "abs acos adlibdisable adlibenable asc asin atan autoitsetoption autoitwingettitle autoitwinsettitle "
 
1554
    "bitand bitnot bitor bitshift bitxor blockinput break call cdtray chr clipget clipput controlclick "
 
1555
    "controlcommand controldisable controlenable controlfocus controlgetfocus controlgetpos controlgettext "
 
1556
    "controlhide controlmove controlsend controlsettext controlshow cos dec dircopy dircreate dirmove "
 
1557
    "dirremove drivegetdrive drivegetfilesystem drivegetlabel drivegetserial drivegettype drivesetlabel "
 
1558
    "drivespacefree drivespacetotal drivestatus envget envset envupdate eval exp filechangedir fileclose "
 
1559
    "filecopy filecreateshortcut filedelete fileexists filefindfirstfile filefindnextfile filegetattrib "
 
1560
    "filegetlongname filegetshortname filegetsize filegettime filegetversion fileinstall filemove "
 
1561
    "fileopen fileopendialog fileread filereadline filerecycle filerecycleempty filesavedialog fileselectfolder "
 
1562
    "filesetattrib filesettime filewrite filewriteline guicreate guicreateex guidefaultfont guidelete "
 
1563
    "guigetcontrolstate guihide guimsg guiread guirecvmsg guisendmsg guisetcontrol guisetcontroldata "
 
1564
    "guisetcontrolex guisetcontrolfont guisetcontrolnotify guisetcoord guisetcursor guishow guiwaitclose "
 
1565
    "guiwrite hex hotkeyset inidelete iniread iniwrite inputbox int isadmin isarray isdeclared isfloat "
 
1566
    "isint isnumber isstring log memgetstats mod mouseclick mouseclickdrag mousedown mousegetcursor "
 
1567
    "mousegetpos mousemove mouseup mousewheel msgbox number pixelchecksum pixelgetcolor pixelsearch "
 
1568
    "processclose processexists processsetpriority processwait processwaitclose progressoff progresson "
 
1569
    "progressset random regdelete regenumkey regenumval regread regwrite round run runasset runwait "
 
1570
    "send seterror shutdown sin sleep soundplay soundsetwavevolume splashimageon splashoff splashtexton "
 
1571
    "sqrt statusbargettext string stringaddcr stringformat stringinstr stringisalnum stringisalpha "
 
1572
    "stringisascii stringisdigit stringisfloat stringisint stringislower stringisspace stringisupper "
 
1573
    "stringisxdigit stringleft stringlen stringlower stringmid stringreplace stringright stringsplit "
 
1574
    "stringstripcr stringstripws stringtrimleft stringtrimright stringupper tan timerstart timerstop "
 
1575
    "tooltip traytip ubound urldownloadtofile winactivate winactive winclose winexists wingetcaretpos "
 
1576
    "wingetclasslist wingetclientsize wingethandle wingetpos wingetstate wingettext wingettitle "
 
1577
    "winkill winmenuselectitem winminimizeall winminimizeallundo winmove winsetontop winsetstate "
 
1578
    "winsettitle winwait winwaitactive winwaitclose winwaitnotactive";
 
1579
static const char* STE_WordList3_STE_LANG_AU3 =
 
1580
    "@appdatacommondir @appdatadir @autoitversion @commonfilesdir @compiled @computername @comspec "
 
1581
    "@cr @crlf @desktopcommondir @desktopdir @desktopheight @desktopwidth @documentscommondir @error "
 
1582
    "@favoritescommondir @favoritesdir @homedrive @homepath @homeshare @hour @ipaddress1 @ipaddress2 "
 
1583
    "@ipaddress3 @ipaddress4 @lf @logondnsdomain @logondomain @logonserver @mday @min @mon @mydocumentsdir "
 
1584
    "@osbuild @oslang @osservicepack @ostype @osversion @programfilesdir @programscommondir @programsdir "
 
1585
    "@scriptdir @scriptfullpath @scriptname @sec @startmenucommondir @startmenudir @startupcommondir "
 
1586
    "@startupdir @sw_hide @sw_maximize @sw_minimize @sw_restore @sw_show @systemdir @tab @tempdir "
 
1587
    "@userprofiledir @username @wday @windowsdir @workingdir @yday @year";
 
1588
static const char* STE_WordList4_STE_LANG_AU3 =
 
1589
    "{!} {#} {^} {{} {}} {+} {alt} {altdown} {altup} {appskey} {asc} {backspace} {browser_back} "
 
1590
    "{browser_favorites} {browser_forward} {browser_home} {browser_refresh} {browser_search} {browser_stop} {bs} {capslock} {ctrlbreak} "
 
1591
    "{ctrldown} {ctrlup} {del} {delete} {down} {end} {enter} {esc} {escape} {f1} {f10} {f11} {f12} {f2} {f3} {f4} {f5} {f6} {f7} {f8} {f9} "
 
1592
    "{home} {ins} {insert} {lalt} {launch_app1} {launch_app2} {launch_mail} {launch_media} {lctrl} {left} {lshift} {lwin} "
 
1593
    "{lwindown} {media_next} {media_play_pause} {media_prev} {media_stop} {numlock} "
 
1594
    "{numpad0} {numpad1} {numpad2} {numpad3} {numpad4} {numpad5} {numpad6} {numpad7} {numpad8} {numpad9} "
 
1595
    "{numpadadd} {numpaddiv} {numpaddot} {numpadenter} {numpadmult} {numpadsub} {pause} {pgdn} {pgup} "
 
1596
    "{printscreen} {ralt} {rctrl} {right} {rshift} {rwin} {rwindown} {scrolllock} {shiftdown} {shiftup} {sleep} {space} {tab} {up} "
 
1597
    "{volume_down} {volume_mute} {volume_up}";
 
1598
#endif //STE_USE_LANG_AU3
 
1599
 
 
1600
//static const char* STE_WordList1_STE_LANG_APDL - nothing in scite
 
1601
 
 
1602
#if STE_USE_LANG_BASH
 
1603
static const char* STE_WordList1_STE_LANG_BASH =
 
1604
    "alias ar asa awk banner basename bash bc bdiff break bunzip2 "
 
1605
    "bzip2 cal calendar case cat cc cd chmod cksum clear cmp col comm "
 
1606
    "compress continue cp cpio crypt csplit ctags cut date dc dd "
 
1607
    "declare deroff dev df diff diff3 dircmp dirname do done du echo "
 
1608
    "ed egrep elif else env esac eval ex exec exit expand export expr "
 
1609
    "false fc fgrep fi file find fmt fold for function functions "
 
1610
    "getconf getopt getopts grep gres hash head help history iconv id "
 
1611
    "if in integer jobs join kill local lc let line ln logname look "
 
1612
    "ls m4 mail mailx make man mkdir more mt mv newgrp nl nm nohup "
 
1613
    "ntps od pack paste patch pathchk pax pcat perl pg pr print printf "
 
1614
    "ps pwd read readonly red return rev rm rmdir sed select set sh "
 
1615
    "shift size sleep sort spell split start stop strings strip stty "
 
1616
    "sum suspend sync tail tar tee test then time times touch tr trap "
 
1617
    "true tsort tty type typeset ulimit umask unalias uname uncompress "
 
1618
    "unexpand uniq unpack unset until uudecode uuencode vi vim vpax "
 
1619
    "wait wc whence which while who wpaste wstart xargs zcat";
 
1620
#endif //STE_USE_LANG_BASH
 
1621
 
 
1622
#if STE_USE_LANG_ASN1
 
1623
static const char* STE_WordList1_STE_LANG_ASN1 =
 
1624
    "ACCESS AGENT AUGMENTS "
 
1625
    "BEGIN BITS "
 
1626
    "CAPABILITIES CHOICE COMPLIANCE CONTACT CONVENTION "
 
1627
    "DEFINITIONS DEFVAL DESCRIPTION DISPLAY "
 
1628
    "END ENTERPRISE EXPORTS "
 
1629
    "FALSE FROM "
 
1630
    "GROUP GROUPS "
 
1631
    "HINT "
 
1632
    "IDENTITY IMPLIED IMPORTS INCLUDES INDEX INFO "
 
1633
    "LAST "
 
1634
    "MANDATORY MAX MIN MODULE "
 
1635
    "NOTATION NOTIFICATION NULL "
 
1636
    "OBJECTS OBJECT-TYPE OF ORGANIZATION "
 
1637
    "PRODUCT "
 
1638
    "RELEASE REFERENCE REQUIRES REVISION "
 
1639
    "SEQUENCE SIZE STATUS SUPPORTS SYNTAX "
 
1640
    "TEXTUAL TRAP TYPE TRAP-TYPE "
 
1641
    "UPDATED "
 
1642
    "VALUE VARIABLES VARIATION "
 
1643
    "WRITE";
 
1644
static const char* STE_WordList2_STE_LANG_ASN1 =
 
1645
    "accessible create current deprecated for mandatory "
 
1646
    "not notify not-accessible obsolete only optional "
 
1647
    "read read-only read-write write";
 
1648
static const char* STE_WordList3_STE_LANG_ASN1 =
 
1649
    "ABSENT ANY APPLICATION BIT BOOLEAN BY COMPONENT COMPONENTS "
 
1650
    "DEFAULT DEFINED ENUMERATED EXPLICIT EXTERNAL IMPLICIT INIFINITY "
 
1651
    "MAX MIN MINUS OPTIONAL PRESENT PRIVATE REAL SET TAGS TRUE";
 
1652
static const char* STE_WordList4_STE_LANG_ASN1 =
 
1653
    "Counter Counter32 Counter64 DisplayString Gauge Gauge32 "
 
1654
    "IDENTIFIER INTEGER Integer32 IpAddress NetworkAddress NsapAddress "
 
1655
    "OBJECT OCTET Opaque PhysAddress STRING TimeTicks UInteger32 UNITS Unsigned32";
 
1656
#endif //STE_USE_LANG_ASN1
 
1657
 
 
1658
#if STE_USE_LANG_VHDL
 
1659
static const char* STE_WordList1_STE_LANG_VHDL =
 
1660
    "keywords.$(file.patterns.vhdl)=access after alias all architecture array assert attribute begin block "
 
1661
    "body buffer bus case component configuration constant disconnect downto else elsif end entity exit file "
 
1662
    "for function generate generic group guarded if impure in inertial inout is label library linkage literal "
 
1663
    "loop map new next null of on open others out package port postponed procedure process pure range record "
 
1664
    "register reject report return select severity shared signal subtype then to transport type unaffected "
 
1665
    "units until use variable wait when while with";
 
1666
static const char* STE_WordList2_STE_LANG_VHDL =
 
1667
    "abs and mod nand nor not or rem rol ror sla sll sra srl xnor xor";
 
1668
static const char* STE_WordList3_STE_LANG_VHDL =
 
1669
    "left right low high ascending image value pos val succ pred leftof rightof base range reverse_range "
 
1670
    "length delayed stable quiet transaction event active last_event last_active last_value driving "
 
1671
    "driving_value simple_name path_name instance_name";
 
1672
static const char* STE_WordList4_STE_LANG_VHDL =
 
1673
    "now readline read writeline write endfile resolved to_bit to_bitvector to_stdulogic to_stdlogicvector "
 
1674
    "to_stdulogicvector to_x01 to_x01z to_UX01 rising_edge falling_edge is_x shift_left shift_right rotate_left "
 
1675
    "rotate_right resize to_integer to_unsigned to_signed std_match to_01";
 
1676
static const char* STE_WordList5_STE_LANG_VHDL =
 
1677
    "std ieee work standard textio std_logic_1164 std_logic_arith std_logic_misc std_logic_signed "
 
1678
    "std_logic_textio std_logic_unsigned numeric_bit numeric_std math_complex math_real vital_primitives "
 
1679
    "vital_timing";
 
1680
static const char* STE_WordList6_STE_LANG_VHDL =
 
1681
    "boolean bit character severity_level integer real time delay_length natural positive string bit_vector "
 
1682
    "file_open_kind file_open_status line text side width std_ulogic std_ulogic_vector std_logic "
 
1683
    "std_logic_vector X01 X01Z UX01 UX01Z unsigned signed";
 
1684
#endif //STE_USE_LANG_VHDL
 
1685
 
 
1686
#if STE_USE_LANG_JAVA
 
1687
static const char* STE_WordList1_STE_LANG_JAVA =
 
1688
    "abstract assert boolean break byte case catch char class const "
 
1689
    "continue default do double else extends final finally float for "
 
1690
    "future generic goto if implements import inner instanceof int "
 
1691
    "interface long native new null outer package private protected "
 
1692
    "public rest return short static super switch synchronized this "
 
1693
    "throw throws transient try var void volatile while";
 
1694
#endif //STE_USE_LANG_JAVA
 
1695
 
 
1696
#if STE_USE_LANG_JAVASCRIPT
 
1697
static const char* STE_WordList1_STE_LANG_JAVASCRIPT =
 
1698
    "abstract boolean break byte case catch char class const continue "
 
1699
    "debugger default delete do double else enum export extends final "
 
1700
    "finally float for function goto if implements import in "
 
1701
    "instanceof int interface long native new package private "
 
1702
    "protected public return short static super switch synchronized "
 
1703
    "this throw throws transient try typeof var void volatile while "
 
1704
    "with";
 
1705
#endif //STE_USE_LANG_JAVASCRIPT
 
1706
 
 
1707
#if STE_USE_LANG_RC
 
1708
static const char* STE_WordList1_STE_LANG_RC =
 
1709
    "ACCELERATORS ALT AUTO3STATE AUTOCHECKBOX AUTORADIOBUTTON BEGIN "
 
1710
    "BITMAP BLOCK BUTTON CAPTION CHARACTERISTICS CHECKBOX CLASS "
 
1711
    "COMBOBOX CONTROL CTEXT CURSOR DEFPUSHBUTTON DIALOG DIALOGEX "
 
1712
    "DISCARDABLE EDITTEXT END EXSTYLE FONT GROUPBOX ICON LANGUAGE "
 
1713
    "LISTBOX LTEXT MENU MENUEX MENUITEM MESSAGETABLE POPUP PUSHBUTTON "
 
1714
    "RADIOBUTTON RCDATA RTEXT SCROLLBAR SEPARATOR SHIFT STATE3 "
 
1715
    "STRINGTABLE STYLE TEXTINCLUDE VALUE VERSION VERSIONINFO VIRTKEY";
 
1716
#endif //STE_USE_LANG_RC
 
1717
 
 
1718
#if STE_USE_LANG_CS
 
1719
static const char* STE_WordList1_STE_LANG_CS =
 
1720
    "abstract as base bool break byte case catch char checked class "
 
1721
    "const continue decimal default delegate do double else enum event "
 
1722
    "explicit extern false finally fixed float for foreach goto if "
 
1723
    "implicit in int interface internal is lock long namespace new "
 
1724
    "null object operator out override params private protected public "
 
1725
    "readonly ref return sbyte sealed short sizeof stackalloc static "
 
1726
    "string struct switch this throw true try typeof uint ulong "
 
1727
    "unchecked unsafe ushort using virtual void while";
 
1728
#endif //STE_USE_LANG_CS
 
1729
 
 
1730
#if STE_USE_LANG_D
 
1731
static const char* STE_WordList1_STE_LANG_D =
 
1732
    "abstract alias align asm assert auto "
 
1733
    "bit body break byte case cast catch cdouble cent cfloat char class const continue creal "
 
1734
    "dchar debug default delegate delete deprecated do double "
 
1735
    "else enum export extern false final finally float for foreach function "
 
1736
    "goto idouble if ifloat import in inout int interface invariant ireal is "
 
1737
    "long mixin module new null out override package pragma private protected public "
 
1738
    "real return short static struct super switch synchronized "
 
1739
    "template this throw true try typedef typeid typeof "
 
1740
    "ubyte ucent uint ulong union unittest ushort version void volatile wchar while with";
 
1741
#endif //STE_USE_LANG_D
 
1742
 
 
1743
#if STE_USE_LANG_IDL
 
1744
static const char* STE_WordList1_STE_LANG_IDL =
 
1745
       "aggregatable allocate appobject arrays async async_uuid "
 
1746
       "uto_handle bindable boolean broadcast byte byte_count call_as "
 
1747
       "callback char coclass code comm_status const context_handle "
 
1748
       "context_handle_noserialize context_handle_serialize control "
 
1749
       "cpp_quote custom decode default defaultbind defaultcollelem "
 
1750
       "defaultvalue defaultvtable dispinterface displaybind dllname "
 
1751
       "double dual enable_allocate encode endpoint entry enum "
 
1752
       "error_status_t explicit_handle fault_status first_is float "
 
1753
       "handle_t heap helpcontext helpfile helpstring helpstringcontext "
 
1754
       "helpstringdll hidden hyper id idempotent ignore iid_as "
 
1755
       "iid_is immediatebind implicit_handle import importlib in include "
 
1756
       "in_line int __int64 __int3264 interface last_is lcid length_is "
 
1757
       "library licensed local long max_is maybe message methods "
 
1758
       "midl_pragma midl_user_allocate midl_user_free min_is module "
 
1759
       "ms_union ncacn_at_dsp ncacn_dnet_nsp ncacn_http ncacn_ip_tcp "
 
1760
       "ncacn_nb_ipx ncacn_nb_nb ncacn_nb_tcp ncacn_np ncacn_spx "
 
1761
       "ncacn_vns_spp ncadg_ip_udp ncadg_ipx ncadg_mq ncalrpc nocode "
 
1762
       "nonbrowsable noncreatable nonextensible notify object odl "
 
1763
       "oleautomation optimize optional out out_of_line pipe "
 
1764
       "pointer_default pragma properties propget propput propputref ptr "
 
1765
       "public range readonly ref represent_as requestedit restricted "
 
1766
       "retval shape short signed size_is small source "
 
1767
       "strict_context_handle string struct switch switch_is switch_type "
 
1768
       "transmit_as typedef uidefault union unique unsigned user_marshal "
 
1769
       "usesgetlasterror uuid v1_enum vararg version void wchar_t "
 
1770
       "wire_marshal";
 
1771
#endif //STE_USE_LANG_IDL
 
1772
 
 
1773
#if STE_USE_LANG_PLSQL
 
1774
static const char* STE_WordList1_STE_LANG_PLSQL =
 
1775
       "all alter and any array as asc at authid avg begin between binary_integer "
 
1776
       "body boolean bulk by char char_base check close cluster collect comment "
 
1777
       "commit compress connect constant create current currval cursor date day "
 
1778
       "declare decimal default delete desc distinct do drop else elsif end "
 
1779
       "exception exclusive execute exists exit extends false fetch float for "
 
1780
       "forall from function goto group having heap hour if immediate in index "
 
1781
       "indicator insert integer interface intersect interval into is isolation "
 
1782
       "java level like limited lock long loop max min minus minute mlslabel mod "
 
1783
       "mode month natural naturaln new nextval nocopy not nowait null number "
 
1784
       "number_base ocirowid of on opaque open operator option or order "
 
1785
       "organization others out package partition pctfree pls_integer positive "
 
1786
       "positiven pragma prior private procedure public raise range raw real record "
 
1787
       "ref release return reverse rollback row rowid rownum rowtype savepoint "
 
1788
       "second select separate set share smallint space sql sqlcode sqlerrm start "
 
1789
       "stddev subtype successful sum synonym sysdate table then time timestamp to "
 
1790
       "trigger true type uid union unique update use user validate values varchar "
 
1791
       "varchar2 variance view when whenever where while with work write year zone";
 
1792
#endif //STE_USE_LANG_PLSQL
 
1793
 
 
1794
#if STE_USE_LANG_SQUIRREL
 
1795
static const char* STE_WordList1_STE_LANG_SQUIRREL =
 
1796
    "break case catch class clone constructor continue "
 
1797
    "default delegate delete do else extends false for foreach function "
 
1798
    "if in instanceof local null parent "
 
1799
    "resume return static switch this true "
 
1800
    "throw try typeof var vargc vargv while yield ";
 
1801
#endif //STE_USE_LANG_SQUIRREL
 
1802
 
 
1803
 
 
1804
#define STE_LexerWords_STE_LANG_CONTAINER_COUNT 0
 
1805
#define DefSTE_LexerWords_STE_LANG_CONTAINER \
 
1806
    STE_LexerWords* STE_LexerWords_STE_LANG_CONTAINER   = NULL;
 
1807
 
 
1808
#define STE_LexerWords_STE_LANG_NULL_COUNT 0
 
1809
#define DefSTE_LexerWords_STE_LANG_NULL \
 
1810
    STE_LexerWords* STE_LexerWords_STE_LANG_NULL        = NULL;
 
1811
 
 
1812
#define STE_LexerWords_STE_LANG_PYTHON_COUNT 1
 
1813
#define DefSTE_LexerWords_STE_LANG_PYTHON \
 
1814
    STE_LexerWords STE_LexerWords_STE_LANG_PYTHON[]     = { { 1, STE_WordList1_STE_LANG_PYTHON } };
 
1815
 
 
1816
#define STE_LexerWords_STE_LANG_CPP_COUNT 3
 
1817
#define DefSTE_LexerWords_STE_LANG_CPP \
 
1818
    STE_LexerWords STE_LexerWords_STE_LANG_CPP[]        = { { 1, STE_WordList1_STE_LANG_CPP }, \
 
1819
                                                            { 1, STE_WordList2_STE_LANG_CPP }, \
 
1820
                                                            { 1, STE_WordList3_STE_LANG_CPP } };
 
1821
 
 
1822
#define STE_LexerWords_STE_LANG_HTML_COUNT 5
 
1823
#define DefSTE_LexerWords_STE_LANG_HTML \
 
1824
    STE_LexerWords STE_LexerWords_STE_LANG_HTML[]       = { { 1, STE_WordList1_STE_LANG_HTML }, \
 
1825
                                                            { 1, STE_WordList1_STE_LANG_JAVASCRIPT }, \
 
1826
                                                            { 1, STE_WordList1_STE_LANG_VB }, \
 
1827
                                                            { 1, STE_WordList1_STE_LANG_PYTHON }, \
 
1828
                                                            { 1, STE_WordList1_STE_LANG_PHP } };
 
1829
 
 
1830
#define STE_LexerWords_STE_LANG_XML_COUNT 0
 
1831
#define DefSTE_LexerWords_STE_LANG_XML \
 
1832
    STE_LexerWords* STE_LexerWords_STE_LANG_XML         = NULL;
 
1833
 
 
1834
#define STE_LexerWords_STE_LANG_PERL_COUNT 1
 
1835
#define DefSTE_LexerWords_STE_LANG_PERL \
 
1836
    STE_LexerWords STE_LexerWords_STE_LANG_PERL[]       = { { 1, STE_WordList1_STE_LANG_PERL } };
 
1837
 
 
1838
#define STE_LexerWords_STE_LANG_SQL_COUNT 1
 
1839
#define DefSTE_LexerWords_STE_LANG_SQL \
 
1840
    STE_LexerWords STE_LexerWords_STE_LANG_SQL[]        = { { 1, STE_WordList1_STE_LANG_SQL } };
 
1841
 
 
1842
#define STE_LexerWords_STE_LANG_VB_COUNT 1
 
1843
#define DefSTE_LexerWords_STE_LANG_VB \
 
1844
    STE_LexerWords STE_LexerWords_STE_LANG_VB[]         = { { 1, STE_WordList1_STE_LANG_VB } };
 
1845
 
 
1846
#define STE_LexerWords_STE_LANG_PROPERTIES_COUNT 0
 
1847
#define DefSTE_LexerWords_STE_LANG_PROPERTIES \
 
1848
    STE_LexerWords* STE_LexerWords_STE_LANG_PROPERTIES  = NULL;
 
1849
 
 
1850
#define STE_LexerWords_STE_LANG_ERRORLIST_COUNT 0
 
1851
#define DefSTE_LexerWords_STE_LANG_ERRORLIST \
 
1852
    STE_LexerWords* STE_LexerWords_STE_LANG_ERRORLIST   = NULL;
 
1853
 
 
1854
#define STE_LexerWords_STE_LANG_MAKEFILE_COUNT 0
 
1855
#define DefSTE_LexerWords_STE_LANG_MAKEFILE \
 
1856
    STE_LexerWords* STE_LexerWords_STE_LANG_MAKEFILE    = NULL;
 
1857
 
 
1858
#define STE_LexerWords_STE_LANG_BATCH_COUNT 1
 
1859
#define DefSTE_LexerWords_STE_LANG_BATCH \
 
1860
    STE_LexerWords STE_LexerWords_STE_LANG_BATCH[]      = { { 1, STE_WordList1_STE_LANG_BATCH } };
 
1861
 
 
1862
#define STE_LexerWords_STE_LANG_XCODE_COUNT 0
 
1863
#define DefSTE_LexerWords_STE_LANG_XCODE \
 
1864
    STE_LexerWords* STE_LexerWords_STE_LANG_XCODE       = NULL;
 
1865
 
 
1866
#define STE_LexerWords_STE_LANG_LATEX_COUNT 1
 
1867
#define DefSTE_LexerWords_STE_LANG_LATEX \
 
1868
    STE_LexerWords STE_LexerWords_STE_LANG_LATEX[]      = { { 1, STE_WordList1_STE_LANG_LATEX } };
 
1869
 
 
1870
#define STE_LexerWords_STE_LANG_LUA_COUNT 4
 
1871
#define DefSTE_LexerWords_STE_LANG_LUA \
 
1872
    STE_LexerWords STE_LexerWords_STE_LANG_LUA[]        = { { 1, STE_WordList1_STE_LANG_LUA }, \
 
1873
                                                            { 1, STE_WordList2_STE_LANG_LUA }, \
 
1874
                                                            { 1, STE_WordList3_STE_LANG_LUA }, \
 
1875
                                                            { 1, STE_WordList4_STE_LANG_LUA } };
 
1876
 
 
1877
#define STE_LexerWords_STE_LANG_DIFF_COUNT 0
 
1878
#define DefSTE_LexerWords_STE_LANG_DIFF \
 
1879
    STE_LexerWords* STE_LexerWords_STE_LANG_DIFF        = NULL;
 
1880
 
 
1881
#define STE_LexerWords_STE_LANG_CONF_COUNT 2
 
1882
#define DefSTE_LexerWords_STE_LANG_CONF \
 
1883
    STE_LexerWords STE_LexerWords_STE_LANG_CONF[]       = { { 1, STE_WordList1_STE_LANG_CONF }, \
 
1884
                                                            { 1, STE_WordList2_STE_LANG_CONF } };
 
1885
 
 
1886
#define STE_LexerWords_STE_LANG_PASCAL_COUNT 1
 
1887
#define DefSTE_LexerWords_STE_LANG_PASCAL \
 
1888
    STE_LexerWords STE_LexerWords_STE_LANG_PASCAL[]     = { { 1, STE_WordList1_STE_LANG_PASCAL } };
 
1889
 
 
1890
#define STE_LexerWords_STE_LANG_AVE_COUNT 1
 
1891
#define DefSTE_LexerWords_STE_LANG_AVE \
 
1892
    STE_LexerWords STE_LexerWords_STE_LANG_AVE[]        = { { 1, STE_WordList1_STE_LANG_AVE } };
 
1893
 
 
1894
#define STE_LexerWords_STE_LANG_ADA_COUNT 1
 
1895
#define DefSTE_LexerWords_STE_LANG_ADA \
 
1896
    STE_LexerWords STE_LexerWords_STE_LANG_ADA[]        = { { 1, STE_WordList1_STE_LANG_ADA }  };
 
1897
 
 
1898
#define STE_LexerWords_STE_LANG_LISP_COUNT 1
 
1899
#define DefSTE_LexerWords_STE_LANG_LISP \
 
1900
    STE_LexerWords STE_LexerWords_STE_LANG_LISP[]       = { { 1, STE_WordList1_STE_LANG_LISP } };
 
1901
 
 
1902
#define STE_LexerWords_STE_LANG_RUBY_COUNT 1
 
1903
#define DefSTE_LexerWords_STE_LANG_RUBY \
 
1904
    STE_LexerWords STE_LexerWords_STE_LANG_RUBY[]       = { { 1, STE_WordList1_STE_LANG_RUBY } };
 
1905
 
 
1906
#define STE_LexerWords_STE_LANG_EIFFEL_COUNT 1
 
1907
#define DefSTE_LexerWords_STE_LANG_EIFFEL \
 
1908
    STE_LexerWords STE_LexerWords_STE_LANG_EIFFEL[]     = { { 1, STE_WordList1_STE_LANG_EIFFEL } };
 
1909
 
 
1910
#define STE_LexerWords_STE_LANG_EIFFELKW_COUNT 1
 
1911
#define DefSTE_LexerWords_STE_LANG_EIFFELKW \
 
1912
    STE_LexerWords STE_LexerWords_STE_LANG_EIFFELKW[]   = { { 1, STE_WordList1_STE_LANG_EIFFEL } };
 
1913
 
 
1914
#define STE_LexerWords_STE_LANG_TCL_COUNT 1
 
1915
#define DefSTE_LexerWords_STE_LANG_TCL \
 
1916
    STE_LexerWords STE_LexerWords_STE_LANG_TCL[]        = { { 1, STE_WordList1_STE_LANG_TCL } };
 
1917
 
 
1918
#define STE_LexerWords_STE_LANG_NNCRONTAB_COUNT 3
 
1919
#define DefSTE_LexerWords_STE_LANG_NNCRONTAB \
 
1920
    STE_LexerWords STE_LexerWords_STE_LANG_NNCRONTAB[]  = { { 1, STE_WordList1_STE_LANG_NNCRONTAB }, \
 
1921
                                                            { 1, STE_WordList2_STE_LANG_NNCRONTAB }, \
 
1922
                                                            { 1, STE_WordList3_STE_LANG_NNCRONTAB } };
 
1923
 
 
1924
#define STE_LexerWords_STE_LANG_BULLANT_COUNT 1
 
1925
#define DefSTE_LexerWords_STE_LANG_BULLANT \
 
1926
    STE_LexerWords STE_LexerWords_STE_LANG_BULLANT[]    = { { 1, STE_WordList1_STE_LANG_BULLANT } };
 
1927
 
 
1928
#define STE_LexerWords_STE_LANG_VBSCRIPT_COUNT 1
 
1929
#define DefSTE_LexerWords_STE_LANG_VBSCRIPT \
 
1930
    STE_LexerWords STE_LexerWords_STE_LANG_VBSCRIPT[]   = { { 1, STE_WordList1_STE_LANG_VBSCRIPT } };
 
1931
 
 
1932
#define STE_LexerWords_STE_LANG_ASP_COUNT 0
 
1933
#define DefSTE_LexerWords_STE_LANG_ASP \
 
1934
    STE_LexerWords* STE_LexerWords_STE_LANG_ASP         = NULL;
 
1935
 
 
1936
#define STE_LexerWords_STE_LANG_PHP_COUNT 1
 
1937
#define DefSTE_LexerWords_STE_LANG_PHP \
 
1938
    STE_LexerWords STE_LexerWords_STE_LANG_PHP[]        = { { 1, STE_WordList1_STE_LANG_PHP } };
 
1939
 
 
1940
#define STE_LexerWords_STE_LANG_BAAN_COUNT 0
 
1941
#define DefSTE_LexerWords_STE_LANG_BAAN \
 
1942
    STE_LexerWords* STE_LexerWords_STE_LANG_BAAN        = NULL;
 
1943
 
 
1944
#define STE_LexerWords_STE_LANG_MATLAB_COUNT 1
 
1945
#define DefSTE_LexerWords_STE_LANG_MATLAB \
 
1946
    STE_LexerWords STE_LexerWords_STE_LANG_MATLAB[]     = { { 1, STE_WordList1_STE_LANG_MATLAB } };
 
1947
 
 
1948
#define STE_LexerWords_STE_LANG_SCRIPTOL_COUNT 1
 
1949
#define DefSTE_LexerWords_STE_LANG_SCRIPTOL \
 
1950
    STE_LexerWords STE_LexerWords_STE_LANG_SCRIPTOL[]   = { { 1, STE_WordList1_STE_LANG_SCRIPTOL } };
 
1951
 
 
1952
#define STE_LexerWords_STE_LANG_ASM_COUNT 5
 
1953
#define DefSTE_LexerWords_STE_LANG_ASM \
 
1954
    STE_LexerWords STE_LexerWords_STE_LANG_ASM[]        = { { 1, STE_WordList1_STE_LANG_ASM }, \
 
1955
                                                            { 1, STE_WordList2_STE_LANG_ASM }, \
 
1956
                                                            { 1, STE_WordList3_STE_LANG_ASM }, \
 
1957
                                                            { 1, STE_WordList4_STE_LANG_ASM }, \
 
1958
                                                            { 1, STE_WordList5_STE_LANG_ASM } };
 
1959
 
 
1960
#define STE_LexerWords_STE_LANG_CPPNOCASE_COUNT 3
 
1961
#define DefSTE_LexerWords_STE_LANG_CPPNOCASE \
 
1962
    STE_LexerWords STE_LexerWords_STE_LANG_CPPNOCASE[]  = { { 1, STE_WordList1_STE_LANG_CPP }, \
 
1963
                                                            { 1, STE_WordList2_STE_LANG_CPP }, \
 
1964
                                                            { 1, STE_WordList3_STE_LANG_CPP } };
 
1965
 
 
1966
#define STE_LexerWords_STE_LANG_FORTRAN_COUNT 2
 
1967
#define DefSTE_LexerWords_STE_LANG_FORTRAN \
 
1968
    STE_LexerWords STE_LexerWords_STE_LANG_FORTRAN[]    = { { 1, STE_WordList1_STE_LANG_FORTRAN }, \
 
1969
                                                            { 1, STE_WordList2_STE_LANG_FORTRAN } };
 
1970
 
 
1971
#define STE_LexerWords_STE_LANG_F77_COUNT 2
 
1972
#define DefSTE_LexerWords_STE_LANG_F77 \
 
1973
    STE_LexerWords STE_LexerWords_STE_LANG_F77[]        = { { 1, STE_WordList1_STE_LANG_FORTRAN }, \
 
1974
                                                            { 1, STE_WordList2_STE_LANG_FORTRAN } };
 
1975
 
 
1976
#define STE_LexerWords_STE_LANG_CSS_COUNT 2
 
1977
#define DefSTE_LexerWords_STE_LANG_CSS \
 
1978
    STE_LexerWords STE_LexerWords_STE_LANG_CSS[]        = { { 1, STE_WordList1_STE_LANG_CSS }, \
 
1979
                                                            { 1, STE_WordList2_STE_LANG_CSS } };
 
1980
 
 
1981
#define STE_LexerWords_STE_LANG_POV_COUNT 5
 
1982
#define DefSTE_LexerWords_STE_LANG_POV \
 
1983
    STE_LexerWords STE_LexerWords_STE_LANG_POV[]        = { { 1, STE_WordList1_STE_LANG_POV }, \
 
1984
                                                            { 1, STE_WordList2_STE_LANG_POV }, \
 
1985
                                                            { 1, STE_WordList3_STE_LANG_POV }, \
 
1986
                                                            { 1, STE_WordList4_STE_LANG_POV }, \
 
1987
                                                            { 1, STE_WordList5_STE_LANG_POV } };
 
1988
 
 
1989
#define STE_LexerWords_STE_LANG_LOUT_COUNT 3
 
1990
#define DefSTE_LexerWords_STE_LANG_LOUT \
 
1991
    STE_LexerWords STE_LexerWords_STE_LANG_LOUT[]       = { { 1, STE_WordList1_STE_LANG_LOUT }, \
 
1992
                                                            { 1, STE_WordList2_STE_LANG_LOUT }, \
 
1993
                                                            { 1, STE_WordList3_STE_LANG_LOUT } };
 
1994
 
 
1995
#define STE_LexerWords_STE_LANG_ESCRIPT_COUNT 3
 
1996
#define DefSTE_LexerWords_STE_LANG_ESCRIPT \
 
1997
    STE_LexerWords STE_LexerWords_STE_LANG_ESCRIPT[]    = { { 1, STE_WordList1_STE_LANG_ESCRIPT }, \
 
1998
                                                            { 1, STE_WordList2_STE_LANG_ESCRIPT }, \
 
1999
                                                            { 1, STE_WordList3_STE_LANG_ESCRIPT } };
 
2000
 
 
2001
#define STE_LexerWords_STE_LANG_PS_COUNT 4
 
2002
#define DefSTE_LexerWords_STE_LANG_PS \
 
2003
    STE_LexerWords STE_LexerWords_STE_LANG_PS[]         = { { 1, STE_WordList1_STE_LANG_PS }, \
 
2004
                                                            { 1, STE_WordList2_STE_LANG_PS }, \
 
2005
                                                            { 1, STE_WordList3_STE_LANG_PS }, \
 
2006
                                                            { 1, STE_WordList4_STE_LANG_PS } };
 
2007
 
 
2008
#define STE_LexerWords_STE_LANG_NSIS_COUNT 4
 
2009
#define DefSTE_LexerWords_STE_LANG_NSIS \
 
2010
    STE_LexerWords STE_LexerWords_STE_LANG_NSIS[]       = { { 1, STE_WordList1_STE_LANG_NSIS }, \
 
2011
                                                            { 1, STE_WordList2_STE_LANG_NSIS }, \
 
2012
                                                            { 1, STE_WordList3_STE_LANG_NSIS }, \
 
2013
                                                            { 1, STE_WordList4_STE_LANG_NSIS } };
 
2014
 
 
2015
#define STE_LexerWords_STE_LANG_MMIXAL_COUNT 3
 
2016
#define DefSTE_LexerWords_STE_LANG_MMIXAL \
 
2017
    STE_LexerWords STE_LexerWords_STE_LANG_MMIXAL[]     = { { 1, STE_WordList1_STE_LANG_MMIXAL }, \
 
2018
                                                            { 1, STE_WordList2_STE_LANG_MMIXAL }, \
 
2019
                                                            { 1, STE_WordList3_STE_LANG_MMIXAL } };
 
2020
 
 
2021
#define STE_LexerWords_STE_LANG_CLW_COUNT 0
 
2022
#define DefSTE_LexerWords_STE_LANG_CLW  \
 
2023
    STE_LexerWords* STE_LexerWords_STE_LANG_CLW         = NULL;
 
2024
 
 
2025
#define STE_LexerWords_STE_LANG_CLWNOCASE_COUNT 0
 
2026
#define DefSTE_LexerWords_STE_LANG_CLWNOCASE \
 
2027
    STE_LexerWords* STE_LexerWords_STE_LANG_CLWNOCASE   = NULL;
 
2028
 
 
2029
#define STE_LexerWords_STE_LANG_LOT_COUNT 0
 
2030
#define DefSTE_LexerWords_STE_LANG_LOT  \
 
2031
    STE_LexerWords* STE_LexerWords_STE_LANG_LOT         = NULL;
 
2032
 
 
2033
#define STE_LexerWords_STE_LANG_YAML_COUNT 1
 
2034
#define DefSTE_LexerWords_STE_LANG_YAML \
 
2035
    STE_LexerWords STE_LexerWords_STE_LANG_YAML[]       = { { 1, STE_WordList1_STE_LANG_YAML } };
 
2036
 
 
2037
#define STE_LexerWords_STE_LANG_TEX_COUNT 0
 
2038
#define DefSTE_LexerWords_STE_LANG_TEX  \
 
2039
    STE_LexerWords STE_LexerWords_STE_LANG_TEX[]        = { { 1, STE_WordList1_STE_LANG_LATEX } };
 
2040
 
 
2041
#define STE_LexerWords_STE_LANG_METAPOST_COUNT 1
 
2042
#define DefSTE_LexerWords_STE_LANG_METAPOST \
 
2043
    STE_LexerWords STE_LexerWords_STE_LANG_METAPOST[]   = { { 1, STE_WordList1_STE_LANG_METAPOST } };
 
2044
 
 
2045
#define STE_LexerWords_STE_LANG_POWERBASIC_COUNT 0
 
2046
#define DefSTE_LexerWords_STE_LANG_POWERBASIC \
 
2047
    STE_LexerWords* STE_LexerWords_STE_LANG_POWERBASIC  = NULL;
 
2048
 
 
2049
#define STE_LexerWords_STE_LANG_FORTH_COUNT 3
 
2050
#define DefSTE_LexerWords_STE_LANG_FORTH \
 
2051
    STE_LexerWords STE_LexerWords_STE_LANG_FORTH[]      = { { 1, STE_WordList1_STE_LANG_FORTH }, \
 
2052
                                                            { 1, STE_WordList2_STE_LANG_FORTH }, \
 
2053
                                                            { 1, STE_WordList3_STE_LANG_FORTH } };
 
2054
 
 
2055
#define STE_LexerWords_STE_LANG_ERLANG_COUNT 1
 
2056
#define DefSTE_LexerWords_STE_LANG_ERLANG \
 
2057
    STE_LexerWords STE_LexerWords_STE_LANG_ERLANG[]     = { { 1, STE_WordList1_STE_LANG_ERLANG } };
 
2058
 
 
2059
#define STE_LexerWords_STE_LANG_OCTAVE_COUNT 1
 
2060
#define DefSTE_LexerWords_STE_LANG_OCTAVE \
 
2061
    STE_LexerWords STE_LexerWords_STE_LANG_OCTAVE[]     = { { 1, STE_WordList1_STE_LANG_MATLAB } };
 
2062
 
 
2063
#define STE_LexerWords_STE_LANG_MSSQL_COUNT 0
 
2064
#define DefSTE_LexerWords_STE_LANG_MSSQL \
 
2065
    STE_LexerWords* STE_LexerWords_STE_LANG_MSSQL       = NULL;
 
2066
 
 
2067
#define STE_LexerWords_STE_LANG_VERILOG_COUNT 3
 
2068
#define DefSTE_LexerWords_STE_LANG_VERILOG \
 
2069
    STE_LexerWords STE_LexerWords_STE_LANG_VERILOG[]    = { { 1, STE_WordList1_STE_LANG_VERILOG }, \
 
2070
                                                            { 1, STE_WordList2_STE_LANG_VERILOG }, \
 
2071
                                                            { 1, STE_WordList3_STE_LANG_VERILOG } };
 
2072
 
 
2073
#define STE_LexerWords_STE_LANG_KIX_COUNT 3
 
2074
#define DefSTE_LexerWords_STE_LANG_KIX \
 
2075
    STE_LexerWords STE_LexerWords_STE_LANG_KIX[]        = { { 1, STE_WordList1_STE_LANG_KIX }, \
 
2076
                                                            { 1, STE_WordList2_STE_LANG_KIX }, \
 
2077
                                                            { 1, STE_WordList3_STE_LANG_KIX } };
 
2078
 
 
2079
#define STE_LexerWords_STE_LANG_GUI4CLI_COUNT 0
 
2080
#define DefSTE_LexerWords_STE_LANG_GUI4CLI \
 
2081
    STE_LexerWords* STE_LexerWords_STE_LANG_GUI4CLI     = NULL;
 
2082
 
 
2083
#define STE_LexerWords_STE_LANG_SPECMAN_COUNT 3
 
2084
#define DefSTE_LexerWords_STE_LANG_SPECMAN \
 
2085
    STE_LexerWords STE_LexerWords_STE_LANG_SPECMAN[]    = { { 1, STE_WordList1_STE_LANG_SPECMAN }, \
 
2086
                                                            { 1, STE_WordList2_STE_LANG_SPECMAN }, \
 
2087
                                                            { 1, STE_WordList3_STE_LANG_SPECMAN } };
 
2088
 
 
2089
#define STE_LexerWords_STE_LANG_AU3_COUNT 4
 
2090
#define DefSTE_LexerWords_STE_LANG_AU3 \
 
2091
    STE_LexerWords STE_LexerWords_STE_LANG_AU3[]        = { { 1, STE_WordList1_STE_LANG_AU3 }, \
 
2092
                                                            { 1, STE_WordList2_STE_LANG_AU3 }, \
 
2093
                                                            { 1, STE_WordList3_STE_LANG_AU3 }, \
 
2094
                                                            { 1, STE_WordList4_STE_LANG_AU3 } };
 
2095
 
 
2096
#define STE_LexerWords_STE_LANG_APDL_COUNT 0
 
2097
#define DefSTE_LexerWords_STE_LANG_APDL \
 
2098
    STE_LexerWords* STE_LexerWords_STE_LANG_APDL        = NULL;
 
2099
 
 
2100
#define STE_LexerWords_STE_LANG_BASH_COUNT 1
 
2101
#define DefSTE_LexerWords_STE_LANG_BASH \
 
2102
    STE_LexerWords STE_LexerWords_STE_LANG_BASH[]       = { { 1, STE_WordList1_STE_LANG_BASH } };
 
2103
 
 
2104
#define STE_LexerWords_STE_LANG_ASN1_COUNT 4
 
2105
#define DefSTE_LexerWords_STE_LANG_ASN1 \
 
2106
    STE_LexerWords STE_LexerWords_STE_LANG_ASN1[]       = { { 1, STE_WordList1_STE_LANG_ASN1 }, \
 
2107
                                                            { 1, STE_WordList2_STE_LANG_ASN1 }, \
 
2108
                                                            { 1, STE_WordList3_STE_LANG_ASN1 }, \
 
2109
                                                            { 1, STE_WordList4_STE_LANG_ASN1 } };
 
2110
 
 
2111
#define STE_LexerWords_STE_LANG_VHDL_COUNT 6
 
2112
#define DefSTE_LexerWords_STE_LANG_VHDL \
 
2113
    STE_LexerWords STE_LexerWords_STE_LANG_VHDL[]       = { { 1, STE_WordList1_STE_LANG_VHDL }, \
 
2114
                                                            { 1, STE_WordList2_STE_LANG_VHDL }, \
 
2115
                                                            { 1, STE_WordList3_STE_LANG_VHDL }, \
 
2116
                                                            { 1, STE_WordList4_STE_LANG_VHDL }, \
 
2117
                                                            { 1, STE_WordList5_STE_LANG_VHDL }, \
 
2118
                                                            { 1, STE_WordList6_STE_LANG_VHDL } };
 
2119
 
 
2120
#define STE_LexerWords_STE_LANG_JAVA_COUNT 1
 
2121
#define DefSTE_LexerWords_STE_LANG_JAVA \
 
2122
    STE_LexerWords STE_LexerWords_STE_LANG_JAVA[]       = { { 1, STE_WordList1_STE_LANG_JAVA } };
 
2123
 
 
2124
#define STE_LexerWords_STE_LANG_JAVASCRIPT_COUNT 1
 
2125
#define DefSTE_LexerWords_STE_LANG_JAVASCRIPT \
 
2126
    STE_LexerWords STE_LexerWords_STE_LANG_JAVASCRIPT[] = { { 1, STE_WordList1_STE_LANG_JAVASCRIPT } };
 
2127
 
 
2128
#define STE_LexerWords_STE_LANG_RC_COUNT 1
 
2129
#define DefSTE_LexerWords_STE_LANG_RC \
 
2130
    STE_LexerWords STE_LexerWords_STE_LANG_RC[]         = { { 1, STE_WordList1_STE_LANG_RC } };
 
2131
 
 
2132
#define STE_LexerWords_STE_LANG_CS_COUNT 1
 
2133
#define DefSTE_LexerWords_STE_LANG_CS \
 
2134
    STE_LexerWords STE_LexerWords_STE_LANG_CS[]         = { { 1, STE_WordList1_STE_LANG_CS } };
 
2135
 
 
2136
#define STE_LexerWords_STE_LANG_D_COUNT 1
 
2137
#define DefSTE_LexerWords_STE_LANG_D \
 
2138
    STE_LexerWords STE_LexerWords_STE_LANG_D[]          = { { 1, STE_WordList1_STE_LANG_D } };
 
2139
 
 
2140
#define STE_LexerWords_STE_LANG_IDL_COUNT 1
 
2141
#define DefSTE_LexerWords_STE_LANG_IDL \
 
2142
    STE_LexerWords STE_LexerWords_STE_LANG_IDL[]        = { { 1, STE_WordList1_STE_LANG_IDL } };
 
2143
 
 
2144
#define STE_LexerWords_STE_LANG_PLSQL_COUNT 1
 
2145
#define DefSTE_LexerWords_STE_LANG_PLSQL \
 
2146
    STE_LexerWords STE_LexerWords_STE_LANG_PLSQL[]      = { { 1, STE_WordList1_STE_LANG_PLSQL } };
 
2147
 
 
2148
#define STE_LexerWords_STE_LANG_SQUIRREL_COUNT 1
 
2149
#define DefSTE_LexerWords_STE_LANG_SQUIRREL \
 
2150
    STE_LexerWords STE_LexerWords_STE_LANG_SQUIRREL[]   = { { 1, STE_WordList1_STE_LANG_SQUIRREL } };
 
2151
 
 
2152
// ---------------------------------------------------------------------------
 
2153
// Human readable names for the languages
 
2154
#define STE_LexerName_STE_LANG_CONTAINER  "Container"
 
2155
#define STE_LexerName_STE_LANG_NULL       "Text"
 
2156
#define STE_LexerName_STE_LANG_PYTHON     "Python"
 
2157
#define STE_LexerName_STE_LANG_CPP        "C/C++"
 
2158
#define STE_LexerName_STE_LANG_HTML       "HTML"
 
2159
#define STE_LexerName_STE_LANG_XML        "XML"
 
2160
#define STE_LexerName_STE_LANG_PERL       "Perl"
 
2161
#define STE_LexerName_STE_LANG_SQL        "SQL"
 
2162
#define STE_LexerName_STE_LANG_VB         "Visual Basic"
 
2163
#define STE_LexerName_STE_LANG_PROPERTIES "Properties"
 
2164
#define STE_LexerName_STE_LANG_ERRORLIST  "ErrorList"
 
2165
#define STE_LexerName_STE_LANG_MAKEFILE   "Makefile"
 
2166
#define STE_LexerName_STE_LANG_BATCH      "Batch"
 
2167
#define STE_LexerName_STE_LANG_XCODE      "XCode"
 
2168
#define STE_LexerName_STE_LANG_LATEX      "LaTex"
 
2169
#define STE_LexerName_STE_LANG_LUA        "Lua"
 
2170
#define STE_LexerName_STE_LANG_DIFF       "Diff"
 
2171
#define STE_LexerName_STE_LANG_CONF       "Conf"
 
2172
#define STE_LexerName_STE_LANG_PASCAL     "Pascal"
 
2173
#define STE_LexerName_STE_LANG_AVE        "Avenue"
 
2174
#define STE_LexerName_STE_LANG_ADA        "Ada"
 
2175
#define STE_LexerName_STE_LANG_LISP       "Lisp"
 
2176
#define STE_LexerName_STE_LANG_RUBY       "Ruby"
 
2177
#define STE_LexerName_STE_LANG_EIFFEL     "Eiffel"
 
2178
#define STE_LexerName_STE_LANG_EIFFELKW   "EiffelKW"
 
2179
#define STE_LexerName_STE_LANG_TCL        "TCL"
 
2180
#define STE_LexerName_STE_LANG_NNCRONTAB  "NNCronTab"
 
2181
#define STE_LexerName_STE_LANG_BULLANT    "Bullant"
 
2182
#define STE_LexerName_STE_LANG_VBSCRIPT   "VB Script"
 
2183
#define STE_LexerName_STE_LANG_ASP        "Active Server Pages (ASP)"
 
2184
#define STE_LexerName_STE_LANG_PHP        "PHP"
 
2185
#define STE_LexerName_STE_LANG_BAAN       "Baan"
 
2186
#define STE_LexerName_STE_LANG_MATLAB     "Matlab"
 
2187
#define STE_LexerName_STE_LANG_SCRIPTOL   "Scriptol"
 
2188
#define STE_LexerName_STE_LANG_ASM        "Asm"
 
2189
#define STE_LexerName_STE_LANG_CPPNOCASE  "C/C++ nocase"
 
2190
#define STE_LexerName_STE_LANG_FORTRAN    "Fortran"
 
2191
#define STE_LexerName_STE_LANG_F77        "Fortran 77"
 
2192
#define STE_LexerName_STE_LANG_CSS        "Cascade Style Sheet (CSS)"
 
2193
#define STE_LexerName_STE_LANG_POV        "PovRay"
 
2194
#define STE_LexerName_STE_LANG_LOUT       "Lout"
 
2195
#define STE_LexerName_STE_LANG_ESCRIPT    "EScript"
 
2196
#define STE_LexerName_STE_LANG_PS         "PostScript"
 
2197
#define STE_LexerName_STE_LANG_NSIS       "NSIS"
 
2198
#define STE_LexerName_STE_LANG_MMIXAL     "MMixal"
 
2199
#define STE_LexerName_STE_LANG_CLW        "CLW"
 
2200
#define STE_LexerName_STE_LANG_CLWNOCASE  "CLW nocase"
 
2201
#define STE_LexerName_STE_LANG_LOT        "Lot"
 
2202
#define STE_LexerName_STE_LANG_YAML       "YAML"
 
2203
#define STE_LexerName_STE_LANG_TEX        "Tex"
 
2204
#define STE_LexerName_STE_LANG_METAPOST   "Metapost"
 
2205
#define STE_LexerName_STE_LANG_POWERBASIC "PowerBasic"
 
2206
#define STE_LexerName_STE_LANG_FORTH      "Forth"
 
2207
#define STE_LexerName_STE_LANG_ERLANG     "Erlang"
 
2208
#define STE_LexerName_STE_LANG_OCTAVE     "Octave"
 
2209
#define STE_LexerName_STE_LANG_MSSQL      "MSSQL"
 
2210
#define STE_LexerName_STE_LANG_VERILOG    "Verilog"
 
2211
#define STE_LexerName_STE_LANG_KIX        "KIX"
 
2212
#define STE_LexerName_STE_LANG_GUI4CLI    "Gui3Cli"
 
2213
#define STE_LexerName_STE_LANG_SPECMAN    "Specman"
 
2214
#define STE_LexerName_STE_LANG_AU3        "AU3"
 
2215
#define STE_LexerName_STE_LANG_APDL       "APDL"
 
2216
#define STE_LexerName_STE_LANG_BASH       "BASH"
 
2217
#define STE_LexerName_STE_LANG_ASN1       "ASN1"
 
2218
#define STE_LexerName_STE_LANG_VHDL       "VHDL"
 
2219
#define STE_LexerName_STE_LANG_JAVA       "Java"
 
2220
#define STE_LexerName_STE_LANG_JAVASCRIPT "JavaScript"
 
2221
#define STE_LexerName_STE_LANG_RC         "Resource"
 
2222
#define STE_LexerName_STE_LANG_CS         "C#"
 
2223
#define STE_LexerName_STE_LANG_D          "D"
 
2224
#define STE_LexerName_STE_LANG_IDL        "IDL"
 
2225
#define STE_LexerName_STE_LANG_PLSQL      "PL-SQL"
 
2226
#define STE_LexerName_STE_LANG_SQUIRREL   "Squirrel"
 
2227
 
 
2228
// ---------------------------------------------------------------------------
 
2229
// Mapping between languages and scintilla's lexers
 
2230
#define STE_LexerLang_STE_LANG_CONTAINER  wxSTC_LEX_CONTAINER
 
2231
#define STE_LexerLang_STE_LANG_NULL       wxSTC_LEX_NULL
 
2232
#define STE_LexerLang_STE_LANG_PYTHON     wxSTC_LEX_PYTHON
 
2233
#define STE_LexerLang_STE_LANG_CPP        wxSTC_LEX_CPP
 
2234
#define STE_LexerLang_STE_LANG_HTML       wxSTC_LEX_HTML
 
2235
#define STE_LexerLang_STE_LANG_XML        wxSTC_LEX_XML
 
2236
#define STE_LexerLang_STE_LANG_PERL       wxSTC_LEX_PERL
 
2237
#define STE_LexerLang_STE_LANG_SQL        wxSTC_LEX_SQL
 
2238
#define STE_LexerLang_STE_LANG_VB         wxSTC_LEX_VB
 
2239
#define STE_LexerLang_STE_LANG_PROPERTIES wxSTC_LEX_PROPERTIES
 
2240
#define STE_LexerLang_STE_LANG_ERRORLIST  wxSTC_LEX_ERRORLIST
 
2241
#define STE_LexerLang_STE_LANG_MAKEFILE   wxSTC_LEX_MAKEFILE
 
2242
#define STE_LexerLang_STE_LANG_BATCH      wxSTC_LEX_BATCH
 
2243
#define STE_LexerLang_STE_LANG_XCODE      wxSTC_LEX_XCODE
 
2244
#define STE_LexerLang_STE_LANG_LATEX      wxSTC_LEX_LATEX
 
2245
#define STE_LexerLang_STE_LANG_LUA        wxSTC_LEX_LUA
 
2246
#define STE_LexerLang_STE_LANG_DIFF       wxSTC_LEX_DIFF
 
2247
#define STE_LexerLang_STE_LANG_CONF       wxSTC_LEX_CONF
 
2248
#define STE_LexerLang_STE_LANG_PASCAL     wxSTC_LEX_PASCAL
 
2249
#define STE_LexerLang_STE_LANG_AVE        wxSTC_LEX_AVE
 
2250
#define STE_LexerLang_STE_LANG_ADA        wxSTC_LEX_ADA
 
2251
#define STE_LexerLang_STE_LANG_LISP       wxSTC_LEX_LISP
 
2252
#define STE_LexerLang_STE_LANG_RUBY       wxSTC_LEX_RUBY
 
2253
#define STE_LexerLang_STE_LANG_EIFFEL     wxSTC_LEX_EIFFEL
 
2254
#define STE_LexerLang_STE_LANG_EIFFELKW   wxSTC_LEX_EIFFELKW
 
2255
#define STE_LexerLang_STE_LANG_TCL        wxSTC_LEX_TCL
 
2256
#define STE_LexerLang_STE_LANG_NNCRONTAB  wxSTC_LEX_NNCRONTAB
 
2257
#define STE_LexerLang_STE_LANG_BULLANT    wxSTC_LEX_BULLANT
 
2258
#define STE_LexerLang_STE_LANG_VBSCRIPT   wxSTC_LEX_VBSCRIPT
 
2259
#define STE_LexerLang_STE_LANG_ASP        wxSTC_LEX_ASP
 
2260
#define STE_LexerLang_STE_LANG_PHP        wxSTC_LEX_PHP
 
2261
#define STE_LexerLang_STE_LANG_BAAN       wxSTC_LEX_BAAN
 
2262
#define STE_LexerLang_STE_LANG_MATLAB     wxSTC_LEX_MATLAB
 
2263
#define STE_LexerLang_STE_LANG_SCRIPTOL   wxSTC_LEX_SCRIPTOL
 
2264
#define STE_LexerLang_STE_LANG_ASM        wxSTC_LEX_ASM
 
2265
#define STE_LexerLang_STE_LANG_CPPNOCASE  wxSTC_LEX_CPPNOCASE
 
2266
#define STE_LexerLang_STE_LANG_FORTRAN    wxSTC_LEX_FORTRAN
 
2267
#define STE_LexerLang_STE_LANG_F77        wxSTC_LEX_F77
 
2268
#define STE_LexerLang_STE_LANG_CSS        wxSTC_LEX_CSS
 
2269
#define STE_LexerLang_STE_LANG_POV        wxSTC_LEX_POV
 
2270
#define STE_LexerLang_STE_LANG_LOUT       wxSTC_LEX_LOUT
 
2271
#define STE_LexerLang_STE_LANG_ESCRIPT    wxSTC_LEX_ESCRIPT
 
2272
#define STE_LexerLang_STE_LANG_PS         wxSTC_LEX_PS
 
2273
#define STE_LexerLang_STE_LANG_NSIS       wxSTC_LEX_NSIS
 
2274
#define STE_LexerLang_STE_LANG_MMIXAL     wxSTC_LEX_MMIXAL
 
2275
#define STE_LexerLang_STE_LANG_CLW        wxSTC_LEX_CLW
 
2276
#define STE_LexerLang_STE_LANG_CLWNOCASE  wxSTC_LEX_CLWNOCASE
 
2277
#define STE_LexerLang_STE_LANG_LOT        wxSTC_LEX_LOT
 
2278
#define STE_LexerLang_STE_LANG_YAML       wxSTC_LEX_YAML
 
2279
#define STE_LexerLang_STE_LANG_TEX        wxSTC_LEX_TEX
 
2280
#define STE_LexerLang_STE_LANG_METAPOST   wxSTC_LEX_METAPOST
 
2281
#define STE_LexerLang_STE_LANG_POWERBASIC wxSTC_LEX_POWERBASIC
 
2282
#define STE_LexerLang_STE_LANG_FORTH      wxSTC_LEX_FORTH
 
2283
#define STE_LexerLang_STE_LANG_ERLANG     wxSTC_LEX_ERLANG
 
2284
#define STE_LexerLang_STE_LANG_OCTAVE     wxSTC_LEX_OCTAVE
 
2285
#define STE_LexerLang_STE_LANG_MSSQL      wxSTC_LEX_MSSQL
 
2286
#define STE_LexerLang_STE_LANG_VERILOG    wxSTC_LEX_VERILOG
 
2287
#define STE_LexerLang_STE_LANG_KIX        wxSTC_LEX_KIX
 
2288
#define STE_LexerLang_STE_LANG_GUI4CLI    wxSTC_LEX_GUI4CLI
 
2289
#define STE_LexerLang_STE_LANG_SPECMAN    wxSTC_LEX_SPECMAN
 
2290
#define STE_LexerLang_STE_LANG_AU3        wxSTC_LEX_AU3
 
2291
#define STE_LexerLang_STE_LANG_APDL       wxSTC_LEX_APDL
 
2292
#define STE_LexerLang_STE_LANG_BASH       wxSTC_LEX_BASH
 
2293
#define STE_LexerLang_STE_LANG_ASN1       wxSTC_LEX_ASN1
 
2294
#define STE_LexerLang_STE_LANG_VHDL       wxSTC_LEX_VHDL
 
2295
#define STE_LexerLang_STE_LANG_JAVA       wxSTC_LEX_CPP
 
2296
#define STE_LexerLang_STE_LANG_JAVASCRIPT wxSTC_LEX_CPP
 
2297
#define STE_LexerLang_STE_LANG_RC         wxSTC_LEX_CPP
 
2298
#define STE_LexerLang_STE_LANG_CS         wxSTC_LEX_CPP
 
2299
#define STE_LexerLang_STE_LANG_D          wxSTC_LEX_CPP
 
2300
#define STE_LexerLang_STE_LANG_IDL        wxSTC_LEX_CPP
 
2301
#define STE_LexerLang_STE_LANG_PLSQL      wxSTC_LEX_SQL
 
2302
#define STE_LexerLang_STE_LANG_SQUIRREL   wxSTC_LEX_CPP
 
2303
 
 
2304
// ---------------------------------------------------------------------------
 
2305
// Folds - FIXME probably remove this
 
2306
#define STE_LexerFolds_STE_LANG_CONTAINER  0
 
2307
#define STE_LexerFolds_STE_LANG_NULL       0
 
2308
#define STE_LexerFolds_STE_LANG_PYTHON     0
 
2309
#define STE_LexerFolds_STE_LANG_CPP        0
 
2310
#define STE_LexerFolds_STE_LANG_HTML       0
 
2311
#define STE_LexerFolds_STE_LANG_XML        0
 
2312
#define STE_LexerFolds_STE_LANG_PERL       0
 
2313
#define STE_LexerFolds_STE_LANG_SQL        0
 
2314
#define STE_LexerFolds_STE_LANG_VB         0
 
2315
#define STE_LexerFolds_STE_LANG_PROPERTIES 0
 
2316
#define STE_LexerFolds_STE_LANG_ERRORLIST  0
 
2317
#define STE_LexerFolds_STE_LANG_MAKEFILE   0
 
2318
#define STE_LexerFolds_STE_LANG_BATCH      0
 
2319
#define STE_LexerFolds_STE_LANG_XCODE      0
 
2320
#define STE_LexerFolds_STE_LANG_LATEX      0
 
2321
#define STE_LexerFolds_STE_LANG_LUA        0
 
2322
#define STE_LexerFolds_STE_LANG_DIFF       0
 
2323
#define STE_LexerFolds_STE_LANG_CONF       0
 
2324
#define STE_LexerFolds_STE_LANG_PASCAL     0
 
2325
#define STE_LexerFolds_STE_LANG_AVE        0
 
2326
#define STE_LexerFolds_STE_LANG_ADA        0
 
2327
#define STE_LexerFolds_STE_LANG_LISP       0
 
2328
#define STE_LexerFolds_STE_LANG_RUBY       0
 
2329
#define STE_LexerFolds_STE_LANG_EIFFEL     0
 
2330
#define STE_LexerFolds_STE_LANG_EIFFELKW   0
 
2331
#define STE_LexerFolds_STE_LANG_TCL        0
 
2332
#define STE_LexerFolds_STE_LANG_NNCRONTAB  0
 
2333
#define STE_LexerFolds_STE_LANG_BULLANT    0
 
2334
#define STE_LexerFolds_STE_LANG_VBSCRIPT   0
 
2335
#define STE_LexerFolds_STE_LANG_ASP        0
 
2336
#define STE_LexerFolds_STE_LANG_PHP        0
 
2337
#define STE_LexerFolds_STE_LANG_BAAN       0
 
2338
#define STE_LexerFolds_STE_LANG_MATLAB     0
 
2339
#define STE_LexerFolds_STE_LANG_SCRIPTOL   0
 
2340
#define STE_LexerFolds_STE_LANG_ASM        0
 
2341
#define STE_LexerFolds_STE_LANG_CPPNOCASE  0
 
2342
#define STE_LexerFolds_STE_LANG_FORTRAN    0
 
2343
#define STE_LexerFolds_STE_LANG_F77        0
 
2344
#define STE_LexerFolds_STE_LANG_CSS        0
 
2345
#define STE_LexerFolds_STE_LANG_POV        0
 
2346
#define STE_LexerFolds_STE_LANG_LOUT       0
 
2347
#define STE_LexerFolds_STE_LANG_ESCRIPT    0
 
2348
#define STE_LexerFolds_STE_LANG_PS         0
 
2349
#define STE_LexerFolds_STE_LANG_NSIS       0
 
2350
#define STE_LexerFolds_STE_LANG_MMIXAL     0
 
2351
#define STE_LexerFolds_STE_LANG_CLW        0
 
2352
#define STE_LexerFolds_STE_LANG_CLWNOCASE  0
 
2353
#define STE_LexerFolds_STE_LANG_LOT        0
 
2354
#define STE_LexerFolds_STE_LANG_YAML       0
 
2355
#define STE_LexerFolds_STE_LANG_TEX        0
 
2356
#define STE_LexerFolds_STE_LANG_METAPOST   0
 
2357
#define STE_LexerFolds_STE_LANG_POWERBASIC 0
 
2358
#define STE_LexerFolds_STE_LANG_FORTH      0
 
2359
#define STE_LexerFolds_STE_LANG_ERLANG     0
 
2360
#define STE_LexerFolds_STE_LANG_OCTAVE     0
 
2361
#define STE_LexerFolds_STE_LANG_MSSQL      0
 
2362
#define STE_LexerFolds_STE_LANG_VERILOG    0
 
2363
#define STE_LexerFolds_STE_LANG_KIX        0
 
2364
#define STE_LexerFolds_STE_LANG_GUI4CLI    0
 
2365
#define STE_LexerFolds_STE_LANG_SPECMAN    0
 
2366
#define STE_LexerFolds_STE_LANG_AU3        0
 
2367
#define STE_LexerFolds_STE_LANG_APDL       0
 
2368
#define STE_LexerFolds_STE_LANG_BASH       0
 
2369
#define STE_LexerFolds_STE_LANG_ASN1       0
 
2370
#define STE_LexerFolds_STE_LANG_VHDL       0
 
2371
#define STE_LexerFolds_STE_LANG_JAVA       0
 
2372
#define STE_LexerFolds_STE_LANG_JAVASCRIPT 0
 
2373
#define STE_LexerFolds_STE_LANG_RC         0
 
2374
#define STE_LexerFolds_STE_LANG_CS         0
 
2375
#define STE_LexerFolds_STE_LANG_D          0
 
2376
#define STE_LexerFolds_STE_LANG_IDL        0
 
2377
#define STE_LexerFolds_STE_LANG_PLSQL      0
 
2378
#define STE_LexerFolds_STE_LANG_SQUIRREL   0
 
2379
 
 
2380
// ---------------------------------------------------------------------------
 
2381
// Extra user flags
 
2382
#define STE_LexerFlags_STE_LANG_CONTAINER  0
 
2383
#define STE_LexerFlags_STE_LANG_NULL       0
 
2384
#define STE_LexerFlags_STE_LANG_PYTHON     0
 
2385
#define STE_LexerFlags_STE_LANG_CPP        0
 
2386
#define STE_LexerFlags_STE_LANG_HTML       0
 
2387
#define STE_LexerFlags_STE_LANG_XML        0
 
2388
#define STE_LexerFlags_STE_LANG_PERL       0
 
2389
#define STE_LexerFlags_STE_LANG_SQL        0
 
2390
#define STE_LexerFlags_STE_LANG_VB         0
 
2391
#define STE_LexerFlags_STE_LANG_PROPERTIES 0
 
2392
#define STE_LexerFlags_STE_LANG_ERRORLIST  0
 
2393
#define STE_LexerFlags_STE_LANG_MAKEFILE   0
 
2394
#define STE_LexerFlags_STE_LANG_BATCH      0
 
2395
#define STE_LexerFlags_STE_LANG_XCODE      0
 
2396
#define STE_LexerFlags_STE_LANG_LATEX      0
 
2397
#define STE_LexerFlags_STE_LANG_LUA        0
 
2398
#define STE_LexerFlags_STE_LANG_DIFF       0
 
2399
#define STE_LexerFlags_STE_LANG_CONF       0
 
2400
#define STE_LexerFlags_STE_LANG_PASCAL     0
 
2401
#define STE_LexerFlags_STE_LANG_AVE        0
 
2402
#define STE_LexerFlags_STE_LANG_ADA        0
 
2403
#define STE_LexerFlags_STE_LANG_LISP       0
 
2404
#define STE_LexerFlags_STE_LANG_RUBY       0
 
2405
#define STE_LexerFlags_STE_LANG_EIFFEL     0
 
2406
#define STE_LexerFlags_STE_LANG_EIFFELKW   0
 
2407
#define STE_LexerFlags_STE_LANG_TCL        0
 
2408
#define STE_LexerFlags_STE_LANG_NNCRONTAB  0
 
2409
#define STE_LexerFlags_STE_LANG_BULLANT    0
 
2410
#define STE_LexerFlags_STE_LANG_VBSCRIPT   0
 
2411
#define STE_LexerFlags_STE_LANG_ASP        0
 
2412
#define STE_LexerFlags_STE_LANG_PHP        0
 
2413
#define STE_LexerFlags_STE_LANG_BAAN       0
 
2414
#define STE_LexerFlags_STE_LANG_MATLAB     0
 
2415
#define STE_LexerFlags_STE_LANG_SCRIPTOL   0
 
2416
#define STE_LexerFlags_STE_LANG_ASM        0
 
2417
#define STE_LexerFlags_STE_LANG_CPPNOCASE  0
 
2418
#define STE_LexerFlags_STE_LANG_FORTRAN    0
 
2419
#define STE_LexerFlags_STE_LANG_F77        0
 
2420
#define STE_LexerFlags_STE_LANG_CSS        0
 
2421
#define STE_LexerFlags_STE_LANG_POV        0
 
2422
#define STE_LexerFlags_STE_LANG_LOUT       0
 
2423
#define STE_LexerFlags_STE_LANG_ESCRIPT    0
 
2424
#define STE_LexerFlags_STE_LANG_PS         0
 
2425
#define STE_LexerFlags_STE_LANG_NSIS       0
 
2426
#define STE_LexerFlags_STE_LANG_MMIXAL     0
 
2427
#define STE_LexerFlags_STE_LANG_CLW        0
 
2428
#define STE_LexerFlags_STE_LANG_CLWNOCASE  0
 
2429
#define STE_LexerFlags_STE_LANG_LOT        0
 
2430
#define STE_LexerFlags_STE_LANG_YAML       0
 
2431
#define STE_LexerFlags_STE_LANG_TEX        0
 
2432
#define STE_LexerFlags_STE_LANG_METAPOST   0
 
2433
#define STE_LexerFlags_STE_LANG_POWERBASIC 0
 
2434
#define STE_LexerFlags_STE_LANG_FORTH      0
 
2435
#define STE_LexerFlags_STE_LANG_ERLANG     0
 
2436
#define STE_LexerFlags_STE_LANG_OCTAVE     0
 
2437
#define STE_LexerFlags_STE_LANG_MSSQL      0
 
2438
#define STE_LexerFlags_STE_LANG_VERILOG    0
 
2439
#define STE_LexerFlags_STE_LANG_KIX        0
 
2440
#define STE_LexerFlags_STE_LANG_GUI4CLI    0
 
2441
#define STE_LexerFlags_STE_LANG_SPECMAN    0
 
2442
#define STE_LexerFlags_STE_LANG_AU3        0
 
2443
#define STE_LexerFlags_STE_LANG_APDL       0
 
2444
#define STE_LexerFlags_STE_LANG_BASH       0
 
2445
#define STE_LexerFlags_STE_LANG_ASN1       0
 
2446
#define STE_LexerFlags_STE_LANG_VHDL       0
 
2447
#define STE_LexerFlags_STE_LANG_JAVA       0
 
2448
#define STE_LexerFlags_STE_LANG_JAVASCRIPT 0
 
2449
#define STE_LexerFlags_STE_LANG_RC         0
 
2450
#define STE_LexerFlags_STE_LANG_CS         0
 
2451
#define STE_LexerFlags_STE_LANG_D          0
 
2452
#define STE_LexerFlags_STE_LANG_IDL        0
 
2453
#define STE_LexerFlags_STE_LANG_PLSQL      0
 
2454
#define STE_LexerFlags_STE_LANG_SQUIRREL   0
 
2455
 
 
2456
// ---------------------------------------------------------------------------
 
2457
// The file filters used to load the languages (Not used generated from file patterns)
 
2458
#define STE_LexerFilters_STE_LANG_CONTAINER  ""
 
2459
#define STE_LexerFilters_STE_LANG_NULL       "Text (txt log lst doc diz nfo)|*.txt;*.log;*.lst;*.doc;*.diz;*.nfo;make*|"
 
2460
#define STE_LexerFilters_STE_LANG_PYTHON     "Python (py pyw)|*.py;*.pyw|"
 
2461
#define STE_LexerFilters_STE_LANG_CPP        "C/C++ (c cc cpp cxx cs h hh hxx hpp dlg rc rc2 mak)|*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hpp;*.hxx;*.sma;*.rc;*.rc2;*.dl;*.mak;make*|"
 
2462
#define STE_LexerFilters_STE_LANG_HTML       ""
 
2463
#define STE_LexerFilters_STE_LANG_XML        ""
 
2464
#define STE_LexerFilters_STE_LANG_PERL       "Perl (pl pm)|*.pl;*.pm;*.cgi;*.pod|"
 
2465
#define STE_LexerFilters_STE_LANG_SQL        "SQL (sql)|*.sql|"
 
2466
#define STE_LexerFilters_STE_LANG_VB         "VB (vb vbp vbs bas frm cls ctl pag dsr dob)|*.vb;*.bas;*.frm;*.cls;*.ctl;*.pag;*.dsr;*.dob;*.vbs;*.dsm;*.vbp;*.vbg;*.mak;*.vbw|"
 
2467
#define STE_LexerFilters_STE_LANG_PROPERTIES ""
 
2468
#define STE_LexerFilters_STE_LANG_ERRORLIST  ""
 
2469
#define STE_LexerFilters_STE_LANG_MAKEFILE   "Makefiles|makefile;Makefile;*.mak;configure*|"
 
2470
#define STE_LexerFilters_STE_LANG_BATCH      "Batch (bat cmd nt)|*.bat;*.cmd;*.nt|"
 
2471
#define STE_LexerFilters_STE_LANG_XCODE      ""
 
2472
#define STE_LexerFilters_STE_LANG_LATEX      "LaTeX (tex sty)|*.tex;*.sty;*.aux;*.toc;*.idx;|"
 
2473
#define STE_LexerFilters_STE_LANG_LUA        "Lua (lua)|*.lua|"
 
2474
#define STE_LexerFilters_STE_LANG_DIFF       "Difference (diff patch)|*.diff;*.patch|"
 
2475
#define STE_LexerFilters_STE_LANG_CONF       "Apache Conf (conf)|*.conf;.htaccess|"
 
2476
#define STE_LexerFilters_STE_LANG_PASCAL     "Pascal (dpr dpk pas dfm inc)|*.dpr;*.dpk;*.pas;*.dfm;*.inc;*.pp|"
 
2477
#define STE_LexerFilters_STE_LANG_AVE        "AVE (ave)|*.ave|"
 
2478
#define STE_LexerFilters_STE_LANG_ADA        "Ada (ads adb)|*.ads;*.adb|"
 
2479
#define STE_LexerFilters_STE_LANG_LISP       "LISP (lsp lisp)|*.lsp;*.lisp|"
 
2480
#define STE_LexerFilters_STE_LANG_RUBY       "Ruby (rb rbw)|*.rb;*.rbw|"
 
2481
#define STE_LexerFilters_STE_LANG_EIFFEL     "Eiffel (e)|*.e|"
 
2482
#define STE_LexerFilters_STE_LANG_EIFFELKW   "EiffelKW (e)|*.e|"
 
2483
#define STE_LexerFilters_STE_LANG_TCL        "Tcl (tcl)|*.tcl| '|' itcl (.itcl)|*.itcl|"
 
2484
#define STE_LexerFilters_STE_LANG_NNCRONTAB  "nnCron files (tab spf)|*.tab;*.spf|"
 
2485
#define STE_LexerFilters_STE_LANG_BULLANT    "Bullant (.ant)|*.ant|"
 
2486
#define STE_LexerFilters_STE_LANG_VBSCRIPT   "VB Script (vbs;dsm)|*.vbs;*.dsm|"
 
2487
#define STE_LexerFilters_STE_LANG_ASP        "Active Server Pages (ASP) (asp)|*.asp"
 
2488
#define STE_LexerFilters_STE_LANG_PHP        "PHP (php php3 phtml)|*.php3;*.phtml;*.php|"
 
2489
#define STE_LexerFilters_STE_LANG_BAAN       "Baan (baan)|*.bc;*.cln|"
 
2490
#define STE_LexerFilters_STE_LANG_MATLAB     "Matlab (m)|*.m.matlab|"
 
2491
#define STE_LexerFilters_STE_LANG_SCRIPTOL   "Scriptol (sol)|*.sol|"
 
2492
#define STE_LexerFilters_STE_LANG_ASM        "Assembler (asm)|*.asm|"
 
2493
#define STE_LexerFilters_STE_LANG_CPPNOCASE  ""
 
2494
#define STE_LexerFilters_STE_LANG_FORTRAN    "Fortran (f for f90 f95 f2k)|*.f;*.for;*.f90;*.f95;*.f2k|"
 
2495
#define STE_LexerFilters_STE_LANG_F77        ""
 
2496
#define STE_LexerFilters_STE_LANG_CSS        "CSS (css)|*.css|"
 
2497
#define STE_LexerFilters_STE_LANG_POV        "POV-Ray SDL (pov)|*.pov;*.inc|"
 
2498
#define STE_LexerFilters_STE_LANG_LOUT       "Lout (lt)|*.lt|"
 
2499
#define STE_LexerFilters_STE_LANG_ESCRIPT    "E-Script (src em)|*.src;*.em|"
 
2500
#define STE_LexerFilters_STE_LANG_PS         "PS (PostScript)|*.ps|"
 
2501
#define STE_LexerFilters_STE_LANG_NSIS       "NSIS (nsi nsh)|*.nsi;*.nsh|"
 
2502
#define STE_LexerFilters_STE_LANG_MMIXAL     "MMIXAL (mms)|*.mms|"
 
2503
#define STE_LexerFilters_STE_LANG_CLW        ""
 
2504
#define STE_LexerFilters_STE_LANG_CLWNOCASE  ""
 
2505
#define STE_LexerFilters_STE_LANG_LOT        "Lot (lot)|*.lot|"
 
2506
#define STE_LexerFilters_STE_LANG_YAML       "YAML (yaml)|*.yaml;*.yml|"
 
2507
#define STE_LexerFilters_STE_LANG_TEX        ""
 
2508
#define STE_LexerFilters_STE_LANG_METAPOST   "MetaPost|*.mp;*.mpx;|"
 
2509
#define STE_LexerFilters_STE_LANG_POWERBASIC ""
 
2510
#define STE_LexerFilters_STE_LANG_FORTH      "Forth files (f spf)|*.forth|"
 
2511
#define STE_LexerFilters_STE_LANG_ERLANG     ""
 
2512
#define STE_LexerFilters_STE_LANG_OCTAVE     "Octave (m)|*.m.octave|"
 
2513
#define STE_LexerFilters_STE_LANG_MSSQL      ""
 
2514
#define STE_LexerFilters_STE_LANG_VERILOG    ""
 
2515
#define STE_LexerFilters_STE_LANG_KIX        "Kix-Script (kix)|*.kix|"
 
2516
#define STE_LexerFilters_STE_LANG_GUI4CLI    ""
 
2517
#define STE_LexerFilters_STE_LANG_SPECMAN    "Specman (e)|*.e|"
 
2518
#define STE_LexerFilters_STE_LANG_AU3        "AutoIt (au3)|*.au3|"
 
2519
#define STE_LexerFilters_STE_LANG_APDL       ""
 
2520
#define STE_LexerFilters_STE_LANG_BASH       "Bash (sh bsh)|*.sh;*.bsh;configure|"
 
2521
#define STE_LexerFilters_STE_LANG_ASN1       "ASN.1 (asn1)|*.mib|"
 
2522
#define STE_LexerFilters_STE_LANG_VHDL       "VHDL (vhd vhdl)|*.vhd;*.vhdl|"
 
2523
#define STE_LexerFilters_STE_LANG_JAVA       "Java (java)|*.java|"
 
2524
#define STE_LexerFilters_STE_LANG_JAVASCRIPT "JavaScript (js)|*.js|"
 
2525
#define STE_LexerFilters_STE_LANG_RC         ""
 
2526
#define STE_LexerFilters_STE_LANG_CS         ""
 
2527
#define STE_LexerFilters_STE_LANG_D          ""
 
2528
#define STE_LexerFilters_STE_LANG_IDL        "IDL (idl odl)|*.idl;*.odl|"
 
2529
#define STE_LexerFilters_STE_LANG_PLSQL      ""
 
2530
#define STE_LexerFilters_STE_LANG_SQUIRREL   "Squirrel (nut sqs)|*.nut;*.sqs|"
 
2531
 
 
2532
// ---------------------------------------------------------------------------
 
2533
// The file patterns to determine what language a file is
 
2534
#define STE_LexerFilePatterns_STE_LANG_CONTAINER  ""
 
2535
#define STE_LexerFilePatterns_STE_LANG_NULL       "*.txt;*.log;*.lst;*.doc;*.diz;*.nfo"
 
2536
#define STE_LexerFilePatterns_STE_LANG_PYTHON     "*.py;*.pyw"
 
2537
#define STE_LexerFilePatterns_STE_LANG_CPP        "*.c;*.cc;*.cpp;*.cxx;*.h;*.hh;*.hpp;*.hxx;*.sma"
 
2538
#define STE_LexerFilePatterns_STE_LANG_HTML       "*.html;*.htm;*.asp;*.shtml;*.htd;*.jsp;*.php3;*.phtml;*.php;*.htt;*.cfm;*.tpl;*.dtd;*.hta"
 
2539
#define STE_LexerFilePatterns_STE_LANG_XML        "*.vxml;*.xml;*.xaml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.xrc;*.rdf"
 
2540
#define STE_LexerFilePatterns_STE_LANG_PERL       "*.pl;*.pm;*.cgi;*.pod"
 
2541
#define STE_LexerFilePatterns_STE_LANG_SQL        "*.sql"
 
2542
#define STE_LexerFilePatterns_STE_LANG_VB         "*.vb;*.bas;*.frm;*.cls;*.ctl;*.pag;*.dsr;*.dob"
 
2543
#define STE_LexerFilePatterns_STE_LANG_PROPERTIES "*.properties;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut"
 
2544
#define STE_LexerFilePatterns_STE_LANG_ERRORLIST  ""
 
2545
#define STE_LexerFilePatterns_STE_LANG_MAKEFILE   "Makefile;makefile.*,configure.*;*.mak"
 
2546
#define STE_LexerFilePatterns_STE_LANG_BATCH      "*.bat;*.cmd;*.nt"
 
2547
#define STE_LexerFilePatterns_STE_LANG_XCODE      ""
 
2548
#define STE_LexerFilePatterns_STE_LANG_LATEX      "*.tex;*.sty;*.aux;*.toc;*.idx;"
 
2549
#define STE_LexerFilePatterns_STE_LANG_LUA        "*.lua"
 
2550
#define STE_LexerFilePatterns_STE_LANG_DIFF       "*.diff;*.patch"
 
2551
#define STE_LexerFilePatterns_STE_LANG_CONF       "*.conf;.htaccess"
 
2552
#define STE_LexerFilePatterns_STE_LANG_PASCAL     "*.dpr;*.dpk;*.pas;*.dfm;*.inc;*.pp"
 
2553
#define STE_LexerFilePatterns_STE_LANG_AVE        "*.ave"
 
2554
#define STE_LexerFilePatterns_STE_LANG_ADA        "*.ads;*.adb"
 
2555
#define STE_LexerFilePatterns_STE_LANG_LISP       "*.lsp;*.lisp"
 
2556
#define STE_LexerFilePatterns_STE_LANG_RUBY       "*.rb;*.rbw"
 
2557
#define STE_LexerFilePatterns_STE_LANG_EIFFEL     "*.e"
 
2558
#define STE_LexerFilePatterns_STE_LANG_EIFFELKW   "*.e"
 
2559
#define STE_LexerFilePatterns_STE_LANG_TCL        "*.tcl"
 
2560
#define STE_LexerFilePatterns_STE_LANG_NNCRONTAB  "*.tab;*.spf"
 
2561
#define STE_LexerFilePatterns_STE_LANG_BULLANT    "*.ant"
 
2562
#define STE_LexerFilePatterns_STE_LANG_VBSCRIPT   "*.vbs;*.dsm"
 
2563
#define STE_LexerFilePatterns_STE_LANG_ASP        "*.asp"
 
2564
#define STE_LexerFilePatterns_STE_LANG_PHP        "*.php3;*.phtml;*.php"
 
2565
#define STE_LexerFilePatterns_STE_LANG_BAAN       "*.bc;*.cln"
 
2566
#define STE_LexerFilePatterns_STE_LANG_MATLAB     "*.m;*.matlab"
 
2567
#define STE_LexerFilePatterns_STE_LANG_SCRIPTOL   "*.sol"
 
2568
#define STE_LexerFilePatterns_STE_LANG_ASM        "*.asm"
 
2569
#define STE_LexerFilePatterns_STE_LANG_CPPNOCASE  ""
 
2570
#define STE_LexerFilePatterns_STE_LANG_FORTRAN    "*.f90;*.f95;*.f2k;*.f;*.for"
 
2571
#define STE_LexerFilePatterns_STE_LANG_F77        "*.f;*.for"
 
2572
#define STE_LexerFilePatterns_STE_LANG_CSS        "*.css"
 
2573
#define STE_LexerFilePatterns_STE_LANG_POV        "*.pov;*.inc"
 
2574
#define STE_LexerFilePatterns_STE_LANG_LOUT       "*.lt"
 
2575
#define STE_LexerFilePatterns_STE_LANG_ESCRIPT    "*.src;*.em"
 
2576
#define STE_LexerFilePatterns_STE_LANG_PS         "*.ps"
 
2577
#define STE_LexerFilePatterns_STE_LANG_NSIS       "*.nsi;*.nsh"
 
2578
#define STE_LexerFilePatterns_STE_LANG_MMIXAL     "*.mms"
 
2579
#define STE_LexerFilePatterns_STE_LANG_CLW        ""
 
2580
#define STE_LexerFilePatterns_STE_LANG_CLWNOCASE  ""
 
2581
#define STE_LexerFilePatterns_STE_LANG_LOT        "*.lot"
 
2582
#define STE_LexerFilePatterns_STE_LANG_YAML       "*.yaml;*.yml"
 
2583
#define STE_LexerFilePatterns_STE_LANG_TEX        "*.tex;*.sty;"
 
2584
#define STE_LexerFilePatterns_STE_LANG_METAPOST   "*.mp;*.mpx;"
 
2585
#define STE_LexerFilePatterns_STE_LANG_POWERBASIC ""
 
2586
#define STE_LexerFilePatterns_STE_LANG_FORTH      "*.forth"
 
2587
#define STE_LexerFilePatterns_STE_LANG_ERLANG     ""
 
2588
#define STE_LexerFilePatterns_STE_LANG_OCTAVE     "*.m;*.octave"
 
2589
#define STE_LexerFilePatterns_STE_LANG_MSSQL      ""
 
2590
#define STE_LexerFilePatterns_STE_LANG_VERILOG    ""
 
2591
#define STE_LexerFilePatterns_STE_LANG_KIX        "*.kix"
 
2592
#define STE_LexerFilePatterns_STE_LANG_GUI4CLI    ""
 
2593
#define STE_LexerFilePatterns_STE_LANG_SPECMAN    "*.e"
 
2594
#define STE_LexerFilePatterns_STE_LANG_AU3        "*.au3"
 
2595
#define STE_LexerFilePatterns_STE_LANG_APDL       ""
 
2596
#define STE_LexerFilePatterns_STE_LANG_BASH       "*.sh;*.bsh;configure"
 
2597
#define STE_LexerFilePatterns_STE_LANG_ASN1       "*.mib"
 
2598
#define STE_LexerFilePatterns_STE_LANG_VHDL       "*.vhd;*.vhdl"
 
2599
#define STE_LexerFilePatterns_STE_LANG_JAVA       "*.java;*.class"
 
2600
#define STE_LexerFilePatterns_STE_LANG_JAVASCRIPT "*.js"
 
2601
#define STE_LexerFilePatterns_STE_LANG_RC         "*.rc;*.rc2;*.dl"
 
2602
#define STE_LexerFilePatterns_STE_LANG_CS         "*.cs"
 
2603
#define STE_LexerFilePatterns_STE_LANG_D          "*.d"
 
2604
#define STE_LexerFilePatterns_STE_LANG_IDL        "*.idl;*.odl"
 
2605
#define STE_LexerFilePatterns_STE_LANG_PLSQL      "*.spec;*.body;*.sps;*.spb;*.sf;*.sp"
 
2606
#define STE_LexerFilePatterns_STE_LANG_SQUIRREL   "*.nut;*.sqs"
 
2607
 
 
2608
// ---------------------------------------------------------------------------
 
2609
// The Scintilla style used for the braces
 
2610
#define STE_LexerBraces_STE_LANG_CONTAINER  0
 
2611
#define STE_LexerBraces_STE_LANG_NULL       0
 
2612
#define STE_LexerBraces_STE_LANG_PYTHON     10
 
2613
#define STE_LexerBraces_STE_LANG_CPP        10
 
2614
#define STE_LexerBraces_STE_LANG_HTML       0
 
2615
#define STE_LexerBraces_STE_LANG_XML        31
 
2616
#define STE_LexerBraces_STE_LANG_PERL       10
 
2617
#define STE_LexerBraces_STE_LANG_SQL        10
 
2618
#define STE_LexerBraces_STE_LANG_VB         0
 
2619
#define STE_LexerBraces_STE_LANG_PROPERTIES 0
 
2620
#define STE_LexerBraces_STE_LANG_ERRORLIST  0
 
2621
#define STE_LexerBraces_STE_LANG_MAKEFILE   0
 
2622
#define STE_LexerBraces_STE_LANG_BATCH      0
 
2623
#define STE_LexerBraces_STE_LANG_XCODE      0
 
2624
#define STE_LexerBraces_STE_LANG_LATEX      0
 
2625
#define STE_LexerBraces_STE_LANG_LUA        10
 
2626
#define STE_LexerBraces_STE_LANG_DIFF       0
 
2627
#define STE_LexerBraces_STE_LANG_CONF       0
 
2628
#define STE_LexerBraces_STE_LANG_PASCAL     10
 
2629
#define STE_LexerBraces_STE_LANG_AVE        10
 
2630
#define STE_LexerBraces_STE_LANG_ADA        4
 
2631
#define STE_LexerBraces_STE_LANG_LISP       10
 
2632
#define STE_LexerBraces_STE_LANG_RUBY       10
 
2633
#define STE_LexerBraces_STE_LANG_EIFFEL     6
 
2634
#define STE_LexerBraces_STE_LANG_EIFFELKW   6
 
2635
#if defined(wxSTC_TCL_DEFAULT)
 
2636
    #define STE_LexerBraces_STE_LANG_TCL        6
 
2637
#else
 
2638
    #define STE_LexerBraces_STE_LANG_TCL        10
 
2639
#endif // defined(wxSTC_TCL_DEFAULT)
 
2640
#define STE_LexerBraces_STE_LANG_NNCRONTAB  0
 
2641
#define STE_LexerBraces_STE_LANG_BULLANT    0
 
2642
#define STE_LexerBraces_STE_LANG_VBSCRIPT   0
 
2643
#define STE_LexerBraces_STE_LANG_ASP        0
 
2644
#define STE_LexerBraces_STE_LANG_PHP        0
 
2645
#define STE_LexerBraces_STE_LANG_BAAN       10
 
2646
#define STE_LexerBraces_STE_LANG_MATLAB     0
 
2647
#define STE_LexerBraces_STE_LANG_SCRIPTOL   0
 
2648
#define STE_LexerBraces_STE_LANG_ASM        0
 
2649
#define STE_LexerBraces_STE_LANG_CPPNOCASE  0
 
2650
#define STE_LexerBraces_STE_LANG_FORTRAN    0
 
2651
#define STE_LexerBraces_STE_LANG_F77        0
 
2652
#define STE_LexerBraces_STE_LANG_CSS        0
 
2653
#define STE_LexerBraces_STE_LANG_POV        4
 
2654
#define STE_LexerBraces_STE_LANG_LOUT       8
 
2655
#define STE_LexerBraces_STE_LANG_ESCRIPT    0
 
2656
#define STE_LexerBraces_STE_LANG_PS         11
 
2657
#define STE_LexerBraces_STE_LANG_NSIS       0
 
2658
#define STE_LexerBraces_STE_LANG_MMIXAL     0
 
2659
#define STE_LexerBraces_STE_LANG_CLW        0
 
2660
#define STE_LexerBraces_STE_LANG_CLWNOCASE  0
 
2661
#define STE_LexerBraces_STE_LANG_LOT        0
 
2662
#define STE_LexerBraces_STE_LANG_YAML       0
 
2663
#define STE_LexerBraces_STE_LANG_TEX        0
 
2664
#define STE_LexerBraces_STE_LANG_METAPOST   0
 
2665
#define STE_LexerBraces_STE_LANG_POWERBASIC 0
 
2666
#define STE_LexerBraces_STE_LANG_FORTH      0
 
2667
#define STE_LexerBraces_STE_LANG_ERLANG     0
 
2668
#define STE_LexerBraces_STE_LANG_OCTAVE     0
 
2669
#define STE_LexerBraces_STE_LANG_MSSQL      0
 
2670
#define STE_LexerBraces_STE_LANG_VERILOG    10
 
2671
#define STE_LexerBraces_STE_LANG_KIX        0
 
2672
#define STE_LexerBraces_STE_LANG_GUI4CLI    0
 
2673
#define STE_LexerBraces_STE_LANG_SPECMAN    10
 
2674
#define STE_LexerBraces_STE_LANG_AU3        0
 
2675
#define STE_LexerBraces_STE_LANG_APDL       0
 
2676
#define STE_LexerBraces_STE_LANG_BASH       7
 
2677
#define STE_LexerBraces_STE_LANG_ASN1       0
 
2678
#define STE_LexerBraces_STE_LANG_VHDL       10
 
2679
#define STE_LexerBraces_STE_LANG_JAVA       0
 
2680
#define STE_LexerBraces_STE_LANG_JAVASCRIPT 0
 
2681
#define STE_LexerBraces_STE_LANG_RC         0
 
2682
#define STE_LexerBraces_STE_LANG_CS         0
 
2683
#define STE_LexerBraces_STE_LANG_D          0
 
2684
#define STE_LexerBraces_STE_LANG_IDL        0
 
2685
#define STE_LexerBraces_STE_LANG_PLSQL      0
 
2686
#define STE_LexerBraces_STE_LANG_SQUIRREL   10
 
2687
 
 
2688
// ---------------------------------------------------------------------------
 
2689
// Symbols used for comments
 
2690
#define DefSTE_LexerComments_STE_LANG_CONTAINER
 
2691
#define DefSTE_LexerComments_STE_LANG_NULL
 
2692
#define DefSTE_LexerComments_STE_LANG_PYTHON     STE_LexerComments _STE_LexerComments_STE_LANG_PYTHON     = { 0, "#", "", "", "", "", "" };
 
2693
#define DefSTE_LexerComments_STE_LANG_CPP        // java and others rely on this
 
2694
    STE_LexerComments _STE_LexerComments_STE_LANG_CPP        = { 0, "//", "/*", "*", "*/", "/*", "*/" };
 
2695
#define DefSTE_LexerComments_STE_LANG_HTML
 
2696
#define DefSTE_LexerComments_STE_LANG_XML
 
2697
#define DefSTE_LexerComments_STE_LANG_PERL       STE_LexerComments _STE_LexerComments_STE_LANG_PERL       = { 0, "#", "", "", "", "", "" };
 
2698
#define DefSTE_LexerComments_STE_LANG_SQL
 
2699
#define DefSTE_LexerComments_STE_LANG_VB         STE_LexerComments _STE_LexerComments_STE_LANG_VB         = { 0, "'", "", "", "", "", "" };
 
2700
#define DefSTE_LexerComments_STE_LANG_PROPERTIES STE_LexerComments _STE_LexerComments_STE_LANG_PROPERTIES = { 0, "#", "", "", "", "", "" };
 
2701
#define DefSTE_LexerComments_STE_LANG_ERRORLIST
 
2702
#define DefSTE_LexerComments_STE_LANG_MAKEFILE   STE_LexerComments _STE_LexerComments_STE_LANG_MAKEFILE   = { 0, "#", "", "", "", "", "" };
 
2703
#define DefSTE_LexerComments_STE_LANG_BATCH      STE_LexerComments _STE_LexerComments_STE_LANG_BATCH      = { 0, "REM ", "", "", "", "", "" };
 
2704
#define DefSTE_LexerComments_STE_LANG_XCODE
 
2705
#define DefSTE_LexerComments_STE_LANG_LATEX
 
2706
#define DefSTE_LexerComments_STE_LANG_LUA        STE_LexerComments _STE_LexerComments_STE_LANG_LUA        = { 1, "--", "", "", "", "", "" };
 
2707
#define DefSTE_LexerComments_STE_LANG_DIFF
 
2708
#define DefSTE_LexerComments_STE_LANG_CONF
 
2709
#define DefSTE_LexerComments_STE_LANG_PASCAL
 
2710
#define DefSTE_LexerComments_STE_LANG_AVE        STE_LexerComments _STE_LexerComments_STE_LANG_AVE        = { 0, "'--", "'--", "'--", "'--", "", "" };
 
2711
#define DefSTE_LexerComments_STE_LANG_ADA        STE_LexerComments _STE_LexerComments_STE_LANG_ADA        = { 0, "--", "", "", "", "", "" };
 
2712
#define DefSTE_LexerComments_STE_LANG_LISP       STE_LexerComments _STE_LexerComments_STE_LANG_LISP       = { 0, ";", ";;", ";;", ";;", "", "" };
 
2713
#define DefSTE_LexerComments_STE_LANG_RUBY       STE_LexerComments _STE_LexerComments_STE_LANG_RUBY       = { 0, "#", "", "", "", "", "" };
 
2714
#define DefSTE_LexerComments_STE_LANG_EIFFEL
 
2715
#define DefSTE_LexerComments_STE_LANG_EIFFELKW
 
2716
#define DefSTE_LexerComments_STE_LANG_TCL        STE_LexerComments _STE_LexerComments_STE_LANG_TCL        = { 0, "#", "##", "#", "##", "", "" };
 
2717
#define DefSTE_LexerComments_STE_LANG_NNCRONTAB  STE_LexerComments _STE_LexerComments_STE_LANG_NNCRONTAB  = { 0, "\\", "", "", "", "", "" };
 
2718
#define DefSTE_LexerComments_STE_LANG_BULLANT
 
2719
#define DefSTE_LexerComments_STE_LANG_VBSCRIPT
 
2720
#define DefSTE_LexerComments_STE_LANG_ASP
 
2721
#define DefSTE_LexerComments_STE_LANG_PHP
 
2722
#define DefSTE_LexerComments_STE_LANG_BAAN       STE_LexerComments _STE_LexerComments_STE_LANG_BAAN       = { 0, "|", "|", "|", "|", "DllUsage", "EndDllUsage" };
 
2723
#define DefSTE_LexerComments_STE_LANG_MATLAB     STE_LexerComments _STE_LexerComments_STE_LANG_MATLAB     = { 0, "%", "", "", "", "", "" };
 
2724
#define DefSTE_LexerComments_STE_LANG_SCRIPTOL   STE_LexerComments _STE_LexerComments_STE_LANG_SCRIPTOL   = { 0, "`", "", "", "", "", "" };
 
2725
#define DefSTE_LexerComments_STE_LANG_ASM        STE_LexerComments _STE_LexerComments_STE_LANG_ASM        = { 0, ";", "", "", "", "", "" };
 
2726
#define DefSTE_LexerComments_STE_LANG_CPPNOCASE
 
2727
#define DefSTE_LexerComments_STE_LANG_FORTRAN    STE_LexerComments _STE_LexerComments_STE_LANG_FORTRAN    = { 0, "!", "", "", "", "", "" };
 
2728
#define DefSTE_LexerComments_STE_LANG_F77
 
2729
#define DefSTE_LexerComments_STE_LANG_CSS        STE_LexerComments _STE_LexerComments_STE_LANG_CSS        = { 0, "", "", "", "", "/*", "*/" };
 
2730
#define DefSTE_LexerComments_STE_LANG_POV        STE_LexerComments _STE_LexerComments_STE_LANG_POV        = { 1, "//", "/*", "*", "*/", "/*", "*/" };
 
2731
#define DefSTE_LexerComments_STE_LANG_LOUT       STE_LexerComments _STE_LexerComments_STE_LANG_LOUT       = { 0, "#", "", "", "", "", "" };
 
2732
#define DefSTE_LexerComments_STE_LANG_ESCRIPT
 
2733
#define DefSTE_LexerComments_STE_LANG_PS         STE_LexerComments _STE_LexerComments_STE_LANG_PS         = { 0, "%", "", "", "", "", "" };
 
2734
#define DefSTE_LexerComments_STE_LANG_NSIS       STE_LexerComments _STE_LexerComments_STE_LANG_NSIS       = { 1, ";", "/*", ";", "*/", "/*", "*/" };
 
2735
#define DefSTE_LexerComments_STE_LANG_MMIXAL     STE_LexerComments _STE_LexerComments_STE_LANG_MMIXAL     = { 0, "%", "", "", "", "", "" };
 
2736
#define DefSTE_LexerComments_STE_LANG_CLW
 
2737
#define DefSTE_LexerComments_STE_LANG_CLWNOCASE
 
2738
#define DefSTE_LexerComments_STE_LANG_LOT
 
2739
#define DefSTE_LexerComments_STE_LANG_YAML       STE_LexerComments _STE_LexerComments_STE_LANG_YAML       = { 0, "#", "", "", "", "", "" };
 
2740
#define DefSTE_LexerComments_STE_LANG_TEX        STE_LexerComments _STE_LexerComments_STE_LANG_TEX        = { 1, "%", "", "", "", "", "" };
 
2741
#define DefSTE_LexerComments_STE_LANG_METAPOST   STE_LexerComments _STE_LexerComments_STE_LANG_METAPOST   = { 1, "%", "", "", "", "", "" };
 
2742
#define DefSTE_LexerComments_STE_LANG_POWERBASIC
 
2743
#define DefSTE_LexerComments_STE_LANG_FORTH      STE_LexerComments _STE_LexerComments_STE_LANG_FORTH      = { 0, "\\", "\\", "\\", "\\", "(", ")" };
 
2744
#define DefSTE_LexerComments_STE_LANG_ERLANG
 
2745
#define DefSTE_LexerComments_STE_LANG_OCTAVE     STE_LexerComments _STE_LexerComments_STE_LANG_OCTAVE     = { 0, "#", "", "", "", "", "" };
 
2746
#define DefSTE_LexerComments_STE_LANG_MSSQL
 
2747
#define DefSTE_LexerComments_STE_LANG_VERILOG
 
2748
#define DefSTE_LexerComments_STE_LANG_KIX        STE_LexerComments _STE_LexerComments_STE_LANG_KIX        = { 1, ";", "", "", "", "", "" };
 
2749
#define DefSTE_LexerComments_STE_LANG_GUI4CLI
 
2750
#define DefSTE_LexerComments_STE_LANG_SPECMAN    STE_LexerComments _STE_LexerComments_STE_LANG_SPECMAN    = { 1, "//", "", "", "", "", "" };
 
2751
#define DefSTE_LexerComments_STE_LANG_AU3        STE_LexerComments _STE_LexerComments_STE_LANG_AU3        = { 1, ";", "#CS", "", "#CE", "#CS", "#CE" };
 
2752
#define DefSTE_LexerComments_STE_LANG_APDL
 
2753
#define DefSTE_LexerComments_STE_LANG_BASH       STE_LexerComments _STE_LexerComments_STE_LANG_BASH       = { 0, "#", "", "", "", "", "" };
 
2754
#define DefSTE_LexerComments_STE_LANG_ASN1
 
2755
#define DefSTE_LexerComments_STE_LANG_VHDL       STE_LexerComments _STE_LexerComments_STE_LANG_VHDL       = { 0, "--", "", "", "", "", "" };
 
2756
#define DefSTE_LexerComments_STE_LANG_JAVA
 
2757
#define DefSTE_LexerComments_STE_LANG_JAVASCRIPT
 
2758
#define DefSTE_LexerComments_STE_LANG_RC
 
2759
#define DefSTE_LexerComments_STE_LANG_CS
 
2760
#define DefSTE_LexerComments_STE_LANG_D
 
2761
#define DefSTE_LexerComments_STE_LANG_IDL
 
2762
#define DefSTE_LexerComments_STE_LANG_PLSQL
 
2763
#define DefSTE_LexerComments_STE_LANG_SQUIRREL
 
2764
 
 
2765
#define STE_LexerComments_STE_LANG_CONTAINER  NULL
 
2766
#define STE_LexerComments_STE_LANG_NULL       NULL
 
2767
#define STE_LexerComments_STE_LANG_PYTHON     &_STE_LexerComments_STE_LANG_PYTHON
 
2768
#define STE_LexerComments_STE_LANG_CPP        &_STE_LexerComments_STE_LANG_CPP
 
2769
#define STE_LexerComments_STE_LANG_HTML       NULL
 
2770
#define STE_LexerComments_STE_LANG_XML        NULL
 
2771
#define STE_LexerComments_STE_LANG_PERL       &_STE_LexerComments_STE_LANG_PERL
 
2772
#define STE_LexerComments_STE_LANG_SQL        NULL
 
2773
#define STE_LexerComments_STE_LANG_VB         &_STE_LexerComments_STE_LANG_VB
 
2774
#define STE_LexerComments_STE_LANG_PROPERTIES &_STE_LexerComments_STE_LANG_PROPERTIES
 
2775
#define STE_LexerComments_STE_LANG_ERRORLIST  NULL
 
2776
#define STE_LexerComments_STE_LANG_MAKEFILE   &_STE_LexerComments_STE_LANG_MAKEFILE
 
2777
#define STE_LexerComments_STE_LANG_BATCH      &_STE_LexerComments_STE_LANG_BATCH
 
2778
#define STE_LexerComments_STE_LANG_XCODE      NULL
 
2779
#define STE_LexerComments_STE_LANG_LATEX      NULL
 
2780
#define STE_LexerComments_STE_LANG_LUA        &_STE_LexerComments_STE_LANG_LUA
 
2781
#define STE_LexerComments_STE_LANG_DIFF       NULL
 
2782
#define STE_LexerComments_STE_LANG_CONF       NULL
 
2783
#define STE_LexerComments_STE_LANG_PASCAL     NULL
 
2784
#define STE_LexerComments_STE_LANG_AVE        &_STE_LexerComments_STE_LANG_AVE
 
2785
#define STE_LexerComments_STE_LANG_ADA        &_STE_LexerComments_STE_LANG_ADA
 
2786
#define STE_LexerComments_STE_LANG_LISP       &_STE_LexerComments_STE_LANG_LISP
 
2787
#define STE_LexerComments_STE_LANG_RUBY       &_STE_LexerComments_STE_LANG_RUBY
 
2788
#define STE_LexerComments_STE_LANG_EIFFEL     NULL
 
2789
#define STE_LexerComments_STE_LANG_EIFFELKW   NULL
 
2790
#define STE_LexerComments_STE_LANG_TCL        &_STE_LexerComments_STE_LANG_TCL
 
2791
#define STE_LexerComments_STE_LANG_NNCRONTAB  &_STE_LexerComments_STE_LANG_NNCRONTAB
 
2792
#define STE_LexerComments_STE_LANG_BULLANT    NULL
 
2793
#define STE_LexerComments_STE_LANG_VBSCRIPT   NULL
 
2794
#define STE_LexerComments_STE_LANG_ASP        NULL
 
2795
#define STE_LexerComments_STE_LANG_PHP        NULL
 
2796
#define STE_LexerComments_STE_LANG_BAAN       &_STE_LexerComments_STE_LANG_BAAN
 
2797
#define STE_LexerComments_STE_LANG_MATLAB     &_STE_LexerComments_STE_LANG_MATLAB
 
2798
#define STE_LexerComments_STE_LANG_SCRIPTOL   &_STE_LexerComments_STE_LANG_SCRIPTOL
 
2799
#define STE_LexerComments_STE_LANG_ASM        &_STE_LexerComments_STE_LANG_ASM
 
2800
#define STE_LexerComments_STE_LANG_CPPNOCASE  NULL
 
2801
#define STE_LexerComments_STE_LANG_FORTRAN    &_STE_LexerComments_STE_LANG_FORTRAN
 
2802
#define STE_LexerComments_STE_LANG_F77        NULL
 
2803
#define STE_LexerComments_STE_LANG_CSS        &_STE_LexerComments_STE_LANG_CSS
 
2804
#define STE_LexerComments_STE_LANG_POV        &_STE_LexerComments_STE_LANG_POV
 
2805
#define STE_LexerComments_STE_LANG_LOUT       &_STE_LexerComments_STE_LANG_LOUT
 
2806
#define STE_LexerComments_STE_LANG_ESCRIPT    NULL
 
2807
#define STE_LexerComments_STE_LANG_PS         &_STE_LexerComments_STE_LANG_PS
 
2808
#define STE_LexerComments_STE_LANG_NSIS       &_STE_LexerComments_STE_LANG_NSIS
 
2809
#define STE_LexerComments_STE_LANG_MMIXAL     &_STE_LexerComments_STE_LANG_MMIXAL
 
2810
#define STE_LexerComments_STE_LANG_CLW        NULL
 
2811
#define STE_LexerComments_STE_LANG_CLWNOCASE  NULL
 
2812
#define STE_LexerComments_STE_LANG_LOT        NULL
 
2813
#define STE_LexerComments_STE_LANG_YAML       &_STE_LexerComments_STE_LANG_YAML
 
2814
#define STE_LexerComments_STE_LANG_TEX        &_STE_LexerComments_STE_LANG_TEX
 
2815
#define STE_LexerComments_STE_LANG_METAPOST   &_STE_LexerComments_STE_LANG_METAPOST
 
2816
#define STE_LexerComments_STE_LANG_POWERBASIC NULL
 
2817
#define STE_LexerComments_STE_LANG_FORTH      &_STE_LexerComments_STE_LANG_FORTH
 
2818
#define STE_LexerComments_STE_LANG_ERLANG     NULL
 
2819
#define STE_LexerComments_STE_LANG_OCTAVE     &_STE_LexerComments_STE_LANG_OCTAVE
 
2820
#define STE_LexerComments_STE_LANG_MSSQL      NULL
 
2821
#define STE_LexerComments_STE_LANG_VERILOG    NULL
 
2822
#define STE_LexerComments_STE_LANG_KIX        &_STE_LexerComments_STE_LANG_KIX
 
2823
#define STE_LexerComments_STE_LANG_GUI4CLI    NULL
 
2824
#define STE_LexerComments_STE_LANG_SPECMAN    &_STE_LexerComments_STE_LANG_SPECMAN
 
2825
#define STE_LexerComments_STE_LANG_AU3        &_STE_LexerComments_STE_LANG_AU3
 
2826
#define STE_LexerComments_STE_LANG_APDL       NULL
 
2827
#define STE_LexerComments_STE_LANG_BASH       &_STE_LexerComments_STE_LANG_BASH
 
2828
#define STE_LexerComments_STE_LANG_ASN1       NULL
 
2829
#define STE_LexerComments_STE_LANG_VHDL       &_STE_LexerComments_STE_LANG_VHDL
 
2830
#define STE_LexerComments_STE_LANG_JAVA       &_STE_LexerComments_STE_LANG_CPP
 
2831
#define STE_LexerComments_STE_LANG_JAVASCRIPT &_STE_LexerComments_STE_LANG_CPP
 
2832
#define STE_LexerComments_STE_LANG_RC         &_STE_LexerComments_STE_LANG_CPP
 
2833
#define STE_LexerComments_STE_LANG_CS         &_STE_LexerComments_STE_LANG_CPP
 
2834
#define STE_LexerComments_STE_LANG_D          &_STE_LexerComments_STE_LANG_CPP
 
2835
#define STE_LexerComments_STE_LANG_IDL        &_STE_LexerComments_STE_LANG_CPP
 
2836
#define STE_LexerComments_STE_LANG_PLSQL      NULL
 
2837
#define STE_LexerComments_STE_LANG_SQUIRREL   &_STE_LexerComments_STE_LANG_CPP
 
2838
 
 
2839
// ---------------------------------------------------------------------------
 
2840
// Starting and ending block code
 
2841
#define DefSTE_LexerBlock_STE_LANG_CONTAINER
 
2842
#define DefSTE_LexerBlock_STE_LANG_NULL
 
2843
#define DefSTE_LexerBlock_STE_LANG_PYTHON
 
2844
#define DefSTE_LexerBlock_STE_LANG_CPP        // java and others rely on this
 
2845
    STE_LexerBlock _STE_LexerBlock_STE_LANG_CPP        = { 10, "{", 10, "}" };
 
2846
#define DefSTE_LexerBlock_STE_LANG_HTML
 
2847
#define DefSTE_LexerBlock_STE_LANG_XML
 
2848
#define DefSTE_LexerBlock_STE_LANG_PERL       STE_LexerBlock _STE_LexerBlock_STE_LANG_PERL       = { 10, "{", 10, "}" };
 
2849
#define DefSTE_LexerBlock_STE_LANG_SQL
 
2850
#define DefSTE_LexerBlock_STE_LANG_VB
 
2851
#define DefSTE_LexerBlock_STE_LANG_PROPERTIES
 
2852
#define DefSTE_LexerBlock_STE_LANG_ERRORLIST
 
2853
#define DefSTE_LexerBlock_STE_LANG_MAKEFILE
 
2854
#define DefSTE_LexerBlock_STE_LANG_BATCH
 
2855
#define DefSTE_LexerBlock_STE_LANG_XCODE
 
2856
#define DefSTE_LexerBlock_STE_LANG_LATEX
 
2857
#define DefSTE_LexerBlock_STE_LANG_LUA
 
2858
#define DefSTE_LexerBlock_STE_LANG_DIFF
 
2859
#define DefSTE_LexerBlock_STE_LANG_CONF
 
2860
#define DefSTE_LexerBlock_STE_LANG_PASCAL     STE_LexerBlock _STE_LexerBlock_STE_LANG_PASCAL     = { 10, "begin", 10, "end" };
 
2861
#define DefSTE_LexerBlock_STE_LANG_AVE
 
2862
#define DefSTE_LexerBlock_STE_LANG_ADA        STE_LexerBlock _STE_LexerBlock_STE_LANG_ADA        = { 10, "then is", 10, "end" };
 
2863
#define DefSTE_LexerBlock_STE_LANG_LISP
 
2864
#define DefSTE_LexerBlock_STE_LANG_RUBY
 
2865
#define DefSTE_LexerBlock_STE_LANG_EIFFEL     STE_LexerBlock _STE_LexerBlock_STE_LANG_EIFFEL     = { 10, "check debug deferred do from if inspect once", 10, "end" };
 
2866
#define DefSTE_LexerBlock_STE_LANG_EIFFELKW   STE_LexerBlock _STE_LexerBlock_STE_LANG_EIFFELKW   = { 10, "check debug deferred do from if inspect once", 10, "end" };
 
2867
#define DefSTE_LexerBlock_STE_LANG_TCL        STE_LexerBlock _STE_LexerBlock_STE_LANG_TCL        = { 4, "{", 4, "}" };
 
2868
#define DefSTE_LexerBlock_STE_LANG_NNCRONTAB
 
2869
#define DefSTE_LexerBlock_STE_LANG_BULLANT
 
2870
#define DefSTE_LexerBlock_STE_LANG_VBSCRIPT
 
2871
#define DefSTE_LexerBlock_STE_LANG_ASP
 
2872
#define DefSTE_LexerBlock_STE_LANG_PHP
 
2873
#define DefSTE_LexerBlock_STE_LANG_BAAN
 
2874
#define DefSTE_LexerBlock_STE_LANG_MATLAB
 
2875
#define DefSTE_LexerBlock_STE_LANG_SCRIPTOL
 
2876
#define DefSTE_LexerBlock_STE_LANG_ASM
 
2877
#define DefSTE_LexerBlock_STE_LANG_CPPNOCASE
 
2878
#define DefSTE_LexerBlock_STE_LANG_FORTRAN
 
2879
#define DefSTE_LexerBlock_STE_LANG_F77
 
2880
#define DefSTE_LexerBlock_STE_LANG_CSS        STE_LexerBlock _STE_LexerBlock_STE_LANG_CSS        = { 5, "{", 5, "}" };
 
2881
#define DefSTE_LexerBlock_STE_LANG_POV
 
2882
#define DefSTE_LexerBlock_STE_LANG_LOUT
 
2883
#define DefSTE_LexerBlock_STE_LANG_ESCRIPT
 
2884
#define DefSTE_LexerBlock_STE_LANG_PS
 
2885
#define DefSTE_LexerBlock_STE_LANG_NSIS
 
2886
#define DefSTE_LexerBlock_STE_LANG_MMIXAL
 
2887
#define DefSTE_LexerBlock_STE_LANG_CLW
 
2888
#define DefSTE_LexerBlock_STE_LANG_CLWNOCASE
 
2889
#define DefSTE_LexerBlock_STE_LANG_LOT
 
2890
#define DefSTE_LexerBlock_STE_LANG_YAML
 
2891
#define DefSTE_LexerBlock_STE_LANG_TEX
 
2892
#define DefSTE_LexerBlock_STE_LANG_METAPOST
 
2893
#define DefSTE_LexerBlock_STE_LANG_POWERBASIC
 
2894
#define DefSTE_LexerBlock_STE_LANG_FORTH
 
2895
#define DefSTE_LexerBlock_STE_LANG_ERLANG
 
2896
#define DefSTE_LexerBlock_STE_LANG_OCTAVE
 
2897
#define DefSTE_LexerBlock_STE_LANG_MSSQL
 
2898
#define DefSTE_LexerBlock_STE_LANG_VERILOG
 
2899
#define DefSTE_LexerBlock_STE_LANG_KIX
 
2900
#define DefSTE_LexerBlock_STE_LANG_GUI4CLI
 
2901
#define DefSTE_LexerBlock_STE_LANG_SPECMAN
 
2902
#define DefSTE_LexerBlock_STE_LANG_AU3        STE_LexerBlock _STE_LexerBlock_STE_LANG_AU3        = { 5, "case if do for func else elseif while select \
 
2903
Case If Do For Func Else ElseIf While Select CASE IF DO FOR FUNC ELSE ELSEIF WHILE SELECT", 5, "case else endif elseif endfunc endselect next until wend \
 
2904
Case Else EndIf ElseIf EndFunc EndSelect Next Until Wend CASE ELSE ENDIF ELSEIF ENDFUNC ENDSELECT NEXT UNTIL WEND" };
 
2905
#define DefSTE_LexerBlock_STE_LANG_APDL
 
2906
#define DefSTE_LexerBlock_STE_LANG_BASH
 
2907
#define DefSTE_LexerBlock_STE_LANG_ASN1
 
2908
#define DefSTE_LexerBlock_STE_LANG_VHDL
 
2909
#define DefSTE_LexerBlock_STE_LANG_JAVA
 
2910
#define DefSTE_LexerBlock_STE_LANG_JAVASCRIPT
 
2911
#define DefSTE_LexerBlock_STE_LANG_RC
 
2912
#define DefSTE_LexerBlock_STE_LANG_CS
 
2913
#define DefSTE_LexerBlock_STE_LANG_D
 
2914
#define DefSTE_LexerBlock_STE_LANG_IDL
 
2915
#define DefSTE_LexerBlock_STE_LANG_PLSQL
 
2916
#define DefSTE_LexerBlock_STE_LANG_SQUIRREL
 
2917
 
 
2918
#define STE_LexerBlock_STE_LANG_CONTAINER  NULL
 
2919
#define STE_LexerBlock_STE_LANG_NULL       NULL
 
2920
#define STE_LexerBlock_STE_LANG_PYTHON     NULL
 
2921
#define STE_LexerBlock_STE_LANG_CPP        &_STE_LexerBlock_STE_LANG_CPP
 
2922
#define STE_LexerBlock_STE_LANG_HTML       NULL
 
2923
#define STE_LexerBlock_STE_LANG_XML        NULL
 
2924
#define STE_LexerBlock_STE_LANG_PERL       &_STE_LexerBlock_STE_LANG_PERL
 
2925
#define STE_LexerBlock_STE_LANG_SQL        NULL
 
2926
#define STE_LexerBlock_STE_LANG_VB         NULL
 
2927
#define STE_LexerBlock_STE_LANG_PROPERTIES NULL
 
2928
#define STE_LexerBlock_STE_LANG_ERRORLIST  NULL
 
2929
#define STE_LexerBlock_STE_LANG_MAKEFILE   NULL
 
2930
#define STE_LexerBlock_STE_LANG_BATCH      NULL
 
2931
#define STE_LexerBlock_STE_LANG_XCODE      NULL
 
2932
#define STE_LexerBlock_STE_LANG_LATEX      NULL
 
2933
#define STE_LexerBlock_STE_LANG_LUA        NULL
 
2934
#define STE_LexerBlock_STE_LANG_DIFF       NULL
 
2935
#define STE_LexerBlock_STE_LANG_CONF       NULL
 
2936
#define STE_LexerBlock_STE_LANG_PASCAL     &_STE_LexerBlock_STE_LANG_PASCAL
 
2937
#define STE_LexerBlock_STE_LANG_AVE        NULL
 
2938
#define STE_LexerBlock_STE_LANG_ADA        &_STE_LexerBlock_STE_LANG_ADA
 
2939
#define STE_LexerBlock_STE_LANG_LISP       NULL
 
2940
#define STE_LexerBlock_STE_LANG_RUBY       NULL
 
2941
#define STE_LexerBlock_STE_LANG_EIFFEL     &_STE_LexerBlock_STE_LANG_EIFFEL
 
2942
#define STE_LexerBlock_STE_LANG_EIFFELKW   &_STE_LexerBlock_STE_LANG_EIFFELKW
 
2943
#define STE_LexerBlock_STE_LANG_TCL        &_STE_LexerBlock_STE_LANG_TCL
 
2944
#define STE_LexerBlock_STE_LANG_NNCRONTAB  NULL
 
2945
#define STE_LexerBlock_STE_LANG_BULLANT    NULL
 
2946
#define STE_LexerBlock_STE_LANG_VBSCRIPT   NULL
 
2947
#define STE_LexerBlock_STE_LANG_ASP        NULL
 
2948
#define STE_LexerBlock_STE_LANG_PHP        NULL
 
2949
#define STE_LexerBlock_STE_LANG_BAAN       NULL
 
2950
#define STE_LexerBlock_STE_LANG_MATLAB     NULL
 
2951
#define STE_LexerBlock_STE_LANG_SCRIPTOL   NULL
 
2952
#define STE_LexerBlock_STE_LANG_ASM        NULL
 
2953
#define STE_LexerBlock_STE_LANG_CPPNOCASE  NULL
 
2954
#define STE_LexerBlock_STE_LANG_FORTRAN    NULL
 
2955
#define STE_LexerBlock_STE_LANG_F77        NULL
 
2956
#define STE_LexerBlock_STE_LANG_CSS        &_STE_LexerBlock_STE_LANG_CSS
 
2957
#define STE_LexerBlock_STE_LANG_POV        NULL
 
2958
#define STE_LexerBlock_STE_LANG_LOUT       NULL
 
2959
#define STE_LexerBlock_STE_LANG_ESCRIPT    NULL
 
2960
#define STE_LexerBlock_STE_LANG_PS         NULL
 
2961
#define STE_LexerBlock_STE_LANG_NSIS       NULL
 
2962
#define STE_LexerBlock_STE_LANG_MMIXAL     NULL
 
2963
#define STE_LexerBlock_STE_LANG_CLW        NULL
 
2964
#define STE_LexerBlock_STE_LANG_CLWNOCASE  NULL
 
2965
#define STE_LexerBlock_STE_LANG_LOT        NULL
 
2966
#define STE_LexerBlock_STE_LANG_YAML       NULL
 
2967
#define STE_LexerBlock_STE_LANG_TEX        NULL
 
2968
#define STE_LexerBlock_STE_LANG_METAPOST   NULL
 
2969
#define STE_LexerBlock_STE_LANG_POWERBASIC NULL
 
2970
#define STE_LexerBlock_STE_LANG_FORTH      NULL
 
2971
#define STE_LexerBlock_STE_LANG_ERLANG     NULL
 
2972
#define STE_LexerBlock_STE_LANG_OCTAVE     NULL
 
2973
#define STE_LexerBlock_STE_LANG_MSSQL      NULL
 
2974
#define STE_LexerBlock_STE_LANG_VERILOG    NULL
 
2975
#define STE_LexerBlock_STE_LANG_KIX        NULL
 
2976
#define STE_LexerBlock_STE_LANG_GUI4CLI    NULL
 
2977
#define STE_LexerBlock_STE_LANG_SPECMAN    NULL
 
2978
#define STE_LexerBlock_STE_LANG_AU3        &_STE_LexerBlock_STE_LANG_AU3
 
2979
#define STE_LexerBlock_STE_LANG_APDL       NULL
 
2980
#define STE_LexerBlock_STE_LANG_BASH       NULL
 
2981
#define STE_LexerBlock_STE_LANG_ASN1       NULL
 
2982
#define STE_LexerBlock_STE_LANG_VHDL       NULL
 
2983
#define STE_LexerBlock_STE_LANG_JAVA       &_STE_LexerBlock_STE_LANG_CPP
 
2984
#define STE_LexerBlock_STE_LANG_JAVASCRIPT &_STE_LexerBlock_STE_LANG_CPP
 
2985
#define STE_LexerBlock_STE_LANG_RC         &_STE_LexerBlock_STE_LANG_CPP
 
2986
#define STE_LexerBlock_STE_LANG_CS         &_STE_LexerBlock_STE_LANG_CPP
 
2987
#define STE_LexerBlock_STE_LANG_D          &_STE_LexerBlock_STE_LANG_CPP
 
2988
#define STE_LexerBlock_STE_LANG_IDL        &_STE_LexerBlock_STE_LANG_CPP
 
2989
#define STE_LexerBlock_STE_LANG_PLSQL      NULL
 
2990
#define STE_LexerBlock_STE_LANG_SQUIRREL   &_STE_LexerBlock_STE_LANG_CPP
 
2991
 
 
2992
// ---------------------------------------------------------------------------
 
2993
// Preprocessor symbols for language
 
2994
#define DefSTE_LexerPreproc_STE_LANG_CONTAINER
 
2995
#define DefSTE_LexerPreproc_STE_LANG_NULL
 
2996
#define DefSTE_LexerPreproc_STE_LANG_PYTHON
 
2997
#define DefSTE_LexerPreproc_STE_LANG_CPP        STE_LexerPreproc _STE_LexerPreproc_STE_LANG_CPP        = { "#", "if ifdef ifndef", "else elif", "endif" };
 
2998
#define DefSTE_LexerPreproc_STE_LANG_HTML
 
2999
#define DefSTE_LexerPreproc_STE_LANG_XML
 
3000
#define DefSTE_LexerPreproc_STE_LANG_PERL
 
3001
#define DefSTE_LexerPreproc_STE_LANG_SQL
 
3002
#define DefSTE_LexerPreproc_STE_LANG_VB
 
3003
#define DefSTE_LexerPreproc_STE_LANG_PROPERTIES
 
3004
#define DefSTE_LexerPreproc_STE_LANG_ERRORLIST
 
3005
#define DefSTE_LexerPreproc_STE_LANG_MAKEFILE   STE_LexerPreproc _STE_LexerPreproc_STE_LANG_MAKEFILE   = { "!", "IF IFDEF IFNDEF", "ELSE ELSEIF ELSEIFDEF ELSEIFNDEF", "ENDIF" };
 
3006
#define DefSTE_LexerPreproc_STE_LANG_BATCH
 
3007
#define DefSTE_LexerPreproc_STE_LANG_XCODE
 
3008
#define DefSTE_LexerPreproc_STE_LANG_LATEX
 
3009
#define DefSTE_LexerPreproc_STE_LANG_LUA
 
3010
#define DefSTE_LexerPreproc_STE_LANG_DIFF
 
3011
#define DefSTE_LexerPreproc_STE_LANG_CONF
 
3012
#define DefSTE_LexerPreproc_STE_LANG_PASCAL
 
3013
#define DefSTE_LexerPreproc_STE_LANG_AVE
 
3014
#define DefSTE_LexerPreproc_STE_LANG_ADA
 
3015
#define DefSTE_LexerPreproc_STE_LANG_LISP
 
3016
#define DefSTE_LexerPreproc_STE_LANG_RUBY
 
3017
#define DefSTE_LexerPreproc_STE_LANG_EIFFEL
 
3018
#define DefSTE_LexerPreproc_STE_LANG_EIFFELKW
 
3019
#define DefSTE_LexerPreproc_STE_LANG_TCL
 
3020
#define DefSTE_LexerPreproc_STE_LANG_NNCRONTAB
 
3021
#define DefSTE_LexerPreproc_STE_LANG_BULLANT
 
3022
#define DefSTE_LexerPreproc_STE_LANG_VBSCRIPT
 
3023
#define DefSTE_LexerPreproc_STE_LANG_ASP
 
3024
#define DefSTE_LexerPreproc_STE_LANG_PHP
 
3025
#define DefSTE_LexerPreproc_STE_LANG_BAAN       STE_LexerPreproc _STE_LexerPreproc_STE_LANG_BAAN       = { "#", "if ifdef ifndef", "else elif", "endif" };
 
3026
#define DefSTE_LexerPreproc_STE_LANG_MATLAB
 
3027
#define DefSTE_LexerPreproc_STE_LANG_SCRIPTOL
 
3028
#define DefSTE_LexerPreproc_STE_LANG_ASM
 
3029
#define DefSTE_LexerPreproc_STE_LANG_CPPNOCASE
 
3030
#define DefSTE_LexerPreproc_STE_LANG_FORTRAN
 
3031
#define DefSTE_LexerPreproc_STE_LANG_F77
 
3032
#define DefSTE_LexerPreproc_STE_LANG_CSS
 
3033
#define DefSTE_LexerPreproc_STE_LANG_POV        STE_LexerPreproc _STE_LexerPreproc_STE_LANG_POV        = { "#", "if ifdef ifndef switch while macro", "else", "end" };
 
3034
#define DefSTE_LexerPreproc_STE_LANG_LOUT
 
3035
#define DefSTE_LexerPreproc_STE_LANG_ESCRIPT
 
3036
#define DefSTE_LexerPreproc_STE_LANG_PS
 
3037
#define DefSTE_LexerPreproc_STE_LANG_NSIS
 
3038
#define DefSTE_LexerPreproc_STE_LANG_MMIXAL
 
3039
#define DefSTE_LexerPreproc_STE_LANG_CLW
 
3040
#define DefSTE_LexerPreproc_STE_LANG_CLWNOCASE
 
3041
#define DefSTE_LexerPreproc_STE_LANG_LOT
 
3042
#define DefSTE_LexerPreproc_STE_LANG_YAML
 
3043
#define DefSTE_LexerPreproc_STE_LANG_TEX
 
3044
#define DefSTE_LexerPreproc_STE_LANG_METAPOST
 
3045
#define DefSTE_LexerPreproc_STE_LANG_POWERBASIC
 
3046
#define DefSTE_LexerPreproc_STE_LANG_FORTH
 
3047
#define DefSTE_LexerPreproc_STE_LANG_ERLANG
 
3048
#define DefSTE_LexerPreproc_STE_LANG_OCTAVE
 
3049
#define DefSTE_LexerPreproc_STE_LANG_MSSQL
 
3050
#define DefSTE_LexerPreproc_STE_LANG_VERILOG    STE_LexerPreproc _STE_LexerPreproc_STE_LANG_VERILOG    = { "`", "ifdef", "else", "endif" };
 
3051
#define DefSTE_LexerPreproc_STE_LANG_KIX
 
3052
#define DefSTE_LexerPreproc_STE_LANG_GUI4CLI
 
3053
#define DefSTE_LexerPreproc_STE_LANG_SPECMAN    STE_LexerPreproc _STE_LexerPreproc_STE_LANG_SPECMAN    = { "#", "ifdef ifndef", "else", "}" };
 
3054
#define DefSTE_LexerPreproc_STE_LANG_AU3
 
3055
#define DefSTE_LexerPreproc_STE_LANG_APDL
 
3056
#define DefSTE_LexerPreproc_STE_LANG_BASH
 
3057
#define DefSTE_LexerPreproc_STE_LANG_ASN1
 
3058
#define DefSTE_LexerPreproc_STE_LANG_VHDL
 
3059
#define DefSTE_LexerPreproc_STE_LANG_JAVA
 
3060
#define DefSTE_LexerPreproc_STE_LANG_JAVASCRIPT
 
3061
#define DefSTE_LexerPreproc_STE_LANG_RC
 
3062
#define DefSTE_LexerPreproc_STE_LANG_CS
 
3063
#define DefSTE_LexerPreproc_STE_LANG_D
 
3064
#define DefSTE_LexerPreproc_STE_LANG_IDL
 
3065
#define DefSTE_LexerPreproc_STE_LANG_PLSQL
 
3066
#define DefSTE_LexerPreproc_STE_LANG_SQUIRREL
 
3067
 
 
3068
#define STE_LexerPreproc_STE_LANG_CONTAINER  NULL
 
3069
#define STE_LexerPreproc_STE_LANG_NULL       NULL
 
3070
#define STE_LexerPreproc_STE_LANG_PYTHON     NULL
 
3071
#define STE_LexerPreproc_STE_LANG_CPP        &_STE_LexerPreproc_STE_LANG_CPP
 
3072
#define STE_LexerPreproc_STE_LANG_HTML       NULL
 
3073
#define STE_LexerPreproc_STE_LANG_XML        NULL
 
3074
#define STE_LexerPreproc_STE_LANG_PERL       NULL
 
3075
#define STE_LexerPreproc_STE_LANG_SQL        NULL
 
3076
#define STE_LexerPreproc_STE_LANG_VB         NULL
 
3077
#define STE_LexerPreproc_STE_LANG_PROPERTIES NULL
 
3078
#define STE_LexerPreproc_STE_LANG_ERRORLIST  NULL
 
3079
#define STE_LexerPreproc_STE_LANG_MAKEFILE   &_STE_LexerPreproc_STE_LANG_MAKEFILE
 
3080
#define STE_LexerPreproc_STE_LANG_BATCH      NULL
 
3081
#define STE_LexerPreproc_STE_LANG_XCODE      NULL
 
3082
#define STE_LexerPreproc_STE_LANG_LATEX      NULL
 
3083
#define STE_LexerPreproc_STE_LANG_LUA        NULL
 
3084
#define STE_LexerPreproc_STE_LANG_DIFF       NULL
 
3085
#define STE_LexerPreproc_STE_LANG_CONF       NULL
 
3086
#define STE_LexerPreproc_STE_LANG_PASCAL     NULL
 
3087
#define STE_LexerPreproc_STE_LANG_AVE        NULL
 
3088
#define STE_LexerPreproc_STE_LANG_ADA        NULL
 
3089
#define STE_LexerPreproc_STE_LANG_LISP       NULL
 
3090
#define STE_LexerPreproc_STE_LANG_RUBY       NULL
 
3091
#define STE_LexerPreproc_STE_LANG_EIFFEL     NULL
 
3092
#define STE_LexerPreproc_STE_LANG_EIFFELKW   NULL
 
3093
#define STE_LexerPreproc_STE_LANG_TCL        NULL
 
3094
#define STE_LexerPreproc_STE_LANG_NNCRONTAB  NULL
 
3095
#define STE_LexerPreproc_STE_LANG_BULLANT    NULL
 
3096
#define STE_LexerPreproc_STE_LANG_VBSCRIPT   NULL
 
3097
#define STE_LexerPreproc_STE_LANG_ASP        NULL
 
3098
#define STE_LexerPreproc_STE_LANG_PHP        NULL
 
3099
#define STE_LexerPreproc_STE_LANG_BAAN       &_STE_LexerPreproc_STE_LANG_BAAN
 
3100
#define STE_LexerPreproc_STE_LANG_MATLAB     NULL
 
3101
#define STE_LexerPreproc_STE_LANG_SCRIPTOL   NULL
 
3102
#define STE_LexerPreproc_STE_LANG_ASM        NULL
 
3103
#define STE_LexerPreproc_STE_LANG_CPPNOCASE  NULL
 
3104
#define STE_LexerPreproc_STE_LANG_FORTRAN    NULL
 
3105
#define STE_LexerPreproc_STE_LANG_F77        NULL
 
3106
#define STE_LexerPreproc_STE_LANG_CSS        NULL
 
3107
#define STE_LexerPreproc_STE_LANG_POV        &_STE_LexerPreproc_STE_LANG_POV
 
3108
#define STE_LexerPreproc_STE_LANG_LOUT       NULL
 
3109
#define STE_LexerPreproc_STE_LANG_ESCRIPT    NULL
 
3110
#define STE_LexerPreproc_STE_LANG_PS         NULL
 
3111
#define STE_LexerPreproc_STE_LANG_NSIS       NULL
 
3112
#define STE_LexerPreproc_STE_LANG_MMIXAL     NULL
 
3113
#define STE_LexerPreproc_STE_LANG_CLW        NULL
 
3114
#define STE_LexerPreproc_STE_LANG_CLWNOCASE  NULL
 
3115
#define STE_LexerPreproc_STE_LANG_LOT        NULL
 
3116
#define STE_LexerPreproc_STE_LANG_YAML       NULL
 
3117
#define STE_LexerPreproc_STE_LANG_TEX        NULL
 
3118
#define STE_LexerPreproc_STE_LANG_METAPOST   NULL
 
3119
#define STE_LexerPreproc_STE_LANG_POWERBASIC NULL
 
3120
#define STE_LexerPreproc_STE_LANG_FORTH      NULL
 
3121
#define STE_LexerPreproc_STE_LANG_ERLANG     NULL
 
3122
#define STE_LexerPreproc_STE_LANG_OCTAVE     NULL
 
3123
#define STE_LexerPreproc_STE_LANG_MSSQL      NULL
 
3124
#define STE_LexerPreproc_STE_LANG_VERILOG    &_STE_LexerPreproc_STE_LANG_VERILOG
 
3125
#define STE_LexerPreproc_STE_LANG_KIX        NULL
 
3126
#define STE_LexerPreproc_STE_LANG_GUI4CLI    NULL
 
3127
#define STE_LexerPreproc_STE_LANG_SPECMAN    &_STE_LexerPreproc_STE_LANG_SPECMAN
 
3128
#define STE_LexerPreproc_STE_LANG_AU3        NULL
 
3129
#define STE_LexerPreproc_STE_LANG_APDL       NULL
 
3130
#define STE_LexerPreproc_STE_LANG_BASH       NULL
 
3131
#define STE_LexerPreproc_STE_LANG_ASN1       NULL
 
3132
#define STE_LexerPreproc_STE_LANG_VHDL       NULL
 
3133
#define STE_LexerPreproc_STE_LANG_JAVA       NULL
 
3134
#define STE_LexerPreproc_STE_LANG_JAVASCRIPT NULL
 
3135
#define STE_LexerPreproc_STE_LANG_RC         NULL
 
3136
#define STE_LexerPreproc_STE_LANG_CS         NULL
 
3137
#define STE_LexerPreproc_STE_LANG_D          NULL
 
3138
#define STE_LexerPreproc_STE_LANG_IDL        NULL
 
3139
#define STE_LexerPreproc_STE_LANG_PLSQL      NULL
 
3140
#define STE_LexerPreproc_STE_LANG_SQUIRREL   NULL
 
3141
 
 
3142
//----------------------------------------------------------------------------
 
3143
// STE_LexerStyles_STE_LANG_XXX are a simple mapping between Scintilla's lexer
 
3144
//   styles and the wxSTEditorStyles styles.
 
3145
// Since Scintilla uses only a few of the different styles the STE tries to
 
3146
//   create only 31 of them and map the different lexers to use them.
 
3147
//----------------------------------------------------------------------------
 
3148
 
 
3149
#define STE_LexerStyles_STE_LANG_CONTAINER_COUNT 0
 
3150
STE_LexerStyles *STE_LexerStyles_STE_LANG_CONTAINER = NULL;
 
3151
 
 
3152
#define STE_LexerStyles_STE_LANG_NULL_COUNT 1
 
3153
static STE_LexerStyles STE_LexerStyles_STE_LANG_NULL[STE_LexerStyles_STE_LANG_NULL_COUNT] = {
 
3154
    { STE_STYLE_DEFAULT, 0, "All text" }
 
3155
};
 
3156
 
 
3157
#define STE_LexerStyles_STE_LANG_PYTHON_COUNT 16
 
3158
static STE_LexerStyles STE_LexerStyles_STE_LANG_PYTHON[STE_LexerStyles_STE_LANG_PYTHON_COUNT] = {
 
3159
    // Lexical states for SCLEX_PYTHON
 
3160
    { STE_STYLE_DEFAULT,        wxSTC_P_DEFAULT,        "White space" }, // 0
 
3161
    { STE_STYLE_COMMENTLINE,    wxSTC_P_COMMENTLINE,    "Comment" }, // 1
 
3162
    { STE_STYLE_NUMBER,         wxSTC_P_NUMBER,         "Number" }, // 2
 
3163
    { STE_STYLE_STRING,         wxSTC_P_STRING,         "String" }, // 3
 
3164
    { STE_STYLE_CHARACTER,      wxSTC_P_CHARACTER,      "Single quoted string" }, // 4
 
3165
    { STE_STYLE_KEYWORD1,       wxSTC_P_WORD,           "Keyword" }, // 5
 
3166
    { STE_STYLE_STRING,         wxSTC_P_TRIPLE,         "Triple quotes" }, // 6
 
3167
    { STE_STYLE_STRING,         wxSTC_P_TRIPLEDOUBLE,   "Triple double quotes" }, // 7
 
3168
    { STE_STYLE_LABEL,          wxSTC_P_CLASSNAME,      "Class name definition" }, // 8
 
3169
    { STE_STYLE_LABEL,          wxSTC_P_DEFNAME,        "Function or method name definition" }, // 9
 
3170
    { STE_STYLE_OPERATOR,       wxSTC_P_OPERATOR,       "Operators" }, // 10
 
3171
    { STE_STYLE_IDENTIFIER,     wxSTC_P_IDENTIFIER,     "Identifiers" }, // 11
 
3172
    { STE_STYLE_COMMENTOTHER,   wxSTC_P_COMMENTBLOCK,   "Comment-blocks" }, // 12
 
3173
    { STE_STYLE_STRINGEOL,      wxSTC_P_STRINGEOL,      "End of line where string is not closed" }, // 13
 
3174
    { STE_STYLE_KEYWORD2,       wxSTC_P_WORD2,          "Highlighted identifiers" }, // 14
 
3175
    { STE_STYLE_PARAMETER,      wxSTC_P_DECORATOR,      "Decorators" } // 15
 
3176
};
 
3177
 
 
3178
#define STE_LexerStyles_STE_LANG_CPP_COUNT 20
 
3179
static STE_LexerStyles STE_LexerStyles_STE_LANG_CPP[STE_LexerStyles_STE_LANG_CPP_COUNT] = {
 
3180
    // Lexical states for SCLEX_CPP
 
3181
    { STE_STYLE_DEFAULT,        wxSTC_C_DEFAULT,        "White space" }, // 0
 
3182
    { STE_STYLE_COMMENT,        wxSTC_C_COMMENT,        "Comment: /* */" }, // 1
 
3183
    { STE_STYLE_COMMENTLINE,    wxSTC_C_COMMENTLINE,    "Line Comment: //" }, // 2
 
3184
    { STE_STYLE_COMMENTDOC,     wxSTC_C_COMMENTDOC,     "Doc comment: block comments beginning with /** or /*!" }, // 3
 
3185
    { STE_STYLE_NUMBER,         wxSTC_C_NUMBER,         "Number" }, // 4
 
3186
    { STE_STYLE_KEYWORD1,       wxSTC_C_WORD,           "Keyword" }, // 5
 
3187
    { STE_STYLE_STRING,         wxSTC_C_STRING,         "Double quoted string" }, // 6
 
3188
    { STE_STYLE_CHARACTER,      wxSTC_C_CHARACTER,      "Single quoted string" }, // 7
 
3189
    { STE_STYLE_UUID,           wxSTC_C_UUID,           "UUIDs (only in IDL)" }, // 8
 
3190
    { STE_STYLE_PREPROCESSOR,   wxSTC_C_PREPROCESSOR,   "Preprocessor" }, // 9
 
3191
    { STE_STYLE_OPERATOR,       wxSTC_C_OPERATOR,       "Operators" }, // 10
 
3192
    { STE_STYLE_IDENTIFIER,     wxSTC_C_IDENTIFIER,     "Identifiers" }, // 11
 
3193
    { STE_STYLE_STRINGEOL,      wxSTC_C_STRINGEOL,      "End of line where string is not closed" }, // 12
 
3194
    { STE_STYLE_STRING,         wxSTC_C_VERBATIM,       "Verbatim strings for C#" }, // 13
 
3195
    { STE_STYLE_REGEX,          wxSTC_C_REGEX,          "Regular expressions for JavaScript" }, // 14
 
3196
    { STE_STYLE_COMMENTDOC,     wxSTC_C_COMMENTLINEDOC, "Doc Comment Line: line comments beginning with /// or //!" }, // 15
 
3197
    { STE_STYLE_KEYWORD2,       wxSTC_C_WORD2,          "Keywords2" }, // 16
 
3198
    { STE_STYLE_KEYWORD3,       wxSTC_C_COMMENTDOCKEYWORD,  "Comment keyword" }, // 17
 
3199
    { STE_STYLE_ERROR,          wxSTC_C_COMMENTDOCKEYWORDERROR, "Comment keyword error" }, // 18
 
3200
    { STE_STYLE_LABEL,          wxSTC_C_GLOBALCLASS,    "Global class" },  // 19 // FIXME made up text name not in cpp.properties
 
3201
};
 
3202
 
 
3203
#define STE_LexerStyles_STE_LANG_HTML_COUNT 110
 
3204
static STE_LexerStyles STE_LexerStyles_STE_LANG_HTML[STE_LexerStyles_STE_LANG_HTML_COUNT] = {
 
3205
    // Lexical states for SCLEX_HTML, SCLEX_XML
 
3206
    { STE_STYLE_DEFAULT,        wxSTC_H_DEFAULT,            "Text" },
 
3207
    { STE_STYLE_DEFAULT,        wxSTC_H_TAG,                "Tags" },
 
3208
    { STE_STYLE_DEFAULT,        wxSTC_H_TAGUNKNOWN,         "Unknown Tags" },
 
3209
    { STE_STYLE_DEFAULT,        wxSTC_H_ATTRIBUTE,          "Attributes" },
 
3210
    { STE_STYLE_UNDEFINED,      wxSTC_H_ATTRIBUTEUNKNOWN,   "Unknown Attributes" },
 
3211
    { STE_STYLE_NUMBER,         wxSTC_H_NUMBER,             "Numbers" },
 
3212
    { STE_STYLE_STRING,         wxSTC_H_DOUBLESTRING,       "Double quoted strings" },
 
3213
    { STE_STYLE_STRING,         wxSTC_H_SINGLESTRING,       "Single quoted strings" },
 
3214
    { STE_STYLE_DEFAULT,        wxSTC_H_OTHER,              "Other inside tag" },
 
3215
    { STE_STYLE_COMMENT,        wxSTC_H_COMMENT,            "Comment" },
 
3216
    { STE_STYLE_LABEL,          wxSTC_H_ENTITY,             "Entities" },
 
3217
    // XML and ASP
 
3218
    { STE_STYLE_DEFAULT,        wxSTC_H_TAGEND,             "XML style tag ends '/>'" },
 
3219
    { STE_STYLE_DEFAULT,        wxSTC_H_XMLSTART,           "XML identifier start '<?'" },
 
3220
    { STE_STYLE_DEFAULT,        wxSTC_H_XMLEND,             "XML identifier end '?>'" },
 
3221
    { STE_STYLE_SCRIPT,         wxSTC_H_SCRIPT,             "SCRIPT" },
 
3222
    { STE_STYLE_DEFAULT,        wxSTC_H_ASP,                "ASP <% ... %>" },
 
3223
    { STE_STYLE_DEFAULT,        wxSTC_H_ASPAT,              "ASP <% ... %>" },
 
3224
    { STE_STYLE_DEFAULT,        wxSTC_H_CDATA,              "CDATA" },
 
3225
    { STE_STYLE_DEFAULT,        wxSTC_H_QUESTION,           "PHP" },
 
3226
    // More HTML
 
3227
    { STE_STYLE_VALUE,          wxSTC_H_VALUE,              "Unquoted values" },
 
3228
    // X-Code
 
3229
    { STE_STYLE_COMMENT,        wxSTC_H_XCCOMMENT,          "JSP Comment <%-- ... --%>" },
 
3230
    // SGML
 
3231
    { STE_STYLE_DEFAULT,        wxSTC_H_SGML_DEFAULT,       "SGML tags <! ... >" },
 
3232
    { STE_STYLE_COMMAND,        wxSTC_H_SGML_COMMAND,       "SGML command" },
 
3233
    { STE_STYLE_DEFAULT,        wxSTC_H_SGML_1ST_PARAM,     "SGML 1st param" },
 
3234
    { STE_STYLE_STRING,         wxSTC_H_SGML_DOUBLESTRING,  "SGML double string" },
 
3235
    { STE_STYLE_STRING,         wxSTC_H_SGML_SIMPLESTRING,  "SGML single string" },
 
3236
    { STE_STYLE_ERROR,          wxSTC_H_SGML_ERROR,         "SGML error" },
 
3237
    { STE_STYLE_DEFAULT,        wxSTC_H_SGML_SPECIAL,       "SGML special (#xxxx type)" },
 
3238
    { STE_STYLE_LABEL,          wxSTC_H_SGML_ENTITY,        "SGML entity" },
 
3239
    { STE_STYLE_COMMENT,        wxSTC_H_SGML_COMMENT,       "SGML comment" },
 
3240
    { STE_STYLE_COMMENT,        wxSTC_H_SGML_1ST_PARAM_COMMENT, "SGML block" },
 
3241
    { STE_STYLE_DEFAULT,        wxSTC_H_SGML_BLOCK_DEFAULT, "SGML block" },
 
3242
 
 
3243
    // Embedded Javascript
 
3244
    { STE_STYLE_DEFAULT,        wxSTC_HJ_START,         "Embedded JS Start" },
 
3245
    { STE_STYLE_DEFAULT,        wxSTC_HJ_DEFAULT,       "Embedded JS Default" },
 
3246
    { STE_STYLE_COMMENT,        wxSTC_HJ_COMMENT,       "Embedded JS Comment" },
 
3247
    { STE_STYLE_COMMENTLINE,    wxSTC_HJ_COMMENTLINE,   "Embedded JS Line Comment" },
 
3248
    { STE_STYLE_COMMENTDOC,     wxSTC_HJ_COMMENTDOC,    "Embedded JS Doc comment" },
 
3249
    { STE_STYLE_NUMBER,         wxSTC_HJ_NUMBER,        "Embedded JS Number" },
 
3250
    { STE_STYLE_KEYWORD1,       wxSTC_HJ_WORD,          "Embedded JS Word" },
 
3251
    { STE_STYLE_KEYWORD2,       wxSTC_HJ_KEYWORD,       "Embedded JS Keyword" },
 
3252
    { STE_STYLE_STRING,         wxSTC_HJ_DOUBLESTRING,  "Embedded JS Double quoted string" },
 
3253
    { STE_STYLE_STRING,         wxSTC_HJ_SINGLESTRING,  "Embedded JS Single quoted string" },
 
3254
    { STE_STYLE_NUMBER,         wxSTC_HJ_SYMBOLS,       "Embedded JS Symbols" },
 
3255
    { STE_STYLE_STRINGEOL,      wxSTC_HJ_STRINGEOL,     "Embedded JS EOL" },
 
3256
    { STE_STYLE_REGEX,          wxSTC_HJ_REGEX,         "Embedded JS RegEx" },
 
3257
 
 
3258
    // ASP Javascript
 
3259
    { STE_STYLE_DEFAULT,        wxSTC_HJA_START,        "ASP JS Start" },
 
3260
    { STE_STYLE_DEFAULT,        wxSTC_HJA_DEFAULT,      "ASP JS Default" },
 
3261
    { STE_STYLE_COMMENT,        wxSTC_HJA_COMMENT,      "ASP JS Comment" },
 
3262
    { STE_STYLE_COMMENTLINE,    wxSTC_HJA_COMMENTLINE,  "ASP JS Line Comment" },
 
3263
    { STE_STYLE_COMMENTDOC,     wxSTC_HJA_COMMENTDOC,   "ASP JS Doc comment" },
 
3264
    { STE_STYLE_NUMBER,         wxSTC_HJA_NUMBER,       "ASP JS Number" },
 
3265
    { STE_STYLE_KEYWORD1,       wxSTC_HJA_WORD,         "ASP JS Word" },
 
3266
    { STE_STYLE_KEYWORD2,       wxSTC_HJA_KEYWORD,      "ASP JS Keyword" },
 
3267
    { STE_STYLE_STRING,         wxSTC_HJA_DOUBLESTRING, "ASP JS Double quoted string" },
 
3268
    { STE_STYLE_STRING,         wxSTC_HJA_SINGLESTRING, "ASP JS Single quoted string" },
 
3269
    { STE_STYLE_NUMBER,         wxSTC_HJA_SYMBOLS,      "ASP JS Symbols" },
 
3270
    { STE_STYLE_STRINGEOL,      wxSTC_HJA_STRINGEOL,    "ASP JS EOL" },
 
3271
    { STE_STYLE_REGEX,          wxSTC_HJA_REGEX,        "ASP JS RegEx" },
 
3272
 
 
3273
    // Embedded VBScript
 
3274
    { STE_STYLE_DEFAULT,        wxSTC_HB_START,         "Embedded VBS Start" },
 
3275
    { STE_STYLE_DEFAULT,        wxSTC_HB_DEFAULT,       "Embedded VBS Default" },
 
3276
    { STE_STYLE_COMMENTLINE,    wxSTC_HB_COMMENTLINE,   "Embedded VBS Comment" },
 
3277
    { STE_STYLE_NUMBER,         wxSTC_HB_NUMBER,        "Embedded VBS Number" },
 
3278
    { STE_STYLE_KEYWORD1,       wxSTC_HB_WORD,          "Embedded VBS KeyWord" },
 
3279
    { STE_STYLE_STRING,         wxSTC_HB_STRING,        "Embedded VBS String" },
 
3280
    { STE_STYLE_IDENTIFIER,     wxSTC_HB_IDENTIFIER,    "Embedded VBS Identifier" },
 
3281
    { STE_STYLE_STRINGEOL,      wxSTC_HB_STRINGEOL,     "Embedded VBS Unterminated string" },
 
3282
 
 
3283
    // ASP VBScript
 
3284
    { STE_STYLE_DEFAULT,        wxSTC_HBA_START,        "ASP VBS Start" },
 
3285
    { STE_STYLE_DEFAULT,        wxSTC_HBA_DEFAULT,      "ASP VBS Default" },
 
3286
    { STE_STYLE_COMMENTLINE,    wxSTC_HBA_COMMENTLINE,  "ASP VBS Comment" },
 
3287
    { STE_STYLE_NUMBER,         wxSTC_HBA_NUMBER,       "ASP VBS Number" },
 
3288
    { STE_STYLE_KEYWORD1,       wxSTC_HBA_WORD,         "ASP VBS KeyWord" },
 
3289
    { STE_STYLE_STRING,         wxSTC_HBA_STRING,       "ASP VBS String" },
 
3290
    { STE_STYLE_IDENTIFIER,     wxSTC_HBA_IDENTIFIER,   "ASP VBS Identifier" },
 
3291
    { STE_STYLE_STRINGEOL,      wxSTC_HBA_STRINGEOL,    "ASP VBS Unterminated string" },
 
3292
 
 
3293
    // Embedded Python
 
3294
    { STE_STYLE_DEFAULT,        wxSTC_HP_START,         "Embedded Python Start" },
 
3295
    { STE_STYLE_DEFAULT,        wxSTC_HP_DEFAULT,       "Embedded Python Default" },
 
3296
    { STE_STYLE_COMMENTLINE,    wxSTC_HP_COMMENTLINE,   "Embedded Python Comment" },
 
3297
    { STE_STYLE_NUMBER,         wxSTC_HP_NUMBER,        "Embedded Python Number" },
 
3298
    { STE_STYLE_STRING,         wxSTC_HP_STRING,        "Embedded Python String" },
 
3299
    { STE_STYLE_CHARACTER,      wxSTC_HP_CHARACTER,     "Embedded Python Single quoted string" },
 
3300
    { STE_STYLE_KEYWORD1,       wxSTC_HP_WORD,          "Embedded Python Keyword" },
 
3301
    { STE_STYLE_NUMBER,         wxSTC_HP_TRIPLE,        "Embedded Python Triple quotes" },
 
3302
    { STE_STYLE_NUMBER,         wxSTC_HP_TRIPLEDOUBLE,  "Embedded Python Triple double quotes" },
 
3303
    { STE_STYLE_LABEL,          wxSTC_HP_CLASSNAME,     "Embedded Python Class name definition" },
 
3304
    { STE_STYLE_LABEL,          wxSTC_HP_DEFNAME,       "Embedded Python Function or method name definition" },
 
3305
    { STE_STYLE_OPERATOR,       wxSTC_HP_OPERATOR,      "Embedded Python Operators" },
 
3306
    { STE_STYLE_IDENTIFIER,     wxSTC_HP_IDENTIFIER,    "Embedded Python Identifiers" },
 
3307
 
 
3308
    // FIXME - 1.64 add PHP complex variable 104
 
3309
 
 
3310
    // ASP Python
 
3311
    { STE_STYLE_DEFAULT,        wxSTC_HPA_START,        "ASP Python Start" },
 
3312
    { STE_STYLE_DEFAULT,        wxSTC_HPA_DEFAULT,      "ASP Python Default" },
 
3313
    { STE_STYLE_COMMENTLINE,    wxSTC_HPA_COMMENTLINE,  "ASP Python Comment" },
 
3314
    { STE_STYLE_NUMBER,         wxSTC_HPA_NUMBER,       "ASP Python Number" },
 
3315
    { STE_STYLE_STRING,         wxSTC_HPA_STRING,       "ASP Python String" },
 
3316
    { STE_STYLE_CHARACTER,      wxSTC_HPA_CHARACTER,    "ASP Python Single quoted string" },
 
3317
    { STE_STYLE_KEYWORD1,       wxSTC_HPA_WORD,         "ASP Python Keyword" },
 
3318
    { STE_STYLE_NUMBER,         wxSTC_HPA_TRIPLE,       "ASP Python Triple quotes" },
 
3319
    { STE_STYLE_NUMBER,         wxSTC_HPA_TRIPLEDOUBLE, "ASP Python Triple double quotes" },
 
3320
    { STE_STYLE_LABEL,          wxSTC_HPA_CLASSNAME,    "ASP Python Class name definition" },
 
3321
    { STE_STYLE_LABEL,          wxSTC_HPA_DEFNAME,      "ASP Python Function or method name definition" },
 
3322
    { STE_STYLE_OPERATOR,       wxSTC_HPA_OPERATOR,     "ASP Python Operators" },
 
3323
    { STE_STYLE_IDENTIFIER,     wxSTC_HPA_IDENTIFIER,   "ASP Python Identifiers" },
 
3324
    // PHP
 
3325
    { STE_STYLE_DEFAULT,        wxSTC_HPHP_DEFAULT,     "PHP Default" },
 
3326
    { STE_STYLE_STRING,         wxSTC_HPHP_HSTRING,     "PHP Double quoted String" },
 
3327
    { STE_STYLE_STRING,         wxSTC_HPHP_SIMPLESTRING,"PHP Single quoted string" },
 
3328
    { STE_STYLE_KEYWORD1,       wxSTC_HPHP_WORD,        "PHP Keyword" },
 
3329
    { STE_STYLE_NUMBER,         wxSTC_HPHP_NUMBER,      "PHP Number" },
 
3330
    { STE_STYLE_VALUE,          wxSTC_HPHP_VARIABLE,    "PHP Variable" },
 
3331
    { STE_STYLE_COMMENT,        wxSTC_HPHP_COMMENT,     "PHP Comment" },
 
3332
    { STE_STYLE_COMMENTLINE,    wxSTC_HPHP_COMMENTLINE, "PHP One line comment" },
 
3333
    { STE_STYLE_VALUE,          wxSTC_HPHP_HSTRING_VARIABLE, "PHP Variable in double quoted string" },
 
3334
    { STE_STYLE_OPERATOR,       wxSTC_HPHP_OPERATOR,    "PHP Operator" },
 
3335
};
 
3336
 
 
3337
#define STE_LexerStyles_STE_LANG_XML_COUNT 32 // only use first 32
 
3338
STE_LexerStyles *STE_LexerStyles_STE_LANG_XML = STE_LexerStyles_STE_LANG_HTML;
 
3339
 
 
3340
#define STE_LexerStyles_STE_LANG_PERL_COUNT 30
 
3341
static STE_LexerStyles STE_LexerStyles_STE_LANG_PERL[STE_LexerStyles_STE_LANG_PERL_COUNT] = {
 
3342
    // Lexical states for SCLEX_PERL
 
3343
    { STE_STYLE_DEFAULT,        wxSTC_PL_DEFAULT,       "White space" }, // 0
 
3344
    { STE_STYLE_ERROR,          wxSTC_PL_ERROR,         "Error" }, // 1
 
3345
    { STE_STYLE_COMMENTLINE,    wxSTC_PL_COMMENTLINE,   "Comment" }, // 2
 
3346
    { STE_STYLE_COMMENT,        wxSTC_PL_POD,           "POD: = at beginning of line" }, // 3
 
3347
    { STE_STYLE_NUMBER,         wxSTC_PL_NUMBER,        "Number" }, // 4
 
3348
    { STE_STYLE_KEYWORD1,       wxSTC_PL_WORD,          "Keyword" }, // 5
 
3349
    { STE_STYLE_STRING,         wxSTC_PL_STRING,        "Double quoted string" }, // 6
 
3350
    { STE_STYLE_CHARACTER,      wxSTC_PL_CHARACTER,     "Single quoted string" }, // 7
 
3351
    { STE_STYLE_PUNCTUATION,    wxSTC_PL_PUNCTUATION,   "Symbols / Punctuation" }, // 8 // FIXME Currently not used by LexPerl
 
3352
    { STE_STYLE_PREPROCESSOR,   wxSTC_PL_PREPROCESSOR,  "Preprocessor" }, // 9 // FIXME Currently not used by LexPerl
 
3353
    { STE_STYLE_OPERATOR,       wxSTC_PL_OPERATOR,      "Operators" }, // 10
 
3354
    { STE_STYLE_IDENTIFIER,     wxSTC_PL_IDENTIFIER,    "Identifiers (functions, etc.)" }, // 11
 
3355
    { STE_STYLE_NUMBER,         wxSTC_PL_SCALAR,        "Scalars: $var" }, // 12
 
3356
    { STE_STYLE_NUMBER,         wxSTC_PL_ARRAY,         "Array: @var" }, // 13
 
3357
    { STE_STYLE_NUMBER,         wxSTC_PL_HASH,          "Hash: %var" }, // 14
 
3358
    { STE_STYLE_NUMBER,         wxSTC_PL_SYMBOLTABLE,   "Symbol table: *var" }, // 15
 
3359
    { STE_STYLE_REGEX,          wxSTC_PL_REGEX,         "Regex: /re/ or m{re}" }, // 17
 
3360
    { STE_STYLE_DEFAULT,        wxSTC_PL_REGSUBST,      "Substitution: s/re/ore/" }, // 18
 
3361
    { STE_STYLE_DEFAULT,        wxSTC_PL_LONGQUOTE,     "Long Quote (qq, qr, qw, qx)" }, // 19 FIXME - obsolete use q, qq, qx...
 
3362
    { STE_STYLE_DEFAULT,        wxSTC_PL_BACKTICKS,     "Back Ticks" }, // 20
 
3363
    { STE_STYLE_DEFAULT,        wxSTC_PL_DATASECTION,   "Data Section: __DATA__ or __END__ at beginning of line" }, // 21
 
3364
    { STE_STYLE_DEFAULT,        wxSTC_PL_HERE_DELIM,    "Here-doc (delimiter)" }, // 22
 
3365
    { STE_STYLE_DEFAULT,        wxSTC_PL_HERE_Q,        "Here-doc (single quoted, q)" }, // 23
 
3366
    { STE_STYLE_DEFAULT,        wxSTC_PL_HERE_QQ,       "Here-doc (double quoted, qq)" }, // 24
 
3367
    { STE_STYLE_DEFAULT,        wxSTC_PL_HERE_QX,       "Here-doc (back ticks, qx)" }, // 25
 
3368
    { STE_STYLE_STRING,         wxSTC_PL_STRING_Q,      "Single quoted string, generic" }, // 26
 
3369
    { STE_STYLE_STRING,         wxSTC_PL_STRING_QQ,     "qq = Double quoted string" }, // 27
 
3370
    { STE_STYLE_STRING,         wxSTC_PL_STRING_QX,     "qx = Back ticks" }, // 28
 
3371
    { STE_STYLE_STRING,         wxSTC_PL_STRING_QR,     "qr = Regex" }, // 29
 
3372
    { STE_STYLE_STRING,         wxSTC_PL_STRING_QW,     "qw = Array" }, // 30
 
3373
    // FIXME 1.64 add "POD: verbatim paragraphs" 31
 
3374
};
 
3375
 
 
3376
#define STE_LexerStyles_STE_LANG_SQL_COUNT 22
 
3377
static STE_LexerStyles STE_LexerStyles_STE_LANG_SQL[STE_LexerStyles_STE_LANG_SQL_COUNT] = {
 
3378
    // Lexical states for SCLEX_SQL
 
3379
    { STE_STYLE_DEFAULT,               0,      "White space" }, // 0
 
3380
    { STE_STYLE_COMMENT,               1,      "Comment" }, // 1
 
3381
    { STE_STYLE_COMMENTLINE,           2,      "Line Comment" }, // 2
 
3382
    { STE_STYLE_COMMENTDOC,            3,      "Doc comment" }, // 3
 
3383
    { STE_STYLE_NUMBER,                4,      "Number" }, // 4
 
3384
    { STE_STYLE_KEYWORD1,              5,      "Keyword" }, // 5
 
3385
    { STE_STYLE_STRING,                6,      "Double quoted string" }, // 6
 
3386
    { STE_STYLE_CHARACTER,             7,      "Single quoted string" }, // 7
 
3387
    { STE_STYLE_LABEL,                 8,      "SQL*Plus" }, // 8
 
3388
    { STE_STYLE_LABEL,                 9,      "SQL*Plus PROMPT" }, // 9
 
3389
    { STE_STYLE_OPERATOR,              10,     "Operators" }, // 10
 
3390
    { STE_STYLE_IDENTIFIER,            11,     "Identifiers" }, // 11
 
3391
    { STE_STYLE_STRINGEOL,             12,     "End of line where string is not closed" }, // 12 // FIXME - NOT USED
 
3392
    { STE_STYLE_COMMENTOTHER,          13,     "SQL*Plus Comment" }, // 13
 
3393
    // 14 is not used
 
3394
    { STE_STYLE_COMMENTLINE,           15,     "Hash Line Comment" }, // 15
 
3395
    { STE_STYLE_KEYWORD2,              16,     "Keywords2: Database objects" }, // 16
 
3396
    { STE_STYLE_KEYWORD3,              17,     "Comment Doc Keyword" }, // 17
 
3397
    { STE_STYLE_KEYWORD4,              18,     "Comment Doc Keyword Error" }, // 18
 
3398
    { STE_STYLE_KEYWORD5,              19,     "Keywords5: User Keywords" }, // 19
 
3399
    { STE_STYLE_KEYWORD6,              20,     "Keywords6: User Keywords" }, // 20
 
3400
    { STE_STYLE_KEYWORD6,              21,     "Keywords7: User Keywords" }, // 21
 
3401
    { STE_STYLE_KEYWORD6,              22,     "Keywords8: User Keywords" }, // 22
 
3402
};
 
3403
 
 
3404
#define STE_LexerStyles_STE_LANG_VB_COUNT 15
 
3405
static STE_LexerStyles STE_LexerStyles_STE_LANG_VB[STE_LexerStyles_STE_LANG_VB_COUNT] = {
 
3406
    // Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC
 
3407
    { STE_STYLE_DEFAULT,               wxSTC_B_DEFAULT,      "White space" }, // 0
 
3408
    { STE_STYLE_COMMENT,               wxSTC_B_COMMENT,      "Comment" }, // 1
 
3409
    { STE_STYLE_NUMBER,                wxSTC_B_NUMBER,       "Number" }, // 2
 
3410
    { STE_STYLE_KEYWORD1,              wxSTC_B_KEYWORD,      "Keyword" }, // 3
 
3411
    { STE_STYLE_STRING,                wxSTC_B_STRING,       "String" }, // 4
 
3412
    { STE_STYLE_PREPROCESSOR,          wxSTC_B_PREPROCESSOR, "Preprocessor (directives)" }, // 5
 
3413
    { STE_STYLE_OPERATOR,              wxSTC_B_OPERATOR,     "Operator" }, // 6
 
3414
    { STE_STYLE_IDENTIFIER,            wxSTC_B_IDENTIFIER,   "Identifier" }, // 7
 
3415
    { STE_STYLE_DEFAULT,               wxSTC_B_DATE,         "Date" }, // 8
 
3416
    { STE_STYLE_STRINGEOL,             wxSTC_B_STRINGEOL,    "End of line where string is not closed" }, // 9
 
3417
    { STE_STYLE_KEYWORD2,              wxSTC_B_KEYWORD2,     "Keyword 2" }, // 10
 
3418
    { STE_STYLE_KEYWORD3,              wxSTC_B_KEYWORD3,     "Keyword 3" }, // 11
 
3419
    { STE_STYLE_KEYWORD4,              wxSTC_B_KEYWORD4,     "Keyword 4" }, // 12
 
3420
    { STE_STYLE_LABEL,                 wxSTC_B_CONSTANT,     "Constant" }, // 13
 
3421
    { STE_STYLE_SCRIPT,                wxSTC_B_ASM,          "Assembly" }, // 14
 
3422
};
 
3423
 
 
3424
#define STE_LexerStyles_STE_LANG_PROPERTIES_COUNT 5
 
3425
static STE_LexerStyles STE_LexerStyles_STE_LANG_PROPERTIES[STE_LexerStyles_STE_LANG_PROPERTIES_COUNT] = {
 
3426
    // Lexical states for SCLEX_PROPERTIES
 
3427
    { STE_STYLE_DEFAULT,            wxSTC_PROPS_DEFAULT,     "Default" }, // 0
 
3428
    { STE_STYLE_COMMENT,            wxSTC_PROPS_COMMENT,     "Comment" }, // 1
 
3429
    { STE_STYLE_COMMAND,            wxSTC_PROPS_SECTION,     "Section" }, // 2
 
3430
    { STE_STYLE_OPERATOR,           wxSTC_PROPS_ASSIGNMENT,  "Assignment operator" }, // 3
 
3431
    { STE_STYLE_VALUE,              wxSTC_PROPS_DEFVAL,      "Default value (@)" }, // 4
 
3432
};
 
3433
 
 
3434
#define STE_LexerStyles_STE_LANG_ERRORLIST_COUNT 21
 
3435
static STE_LexerStyles STE_LexerStyles_STE_LANG_ERRORLIST[STE_LexerStyles_STE_LANG_ERRORLIST_COUNT] = {
 
3436
    // Lexical states for SCLEX_ERRORLIST
 
3437
    { STE_STYLE_DEFAULT,  wxSTC_ERR_DEFAULT,       "Default" }, // 0
 
3438
    { STE_STYLE_ERROR,    wxSTC_ERR_PYTHON,        "python Error" }, // 1
 
3439
    { STE_STYLE_ERROR,    wxSTC_ERR_GCC,           "gcc Error" }, // 2
 
3440
    { STE_STYLE_ERROR,    wxSTC_ERR_MS,            "Microsoft Error" }, // 3
 
3441
    { STE_STYLE_ERROR,    wxSTC_ERR_CMD,           "command or return status" }, // 4
 
3442
    { STE_STYLE_ERROR,    wxSTC_ERR_BORLAND,       "Borland error and warning messages" }, // 5
 
3443
    { STE_STYLE_ERROR,    wxSTC_ERR_PERL,          "perl error and warning messages" }, // 6
 
3444
    { STE_STYLE_ERROR,    wxSTC_ERR_NET,           ".NET tracebacks" }, // 7
 
3445
    { STE_STYLE_ERROR,    wxSTC_ERR_LUA,           "Lua error and warning messages" }, // 8
 
3446
    { STE_STYLE_ERROR,    wxSTC_ERR_CTAG,          "ctags" }, // 9
 
3447
    { STE_STYLE_ERROR,    wxSTC_ERR_DIFF_CHANGED,  "diff changed !" }, // 10
 
3448
    { STE_STYLE_ERROR,    wxSTC_ERR_DIFF_ADDITION, "diff addition +" }, // 11
 
3449
    { STE_STYLE_ERROR,    wxSTC_ERR_DIFF_DELETION, "diff deletion -" }, // 12
 
3450
    { STE_STYLE_ERROR,    wxSTC_ERR_DIFF_MESSAGE,  "diff message ---" }, // 13
 
3451
    { STE_STYLE_ERROR,    wxSTC_ERR_PHP,           "PHP error" }, // 14
 
3452
    { STE_STYLE_ERROR,    wxSTC_ERR_ELF,           "Essential Lahey Fortran 90 error" }, // 15
 
3453
    { STE_STYLE_ERROR,    wxSTC_ERR_IFC,           "Intel Fortran Compiler error" }, // 16
 
3454
    { STE_STYLE_ERROR,    wxSTC_ERR_IFORT,         "Intel Fortran Compiler v8.0 error/warning" }, // 17
 
3455
    { STE_STYLE_ERROR,    wxSTC_ERR_ABSF,          "Absoft Pro Fortran 90/95 v8.2 error or warning" }, // 18
 
3456
    { STE_STYLE_ERROR,    wxSTC_ERR_TIDY,          "HTML Tidy" }, // 19
 
3457
    { STE_STYLE_ERROR,    wxSTC_ERR_JAVA_STACK,    "Java runtime stack trace" }, // 20
 
3458
};
 
3459
 
 
3460
#define STE_LexerStyles_STE_LANG_MAKEFILE_COUNT 7
 
3461
static STE_LexerStyles STE_LexerStyles_STE_LANG_MAKEFILE[STE_LexerStyles_STE_LANG_MAKEFILE_COUNT] = {
 
3462
    // Lexical states for SCLEX_MAKEFILE
 
3463
    { STE_STYLE_DEFAULT,        wxSTC_MAKE_DEFAULT,      "Default" }, // 0
 
3464
    { STE_STYLE_COMMENT,        wxSTC_MAKE_COMMENT,      "Comment: #" }, // 1
 
3465
    { STE_STYLE_PREPROCESSOR,   wxSTC_MAKE_PREPROCESSOR, "Pre-processor or other comment: !" }, // 2
 
3466
    { STE_STYLE_IDENTIFIER,     wxSTC_MAKE_IDENTIFIER,   "Variable: $(x)" }, // 3
 
3467
    { STE_STYLE_OPERATOR,       wxSTC_MAKE_OPERATOR,     "Operator" }, // 4
 
3468
    { STE_STYLE_STRING,         wxSTC_MAKE_TARGET,       "Target" }, // 5
 
3469
 
 
3470
    { STE_STYLE_STRINGEOL,      wxSTC_MAKE_IDEOL,        "Error" }, // 9
 
3471
};
 
3472
 
 
3473
#define STE_LexerStyles_STE_LANG_BATCH_COUNT 8
 
3474
static STE_LexerStyles STE_LexerStyles_STE_LANG_BATCH[STE_LexerStyles_STE_LANG_BATCH_COUNT] = {
 
3475
    // Lexical states for SCLEX_BATCH
 
3476
    { STE_STYLE_DEFAULT,    wxSTC_BAT_DEFAULT,      "Default" }, // 0
 
3477
    { STE_STYLE_COMMENT,    wxSTC_BAT_COMMENT,      "Comment (rem or ::)" }, // 1
 
3478
    { STE_STYLE_KEYWORD1,   wxSTC_BAT_WORD,         "Keywords" }, // 2
 
3479
    { STE_STYLE_LABEL,      wxSTC_BAT_LABEL,        "Label (line beginning with ':')" }, // 3
 
3480
    { STE_STYLE_DEFAULT,    wxSTC_BAT_HIDE,         "Hide command character ('@')" }, // 4
 
3481
    { STE_STYLE_COMMAND,    wxSTC_BAT_COMMAND,      "External commands" }, // 5
 
3482
    { STE_STYLE_IDENTIFIER, wxSTC_BAT_IDENTIFIER,   "Variable: %%x (x is almost whatever, except space and %), %n (n in [0-9]), %EnvironmentVar%" }, // 6
 
3483
    { STE_STYLE_OPERATOR,   wxSTC_BAT_OPERATOR,     "Operator: * ? < > |" }, // 7
 
3484
};
 
3485
 
 
3486
#define STE_LexerStyles_STE_LANG_XCODE_COUNT 1 // FIXME just a guess no SciTE styles for this
 
3487
static STE_LexerStyles STE_LexerStyles_STE_LANG_XCODE[STE_LexerStyles_STE_LANG_XCODE_COUNT] = {
 
3488
    { STE_STYLE_DEFAULT,         0,   "Default text" }, // 0
 
3489
};
 
3490
 
 
3491
#define STE_LexerStyles_STE_LANG_LATEX_COUNT 5
 
3492
static STE_LexerStyles STE_LexerStyles_STE_LANG_LATEX[STE_LexerStyles_STE_LANG_LATEX_COUNT] = {
 
3493
    // Lexical states for SCLEX_LATEX
 
3494
    { STE_STYLE_DEFAULT,         wxSTC_L_DEFAULT,   "White space" }, // 0
 
3495
    { STE_STYLE_COMMAND,         wxSTC_L_COMMAND,   "Command" }, // 1
 
3496
    { STE_STYLE_LABEL,           wxSTC_L_TAG,       "Tag" }, // 2
 
3497
    { STE_STYLE_OPERATOR,        wxSTC_L_MATH,      "Math" }, // 3
 
3498
    { STE_STYLE_COMMENT,         wxSTC_L_COMMENT,   "Comment" }, // 4
 
3499
};
 
3500
 
 
3501
#define STE_LexerStyles_STE_LANG_LUA_COUNT 20
 
3502
static STE_LexerStyles STE_LexerStyles_STE_LANG_LUA[STE_LexerStyles_STE_LANG_LUA_COUNT] = {
 
3503
    // Lexical states for SCLEX_LUA
 
3504
    { STE_STYLE_DEFAULT,           wxSTC_LUA_DEFAULT,       "White space" }, // 0
 
3505
    { STE_STYLE_COMMENT,           wxSTC_LUA_COMMENT,       "Block comment (Lua 5.0)" }, // 1
 
3506
    { STE_STYLE_COMMENTLINE,       wxSTC_LUA_COMMENTLINE,   "Line comment" }, // 2
 
3507
    { STE_STYLE_COMMENTDOC,        wxSTC_LUA_COMMENTDOC,    "Doc comment" }, // 3 // FIXME - not used yet
 
3508
    { STE_STYLE_NUMBER,            wxSTC_LUA_NUMBER,        "Number" }, // 4
 
3509
    { STE_STYLE_KEYWORD1,          wxSTC_LUA_WORD,          "Keyword" }, // 5
 
3510
    { STE_STYLE_STRING,            wxSTC_LUA_STRING,        "String" }, // 6
 
3511
    { STE_STYLE_CHARACTER,         wxSTC_LUA_CHARACTER,     "Character" }, // 7
 
3512
    { STE_STYLE_STRING,            wxSTC_LUA_LITERALSTRING, "Literal string" }, // 8
 
3513
    { STE_STYLE_PREPROCESSOR,      wxSTC_LUA_PREPROCESSOR,  "Preprocessor (obsolete in Lua 4.0 and up)" }, // 9
 
3514
    { STE_STYLE_OPERATOR,          wxSTC_LUA_OPERATOR,      "Operators" }, // 10
 
3515
    { STE_STYLE_IDENTIFIER,        wxSTC_LUA_IDENTIFIER,    "Identifier" }, // 11
 
3516
    { STE_STYLE_STRINGEOL,         wxSTC_LUA_STRINGEOL,     "End of line where string is not closed" }, // 12
 
3517
    { STE_STYLE_KEYWORD2,          wxSTC_LUA_WORD2,         "Keywords 2" }, // 13
 
3518
    { STE_STYLE_KEYWORD3,          wxSTC_LUA_WORD3,         "Keywords 3" }, // 14
 
3519
    { STE_STYLE_KEYWORD4,          wxSTC_LUA_WORD4,         "Keywords 4" }, // 15
 
3520
    { STE_STYLE_KEYWORD5,          wxSTC_LUA_WORD5,         "Keywords 5" }, // 16
 
3521
    { STE_STYLE_KEYWORD6,          wxSTC_LUA_WORD6,         "Keywords 6" }, // 17
 
3522
    { STE_STYLE_KEYWORD6,          wxSTC_LUA_WORD7,         "Keywords 7" }, // 18
 
3523
    { STE_STYLE_KEYWORD6,          wxSTC_LUA_WORD8,         "Keywords 8" }, // 19
 
3524
};
 
3525
 
 
3526
#define STE_LexerStyles_STE_LANG_DIFF_COUNT 7
 
3527
static STE_LexerStyles STE_LexerStyles_STE_LANG_DIFF[STE_LexerStyles_STE_LANG_DIFF_COUNT] = {
 
3528
    // Lexical states for SCLEX_DIFF
 
3529
    { STE_STYLE_DEFAULT,        wxSTC_DIFF_DEFAULT,     "Default" }, // 0
 
3530
    { STE_STYLE_COMMENT,        wxSTC_DIFF_COMMENT,     "Comment (part before \"diff ...\" or \"--- ...\" and , Only in ..., Binary file...)" }, // 1
 
3531
    { STE_STYLE_COMMAND,        wxSTC_DIFF_COMMAND,     "Command (diff ...)" }, // 2
 
3532
    { STE_STYLE_PREPROCESSOR,   wxSTC_DIFF_HEADER,      "Source file (--- ...) and Destination file (+++ ...)" }, // 3
 
3533
    { STE_STYLE_NUMBER,         wxSTC_DIFF_POSITION,    "Position setting (@@ ...)" }, // 4
 
3534
    { STE_STYLE_ERROR,          wxSTC_DIFF_DELETED,     "Line removal (-...)" }, // 5
 
3535
    { STE_STYLE_COMMAND,        wxSTC_DIFF_ADDED,       "Line addition (+...)" }, // 6
 
3536
};
 
3537
 
 
3538
#define STE_LexerStyles_STE_LANG_CONF_COUNT 10
 
3539
static STE_LexerStyles STE_LexerStyles_STE_LANG_CONF[STE_LexerStyles_STE_LANG_CONF_COUNT] = {
 
3540
    // Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
 
3541
    { STE_STYLE_DEFAULT,    wxSTC_CONF_DEFAULT,     "White space" }, // 0
 
3542
    { STE_STYLE_COMMENT,    wxSTC_CONF_COMMENT,     "Comment" }, // 1
 
3543
    { STE_STYLE_NUMBER,     wxSTC_CONF_NUMBER,      "Number" }, // 2
 
3544
    { STE_STYLE_IDENTIFIER, wxSTC_CONF_IDENTIFIER,  "Identifier" }, // 3
 
3545
    { STE_STYLE_DEFAULT,    wxSTC_CONF_EXTENSION,   "Extensions" }, // 4
 
3546
    { STE_STYLE_PARAMETER,  wxSTC_CONF_PARAMETER,   "Parameters" }, // 5
 
3547
    { STE_STYLE_STRING,     wxSTC_CONF_STRING,      "Double quoted string" }, // 6
 
3548
    { STE_STYLE_OPERATOR,   wxSTC_CONF_OPERATOR,    "Operators" }, // 7
 
3549
    { STE_STYLE_DEFAULT,    wxSTC_CONF_IP,          "IP address" }, // 8
 
3550
    { STE_STYLE_COMMENT,    wxSTC_CONF_DIRECTIVE,   "Apache Runtime Directive" }, // 9
 
3551
};
 
3552
 
 
3553
#define STE_LexerStyles_STE_LANG_PASCAL_COUNT 12
 
3554
static STE_LexerStyles STE_LexerStyles_STE_LANG_PASCAL[STE_LexerStyles_STE_LANG_PASCAL_COUNT] = {
 
3555
    // Lexical states for PASCAL uses SCLEX_CPP
 
3556
    { STE_STYLE_DEFAULT,        wxSTC_C_DEFAULT,        "White space" }, // 0
 
3557
    { STE_STYLE_COMMENT,        wxSTC_C_COMMENT,        "Comment" }, // 1
 
3558
    { STE_STYLE_COMMENTLINE,    wxSTC_C_COMMENTLINE,    "Line Comment" }, // 2
 
3559
    { STE_STYLE_COMMENTDOC,     wxSTC_C_COMMENTDOC,     "Doc comment" }, // 3
 
3560
    { STE_STYLE_NUMBER,         wxSTC_C_NUMBER,         "Number" }, // 4
 
3561
    { STE_STYLE_KEYWORD1,       wxSTC_C_WORD,           "Keyword" }, // 5
 
3562
    { STE_STYLE_STRING,         wxSTC_C_STRING,         "Double quoted string" }, // 6
 
3563
    { STE_STYLE_CHARACTER,      wxSTC_C_CHARACTER,      "Single quoted string" }, // 7
 
3564
    { STE_STYLE_UUID,           wxSTC_C_UUID,           "Symbols" }, // 8
 
3565
    { STE_STYLE_PREPROCESSOR,   wxSTC_C_PREPROCESSOR,   "Preprocessor" }, // 9
 
3566
    { STE_STYLE_OPERATOR,       wxSTC_C_OPERATOR,       "Operators" }, // 10
 
3567
    { STE_STYLE_REGEX,          wxSTC_C_REGEX,          "Inline Asm" }, // 14
 
3568
};
 
3569
 
 
3570
#define STE_LexerStyles_STE_LANG_AVE_COUNT 15
 
3571
static STE_LexerStyles STE_LexerStyles_STE_LANG_AVE[STE_LexerStyles_STE_LANG_AVE_COUNT] = {
 
3572
    // Lexical states for SCLEX_AVE, Avenue
 
3573
    { STE_STYLE_DEFAULT,       wxSTC_AVE_DEFAULT,   "White space" }, // 0
 
3574
    { STE_STYLE_COMMENT,       wxSTC_AVE_COMMENT,   "Comment" }, // 1
 
3575
    { STE_STYLE_NUMBER,        wxSTC_AVE_NUMBER,    "Number" }, // 2
 
3576
    { STE_STYLE_KEYWORD1,      wxSTC_AVE_WORD,      "Keyword" }, // 3
 
3577
    { STE_STYLE_STRING,        wxSTC_AVE_STRING,    "String" }, // 6
 
3578
    { STE_STYLE_NUMBER,        wxSTC_AVE_ENUM,      "Enumeration" }, // 7
 
3579
    { STE_STYLE_STRINGEOL,     wxSTC_AVE_STRINGEOL, "End of line where string is not closed" }, // 8
 
3580
    { STE_STYLE_IDENTIFIER,    wxSTC_AVE_IDENTIFIER,"Operators" }, // 9
 
3581
    { STE_STYLE_OPERATOR,      wxSTC_AVE_OPERATOR,  "Identifier (everything else...)" }, // 10
 
3582
    { STE_STYLE_KEYWORD1,      wxSTC_AVE_WORD1,     "Keywords 1" }, // 11
 
3583
    { STE_STYLE_KEYWORD2,      wxSTC_AVE_WORD2,     "Keywords 2" }, // 12
 
3584
    { STE_STYLE_KEYWORD3,      wxSTC_AVE_WORD3,     "Keywords 3" }, // 13
 
3585
    { STE_STYLE_KEYWORD4,      wxSTC_AVE_WORD4,     "Keywords 4" }, // 14
 
3586
    { STE_STYLE_KEYWORD5,      wxSTC_AVE_WORD5,     "Keywords 5" }, // 15
 
3587
    { STE_STYLE_KEYWORD6,      wxSTC_AVE_WORD6,     "Keywords 6" }, // 16
 
3588
};
 
3589
 
 
3590
#define STE_LexerStyles_STE_LANG_ADA_COUNT 12
 
3591
static STE_LexerStyles STE_LexerStyles_STE_LANG_ADA[STE_LexerStyles_STE_LANG_ADA_COUNT] = {
 
3592
    // Lexical states for SCLEX_ADA
 
3593
    { STE_STYLE_DEFAULT,          wxSTC_ADA_DEFAULT,      "Default" }, // 0
 
3594
    { STE_STYLE_KEYWORD1,         wxSTC_ADA_WORD,         "Keyword" }, // 1
 
3595
    { STE_STYLE_IDENTIFIER,       wxSTC_ADA_IDENTIFIER,   "Identifiers" }, // 2
 
3596
    { STE_STYLE_NUMBER,           wxSTC_ADA_NUMBER,       "Number" }, // 3
 
3597
    { STE_STYLE_DELIMITER,        wxSTC_ADA_DELIMITER,    "Operators (delimiters)" }, // 4
 
3598
    { STE_STYLE_CHARACTER,        wxSTC_ADA_CHARACTER,    "Character" }, // 5
 
3599
    { STE_STYLE_CHARACTEREOL,     wxSTC_ADA_CHARACTEREOL, "End of line where character is not closed" }, // 6
 
3600
    { STE_STYLE_STRING,           wxSTC_ADA_STRING,       "String" }, // 7
 
3601
    { STE_STYLE_STRINGEOL,        wxSTC_ADA_STRINGEOL,    "End of line where string is not closed" }, // 8
 
3602
    { STE_STYLE_LABEL,            wxSTC_ADA_LABEL,        "Label" }, // 9
 
3603
    { STE_STYLE_COMMENTLINE,      wxSTC_ADA_COMMENTLINE,  "Comment" }, // 10
 
3604
    { STE_STYLE_ERROR,            wxSTC_ADA_ILLEGAL,      "Illegal token" }, // 11
 
3605
};
 
3606
 
 
3607
#define STE_LexerStyles_STE_LANG_LISP_COUNT 8
 
3608
static STE_LexerStyles STE_LexerStyles_STE_LANG_LISP[STE_LexerStyles_STE_LANG_LISP_COUNT] = {
 
3609
    // Lexical states for SCLEX_LISP
 
3610
    { STE_STYLE_DEFAULT,            wxSTC_LISP_DEFAULT,     "White space" }, // 0
 
3611
    { STE_STYLE_COMMENT,            wxSTC_LISP_COMMENT,     "Line Comment" }, // 1
 
3612
    { STE_STYLE_NUMBER,             wxSTC_LISP_NUMBER,      "Number" }, // 2
 
3613
    { STE_STYLE_KEYWORD1,           wxSTC_LISP_KEYWORD,     "Keyword" }, // 3
 
3614
 
 
3615
    { STE_STYLE_STRING,             wxSTC_LISP_STRING,      "String" }, // 6
 
3616
 
 
3617
    { STE_STYLE_STRINGEOL,          wxSTC_LISP_STRINGEOL,   "End of line where string is not closed" }, // 8
 
3618
    { STE_STYLE_IDENTIFIER,         wxSTC_LISP_IDENTIFIER,  "Identifiers" }, // 9
 
3619
    { STE_STYLE_OPERATOR,           wxSTC_LISP_OPERATOR,    "Operators" }, // 10
 
3620
};
 
3621
 
 
3622
#define STE_LexerStyles_STE_LANG_RUBY_COUNT 14
 
3623
static STE_LexerStyles STE_LexerStyles_STE_LANG_RUBY[STE_LexerStyles_STE_LANG_RUBY_COUNT] = {
 
3624
    // Lexical states for SCLEX_PYTHON
 
3625
    { STE_STYLE_DEFAULT,        wxSTC_P_DEFAULT,        "White space" },
 
3626
    { STE_STYLE_COMMENTLINE,    wxSTC_P_COMMENTLINE,    "Comment" },
 
3627
    { STE_STYLE_NUMBER,         wxSTC_P_NUMBER,         "Number" },
 
3628
    { STE_STYLE_STRING,         wxSTC_P_STRING,         "String" },
 
3629
    { STE_STYLE_CHARACTER,      wxSTC_P_CHARACTER,      "Single quoted string" },
 
3630
    { STE_STYLE_KEYWORD1,       wxSTC_P_WORD,           "Keyword" },
 
3631
    { STE_STYLE_STRING,         wxSTC_P_TRIPLE,         "Triple quotes" },
 
3632
    { STE_STYLE_STRING,         wxSTC_P_TRIPLEDOUBLE,   "Triple double quotes" },
 
3633
    { STE_STYLE_DEFAULT,        wxSTC_P_CLASSNAME,      "Class name definition" },
 
3634
    { STE_STYLE_DEFAULT,        wxSTC_P_DEFNAME,        "Function or method name definition" },
 
3635
    { STE_STYLE_OPERATOR,       wxSTC_P_OPERATOR,       "Operators" },
 
3636
    { STE_STYLE_IDENTIFIER,     wxSTC_P_IDENTIFIER,     "Identifiers" },
 
3637
    { STE_STYLE_COMMENTOTHER,   wxSTC_P_COMMENTBLOCK,   "Comment-blocks" },
 
3638
    { STE_STYLE_STRINGEOL,      wxSTC_P_STRINGEOL,      "End of line where string is not closed" }
 
3639
};
 
3640
 
 
3641
#define STE_LexerStyles_STE_LANG_EIFFEL_COUNT 9
 
3642
static STE_LexerStyles STE_LexerStyles_STE_LANG_EIFFEL[STE_LexerStyles_STE_LANG_EIFFEL_COUNT] = {
 
3643
    // Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW
 
3644
    { STE_STYLE_DEFAULT,         wxSTC_EIFFEL_DEFAULT,      "Default" }, // 0
 
3645
    { STE_STYLE_COMMENTLINE,     wxSTC_EIFFEL_COMMENTLINE,  "Line comment" }, // 1
 
3646
    { STE_STYLE_NUMBER,          wxSTC_EIFFEL_NUMBER,       "Number" }, // 2
 
3647
    { STE_STYLE_KEYWORD1,        wxSTC_EIFFEL_WORD,         "Keyword" }, // 3
 
3648
    { STE_STYLE_STRING,          wxSTC_EIFFEL_STRING,       "String" }, // 4
 
3649
    { STE_STYLE_CHARACTER,       wxSTC_EIFFEL_CHARACTER,    "Character" }, // 5
 
3650
    { STE_STYLE_OPERATOR,        wxSTC_EIFFEL_OPERATOR,     "Operators" }, // 6
 
3651
    { STE_STYLE_IDENTIFIER,      wxSTC_EIFFEL_IDENTIFIER,   "Identifier" }, // 7
 
3652
    { STE_STYLE_STRINGEOL,       wxSTC_EIFFEL_STRINGEOL,    "End of line where string is not closed" }, // 8
 
3653
};
 
3654
 
 
3655
#define STE_LexerStyles_STE_LANG_EIFFELKW_COUNT 9
 
3656
static STE_LexerStyles STE_LexerStyles_STE_LANG_EIFFELKW[STE_LexerStyles_STE_LANG_EIFFELKW_COUNT] = {
 
3657
    // Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW
 
3658
    { STE_STYLE_DEFAULT,         wxSTC_EIFFEL_DEFAULT,      "Default" }, // 0
 
3659
    { STE_STYLE_COMMENTLINE,     wxSTC_EIFFEL_COMMENTLINE,  "Line comment" }, // 1
 
3660
    { STE_STYLE_NUMBER,          wxSTC_EIFFEL_NUMBER,       "Number" }, // 2
 
3661
    { STE_STYLE_KEYWORD1,        wxSTC_EIFFEL_WORD,         "Keyword" }, // 3
 
3662
    { STE_STYLE_STRING,          wxSTC_EIFFEL_STRING,       "String" }, // 4
 
3663
    { STE_STYLE_CHARACTER,       wxSTC_EIFFEL_CHARACTER,    "Character" }, // 5
 
3664
    { STE_STYLE_OPERATOR,        wxSTC_EIFFEL_OPERATOR,     "Operators" }, // 6
 
3665
    { STE_STYLE_IDENTIFIER,      wxSTC_EIFFEL_IDENTIFIER,   "Identifier" }, // 7
 
3666
    { STE_STYLE_STRINGEOL,       wxSTC_EIFFEL_STRINGEOL,    "End of line where string is not closed" }, // 8
 
3667
};
 
3668
 
 
3669
#if defined(wxSTC_TCL_DEFAULT)
 
3670
 
 
3671
#define STE_LexerStyles_STE_LANG_TCL_COUNT 22
 
3672
static STE_LexerStyles STE_LexerStyles_STE_LANG_TCL[STE_LexerStyles_STE_LANG_TCL_COUNT] = {
 
3673
    // Lexical states for SCLEX_CPP
 
3674
    { STE_STYLE_DEFAULT,        wxSTC_TCL_DEFAULT,        "White space" }, // 0
 
3675
    { STE_STYLE_COMMENT,        wxSTC_TCL_COMMENT,        "Comment:.....; #comment" }, // 1
 
3676
    { STE_STYLE_COMMENTLINE,    wxSTC_TCL_COMMENTLINE,    "Line Comment:  #comment" }, // 2
 
3677
    { STE_STYLE_NUMBER,         wxSTC_TCL_NUMBER,         "Number and hex number (syntax #[0-f]+)" }, // 3
 
3678
    { STE_STYLE_STRING,         wxSTC_TCL_WORD_IN_QUOTE,  "Keyword in quote" }, // 4
 
3679
    { STE_STYLE_STRING,         wxSTC_TCL_IN_QUOTE,       "In quote" }, // 5
 
3680
    { STE_STYLE_STRING,         wxSTC_TCL_OPERATOR,       "Operator" }, // 6
 
3681
    { STE_STYLE_IDENTIFIER,     wxSTC_TCL_IDENTIFIER,     "Identifiers" }, // 7
 
3682
    { STE_STYLE_UUID,           wxSTC_TCL_SUBSTITUTION,   "Substitution" }, // 8
 
3683
    { STE_STYLE_BRACE,          wxSTC_TCL_SUB_BRACE,      "Substitution starts with a brace ${woow}" }, // 9
 
3684
    { STE_STYLE_OPERATOR,       wxSTC_TCL_MODIFIER,       "Modifier -xxx" }, // 10
 
3685
    { STE_STYLE_LABEL,          wxSTC_TCL_EXPAND,         "Expand (what and odd syntax)" }, // 11
 
3686
    { STE_STYLE_KEYWORD1,       wxSTC_TCL_WORD,           "Keywords 1" }, // 12
 
3687
    { STE_STYLE_KEYWORD2,       wxSTC_TCL_WORD2,          "Keywords 2" }, // 13
 
3688
 
 
3689
    { STE_STYLE_KEYWORD3,       wxSTC_TCL_WORD3,          "Keywords 3" }, // 14
 
3690
    { STE_STYLE_KEYWORD4,       wxSTC_TCL_WORD4,          "Keywords 4" }, // 15
 
3691
    { STE_STYLE_KEYWORD5,       wxSTC_TCL_WORD5,          "Keywords 5" }, // 16
 
3692
    { STE_STYLE_KEYWORD6,       wxSTC_TCL_WORD6,          "Keywords 6" }, // 17
 
3693
    { STE_STYLE_KEYWORD6,       wxSTC_TCL_WORD7,          "Keywords 7" }, // 18
 
3694
    { STE_STYLE_KEYWORD6,       wxSTC_TCL_WORD8,          "Keywords 8" }, // 19
 
3695
    { STE_STYLE_COMMENTOTHER,   wxSTC_TCL_COMMENT_BOX,    "Comment box" }, // 20
 
3696
    { STE_STYLE_COMMENTOTHER,   wxSTC_TCL_BLOCK_COMMENT,  "Comment block" }, // 21
 
3697
};
 
3698
 
 
3699
#else // not defined(wxSTC_TCL_DEFAULT)
 
3700
 
 
3701
#define STE_LexerStyles_STE_LANG_TCL_COUNT 14
 
3702
static STE_LexerStyles STE_LexerStyles_STE_LANG_TCL[STE_LexerStyles_STE_LANG_TCL_COUNT] = {
 
3703
    // Lexical states for SCLEX_CPP
 
3704
    { STE_STYLE_DEFAULT,        wxSTC_C_DEFAULT,        "White space" }, // 0
 
3705
    { STE_STYLE_COMMENT,        wxSTC_C_COMMENT,        "Comment" }, // 1
 
3706
    { STE_STYLE_COMMENTLINE,    wxSTC_C_COMMENTLINE,    "Number" }, // 2
 
3707
    { STE_STYLE_COMMENTDOC,     wxSTC_C_COMMENTDOC,     "String" }, // 3
 
3708
    { STE_STYLE_NUMBER,         wxSTC_C_NUMBER,         "Single quoted string" }, // 4
 
3709
    { STE_STYLE_KEYWORD1,       wxSTC_C_WORD,           "Keyword" }, // 5
 
3710
    { STE_STYLE_STRING,         wxSTC_C_STRING,         "Triple quotes" }, // 6
 
3711
    { STE_STYLE_CHARACTER,      wxSTC_C_CHARACTER,      "Triple double quotes" }, // 7
 
3712
    { STE_STYLE_UUID,           wxSTC_C_UUID,           "Class name definition" }, // 8
 
3713
    { STE_STYLE_PREPROCESSOR,   wxSTC_C_PREPROCESSOR,   "Function or method name definition" }, // 9
 
3714
    { STE_STYLE_OPERATOR,       wxSTC_C_OPERATOR,       "Operators" }, // 10
 
3715
    { STE_STYLE_IDENTIFIER,     wxSTC_C_IDENTIFIER,     "Identifiers" }, // 11
 
3716
    { STE_STYLE_STRINGEOL,      wxSTC_C_STRINGEOL,      "Comment-blocks" }, // 12
 
3717
    { STE_STYLE_DEFAULT,        wxSTC_C_VERBATIM,       "End of line where string is not closed" }, // 13
 
3718
};
 
3719
#endif // defined(wxSTC_TCL_DEFAULT)
 
3720
 
 
3721
#define STE_LexerStyles_STE_LANG_NNCRONTAB_COUNT 11
 
3722
static STE_LexerStyles STE_LexerStyles_STE_LANG_NNCRONTAB[STE_LexerStyles_STE_LANG_NNCRONTAB_COUNT] = {
 
3723
    // Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
 
3724
    { STE_STYLE_DEFAULT,      wxSTC_NNCRONTAB_DEFAULT,      "White space" }, // 0
 
3725
    { STE_STYLE_COMMENT,      wxSTC_NNCRONTAB_COMMENT,      "Comment" }, // 1
 
3726
    { STE_STYLE_DEFAULT,      wxSTC_NNCRONTAB_TASK,         "Task start/end" }, // 2
 
3727
    { STE_STYLE_DEFAULT,      wxSTC_NNCRONTAB_SECTION,      "Section keywords" }, // 3
 
3728
    { STE_STYLE_KEYWORD1,     wxSTC_NNCRONTAB_KEYWORD,      "Keywords" }, // 4
 
3729
    { STE_STYLE_OPERATOR,     wxSTC_NNCRONTAB_MODIFIER,     "Modificators" }, // 5
 
3730
    { STE_STYLE_OPERATOR,     wxSTC_NNCRONTAB_ASTERISK,     "Asterisk" }, // 6
 
3731
    { STE_STYLE_NUMBER,       wxSTC_NNCRONTAB_NUMBER,       "Number" }, // 7
 
3732
    { STE_STYLE_STRING,       wxSTC_NNCRONTAB_STRING,       "Double quoted string" }, // 8
 
3733
    { STE_STYLE_LABEL,        wxSTC_NNCRONTAB_ENVIRONMENT,  "Environment variable" }, // 9
 
3734
    { STE_STYLE_IDENTIFIER,   wxSTC_NNCRONTAB_IDENTIFIER,   "Identifier" }, // 10
 
3735
};
 
3736
 
 
3737
#define STE_LexerStyles_STE_LANG_BULLANT_COUNT 10
 
3738
static STE_LexerStyles STE_LexerStyles_STE_LANG_BULLANT[STE_LexerStyles_STE_LANG_BULLANT_COUNT] = {
 
3739
    // Lexical states for SCLEX_CPP
 
3740
    { STE_STYLE_DEFAULT,        wxSTC_C_DEFAULT,        "White space" }, // 0
 
3741
    { STE_STYLE_COMMENT,        wxSTC_C_COMMENT,        "Comment" }, // 1
 
3742
    { STE_STYLE_COMMENTLINE,    wxSTC_C_COMMENTLINE,    "Line Comment" }, // 2
 
3743
    { STE_STYLE_COMMENTDOC,     wxSTC_C_COMMENTDOC,     "Doc comment" }, // 3
 
3744
    { STE_STYLE_NUMBER,         wxSTC_C_NUMBER,         "Number" }, // 4
 
3745
    { STE_STYLE_KEYWORD1,       wxSTC_C_WORD,           "Keyword" }, // 5
 
3746
    { STE_STYLE_STRING,         wxSTC_C_STRING,         "Double quoted string" }, // 6
 
3747
    { STE_STYLE_CHARACTER,      wxSTC_C_CHARACTER,      "Single quoted string" }, // 7
 
3748
    { STE_STYLE_UUID,           wxSTC_C_UUID,           "Symbols" }, // 8
 
3749
    { STE_STYLE_PREPROCESSOR,   wxSTC_C_PREPROCESSOR,   "Preprocessor" }, // 9
 
3750
};
 
3751
 
 
3752
#define STE_LexerStyles_STE_LANG_VBSCRIPT_COUNT 15
 
3753
static STE_LexerStyles STE_LexerStyles_STE_LANG_VBSCRIPT[STE_LexerStyles_STE_LANG_VBSCRIPT_COUNT] = {
 
3754
    // Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC
 
3755
    { STE_STYLE_DEFAULT,               wxSTC_B_DEFAULT,      "White space" }, // 0
 
3756
    { STE_STYLE_COMMENT,               wxSTC_B_COMMENT,      "Comment" }, // 1
 
3757
    { STE_STYLE_NUMBER,                wxSTC_B_NUMBER,       "Number" }, // 2
 
3758
    { STE_STYLE_KEYWORD1,              wxSTC_B_KEYWORD,      "Keyword" }, // 3
 
3759
    { STE_STYLE_STRING,                wxSTC_B_STRING,       "String" }, // 4
 
3760
    { STE_STYLE_PREPROCESSOR,          wxSTC_B_PREPROCESSOR, "Preprocessor (directives)" }, // 5
 
3761
    { STE_STYLE_OPERATOR,              wxSTC_B_OPERATOR,     "Operator" }, // 6
 
3762
    { STE_STYLE_IDENTIFIER,            wxSTC_B_IDENTIFIER,   "Identifier" }, // 7
 
3763
    { STE_STYLE_DEFAULT,               wxSTC_B_DATE,         "Date" }, // 8
 
3764
    { STE_STYLE_STRINGEOL,             wxSTC_B_STRINGEOL,    "End of line where string is not closed" }, // 9
 
3765
    { STE_STYLE_KEYWORD2,              wxSTC_B_KEYWORD2,     "Keyword 2" }, // 10
 
3766
    { STE_STYLE_KEYWORD3,              wxSTC_B_KEYWORD3,     "Keyword 3" }, // 11
 
3767
    { STE_STYLE_KEYWORD4,              wxSTC_B_KEYWORD4,     "Keyword 4" }, // 12
 
3768
    { STE_STYLE_LABEL,                 wxSTC_B_CONSTANT,     "Constant" }, // 13
 
3769
    { STE_STYLE_SCRIPT,                wxSTC_B_ASM,          "Assembly" }, // 14
 
3770
};
 
3771
 
 
3772
#define STE_LexerStyles_STE_LANG_ASP_COUNT STE_LexerStyles_STE_LANG_HTML_COUNT
 
3773
STE_LexerStyles* STE_LexerStyles_STE_LANG_ASP = STE_LexerStyles_STE_LANG_HTML;
 
3774
 
 
3775
#define STE_LexerStyles_STE_LANG_PHP_COUNT STE_LexerStyles_STE_LANG_HTML_COUNT
 
3776
STE_LexerStyles* STE_LexerStyles_STE_LANG_PHP = STE_LexerStyles_STE_LANG_HTML;
 
3777
 
 
3778
 
 
3779
#define STE_LexerStyles_STE_LANG_BAAN_COUNT 11
 
3780
static STE_LexerStyles STE_LexerStyles_STE_LANG_BAAN[STE_LexerStyles_STE_LANG_BAAN_COUNT] = {
 
3781
    // Lexical states for SCLEX_BAAN
 
3782
    { STE_STYLE_DEFAULT,           wxSTC_BAAN_DEFAULT,      "White space" }, // 0
 
3783
    { STE_STYLE_COMMENT,           wxSTC_BAAN_COMMENT,      "Comment" }, // 1
 
3784
    { STE_STYLE_COMMENTDOC,        wxSTC_BAAN_COMMENTDOC,   "Doc comment" }, // 2
 
3785
    { STE_STYLE_NUMBER,            wxSTC_BAAN_NUMBER,       "Number" }, // 3
 
3786
    { STE_STYLE_KEYWORD1,          wxSTC_BAAN_WORD,         "Keyword" }, // 4
 
3787
    { STE_STYLE_STRING,            wxSTC_BAAN_STRING,       "Double quoted string" }, // 5
 
3788
    { STE_STYLE_PREPROCESSOR,      wxSTC_BAAN_PREPROCESSOR, "Preprocessor" }, // 6
 
3789
    { STE_STYLE_OPERATOR,          wxSTC_BAAN_OPERATOR,     "Operators" }, // 7
 
3790
    { STE_STYLE_IDENTIFIER,        wxSTC_BAAN_IDENTIFIER,   "Identifiers" }, // 8
 
3791
    { STE_STYLE_STRINGEOL,         wxSTC_BAAN_STRINGEOL,    "End of line where string is not closed" }, // 9
 
3792
    { STE_STYLE_KEYWORD2,          wxSTC_BAAN_WORD2,        "Keywords 2" }, // 10
 
3793
};
 
3794
 
 
3795
#define STE_LexerStyles_STE_LANG_MATLAB_COUNT 9
 
3796
static STE_LexerStyles STE_LexerStyles_STE_LANG_MATLAB[STE_LexerStyles_STE_LANG_MATLAB_COUNT] = {
 
3797
    // Lexical states for SCLEX_MATLAB
 
3798
    { STE_STYLE_DEFAULT,       wxSTC_MATLAB_DEFAULT,            "White space" }, // 0
 
3799
    { STE_STYLE_COMMENT,       wxSTC_MATLAB_COMMENT,            "Comment" }, // 1
 
3800
    { STE_STYLE_PREPROCESSOR,  wxSTC_MATLAB_COMMAND,            "Command" }, // 2
 
3801
    { STE_STYLE_NUMBER,        wxSTC_MATLAB_NUMBER,             "Number" }, // 3
 
3802
    { STE_STYLE_KEYWORD1,      wxSTC_MATLAB_KEYWORD,            "Keyword" }, // 4
 
3803
    // single quoted string
 
3804
    { STE_STYLE_STRING,        wxSTC_MATLAB_STRING,             "String" }, // 5
 
3805
    { STE_STYLE_OPERATOR,      wxSTC_MATLAB_OPERATOR,           "Operator" }, // 6
 
3806
    { STE_STYLE_IDENTIFIER,    wxSTC_MATLAB_IDENTIFIER,         "Identifier" }, // 7
 
3807
    { STE_STYLE_STRING,        wxSTC_MATLAB_DOUBLEQUOTESTRING,  "String double quoted" }, // 8
 
3808
};
 
3809
 
 
3810
#define STE_LexerStyles_STE_LANG_SCRIPTOL_COUNT 16
 
3811
static STE_LexerStyles STE_LexerStyles_STE_LANG_SCRIPTOL[STE_LexerStyles_STE_LANG_SCRIPTOL_COUNT] = {
 
3812
    // Lexical states for SCLEX_SCRIPTOL
 
3813
    { STE_STYLE_DEFAULT,        wxSTC_SCRIPTOL_DEFAULT,     "Default" }, // 0
 
3814
    { STE_STYLE_DEFAULT,        wxSTC_SCRIPTOL_WHITE,       "White space" }, // 1
 
3815
    { STE_STYLE_COMMENTLINE,    wxSTC_SCRIPTOL_COMMENTLINE, "Scriptol style comment line" }, // 2
 
3816
    { STE_STYLE_COMMENTLINE,    wxSTC_SCRIPTOL_PERSISTENT,  "Persistent comment line" }, // 3
 
3817
    { STE_STYLE_COMMENTLINE,    wxSTC_SCRIPTOL_CSTYLE,      "C style comment line" }, // 4
 
3818
    { STE_STYLE_COMMENTDOC,     wxSTC_SCRIPTOL_COMMENTBLOCK,"Comment-blocks" }, // 5
 
3819
    { STE_STYLE_NUMBER,         wxSTC_SCRIPTOL_NUMBER,      "Number" }, // 6
 
3820
    { STE_STYLE_STRING,         wxSTC_SCRIPTOL_STRING,      "String" }, // 7
 
3821
    { STE_STYLE_CHARACTER,      wxSTC_SCRIPTOL_CHARACTER,   "Character/Single quoted string" }, // 8
 
3822
    { STE_STYLE_STRINGEOL,      wxSTC_SCRIPTOL_STRINGEOL,   "End of line where string is not closed" }, // 9
 
3823
    { STE_STYLE_KEYWORD1,       wxSTC_SCRIPTOL_KEYWORD,     "Keyword" }, // 10
 
3824
    { STE_STYLE_OPERATOR,       wxSTC_SCRIPTOL_OPERATOR,    "Operators" }, // 11
 
3825
    { STE_STYLE_IDENTIFIER,     wxSTC_SCRIPTOL_IDENTIFIER,  "Identifiers" }, // 12
 
3826
    { STE_STYLE_NUMBER,         wxSTC_SCRIPTOL_TRIPLE,      "Triple quotes" }, // 13
 
3827
    { STE_STYLE_LABEL,          wxSTC_SCRIPTOL_CLASSNAME,   "Class name definition" }, // 14
 
3828
    { STE_STYLE_PREPROCESSOR,   wxSTC_SCRIPTOL_PREPROCESSOR,"Preprocessor" }, // 15
 
3829
};
 
3830
 
 
3831
#define STE_LexerStyles_STE_LANG_ASM_COUNT 15
 
3832
static STE_LexerStyles STE_LexerStyles_STE_LANG_ASM[STE_LexerStyles_STE_LANG_ASM_COUNT] = {
 
3833
    // Lexical states for SCLEX_ASM
 
3834
    { STE_STYLE_DEFAULT,        wxSTC_ASM_DEFAULT,          "Default" }, // 0
 
3835
    { STE_STYLE_COMMENT,        wxSTC_ASM_COMMENT,          "Comment" }, // 1
 
3836
    { STE_STYLE_NUMBER,         wxSTC_ASM_NUMBER,           "Number" }, // 2
 
3837
    { STE_STYLE_STRING,         wxSTC_ASM_STRING,           "String" }, // 3
 
3838
    { STE_STYLE_OPERATOR,       wxSTC_ASM_OPERATOR,         "Operator" }, // 4
 
3839
    { STE_STYLE_IDENTIFIER,     wxSTC_ASM_IDENTIFIER,       "Identifier" }, // 5
 
3840
    { STE_STYLE_KEYWORD1,       wxSTC_ASM_CPUINSTRUCTION,   "CPU instruction" }, // 6
 
3841
    { STE_STYLE_KEYWORD2,       wxSTC_ASM_MATHINSTRUCTION,  "FPU instruction" }, // 7
 
3842
    { STE_STYLE_KEYWORD3,       wxSTC_ASM_REGISTER,         "Register" }, // 8
 
3843
    { STE_STYLE_KEYWORD4,       wxSTC_ASM_DIRECTIVE,        "Assembler directive" }, // 9
 
3844
    { STE_STYLE_KEYWORD5,       wxSTC_ASM_DIRECTIVEOPERAND, "Assembler Directive Operand" }, // 10
 
3845
    { STE_STYLE_COMMENTDOC,     wxSTC_ASM_COMMENTBLOCK,     "Comment block (GNU as /*...*/ syntax, unimplemented)" }, // 11
 
3846
    { STE_STYLE_CHARACTER,      wxSTC_ASM_CHARACTER,        "Character/String (single quote) (also character prefix in GNU as)" }, // 12
 
3847
    { STE_STYLE_STRINGEOL,      wxSTC_ASM_STRINGEOL,        "End of line where string is not closed" }, // 13
 
3848
    { STE_STYLE_DEFAULT,        wxSTC_ASM_EXTINSTRUCTION,   "Extended instructions" }, // 14
 
3849
};
 
3850
 
 
3851
#define STE_LexerStyles_STE_LANG_CPPNOCASE_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
3852
STE_LexerStyles *STE_LexerStyles_STE_LANG_CPPNOCASE = STE_LexerStyles_STE_LANG_CPP;
 
3853
 
 
3854
#define STE_LexerStyles_STE_LANG_FORTRAN_COUNT 15
 
3855
static STE_LexerStyles STE_LexerStyles_STE_LANG_FORTRAN[STE_LexerStyles_STE_LANG_FORTRAN_COUNT] = {
 
3856
    // Lexical states for SCLEX_FORTRAN
 
3857
    { STE_STYLE_DEFAULT,        wxSTC_F_DEFAULT,        "Default" }, // 0
 
3858
    { STE_STYLE_COMMENT,        wxSTC_F_COMMENT,        "Comment" }, // 1
 
3859
    { STE_STYLE_NUMBER,         wxSTC_F_NUMBER,         "Number" }, // 2
 
3860
    { STE_STYLE_STRING,         wxSTC_F_STRING1,        "Single quoted string" }, // 3
 
3861
    { STE_STYLE_STRING,         wxSTC_F_STRING2,        "Double quoted string" }, // 4
 
3862
    { STE_STYLE_STRINGEOL,      wxSTC_F_STRINGEOL,      "End of line where string is not closed" }, // 5
 
3863
    { STE_STYLE_OPERATOR,       wxSTC_F_OPERATOR,       "Operators" }, // 6
 
3864
    { STE_STYLE_IDENTIFIER,     wxSTC_F_IDENTIFIER,     "Identifiers" }, // 7
 
3865
    { STE_STYLE_KEYWORD1,       wxSTC_F_WORD,           "Keywords 1" }, // 8
 
3866
    { STE_STYLE_KEYWORD2,       wxSTC_F_WORD2,          "Keywords 2" }, // 9
 
3867
    { STE_STYLE_KEYWORD3,       wxSTC_F_WORD3,          "Keywords 3" }, // 10
 
3868
    { STE_STYLE_PREPROCESSOR,   wxSTC_F_PREPROCESSOR,   "Preprocessor" }, // 11
 
3869
    { STE_STYLE_OPERATOR,       wxSTC_F_OPERATOR2,      "Operators in .NAME. format" }, // 12
 
3870
    { STE_STYLE_LABEL,          wxSTC_F_LABEL,          "Labels" }, // 13
 
3871
    { STE_STYLE_DEFAULT,        wxSTC_F_CONTINUATION,   "Continuation" }, // 14
 
3872
};
 
3873
 
 
3874
#define STE_LexerStyles_STE_LANG_F77_COUNT STE_LexerStyles_STE_LANG_FORTRAN_COUNT
 
3875
STE_LexerStyles *STE_LexerStyles_STE_LANG_F77 = STE_LexerStyles_STE_LANG_FORTRAN;
 
3876
 
 
3877
#define STE_LexerStyles_STE_LANG_CSS_COUNT 16
 
3878
static STE_LexerStyles STE_LexerStyles_STE_LANG_CSS[STE_LexerStyles_STE_LANG_CSS_COUNT] = {
 
3879
    // Lexical states for SCLEX_CSS
 
3880
    { STE_STYLE_DEFAULT,        wxSTC_CSS_DEFAULT,              "White space" }, // 0
 
3881
    { STE_STYLE_KEYWORD1,       wxSTC_CSS_TAG,                  "Selector (HTML tag)" }, // 1
 
3882
    { STE_STYLE_COMMAND,        wxSTC_CSS_CLASS,                "Class selector ([HtmlTag].classSelector)" }, // 2
 
3883
    { STE_STYLE_KEYWORD2,       wxSTC_CSS_PSEUDOCLASS,          "Pseudo class (HtmlTag:pseudoClass)" }, // 3
 
3884
    { STE_STYLE_ERROR,          wxSTC_CSS_UNKNOWN_PSEUDOCLASS,  "Unknown Pseudo class" }, // 4
 
3885
    { STE_STYLE_OPERATOR,       wxSTC_CSS_OPERATOR,             "Operator" }, // 5
 
3886
    { STE_STYLE_IDENTIFIER,     wxSTC_CSS_IDENTIFIER,           "CSS1 Property" }, // 6
 
3887
    { STE_STYLE_ERROR,          wxSTC_CSS_UNKNOWN_IDENTIFIER,   "Unknown Property" }, // 7
 
3888
    { STE_STYLE_VALUE,          wxSTC_CSS_VALUE,                "Value" }, // 8
 
3889
    { STE_STYLE_COMMENT,        wxSTC_CSS_COMMENT,              "Comment" }, // 9
 
3890
    { STE_STYLE_UUID,           wxSTC_CSS_ID,                   "ID selector (#IdSel)" }, // 10
 
3891
    { STE_STYLE_DEFAULT,        wxSTC_CSS_IMPORTANT,            "Important" }, // 11
 
3892
    { STE_STYLE_DEFAULT,        wxSTC_CSS_DIRECTIVE,            "At-rule (@)" }, // 12
 
3893
    { STE_STYLE_STRING,         wxSTC_CSS_DOUBLESTRING,         "Double quoted strings" }, // 13
 
3894
    { STE_STYLE_CHARACTER,      wxSTC_CSS_SINGLESTRING,         "Single quoted strings" }, // 14
 
3895
    { STE_STYLE_IDENTIFIER,     wxSTC_CSS_IDENTIFIER2,          "CSS2 Property" }, // 15
 
3896
    // FIXME 1.64 add "Attribute selection ([att='val'])" 16
 
3897
};
 
3898
 
 
3899
#define STE_LexerStyles_STE_LANG_POV_COUNT 17
 
3900
static STE_LexerStyles STE_LexerStyles_STE_LANG_POV[STE_LexerStyles_STE_LANG_POV_COUNT] = {
 
3901
    // Lexical states for SCLEX_POV
 
3902
    { STE_STYLE_DEFAULT,        wxSTC_POV_DEFAULT,      "White space" }, // 0
 
3903
    { STE_STYLE_COMMENT,        wxSTC_POV_COMMENT,      "Comment" }, // 1
 
3904
    { STE_STYLE_COMMENTLINE,    wxSTC_POV_COMMENTLINE,  "Line Comment" }, // 2
 
3905
    { STE_STYLE_NUMBER,         wxSTC_POV_NUMBER,       "Number" }, // 3
 
3906
    { STE_STYLE_OPERATOR,       wxSTC_POV_OPERATOR,     "Operators" }, // 4
 
3907
    { STE_STYLE_IDENTIFIER,     wxSTC_POV_IDENTIFIER,   "Identifiers (everything else...)" }, // 5
 
3908
    { STE_STYLE_STRING,         wxSTC_POV_STRING,       "Double quoted string" }, // 6
 
3909
    { STE_STYLE_STRINGEOL,      wxSTC_POV_STRINGEOL,    "End of line where string is not closed" }, // 7
 
3910
    { STE_STYLE_KEYWORD1,       wxSTC_POV_DIRECTIVE,    "Directive: #keyword" }, // 8
 
3911
    { STE_STYLE_ERROR,          wxSTC_POV_BADDIRECTIVE, "Directive keyword error" }, // 9
 
3912
    { STE_STYLE_KEYWORD2,       wxSTC_POV_WORD2,        "Keyword 2: Objects & CSG & Appearance (xxx {})" }, // 10
 
3913
    { STE_STYLE_KEYWORD3,       wxSTC_POV_WORD3,        "Keyword 3: Types & Modifiers & Items" }, // 11
 
3914
    { STE_STYLE_KEYWORD4,       wxSTC_POV_WORD4,        "Keyword 4: Predefined Identifiers" }, // 12
 
3915
    { STE_STYLE_KEYWORD5,       wxSTC_POV_WORD5,        "Keyword 5: Predefined Functions" }, // 13
 
3916
    { STE_STYLE_KEYWORD6,       wxSTC_POV_WORD6,        "Keyword 6" }, // 14
 
3917
    { STE_STYLE_KEYWORD6,       wxSTC_POV_WORD7,        "Keyword 7" }, // 15
 
3918
    { STE_STYLE_KEYWORD6,       wxSTC_POV_WORD8,        "Keyword 8" }, // 16
 
3919
};
 
3920
 
 
3921
#define STE_LexerStyles_STE_LANG_LOUT_COUNT 11
 
3922
static STE_LexerStyles STE_LexerStyles_STE_LANG_LOUT[STE_LexerStyles_STE_LANG_LOUT_COUNT] = {
 
3923
    // Lexical states for SCLEX_LOUT
 
3924
    { STE_STYLE_DEFAULT,        wxSTC_LOUT_DEFAULT,     "White space" }, // 0
 
3925
    { STE_STYLE_COMMENT,        wxSTC_LOUT_COMMENT,     "Comment" }, // 1
 
3926
    { STE_STYLE_NUMBER,         wxSTC_LOUT_NUMBER,      "Number" }, // 2
 
3927
    { STE_STYLE_KEYWORD1,       wxSTC_LOUT_WORD,        "Keyword 1" }, // 3
 
3928
    { STE_STYLE_KEYWORD2,       wxSTC_LOUT_WORD2,       "Keyword 2" }, // 4
 
3929
    { STE_STYLE_KEYWORD3,       wxSTC_LOUT_WORD3,       "Keyword 3" }, // 5
 
3930
    { STE_STYLE_KEYWORD4,       wxSTC_LOUT_WORD4,       "Keyword 4" }, // 6
 
3931
    { STE_STYLE_STRING,         wxSTC_LOUT_STRING,      "Double quoted string" }, // 7
 
3932
    { STE_STYLE_OPERATOR,       wxSTC_LOUT_OPERATOR,    "Operators" }, // 8
 
3933
    { STE_STYLE_IDENTIFIER,     wxSTC_LOUT_IDENTIFIER,  "Identifiers" }, // 9
 
3934
    { STE_STYLE_STRINGEOL,      wxSTC_LOUT_STRINGEOL,   "End of line where string is not closed" }, // 10
 
3935
};
 
3936
 
 
3937
#define STE_LexerStyles_STE_LANG_ESCRIPT_COUNT 12
 
3938
static STE_LexerStyles STE_LexerStyles_STE_LANG_ESCRIPT[STE_LexerStyles_STE_LANG_ESCRIPT_COUNT] = {
 
3939
    // Lexical states for SCLEX_ESCRIPT
 
3940
    { STE_STYLE_DEFAULT,        wxSTC_ESCRIPT_DEFAULT,      "Default" }, // 0
 
3941
    { STE_STYLE_COMMENT,        wxSTC_ESCRIPT_COMMENT,      "Comment" }, // 1
 
3942
    { STE_STYLE_COMMENTLINE,    wxSTC_ESCRIPT_COMMENTLINE,  "Line Comment" }, // 2
 
3943
    { STE_STYLE_COMMENTDOC,     wxSTC_ESCRIPT_COMMENTDOC,   "Doc comment" }, // 3
 
3944
    { STE_STYLE_NUMBER,         wxSTC_ESCRIPT_NUMBER,       "Number" }, // 4
 
3945
    { STE_STYLE_KEYWORD1,       wxSTC_ESCRIPT_WORD,         "Keyword" }, // 5
 
3946
    { STE_STYLE_STRING,         wxSTC_ESCRIPT_STRING,       "Double quoted string" }, // 6
 
3947
    { STE_STYLE_OPERATOR,       wxSTC_ESCRIPT_OPERATOR,     "Operators" }, // 7
 
3948
    { STE_STYLE_IDENTIFIER,     wxSTC_ESCRIPT_IDENTIFIER,   "Identifiers" }, // 8
 
3949
    { STE_STYLE_BRACE,          wxSTC_ESCRIPT_BRACE,        "Braces" }, // 9
 
3950
    { STE_STYLE_KEYWORD2,       wxSTC_ESCRIPT_WORD2,        "Keywords 2" }, // 10
 
3951
    { STE_STYLE_KEYWORD3,       wxSTC_ESCRIPT_WORD3,        "Keywords 3" }, // 11
 
3952
};
 
3953
 
 
3954
#define STE_LexerStyles_STE_LANG_PS_COUNT 16
 
3955
static STE_LexerStyles STE_LexerStyles_STE_LANG_PS[STE_LexerStyles_STE_LANG_PS_COUNT] = {
 
3956
    // Lexical states for SCLEX_PS
 
3957
    { STE_STYLE_DEFAULT,        wxSTC_PS_DEFAULT,       "Default" }, // 0
 
3958
    { STE_STYLE_COMMENTLINE,    wxSTC_PS_COMMENT,       "Comment" }, // 1
 
3959
    { STE_STYLE_COMMENTDOC,     wxSTC_PS_DSC_COMMENT,   "DSC comment" }, // 2
 
3960
    { STE_STYLE_COMMENTDOC,     wxSTC_PS_DSC_VALUE,     "DSC comment value" }, // 3
 
3961
    { STE_STYLE_NUMBER,         wxSTC_PS_NUMBER,        "Number" }, // 4
 
3962
    { STE_STYLE_DEFAULT,        wxSTC_PS_NAME,          "Name" }, // 5
 
3963
    { STE_STYLE_KEYWORD1,       wxSTC_PS_KEYWORD,       "Keyword" }, // 6
 
3964
    { STE_STYLE_LABEL,          wxSTC_PS_LITERAL,       "Literal" }, // 7
 
3965
    { STE_STYLE_PREPROCESSOR,   wxSTC_PS_IMMEVAL,       "Immediately evaluated literal" }, // 8
 
3966
    { STE_STYLE_KEYWORD2,       wxSTC_PS_PAREN_ARRAY,   "Array parenthesis" }, // 9
 
3967
    { STE_STYLE_BRACE,          wxSTC_PS_PAREN_DICT,    "Dictionary parenthesis" }, // 10
 
3968
    { STE_STYLE_OPERATOR,       wxSTC_PS_PAREN_PROC,    "Procedure parenthesis" }, // 11
 
3969
    { STE_STYLE_STRING,         wxSTC_PS_TEXT,          "Text" }, // 12
 
3970
    { STE_STYLE_NUMBER,         wxSTC_PS_HEXSTRING,     "Hex string" }, // 13
 
3971
    { STE_STYLE_NUMBER,         wxSTC_PS_BASE85STRING,  "Base85 string" }, // 14
 
3972
    { STE_STYLE_ERROR,          wxSTC_PS_BADSTRINGCHAR, "Bad string character" }, // 15
 
3973
};
 
3974
 
 
3975
#define STE_LexerStyles_STE_LANG_NSIS_COUNT 15
 
3976
static STE_LexerStyles STE_LexerStyles_STE_LANG_NSIS[STE_LexerStyles_STE_LANG_NSIS_COUNT] = {
 
3977
    // Lexical states for SCLEX_NSIS
 
3978
    { STE_STYLE_DEFAULT,        wxSTC_NSIS_DEFAULT,       "Whitespace" }, // 0
 
3979
    { STE_STYLE_COMMENT,        wxSTC_NSIS_COMMENT,       "Comment" }, // 1
 
3980
    { STE_STYLE_STRING,         wxSTC_NSIS_STRINGDQ,      "String double quote" }, // 2
 
3981
    { STE_STYLE_STRING,         wxSTC_NSIS_STRINGLQ,      "String left quote" }, // 3
 
3982
    { STE_STYLE_STRING,         wxSTC_NSIS_STRINGRQ,      "String right quote" }, // 4
 
3983
    { STE_STYLE_KEYWORD1,       wxSTC_NSIS_FUNCTION,      "Function" }, // 5
 
3984
    { STE_STYLE_VALUE,          wxSTC_NSIS_VARIABLE,      "Variable" }, // 6
 
3985
    { STE_STYLE_KEYWORD3,       wxSTC_NSIS_LABEL,         "Label" }, // 7
 
3986
    { STE_STYLE_KEYWORD4,       wxSTC_NSIS_USERDEFINED,   "User Defined" }, // 8
 
3987
    { STE_STYLE_DEFAULT,        wxSTC_NSIS_SECTIONDEF,    "Section" }, // 9
 
3988
    { STE_STYLE_DEFAULT,        wxSTC_NSIS_SUBSECTIONDEF, "Sub section" }, // 10
 
3989
    { STE_STYLE_DEFAULT,        wxSTC_NSIS_IFDEFINEDEF,   "If def" }, // 11
 
3990
    { STE_STYLE_PREPROCESSOR,   wxSTC_NSIS_MACRODEF,      "Macro def" }, // 12
 
3991
    { STE_STYLE_KEYWORD2,       wxSTC_NSIS_STRINGVAR,     "Variable within string" }, // 13
 
3992
    { STE_STYLE_NUMBER,         wxSTC_NSIS_NUMBER,        "Numbers" }, // 14
 
3993
    // FIXME 1.64 add "Section Group" 15
 
3994
    // FIXME 1.64 add "Page Ex" 16
 
3995
    // FIXME 1.64 add "Function Definition" 17
 
3996
    // FIXME 1.64 add "Comment Box" 18
 
3997
};
 
3998
 
 
3999
#define STE_LexerStyles_STE_LANG_MMIXAL_COUNT 18
 
4000
static STE_LexerStyles STE_LexerStyles_STE_LANG_MMIXAL[STE_LexerStyles_STE_LANG_MMIXAL_COUNT] = {
 
4001
    // Lexical states for SCLEX_MMIXAL
 
4002
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_LEADWS,        "Divsion of leading whitespace in line" }, // 0
 
4003
    { STE_STYLE_COMMENT,    wxSTC_MMIXAL_COMMENT,       "Comment" }, // 1
 
4004
    { STE_STYLE_LABEL,      wxSTC_MMIXAL_LABEL,         "Label" }, // 2
 
4005
    { STE_STYLE_KEYWORD1,   wxSTC_MMIXAL_OPCODE,        "Opcode (not validated)" }, // 3
 
4006
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_OPCODE_PRE,    "Division between Label and Opcode" }, // 4
 
4007
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_OPCODE_VALID,  "Valid Opcode" }, // 5
 
4008
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_OPCODE_UNKNOWN,"Unknown Opcode" }, // 6
 
4009
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_OPCODE_POST,   "Division between Opcode and Operands" }, // 7
 
4010
    { STE_STYLE_OPERATOR,   wxSTC_MMIXAL_OPERANDS,      "Division of Operands" }, // 8
 
4011
    { STE_STYLE_NUMBER,     wxSTC_MMIXAL_NUMBER,        "Number" }, // 9
 
4012
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_REF,           "Reference (to a Label)" }, // 10
 
4013
    { STE_STYLE_CHARACTER,  wxSTC_MMIXAL_CHAR,          "Char" }, // 11
 
4014
    { STE_STYLE_STRING,     wxSTC_MMIXAL_STRING,        "String" }, // 12
 
4015
    { STE_STYLE_NUMBER,     wxSTC_MMIXAL_REGISTER,      "Register" }, // 13
 
4016
    { STE_STYLE_NUMBER,     wxSTC_MMIXAL_HEX,           "Hexadecimal Number" }, // 14
 
4017
    { STE_STYLE_OPERATOR,   wxSTC_MMIXAL_OPERATOR,      "Operator" }, // 15
 
4018
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_SYMBOL,        "Symbol" }, // 16
 
4019
    { STE_STYLE_DEFAULT,    wxSTC_MMIXAL_INCLUDE,       "Comment or include" }, // 17
 
4020
};
 
4021
 
 
4022
#define STE_LexerStyles_STE_LANG_CLW_COUNT 15
 
4023
static STE_LexerStyles STE_LexerStyles_STE_LANG_CLW[STE_LexerStyles_STE_LANG_CLW_COUNT] = {
 
4024
    // Lexical states for SCLEX_CLW
 
4025
    { STE_STYLE_DEFAULT,    wxSTC_CLW_DEFAULT,               "Default" }, // 0
 
4026
    { STE_STYLE_LABEL,      wxSTC_CLW_LABEL,                 "Label" }, // 1
 
4027
    { STE_STYLE_COMMENT,    wxSTC_CLW_COMMENT,               "Comment" }, // 2
 
4028
    { STE_STYLE_STRING,     wxSTC_CLW_STRING,                "String" }, // 3
 
4029
    { STE_STYLE_IDENTIFIER, wxSTC_CLW_USER_IDENTIFIER,       "User identifier" }, // 4
 
4030
    { STE_STYLE_DEFAULT,    wxSTC_CLW_INTEGER_CONSTANT,      "Integer constant" }, // 5
 
4031
    { STE_STYLE_DEFAULT,    wxSTC_CLW_REAL_CONSTANT,         "Real constant" }, // 6
 
4032
    { STE_STYLE_STRING,     wxSTC_CLW_PICTURE_STRING,        "Picture string" }, // 7
 
4033
    { STE_STYLE_KEYWORD1,   wxSTC_CLW_KEYWORD,               "Keyword" }, // 8
 
4034
    { STE_STYLE_DEFAULT,    wxSTC_CLW_COMPILER_DIRECTIVE,    "Compilier directive" }, // 9
 
4035
    { STE_STYLE_DEFAULT,    wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION, "Builtin procedures function" }, // 10
 
4036
    { STE_STYLE_DEFAULT,    wxSTC_CLW_STRUCTURE_DATA_TYPE,   "Stucture data type" }, // 11
 
4037
    { STE_STYLE_DEFAULT,    wxSTC_CLW_ATTRIBUTE,             "Attribute" }, // 12
 
4038
    { STE_STYLE_DEFAULT,    wxSTC_CLW_STANDARD_EQUATE,       "Standard equate" }, // 13
 
4039
    { STE_STYLE_ERROR,      wxSTC_CLW_ERROR,                 "Error" }, // 14
 
4040
};
 
4041
 
 
4042
#define STE_LexerStyles_STE_LANG_CLWNOCASE_COUNT STE_LexerStyles_STE_LANG_CLW_COUNT
 
4043
STE_LexerStyles* STE_LexerStyles_STE_LANG_CLWNOCASE = STE_LexerStyles_STE_LANG_CLW;
 
4044
 
 
4045
#define STE_LexerStyles_STE_LANG_LOT_COUNT 7
 
4046
static STE_LexerStyles STE_LexerStyles_STE_LANG_LOT[STE_LexerStyles_STE_LANG_LOT_COUNT] = {
 
4047
    // Lexical states for SCLEX_LOT
 
4048
    { STE_STYLE_DEFAULT,  wxSTC_LOT_DEFAULT,   "Default" }, // 0
 
4049
    { STE_STYLE_DEFAULT,  wxSTC_LOT_HEADER,    "Header" }, // 1
 
4050
    { STE_STYLE_DEFAULT,  wxSTC_LOT_BREAK,     "Break" }, // 2
 
4051
    { STE_STYLE_DEFAULT,  wxSTC_LOT_SET,       "Set" }, // 3
 
4052
    { STE_STYLE_DEFAULT,  wxSTC_LOT_PASS,      "Pass" }, // 4
 
4053
    { STE_STYLE_DEFAULT,  wxSTC_LOT_FAIL,      "Fail" }, // 5
 
4054
    { STE_STYLE_DEFAULT,  wxSTC_LOT_ABORT,     "Abort" }, // 6
 
4055
};
 
4056
 
 
4057
#define STE_LexerStyles_STE_LANG_YAML_COUNT 9
 
4058
static STE_LexerStyles STE_LexerStyles_STE_LANG_YAML[STE_LexerStyles_STE_LANG_YAML_COUNT] = {
 
4059
    // Lexical states for SCLEX_YAML
 
4060
    { STE_STYLE_DEFAULT,  wxSTC_YAML_DEFAULT,     "Default" }, // 0
 
4061
    { STE_STYLE_DEFAULT,  wxSTC_YAML_COMMENT,     "Comment line" }, // 1
 
4062
    { STE_STYLE_DEFAULT,  wxSTC_YAML_IDENTIFIER,  "Value identifier" }, // 2
 
4063
    { STE_STYLE_DEFAULT,  wxSTC_YAML_KEYWORD,     "Keyword" }, // 3
 
4064
    { STE_STYLE_DEFAULT,  wxSTC_YAML_NUMBER,      "Number" }, // 4
 
4065
    { STE_STYLE_DEFAULT,  wxSTC_YAML_REFERENCE,   "Reference/repeating value" }, // 5
 
4066
    { STE_STYLE_DEFAULT,  wxSTC_YAML_DOCUMENT,    "Document delimiting line" }, // 6
 
4067
    { STE_STYLE_DEFAULT,  wxSTC_YAML_TEXT,        "Text block marker" }, // 7
 
4068
    { STE_STYLE_DEFAULT,  wxSTC_YAML_ERROR,       "Syntax error marker" }, // 8
 
4069
};
 
4070
 
 
4071
#define STE_LexerStyles_STE_LANG_TEX_COUNT 6
 
4072
static STE_LexerStyles STE_LexerStyles_STE_LANG_TEX[STE_LexerStyles_STE_LANG_TEX_COUNT] = {
 
4073
    // Lexical states for SCLEX_TEX
 
4074
    { STE_STYLE_DEFAULT,    wxSTC_TEX_DEFAULT,   "Default" }, // 0
 
4075
    { STE_STYLE_LABEL,      wxSTC_TEX_SPECIAL,   "Special" }, // 1
 
4076
    { STE_STYLE_DEFAULT,    wxSTC_TEX_GROUP,     "Group" }, // 2
 
4077
    { STE_STYLE_OPERATOR,   wxSTC_TEX_SYMBOL,    "Symbol" }, // 3
 
4078
    { STE_STYLE_COMMAND,    wxSTC_TEX_COMMAND,   "Command" }, // 4
 
4079
    { STE_STYLE_DEFAULT,    wxSTC_TEX_TEXT,      "Text" }, // 5
 
4080
};
 
4081
 
 
4082
#define STE_LexerStyles_STE_LANG_METAPOST_COUNT 7
 
4083
static STE_LexerStyles STE_LexerStyles_STE_LANG_METAPOST[STE_LexerStyles_STE_LANG_METAPOST_COUNT] = {
 
4084
    { STE_STYLE_DEFAULT,    wxSTC_METAPOST_DEFAULT,   "Default" }, // 0
 
4085
    { STE_STYLE_DEFAULT,    wxSTC_METAPOST_SPECIAL,   "Special" }, // 1
 
4086
    { STE_STYLE_DEFAULT,    wxSTC_METAPOST_GROUP,     "Group" }, // 2
 
4087
    { STE_STYLE_OPERATOR,   wxSTC_METAPOST_SYMBOL,    "Symbol" }, // 3
 
4088
    { STE_STYLE_COMMAND,    wxSTC_METAPOST_COMMAND,   "Command" }, // 4
 
4089
    { STE_STYLE_DEFAULT,    wxSTC_METAPOST_TEXT,      "Text" }, // 5
 
4090
    { STE_STYLE_DEFAULT,    wxSTC_METAPOST_EXTRA,     "Extra" }, // 6
 
4091
};
 
4092
 
 
4093
#define STE_LexerStyles_STE_LANG_POWERBASIC_COUNT STE_LexerStyles_STE_LANG_VB_COUNT
 
4094
STE_LexerStyles* STE_LexerStyles_STE_LANG_POWERBASIC = STE_LexerStyles_STE_LANG_VB;
 
4095
 
 
4096
#define STE_LexerStyles_STE_LANG_FORTH_COUNT 12
 
4097
static STE_LexerStyles STE_LexerStyles_STE_LANG_FORTH[STE_LexerStyles_STE_LANG_FORTH_COUNT] = {
 
4098
    // Lexical states for SCLEX_FORTH (Forth Lexer)
 
4099
    { STE_STYLE_DEFAULT,        wxSTC_FORTH_DEFAULT,     "Whitespace" }, // 0
 
4100
    { STE_STYLE_COMMENT,        wxSTC_FORTH_COMMENT,     "Comment" }, // 1
 
4101
    { STE_STYLE_COMMENTLINE,    wxSTC_FORTH_COMMENT_ML,  "ML comment" }, // 2
 
4102
    { STE_STYLE_IDENTIFIER,     wxSTC_FORTH_IDENTIFIER,  "Identifier" }, // 3
 
4103
    { STE_STYLE_COMMAND,        wxSTC_FORTH_CONTROL,     "Control" }, // 4
 
4104
    { STE_STYLE_KEYWORD1,       wxSTC_FORTH_KEYWORD,     "Keywords" }, // 5
 
4105
    { STE_STYLE_KEYWORD2,       wxSTC_FORTH_DEFWORD,     "Defwords" }, // 6
 
4106
    { STE_STYLE_KEYWORD3,       wxSTC_FORTH_PREWORD1,    "Prewords 1" }, // 7
 
4107
    { STE_STYLE_KEYWORD4,       wxSTC_FORTH_PREWORD2,    "Prewords 2" }, // 8
 
4108
    { STE_STYLE_NUMBER,         wxSTC_FORTH_NUMBER,      "Number" }, // 9
 
4109
    { STE_STYLE_STRING,         wxSTC_FORTH_STRING,      "Double quoted string" }, // 10
 
4110
    { STE_STYLE_LABEL,          wxSTC_FORTH_LOCALE,      "Locale" }, // 11
 
4111
};
 
4112
 
 
4113
#if (wxVERSION_NUMBER < 2901)
 
4114
#define STE_LexerStyles_STE_LANG_ERLANG_COUNT 15
 
4115
#else
 
4116
#define STE_LexerStyles_STE_LANG_ERLANG_COUNT 14
 
4117
#endif
 
4118
static STE_LexerStyles STE_LexerStyles_STE_LANG_ERLANG[STE_LexerStyles_STE_LANG_ERLANG_COUNT] = {
 
4119
    // Lexical states for SCLEX_ERLANG
 
4120
    { STE_STYLE_DEFAULT,    wxSTC_ERLANG_DEFAULT,       "White space" }, // 0
 
4121
    { STE_STYLE_COMMENT,    wxSTC_ERLANG_COMMENT,       "Comment" }, // 1
 
4122
    { STE_STYLE_LABEL,      wxSTC_ERLANG_VARIABLE,      "Variable" }, // 2
 
4123
    { STE_STYLE_NUMBER,     wxSTC_ERLANG_NUMBER,        "Number" }, // 3
 
4124
    { STE_STYLE_KEYWORD1,   wxSTC_ERLANG_KEYWORD,       "Keyword" }, // 4
 
4125
    { STE_STYLE_STRING,     wxSTC_ERLANG_STRING,        "String" }, // 5
 
4126
    { STE_STYLE_OPERATOR,   wxSTC_ERLANG_OPERATOR,      "Operator" }, // 6
 
4127
    { STE_STYLE_DEFAULT,    wxSTC_ERLANG_ATOM,          "Atom" }, // 7
 
4128
    { STE_STYLE_DEFAULT,    wxSTC_ERLANG_FUNCTION_NAME, "Function name" }, // 8
 
4129
    { STE_STYLE_CHARACTER,  wxSTC_ERLANG_CHARACTER,     "Character" }, // 9
 
4130
    { STE_STYLE_SCRIPT,     wxSTC_ERLANG_MACRO,         "Macro" }, // 10
 
4131
    { STE_STYLE_LABEL,      wxSTC_ERLANG_RECORD,        "Record" }, // 11
 
4132
#if (wxVERSION_NUMBER < 2901)
 
4133
    { STE_STYLE_DELIMITER,  wxSTC_ERLANG_SEPARATOR,     "Separator" }, // 12
 
4134
#endif
 
4135
    { STE_STYLE_LABEL,      wxSTC_ERLANG_NODE_NAME,     "Node name" }, // 13
 
4136
    { STE_STYLE_UNDEFINED,  wxSTC_ERLANG_UNKNOWN,       "Parse error" }, // 31
 
4137
};
 
4138
 
 
4139
#define STE_LexerStyles_STE_LANG_OCTAVE_COUNT STE_LexerStyles_STE_LANG_MATLAB_COUNT
 
4140
STE_LexerStyles* STE_LexerStyles_STE_LANG_OCTAVE = STE_LexerStyles_STE_LANG_MATLAB;
 
4141
 
 
4142
#define STE_LexerStyles_STE_LANG_MSSQL_COUNT 17
 
4143
static STE_LexerStyles STE_LexerStyles_STE_LANG_MSSQL[STE_LexerStyles_STE_LANG_MSSQL_COUNT] = {
 
4144
    // Lexical states for SCLEX_MSSQL
 
4145
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_DEFAULT,            "Default" }, // 0
 
4146
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_COMMENT,            "Comment" }, // 1
 
4147
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_LINE_COMMENT,       "Line comment" }, // 2
 
4148
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_NUMBER,             "Number" }, // 3
 
4149
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_STRING,             "String" }, // 4
 
4150
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_OPERATOR,           "Operator" }, // 5
 
4151
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_IDENTIFIER,         "Identifier" }, // 6
 
4152
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_VARIABLE,           "Variable" }, // 7
 
4153
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_COLUMN_NAME,        "Column name" }, // 8
 
4154
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_STATEMENT,          "Statement" }, // 9
 
4155
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_DATATYPE,           "Data type" }, // 10
 
4156
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_SYSTABLE,           "Sys table" }, // 11
 
4157
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_GLOBAL_VARIABLE,    "Global variable" }, // 12
 
4158
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_FUNCTION,           "Function" }, // 13
 
4159
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_STORED_PROCEDURE,   "Procedure" }, // 14
 
4160
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_DEFAULT_PREF_DATATYPE, "Data type" }, // 15
 
4161
    { STE_STYLE_DEFAULT,    wxSTC_MSSQL_COLUMN_NAME_2,      "Column name 2" }, // 16
 
4162
};
 
4163
 
 
4164
#define STE_LexerStyles_STE_LANG_VERILOG_COUNT 14
 
4165
static STE_LexerStyles STE_LexerStyles_STE_LANG_VERILOG[STE_LexerStyles_STE_LANG_VERILOG_COUNT] = {
 
4166
    // Lexical states for SCLEX_VERILOG
 
4167
    { STE_STYLE_DEFAULT,    wxSTC_V_DEFAULT,        "White space" }, // 0
 
4168
    { STE_STYLE_DEFAULT,    wxSTC_V_COMMENT,        "Comment" }, // 1
 
4169
    { STE_STYLE_DEFAULT,    wxSTC_V_COMMENTLINE,    "Line comment" }, // 2
 
4170
    { STE_STYLE_DEFAULT,    wxSTC_V_COMMENTLINEBANG,"Bang comment" }, // 3
 
4171
    { STE_STYLE_DEFAULT,    wxSTC_V_NUMBER,         "Number" }, // 4
 
4172
    { STE_STYLE_DEFAULT,    wxSTC_V_WORD,           "Keyword" }, // 5
 
4173
    { STE_STYLE_DEFAULT,    wxSTC_V_STRING,         "Double quoted string" }, // 6
 
4174
    { STE_STYLE_DEFAULT,    wxSTC_V_WORD2,          "Keyword 2" }, // 7
 
4175
    { STE_STYLE_DEFAULT,    wxSTC_V_WORD3,          "System tasks" }, // 8
 
4176
    { STE_STYLE_DEFAULT,    wxSTC_V_PREPROCESSOR,   "Preprocessor" }, // 9
 
4177
    { STE_STYLE_DEFAULT,    wxSTC_V_OPERATOR,       "Operators" }, // 10
 
4178
    { STE_STYLE_DEFAULT,    wxSTC_V_IDENTIFIER,     "Identifiers" }, // 11
 
4179
    { STE_STYLE_DEFAULT,    wxSTC_V_STRINGEOL,      "End of line where string is not closed" }, // 12
 
4180
    { STE_STYLE_DEFAULT,    wxSTC_V_USER,           "User defined identifiers and tasks" }, // 19
 
4181
};
 
4182
 
 
4183
#define STE_LexerStyles_STE_LANG_KIX_COUNT 11
 
4184
static STE_LexerStyles STE_LexerStyles_STE_LANG_KIX[STE_LexerStyles_STE_LANG_KIX_COUNT] = {
 
4185
    // Lexical states for SCLEX_KIX
 
4186
    { STE_STYLE_DEFAULT,    wxSTC_KIX_DEFAULT,     "White space" }, // 0
 
4187
    { STE_STYLE_DEFAULT,    wxSTC_KIX_COMMENT,     "Comment" }, // 1
 
4188
    { STE_STYLE_DEFAULT,    wxSTC_KIX_STRING1,     "String 1" }, // 2
 
4189
    { STE_STYLE_DEFAULT,    wxSTC_KIX_STRING2,     "String 2" }, // 3
 
4190
    { STE_STYLE_DEFAULT,    wxSTC_KIX_NUMBER,      "Number" }, // 4
 
4191
    { STE_STYLE_DEFAULT,    wxSTC_KIX_VAR,         "Variables" }, // 5
 
4192
    { STE_STYLE_DEFAULT,    wxSTC_KIX_MACRO,       "Macro" }, // 6
 
4193
    { STE_STYLE_DEFAULT,    wxSTC_KIX_KEYWORD,     "Keyword" }, // 7
 
4194
    { STE_STYLE_DEFAULT,    wxSTC_KIX_FUNCTIONS,   "Function" }, // 8
 
4195
    { STE_STYLE_DEFAULT,    wxSTC_KIX_OPERATOR,    "Operator" }, // 9
 
4196
    { STE_STYLE_DEFAULT,    wxSTC_KIX_IDENTIFIER,  "Identifier" }, // 31
 
4197
};
 
4198
 
 
4199
#define STE_LexerStyles_STE_LANG_GUI4CLI_COUNT 10
 
4200
static STE_LexerStyles STE_LexerStyles_STE_LANG_GUI4CLI[STE_LexerStyles_STE_LANG_GUI4CLI_COUNT] = {
 
4201
    // Lexical states for SCLEX_GUI4CLI
 
4202
    { STE_STYLE_DEFAULT,    wxSTC_GC_DEFAULT,       "Default" }, // 0
 
4203
    { STE_STYLE_DEFAULT,    wxSTC_GC_COMMENTLINE,   "Line comment" }, // 1
 
4204
    { STE_STYLE_DEFAULT,    wxSTC_GC_COMMENTBLOCK,  "Block comment" }, // 2
 
4205
    { STE_STYLE_DEFAULT,    wxSTC_GC_GLOBAL,        "Global" }, // 3
 
4206
    { STE_STYLE_DEFAULT,    wxSTC_GC_EVENT,         "Event" }, // 4
 
4207
    { STE_STYLE_DEFAULT,    wxSTC_GC_ATTRIBUTE,     "Attribute" }, // 5
 
4208
    { STE_STYLE_DEFAULT,    wxSTC_GC_CONTROL,       "Control" }, // 6
 
4209
    { STE_STYLE_DEFAULT,    wxSTC_GC_COMMAND,       "Command" }, // 7
 
4210
    { STE_STYLE_DEFAULT,    wxSTC_GC_STRING,        "String" }, // 8
 
4211
    { STE_STYLE_DEFAULT,    wxSTC_GC_OPERATOR,      "Operator" }, // 9
 
4212
};
 
4213
 
 
4214
#define STE_LexerStyles_STE_LANG_SPECMAN_COUNT 16
 
4215
static STE_LexerStyles STE_LexerStyles_STE_LANG_SPECMAN[STE_LexerStyles_STE_LANG_SPECMAN_COUNT] = {
 
4216
    // Lexical states for SCLEX_SPECMAN
 
4217
    { STE_STYLE_DEFAULT,    wxSTC_SN_DEFAULT,           "White space" }, // 0
 
4218
    { STE_STYLE_DEFAULT,    wxSTC_SN_CODE,              "Code" }, // 1
 
4219
    { STE_STYLE_DEFAULT,    wxSTC_SN_COMMENTLINE,       "Line Comment" }, // 2
 
4220
    { STE_STYLE_DEFAULT,    wxSTC_SN_COMMENTLINEBANG,   "Line Bang Comment" }, // 3
 
4221
    { STE_STYLE_DEFAULT,    wxSTC_SN_NUMBER,            "Number" }, // 4
 
4222
    { STE_STYLE_DEFAULT,    wxSTC_SN_WORD,              "Keyword" }, // 5
 
4223
    { STE_STYLE_DEFAULT,    wxSTC_SN_STRING,            "Double quoted string" }, // 6
 
4224
    { STE_STYLE_DEFAULT,    wxSTC_SN_WORD2,             "Keyword 2" }, // 7
 
4225
    { STE_STYLE_DEFAULT,    wxSTC_SN_WORD3,             "Keyword 3" }, // 8
 
4226
    { STE_STYLE_DEFAULT,    wxSTC_SN_PREPROCESSOR,      "Preprocessor" }, // 9
 
4227
    { STE_STYLE_DEFAULT,    wxSTC_SN_OPERATOR,          "Operators" }, // 10
 
4228
    { STE_STYLE_DEFAULT,    wxSTC_SN_IDENTIFIER,        "Identifiers" }, // 11
 
4229
    { STE_STYLE_DEFAULT,    wxSTC_SN_STRINGEOL,         "End of line where string is not closed" }, // 12
 
4230
    { STE_STYLE_REGEX,      wxSTC_SN_REGEXTAG,          "Regexp tag" }, // 13
 
4231
    { STE_STYLE_DEFAULT,    wxSTC_SN_SIGNAL,            "HDL Signal" }, // 14
 
4232
    { STE_STYLE_DEFAULT,    wxSTC_SN_USER,              "User defined" }, // 15 ? 19
 
4233
};
 
4234
 
 
4235
#define STE_LexerStyles_STE_LANG_AU3_COUNT 13
 
4236
static STE_LexerStyles STE_LexerStyles_STE_LANG_AU3[STE_LexerStyles_STE_LANG_AU3_COUNT] = {
 
4237
    // Lexical states for SCLEX_AU3
 
4238
    { STE_STYLE_DEFAULT,    wxSTC_AU3_DEFAULT,      "White space" }, // 0
 
4239
    { STE_STYLE_DEFAULT,    wxSTC_AU3_COMMENT,      "Comment line" }, // 1
 
4240
    { STE_STYLE_DEFAULT,    wxSTC_AU3_COMMENTBLOCK, "Comment block" }, // 2
 
4241
    { STE_STYLE_DEFAULT,    wxSTC_AU3_NUMBER,       "Number" }, // 3
 
4242
    { STE_STYLE_DEFAULT,    wxSTC_AU3_FUNCTION,     "Function" }, // 4
 
4243
    { STE_STYLE_DEFAULT,    wxSTC_AU3_KEYWORD,      "Keyword" }, // 5
 
4244
    { STE_STYLE_DEFAULT,    wxSTC_AU3_MACRO,        "Macro" }, // 6
 
4245
    { STE_STYLE_DEFAULT,    wxSTC_AU3_STRING,       "String" }, // 7
 
4246
    { STE_STYLE_DEFAULT,    wxSTC_AU3_OPERATOR,     "Operator" }, // 8
 
4247
    { STE_STYLE_DEFAULT,    wxSTC_AU3_VARIABLE,     "Variable" }, // 9
 
4248
    { STE_STYLE_DEFAULT,    wxSTC_AU3_SENT,         "Sent keys in string" }, // 10
 
4249
    { STE_STYLE_DEFAULT,    wxSTC_AU3_PREPROCESSOR, "Pre-Processor" }, // 11
 
4250
    { STE_STYLE_DEFAULT,    wxSTC_AU3_SPECIAL,      "Special" }, // 12
 
4251
//    { STE_STYLE_DEFAULT,    wxSTC_AU3_?,      "Expand abbreviations" }, // 13 FIXME sci 1.66
 
4252
//    { STE_STYLE_DEFAULT,    wxSTC_AU3_?,      "ComObjects" }, // 14 FIXME sci 1.66
 
4253
};
 
4254
 
 
4255
#define STE_LexerStyles_STE_LANG_APDL_COUNT 13
 
4256
static STE_LexerStyles STE_LexerStyles_STE_LANG_APDL[STE_LexerStyles_STE_LANG_APDL_COUNT] = {
 
4257
    // Lexical states for SCLEX_APDL
 
4258
    { STE_STYLE_DEFAULT,    wxSTC_APDL_DEFAULT,      "Default" }, // 0
 
4259
    { STE_STYLE_DEFAULT,    wxSTC_APDL_COMMENT,      "Comment" }, // 1
 
4260
    { STE_STYLE_DEFAULT,    wxSTC_APDL_COMMENTBLOCK, "Block comment" }, // 2
 
4261
    { STE_STYLE_DEFAULT,    wxSTC_APDL_NUMBER,       "Number" }, // 3
 
4262
    { STE_STYLE_DEFAULT,    wxSTC_APDL_STRING,       "String" }, // 4
 
4263
    { STE_STYLE_DEFAULT,    wxSTC_APDL_OPERATOR,     "Operator" }, // 5
 
4264
    { STE_STYLE_DEFAULT,    wxSTC_APDL_WORD,         "Keyword" }, // 6
 
4265
    { STE_STYLE_DEFAULT,    wxSTC_APDL_PROCESSOR,    "Processor" }, // 7
 
4266
    { STE_STYLE_DEFAULT,    wxSTC_APDL_COMMAND,      "Command" }, // 8
 
4267
    { STE_STYLE_DEFAULT,    wxSTC_APDL_SLASHCOMMAND, "Slash command" }, // 9
 
4268
    { STE_STYLE_DEFAULT,    wxSTC_APDL_STARCOMMAND,  "Star command" }, // 10
 
4269
    { STE_STYLE_DEFAULT,    wxSTC_APDL_ARGUMENT,     "Argument" }, // 11
 
4270
    { STE_STYLE_DEFAULT,    wxSTC_APDL_FUNCTION,     "Function" }, // 12
 
4271
};
 
4272
 
 
4273
#define STE_LexerStyles_STE_LANG_BASH_COUNT 14
 
4274
static STE_LexerStyles STE_LexerStyles_STE_LANG_BASH[STE_LexerStyles_STE_LANG_BASH_COUNT] = {
 
4275
    // Lexical states for SCLEX_BASH
 
4276
    { STE_STYLE_DEFAULT,      wxSTC_SH_DEFAULT,         "White space" }, // 0
 
4277
    { STE_STYLE_ERROR,        wxSTC_SH_ERROR,           "Error" }, // 1
 
4278
    { STE_STYLE_COMMENTLINE,  wxSTC_SH_COMMENTLINE,     "Comment" }, // 2
 
4279
    { STE_STYLE_NUMBER,       wxSTC_SH_NUMBER,          "Number" }, // 3
 
4280
    { STE_STYLE_KEYWORD1,     wxSTC_SH_WORD,            "Keyword" }, // 4
 
4281
    { STE_STYLE_STRING,       wxSTC_SH_STRING,          "Double quoted string" }, // 5
 
4282
    { STE_STYLE_CHARACTER,    wxSTC_SH_CHARACTER,       "Single quoted string" }, // 6
 
4283
    { STE_STYLE_OPERATOR,     wxSTC_SH_OPERATOR,        "Operators" }, // 7
 
4284
    { STE_STYLE_IDENTIFIER,   wxSTC_SH_IDENTIFIER,      "Identifiers (functions, etc.)" }, // 8
 
4285
    { STE_STYLE_VALUE,        wxSTC_SH_SCALAR,          "Scalars: $var" }, // 9
 
4286
    { STE_STYLE_PARAMETER,    wxSTC_SH_PARAM,           "Parameter expansion: ${var}" }, // 10
 
4287
    { STE_STYLE_BRACE,        wxSTC_SH_BACKTICKS,       "Back Ticks" }, // 11
 
4288
    { STE_STYLE_PREPROCESSOR, wxSTC_SH_HERE_DELIM,      "Here-doc (delimiter)" }, // 12
 
4289
    { STE_STYLE_PREPROCESSOR, wxSTC_SH_HERE_Q,          "Here-doc (single quoted, q)" }, // 13
 
4290
};
 
4291
 
 
4292
#define STE_LexerStyles_STE_LANG_ASN1_COUNT 11
 
4293
static STE_LexerStyles STE_LexerStyles_STE_LANG_ASN1[STE_LexerStyles_STE_LANG_ASN1_COUNT] = {
 
4294
    // Lexical states for SCLEX_ASN1
 
4295
    { STE_STYLE_DEFAULT,    wxSTC_ASN1_DEFAULT,     "Default" }, // 0
 
4296
    { STE_STYLE_COMMENT,    wxSTC_ASN1_COMMENT,     "Comment" }, // 1
 
4297
    { STE_STYLE_IDENTIFIER, wxSTC_ASN1_IDENTIFIER,  "Identifiers" }, // 2
 
4298
    { STE_STYLE_STRING,     wxSTC_ASN1_STRING,      "Double quoted string" }, // 3
 
4299
    { STE_STYLE_DEFAULT,    wxSTC_ASN1_OID,         "Numeric OID definition" }, // 4
 
4300
    { STE_STYLE_NUMBER,     wxSTC_ASN1_SCALAR,      "Non OID numbers" }, // 5
 
4301
    { STE_STYLE_KEYWORD1,   wxSTC_ASN1_KEYWORD,     "Keywords" }, // 6
 
4302
    { STE_STYLE_DEFAULT,    wxSTC_ASN1_ATTRIBUTE,   "Attributes" }, // 7
 
4303
    { STE_STYLE_DEFAULT,    wxSTC_ASN1_DESCRIPTOR,  "Descriptors" }, // 8
 
4304
    { STE_STYLE_DEFAULT,    wxSTC_ASN1_TYPE,        "Types" }, // 9
 
4305
    { STE_STYLE_OPERATOR,   wxSTC_ASN1_OPERATOR,    "Operators" }, // 10
 
4306
};
 
4307
 
 
4308
#define STE_LexerStyles_STE_LANG_VHDL_COUNT 15
 
4309
static STE_LexerStyles STE_LexerStyles_STE_LANG_VHDL[STE_LexerStyles_STE_LANG_VHDL_COUNT] = {
 
4310
    // Lexical states for SCLEX_VHDL
 
4311
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_DEFAULT,         "White space" }, // 0
 
4312
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_COMMENT,         "Comment" }, // 1
 
4313
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_COMMENTLINEBANG, "Bang comment" }, // 2
 
4314
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_NUMBER,          "Number" }, // 3
 
4315
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STRING,          "Double quoted string" }, // 4
 
4316
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_OPERATOR,        "Operators" }, // 5
 
4317
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_IDENTIFIER,      "Identifiers" }, // 6
 
4318
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STRINGEOL,       "End of line where string is not closed" }, // 7
 
4319
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_KEYWORD,         "Keyword" }, // 8
 
4320
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STDOPERATOR,     "Std operator" }, // 9
 
4321
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_ATTRIBUTE,       "Attribute" }, // 10
 
4322
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STDFUNCTION,     "Std Function" }, // 11
 
4323
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STDPACKAGE,      "Std Package" }, // 12
 
4324
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_STDTYPE,         "Std Type" }, // 13
 
4325
    { STE_STYLE_DEFAULT,    wxSTC_VHDL_USERWORD,        "User defined identifiers and tasks" }, // 14
 
4326
};
 
4327
 
 
4328
#define STE_LexerStyles_STE_LANG_JAVA_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4329
STE_LexerStyles* STE_LexerStyles_STE_LANG_JAVA = STE_LexerStyles_STE_LANG_CPP;
 
4330
 
 
4331
#define STE_LexerStyles_STE_LANG_JAVASCRIPT_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4332
STE_LexerStyles* STE_LexerStyles_STE_LANG_JAVASCRIPT = STE_LexerStyles_STE_LANG_CPP;
 
4333
 
 
4334
#define STE_LexerStyles_STE_LANG_RC_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4335
STE_LexerStyles* STE_LexerStyles_STE_LANG_RC = STE_LexerStyles_STE_LANG_CPP;
 
4336
 
 
4337
#define STE_LexerStyles_STE_LANG_CS_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4338
STE_LexerStyles* STE_LexerStyles_STE_LANG_CS = STE_LexerStyles_STE_LANG_CPP;
 
4339
 
 
4340
#define STE_LexerStyles_STE_LANG_D_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4341
STE_LexerStyles* STE_LexerStyles_STE_LANG_D = STE_LexerStyles_STE_LANG_CPP;
 
4342
 
 
4343
#define STE_LexerStyles_STE_LANG_IDL_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4344
STE_LexerStyles* STE_LexerStyles_STE_LANG_IDL = STE_LexerStyles_STE_LANG_CPP;
 
4345
 
 
4346
#define STE_LexerStyles_STE_LANG_PLSQL_COUNT STE_LexerStyles_STE_LANG_SQL_COUNT
 
4347
STE_LexerStyles* STE_LexerStyles_STE_LANG_PLSQL = STE_LexerStyles_STE_LANG_SQL;
 
4348
 
 
4349
#define STE_LexerStyles_STE_LANG_SQUIRREL_COUNT STE_LexerStyles_STE_LANG_CPP_COUNT
 
4350
STE_LexerStyles* STE_LexerStyles_STE_LANG_SQUIRREL = STE_LexerStyles_STE_LANG_CPP;
 
4351
 
 
4352
// ---------------------------------------------------------------------------
 
4353
 
 
4354
#define DEFINE_STE_LANG(TYPE) \
 
4355
    DefSTE_LexerWords_##TYPE \
 
4356
    DefSTE_LexerComments_##TYPE \
 
4357
    DefSTE_LexerBlock_##TYPE \
 
4358
    DefSTE_LexerPreproc_##TYPE \
 
4359
    STE_Language _STE_Lang_##TYPE = { \
 
4360
        STE_LexerName_##TYPE, \
 
4361
        STE_LexerLang_##TYPE, \
 
4362
        STE_LexerFilePatterns_##TYPE, \
 
4363
        STE_LexerStyles_##TYPE, \
 
4364
        STE_LexerStyles_##TYPE##_COUNT, \
 
4365
        STE_LexerWords_##TYPE, \
 
4366
        STE_LexerWords_##TYPE##_COUNT, \
 
4367
        STE_LexerComments_##TYPE, \
 
4368
        STE_LexerBlock_##TYPE, \
 
4369
        STE_LexerPreproc_##TYPE, \
 
4370
        STE_LexerBraces_##TYPE, \
 
4371
        STE_LexerFolds_##TYPE, \
 
4372
        STE_LexerFlags_##TYPE };
 
4373
 
 
4374
 
 
4375
// CREATE LEXERS ------------------------
 
4376
#if STE_USE_LANG_CONTAINER
 
4377
    DEFINE_STE_LANG(STE_LANG_CONTAINER )
 
4378
    #define STE_Lang_STE_LANG_CONTAINER  &_STE_Lang_STE_LANG_CONTAINER
 
4379
#else
 
4380
    #define STE_Lang_STE_LANG_CONTAINER  NULL
 
4381
#endif
 
4382
#if STE_USE_LANG_NULL
 
4383
    DEFINE_STE_LANG(STE_LANG_NULL      )
 
4384
    #define STE_Lang_STE_LANG_NULL       &_STE_Lang_STE_LANG_NULL
 
4385
#else
 
4386
    #define STE_Lang_STE_LANG_NULL       NULL
 
4387
#endif
 
4388
#if STE_USE_LANG_PYTHON
 
4389
    DEFINE_STE_LANG(STE_LANG_PYTHON    )
 
4390
    #define STE_Lang_STE_LANG_PYTHON     &_STE_Lang_STE_LANG_PYTHON
 
4391
#else
 
4392
    #define STE_Lang_STE_LANG_PYTHON     NULL
 
4393
#endif
 
4394
#if STE_USE_LANG_CPP
 
4395
    DEFINE_STE_LANG(STE_LANG_CPP       )
 
4396
    #define STE_Lang_STE_LANG_CPP        &_STE_Lang_STE_LANG_CPP
 
4397
#else
 
4398
    #define STE_Lang_STE_LANG_CPP        NULL
 
4399
#endif
 
4400
#if STE_USE_LANG_HTML
 
4401
    DEFINE_STE_LANG(STE_LANG_HTML      )
 
4402
    #define STE_Lang_STE_LANG_HTML       &_STE_Lang_STE_LANG_HTML
 
4403
#else
 
4404
    #define STE_Lang_STE_LANG_HTML       NULL
 
4405
#endif
 
4406
#if STE_USE_LANG_XML
 
4407
    DEFINE_STE_LANG(STE_LANG_XML       )
 
4408
    #define STE_Lang_STE_LANG_XML        &_STE_Lang_STE_LANG_XML
 
4409
#else
 
4410
    #define STE_Lang_STE_LANG_XML        NULL
 
4411
#endif
 
4412
#if STE_USE_LANG_PERL
 
4413
    DEFINE_STE_LANG(STE_LANG_PERL      )
 
4414
    #define STE_Lang_STE_LANG_PERL       &_STE_Lang_STE_LANG_PERL
 
4415
#else
 
4416
    #define STE_Lang_STE_LANG_PERL       NULL
 
4417
#endif
 
4418
#if STE_USE_LANG_SQL
 
4419
    DEFINE_STE_LANG(STE_LANG_SQL       )
 
4420
    #define STE_Lang_STE_LANG_SQL        &_STE_Lang_STE_LANG_SQL
 
4421
#else
 
4422
    #define STE_Lang_STE_LANG_SQL        NULL
 
4423
#endif
 
4424
#if STE_USE_LANG_VB
 
4425
    DEFINE_STE_LANG(STE_LANG_VB        )
 
4426
    #define STE_Lang_STE_LANG_VB         &_STE_Lang_STE_LANG_VB
 
4427
#else
 
4428
    #define STE_Lang_STE_LANG_VB         NULL
 
4429
#endif
 
4430
#if STE_USE_LANG_PROPERTIES
 
4431
    DEFINE_STE_LANG(STE_LANG_PROPERTIES)
 
4432
    #define STE_Lang_STE_LANG_PROPERTIES &_STE_Lang_STE_LANG_PROPERTIES
 
4433
#else
 
4434
    #define STE_Lang_STE_LANG_PROPERTIES NULL
 
4435
#endif
 
4436
#if STE_USE_LANG_ERRORLIST
 
4437
    DEFINE_STE_LANG(STE_LANG_ERRORLIST )
 
4438
    #define STE_Lang_STE_LANG_ERRORLIST  &_STE_Lang_STE_LANG_ERRORLIST
 
4439
#else
 
4440
    #define STE_Lang_STE_LANG_ERRORLIST  NULL
 
4441
#endif
 
4442
#if STE_USE_LANG_MAKEFILE
 
4443
    DEFINE_STE_LANG(STE_LANG_MAKEFILE  )
 
4444
    #define STE_Lang_STE_LANG_MAKEFILE   &_STE_Lang_STE_LANG_MAKEFILE
 
4445
#else
 
4446
    #define STE_Lang_STE_LANG_MAKEFILE   NULL
 
4447
#endif
 
4448
#if STE_USE_LANG_BATCH
 
4449
    DEFINE_STE_LANG(STE_LANG_BATCH     )
 
4450
    #define STE_Lang_STE_LANG_BATCH      &_STE_Lang_STE_LANG_BATCH
 
4451
#else
 
4452
    #define STE_Lang_STE_LANG_BATCH      NULL
 
4453
#endif
 
4454
#if STE_USE_LANG_XCODE
 
4455
    DEFINE_STE_LANG(STE_LANG_XCODE     )
 
4456
    #define STE_Lang_STE_LANG_XCODE      &_STE_Lang_STE_LANG_XCODE
 
4457
#else
 
4458
    #define STE_Lang_STE_LANG_XCODE      NULL
 
4459
#endif
 
4460
#if STE_USE_LANG_LATEX
 
4461
    DEFINE_STE_LANG(STE_LANG_LATEX     )
 
4462
    #define STE_Lang_STE_LANG_LATEX      &_STE_Lang_STE_LANG_LATEX
 
4463
#else
 
4464
    #define STE_Lang_STE_LANG_LATEX      NULL
 
4465
#endif
 
4466
#if STE_USE_LANG_LUA
 
4467
    DEFINE_STE_LANG(STE_LANG_LUA       )
 
4468
    #define STE_Lang_STE_LANG_LUA        &_STE_Lang_STE_LANG_LUA
 
4469
#else
 
4470
    #define STE_Lang_STE_LANG_LUA        NULL
 
4471
#endif
 
4472
#if STE_USE_LANG_DIFF
 
4473
    DEFINE_STE_LANG(STE_LANG_DIFF      )
 
4474
    #define STE_Lang_STE_LANG_DIFF       &_STE_Lang_STE_LANG_DIFF
 
4475
#else
 
4476
    #define STE_Lang_STE_LANG_DIFF       NULL
 
4477
#endif
 
4478
#if STE_USE_LANG_CONF
 
4479
    DEFINE_STE_LANG(STE_LANG_CONF      )
 
4480
    #define STE_Lang_STE_LANG_CONF       &_STE_Lang_STE_LANG_CONF
 
4481
#else
 
4482
    #define STE_Lang_STE_LANG_CONF       NULL
 
4483
#endif
 
4484
#if STE_USE_LANG_PASCAL
 
4485
    DEFINE_STE_LANG(STE_LANG_PASCAL    )
 
4486
    #define STE_Lang_STE_LANG_PASCAL     &_STE_Lang_STE_LANG_PASCAL
 
4487
#else
 
4488
    #define STE_Lang_STE_LANG_PASCAL     NULL
 
4489
#endif
 
4490
#if STE_USE_LANG_AVE
 
4491
    DEFINE_STE_LANG(STE_LANG_AVE       )
 
4492
    #define STE_Lang_STE_LANG_AVE        &_STE_Lang_STE_LANG_AVE
 
4493
#else
 
4494
    #define STE_Lang_STE_LANG_AVE        NULL
 
4495
#endif
 
4496
#if STE_USE_LANG_ADA
 
4497
    DEFINE_STE_LANG(STE_LANG_ADA       )
 
4498
    #define STE_Lang_STE_LANG_ADA        &_STE_Lang_STE_LANG_ADA
 
4499
#else
 
4500
    #define STE_Lang_STE_LANG_ADA        NULL
 
4501
#endif
 
4502
#if STE_USE_LANG_LISP
 
4503
    DEFINE_STE_LANG(STE_LANG_LISP      )
 
4504
    #define STE_Lang_STE_LANG_LISP       &_STE_Lang_STE_LANG_LISP
 
4505
#else
 
4506
    #define STE_Lang_STE_LANG_LISP       NULL
 
4507
#endif
 
4508
#if STE_USE_LANG_RUBY
 
4509
    DEFINE_STE_LANG(STE_LANG_RUBY      )
 
4510
    #define STE_Lang_STE_LANG_RUBY       &_STE_Lang_STE_LANG_RUBY
 
4511
#else
 
4512
    #define STE_Lang_STE_LANG_RUBY       NULL
 
4513
#endif
 
4514
#if STE_USE_LANG_EIFFEL
 
4515
    DEFINE_STE_LANG(STE_LANG_EIFFEL    )
 
4516
    #define STE_Lang_STE_LANG_EIFFEL     &_STE_Lang_STE_LANG_EIFFEL
 
4517
#else
 
4518
    #define STE_Lang_STE_LANG_EIFFEL     NULL
 
4519
#endif
 
4520
#if STE_USE_LANG_EIFFELKW
 
4521
    DEFINE_STE_LANG(STE_LANG_EIFFELKW  )
 
4522
    #define STE_Lang_STE_LANG_EIFFELKW   &_STE_Lang_STE_LANG_EIFFELKW
 
4523
#else
 
4524
    #define STE_Lang_STE_LANG_EIFFELKW   NULL
 
4525
#endif
 
4526
#if STE_USE_LANG_TCL
 
4527
    DEFINE_STE_LANG(STE_LANG_TCL       )
 
4528
    #define STE_Lang_STE_LANG_TCL        &_STE_Lang_STE_LANG_TCL
 
4529
#else
 
4530
    #define STE_Lang_STE_LANG_TCL        NULL
 
4531
#endif
 
4532
#if STE_USE_LANG_NNCRONTAB
 
4533
    DEFINE_STE_LANG(STE_LANG_NNCRONTAB )
 
4534
    #define STE_Lang_STE_LANG_NNCRONTAB  &_STE_Lang_STE_LANG_NNCRONTAB
 
4535
#else
 
4536
    #define STE_Lang_STE_LANG_NNCRONTAB  NULL
 
4537
#endif
 
4538
#if STE_USE_LANG_BULLANT
 
4539
    DEFINE_STE_LANG(STE_LANG_BULLANT   )
 
4540
    #define STE_Lang_STE_LANG_BULLANT    &_STE_Lang_STE_LANG_BULLANT
 
4541
#else
 
4542
    #define STE_Lang_STE_LANG_BULLANT    NULL
 
4543
#endif
 
4544
#if STE_USE_LANG_VBSCRIPT
 
4545
    DEFINE_STE_LANG(STE_LANG_VBSCRIPT  )
 
4546
    #define STE_Lang_STE_LANG_VBSCRIPT   &_STE_Lang_STE_LANG_VBSCRIPT
 
4547
#else
 
4548
    #define STE_Lang_STE_LANG_VBSCRIPT   NULL
 
4549
#endif
 
4550
 
 
4551
#if STE_USE_LANG_ASP && defined(wxSTC_LEX_ASP) // not in 2.7.0
 
4552
    DEFINE_STE_LANG(STE_LANG_ASP       )
 
4553
    #define STE_Lang_STE_LANG_ASP        &_STE_Lang_STE_LANG_ASP
 
4554
#else
 
4555
    #define STE_Lang_STE_LANG_ASP        NULL
 
4556
#endif
 
4557
#if STE_USE_LANG_PHP && defined(wxSTC_LEX_PHP) // not in 2.7.0
 
4558
    DEFINE_STE_LANG(STE_LANG_PHP       )
 
4559
    #define STE_Lang_STE_LANG_PHP        &_STE_Lang_STE_LANG_PHP
 
4560
#else
 
4561
    #define STE_Lang_STE_LANG_PHP        NULL
 
4562
#endif
 
4563
 
 
4564
#if STE_USE_LANG_BAAN
 
4565
    DEFINE_STE_LANG(STE_LANG_BAAN      )
 
4566
    #define STE_Lang_STE_LANG_BAAN       &_STE_Lang_STE_LANG_BAAN
 
4567
#else
 
4568
    #define STE_Lang_STE_LANG_BAAN       NULL
 
4569
#endif
 
4570
#if STE_USE_LANG_MATLAB
 
4571
    DEFINE_STE_LANG(STE_LANG_MATLAB    )
 
4572
    #define STE_Lang_STE_LANG_MATLAB     &_STE_Lang_STE_LANG_MATLAB
 
4573
#else
 
4574
    #define STE_Lang_STE_LANG_MATLAB     NULL
 
4575
#endif
 
4576
#if STE_USE_LANG_SCRIPTOL
 
4577
    DEFINE_STE_LANG(STE_LANG_SCRIPTOL  )
 
4578
    #define STE_Lang_STE_LANG_SCRIPTOL   &_STE_Lang_STE_LANG_SCRIPTOL
 
4579
#else
 
4580
    #define STE_Lang_STE_LANG_SCRIPTOL   NULL
 
4581
#endif
 
4582
#if STE_USE_LANG_ASM
 
4583
    DEFINE_STE_LANG(STE_LANG_ASM       )
 
4584
    #define STE_Lang_STE_LANG_ASM        &_STE_Lang_STE_LANG_ASM
 
4585
#else
 
4586
    #define STE_Lang_STE_LANG_ASM        NULL
 
4587
#endif
 
4588
#if STE_USE_LANG_CPPNOCASE
 
4589
    DEFINE_STE_LANG(STE_LANG_CPPNOCASE )
 
4590
    #define STE_Lang_STE_LANG_CPPNOCASE  &_STE_Lang_STE_LANG_CPPNOCASE
 
4591
#else
 
4592
    #define STE_Lang_STE_LANG_CPPNOCASE  NULL
 
4593
#endif
 
4594
#if STE_USE_LANG_FORTRAN
 
4595
    DEFINE_STE_LANG(STE_LANG_FORTRAN   )
 
4596
    #define STE_Lang_STE_LANG_FORTRAN    &_STE_Lang_STE_LANG_FORTRAN
 
4597
#else
 
4598
    #define STE_Lang_STE_LANG_FORTRAN    NULL
 
4599
#endif
 
4600
#if STE_USE_LANG_F77
 
4601
    DEFINE_STE_LANG(STE_LANG_F77       )
 
4602
    #define STE_Lang_STE_LANG_F77        &_STE_Lang_STE_LANG_F77
 
4603
#else
 
4604
    #define STE_Lang_STE_LANG_F77        NULL
 
4605
#endif
 
4606
#if STE_USE_LANG_CSS
 
4607
    DEFINE_STE_LANG(STE_LANG_CSS       )
 
4608
    #define STE_Lang_STE_LANG_CSS        &_STE_Lang_STE_LANG_CSS
 
4609
#else
 
4610
    #define STE_Lang_STE_LANG_CSS        NULL
 
4611
#endif
 
4612
#if STE_USE_LANG_POV
 
4613
    DEFINE_STE_LANG(STE_LANG_POV       )
 
4614
    #define STE_Lang_STE_LANG_POV        &_STE_Lang_STE_LANG_POV
 
4615
#else
 
4616
    #define STE_Lang_STE_LANG_POV        NULL
 
4617
#endif
 
4618
#if STE_USE_LANG_LOUT
 
4619
    DEFINE_STE_LANG(STE_LANG_LOUT      )
 
4620
    #define STE_Lang_STE_LANG_LOUT       &_STE_Lang_STE_LANG_LOUT
 
4621
#else
 
4622
    #define STE_Lang_STE_LANG_LOUT       NULL
 
4623
#endif
 
4624
#if STE_USE_LANG_ESCRIPT
 
4625
    DEFINE_STE_LANG(STE_LANG_ESCRIPT   )
 
4626
    #define STE_Lang_STE_LANG_ESCRIPT    &_STE_Lang_STE_LANG_ESCRIPT
 
4627
#else
 
4628
    #define STE_Lang_STE_LANG_ESCRIPT    NULL
 
4629
#endif
 
4630
#if STE_USE_LANG_PS
 
4631
    DEFINE_STE_LANG(STE_LANG_PS        )
 
4632
    #define STE_Lang_STE_LANG_PS         &_STE_Lang_STE_LANG_PS
 
4633
#else
 
4634
    #define STE_Lang_STE_LANG_PS         NULL
 
4635
#endif
 
4636
#if STE_USE_LANG_NSIS
 
4637
    DEFINE_STE_LANG(STE_LANG_NSIS      )
 
4638
    #define STE_Lang_STE_LANG_NSIS       &_STE_Lang_STE_LANG_NSIS
 
4639
#else
 
4640
    #define STE_Lang_STE_LANG_NSIS       NULL
 
4641
#endif
 
4642
#if STE_USE_LANG_MMIXAL
 
4643
    DEFINE_STE_LANG(STE_LANG_MMIXAL    )
 
4644
    #define STE_Lang_STE_LANG_MMIXAL     &_STE_Lang_STE_LANG_MMIXAL
 
4645
#else
 
4646
    #define STE_Lang_STE_LANG_MMIXAL     NULL
 
4647
#endif
 
4648
#if STE_USE_LANG_CLW
 
4649
    DEFINE_STE_LANG(STE_LANG_CLW       )
 
4650
    #define STE_Lang_STE_LANG_CLW        &_STE_Lang_STE_LANG_CLW
 
4651
#else
 
4652
    #define STE_Lang_STE_LANG_CLW        NULL
 
4653
#endif
 
4654
#if STE_USE_LANG_CLWNOCASE
 
4655
    DEFINE_STE_LANG(STE_LANG_CLWNOCASE )
 
4656
    #define STE_Lang_STE_LANG_CLWNOCASE  &_STE_Lang_STE_LANG_CLWNOCASE
 
4657
#else
 
4658
    #define STE_Lang_STE_LANG_CLWNOCASE  NULL
 
4659
#endif
 
4660
#if STE_USE_LANG_LOT
 
4661
    DEFINE_STE_LANG(STE_LANG_LOT       )
 
4662
    #define STE_Lang_STE_LANG_LOT        &_STE_Lang_STE_LANG_LOT
 
4663
#else
 
4664
    #define STE_Lang_STE_LANG_LOT        NULL
 
4665
#endif
 
4666
#if STE_USE_LANG_YAML
 
4667
    DEFINE_STE_LANG(STE_LANG_YAML      )
 
4668
    #define STE_Lang_STE_LANG_YAML       &_STE_Lang_STE_LANG_YAML
 
4669
#else
 
4670
    #define STE_Lang_STE_LANG_YAML       NULL
 
4671
#endif
 
4672
#if STE_USE_LANG_TEX
 
4673
    DEFINE_STE_LANG(STE_LANG_TEX       )
 
4674
    #define STE_Lang_STE_LANG_TEX        &_STE_Lang_STE_LANG_TEX
 
4675
#else
 
4676
    #define STE_Lang_STE_LANG_TEX        NULL
 
4677
#endif
 
4678
#if STE_USE_LANG_METAPOST
 
4679
    DEFINE_STE_LANG(STE_LANG_METAPOST  )
 
4680
    #define STE_Lang_STE_LANG_METAPOST   &_STE_Lang_STE_LANG_METAPOST
 
4681
#else
 
4682
    #define STE_Lang_STE_LANG_METAPOST   NULL
 
4683
#endif
 
4684
#if STE_USE_LANG_POWERBASIC
 
4685
    DEFINE_STE_LANG(STE_LANG_POWERBASIC)
 
4686
    #define STE_Lang_STE_LANG_POWERBASIC &_STE_Lang_STE_LANG_POWERBASIC
 
4687
#else
 
4688
    #define STE_Lang_STE_LANG_POWERBASIC NULL
 
4689
#endif
 
4690
#if STE_USE_LANG_FORTH
 
4691
    DEFINE_STE_LANG(STE_LANG_FORTH     )
 
4692
    #define STE_Lang_STE_LANG_FORTH      &_STE_Lang_STE_LANG_FORTH
 
4693
#else
 
4694
    #define STE_Lang_STE_LANG_FORTH      NULL
 
4695
#endif
 
4696
#if STE_USE_LANG_ERLANG
 
4697
    DEFINE_STE_LANG(STE_LANG_ERLANG    )
 
4698
    #define STE_Lang_STE_LANG_ERLANG     &_STE_Lang_STE_LANG_ERLANG
 
4699
#else
 
4700
    #define STE_Lang_STE_LANG_ERLANG     NULL
 
4701
#endif
 
4702
#if STE_USE_LANG_OCTAVE
 
4703
    DEFINE_STE_LANG(STE_LANG_OCTAVE    )
 
4704
    #define STE_Lang_STE_LANG_OCTAVE     &_STE_Lang_STE_LANG_OCTAVE
 
4705
#else
 
4706
    #define STE_Lang_STE_LANG_OCTAVE     NULL
 
4707
#endif
 
4708
#if STE_USE_LANG_MSSQL
 
4709
    DEFINE_STE_LANG(STE_LANG_MSSQL     )
 
4710
    #define STE_Lang_STE_LANG_MSSQL      &_STE_Lang_STE_LANG_MSSQL
 
4711
#else
 
4712
    #define STE_Lang_STE_LANG_MSSQL      NULL
 
4713
#endif
 
4714
#if STE_USE_LANG_VERILOG
 
4715
    DEFINE_STE_LANG(STE_LANG_VERILOG   )
 
4716
    #define STE_Lang_STE_LANG_VERILOG    &_STE_Lang_STE_LANG_VERILOG
 
4717
#else
 
4718
    #define STE_Lang_STE_LANG_VERILOG    NULL
 
4719
#endif
 
4720
#if STE_USE_LANG_KIX
 
4721
    DEFINE_STE_LANG(STE_LANG_KIX       )
 
4722
    #define STE_Lang_STE_LANG_KIX        &_STE_Lang_STE_LANG_KIX
 
4723
#else
 
4724
    #define STE_Lang_STE_LANG_KIX        NULL
 
4725
#endif
 
4726
#if STE_USE_LANG_GUI4CLI
 
4727
    DEFINE_STE_LANG(STE_LANG_GUI4CLI   )
 
4728
    #define STE_Lang_STE_LANG_GUI4CLI    &_STE_Lang_STE_LANG_GUI4CLI
 
4729
#else
 
4730
    #define STE_Lang_STE_LANG_GUI4CLI    NULL
 
4731
#endif
 
4732
#if STE_USE_LANG_SPECMAN
 
4733
    DEFINE_STE_LANG(STE_LANG_SPECMAN   )
 
4734
    #define STE_Lang_STE_LANG_SPECMAN    &_STE_Lang_STE_LANG_SPECMAN
 
4735
#else
 
4736
    #define STE_Lang_STE_LANG_SPECMAN    NULL
 
4737
#endif
 
4738
#if STE_USE_LANG_AU3
 
4739
    DEFINE_STE_LANG(STE_LANG_AU3       )
 
4740
    #define STE_Lang_STE_LANG_AU3        &_STE_Lang_STE_LANG_AU3
 
4741
#else
 
4742
    #define STE_Lang_STE_LANG_AU3        NULL
 
4743
#endif
 
4744
#if STE_USE_LANG_APDL
 
4745
    DEFINE_STE_LANG(STE_LANG_APDL      )
 
4746
    #define STE_Lang_STE_LANG_APDL       &_STE_Lang_STE_LANG_APDL
 
4747
#else
 
4748
    #define STE_Lang_STE_LANG_APDL       NULL
 
4749
#endif
 
4750
#if STE_USE_LANG_BASH
 
4751
    DEFINE_STE_LANG(STE_LANG_BASH      )
 
4752
    #define STE_Lang_STE_LANG_BASH       &_STE_Lang_STE_LANG_BASH
 
4753
#else
 
4754
    #define STE_Lang_STE_LANG_BASH       NULL
 
4755
#endif
 
4756
#if STE_USE_LANG_ASN1
 
4757
    DEFINE_STE_LANG(STE_LANG_ASN1      )
 
4758
    #define STE_Lang_STE_LANG_ASN1       &_STE_Lang_STE_LANG_ASN1
 
4759
#else
 
4760
    #define STE_Lang_STE_LANG_ASN1       NULL
 
4761
#endif
 
4762
#if STE_USE_LANG_VHDL
 
4763
    DEFINE_STE_LANG(STE_LANG_VHDL      )
 
4764
    #define STE_Lang_STE_LANG_VHDL       &_STE_Lang_STE_LANG_VHDL
 
4765
#else
 
4766
    #define STE_Lang_STE_LANG_VHDL       NULL
 
4767
#endif
 
4768
#if STE_USE_LANG_JAVA
 
4769
    DEFINE_STE_LANG(STE_LANG_JAVA      )
 
4770
    #define STE_Lang_STE_LANG_JAVA       &_STE_Lang_STE_LANG_JAVA
 
4771
#else
 
4772
    #define STE_Lang_STE_LANG_JAVA       NULL
 
4773
#endif
 
4774
#if STE_USE_LANG_JAVASCRIPT
 
4775
    DEFINE_STE_LANG(STE_LANG_JAVASCRIPT)
 
4776
    #define STE_Lang_STE_LANG_JAVASCRIPT &_STE_Lang_STE_LANG_JAVASCRIPT
 
4777
#else
 
4778
    #define STE_Lang_STE_LANG_JAVASCRIPT NULL
 
4779
#endif
 
4780
#if STE_USE_LANG_RC
 
4781
    DEFINE_STE_LANG(STE_LANG_RC        )
 
4782
    #define STE_Lang_STE_LANG_RC         &_STE_Lang_STE_LANG_RC
 
4783
#else
 
4784
    #define STE_Lang_STE_LANG_RC         NULL
 
4785
#endif
 
4786
#if STE_USE_LANG_CS
 
4787
    DEFINE_STE_LANG(STE_LANG_CS        )
 
4788
    #define STE_Lang_STE_LANG_CS         &_STE_Lang_STE_LANG_CS
 
4789
#else
 
4790
    #define STE_Lang_STE_LANG_CS         NULL
 
4791
#endif
 
4792
#if STE_USE_LANG_D
 
4793
    DEFINE_STE_LANG(STE_LANG_D        )
 
4794
    #define STE_Lang_STE_LANG_D         &_STE_Lang_STE_LANG_D
 
4795
#else
 
4796
    #define STE_Lang_STE_LANG_D         NULL
 
4797
#endif
 
4798
#if STE_USE_LANG_IDL
 
4799
    DEFINE_STE_LANG(STE_LANG_IDL       )
 
4800
    #define STE_Lang_STE_LANG_IDL        &_STE_Lang_STE_LANG_IDL
 
4801
#else
 
4802
    #define STE_Lang_STE_LANG_IDL        NULL
 
4803
#endif
 
4804
 
 
4805
#if STE_USE_LANG_PLSQL
 
4806
    DEFINE_STE_LANG(STE_LANG_PLSQL     )
 
4807
    #define STE_Lang_STE_LANG_PLSQL      &_STE_Lang_STE_LANG_PLSQL
 
4808
#else
 
4809
    #define STE_Lang_STE_LANG_PLSQL      NULL
 
4810
#endif
 
4811
 
 
4812
#if STE_USE_LANG_SQUIRREL
 
4813
    DEFINE_STE_LANG(STE_LANG_SQUIRREL  )
 
4814
    #define STE_Lang_STE_LANG_SQUIRREL   &_STE_Lang_STE_LANG_SQUIRREL
 
4815
#else
 
4816
    #define STE_Lang_STE_LANG_SQUIRREL   NULL
 
4817
#endif
 
4818
 
 
4819
// CREATE LEXER ARRAY ------------------------
 
4820
STE_Language *s_STE_Languages[STE_LANG__MAX] = {
 
4821
    STE_Lang_STE_LANG_CONTAINER ,
 
4822
    STE_Lang_STE_LANG_NULL      ,
 
4823
    STE_Lang_STE_LANG_PYTHON    ,
 
4824
    STE_Lang_STE_LANG_CPP       ,
 
4825
    STE_Lang_STE_LANG_HTML      ,
 
4826
    STE_Lang_STE_LANG_XML       ,
 
4827
    STE_Lang_STE_LANG_PERL      ,
 
4828
    STE_Lang_STE_LANG_SQL       ,
 
4829
    STE_Lang_STE_LANG_VB        ,
 
4830
    STE_Lang_STE_LANG_PROPERTIES,
 
4831
    STE_Lang_STE_LANG_ERRORLIST ,
 
4832
    STE_Lang_STE_LANG_MAKEFILE  ,
 
4833
    STE_Lang_STE_LANG_BATCH     ,
 
4834
    STE_Lang_STE_LANG_XCODE     ,
 
4835
    STE_Lang_STE_LANG_LATEX     ,
 
4836
    STE_Lang_STE_LANG_LUA       ,
 
4837
    STE_Lang_STE_LANG_DIFF      ,
 
4838
    STE_Lang_STE_LANG_CONF      ,
 
4839
    STE_Lang_STE_LANG_PASCAL    ,
 
4840
    STE_Lang_STE_LANG_AVE       ,
 
4841
    STE_Lang_STE_LANG_ADA       ,
 
4842
    STE_Lang_STE_LANG_LISP      ,
 
4843
    STE_Lang_STE_LANG_RUBY      ,
 
4844
    STE_Lang_STE_LANG_EIFFEL    ,
 
4845
    STE_Lang_STE_LANG_EIFFELKW  ,
 
4846
    STE_Lang_STE_LANG_TCL       ,
 
4847
    STE_Lang_STE_LANG_NNCRONTAB ,
 
4848
    STE_Lang_STE_LANG_BULLANT   ,
 
4849
    STE_Lang_STE_LANG_VBSCRIPT  ,
 
4850
    STE_Lang_STE_LANG_ASP       ,
 
4851
    STE_Lang_STE_LANG_PHP       ,
 
4852
    STE_Lang_STE_LANG_BAAN      ,
 
4853
    STE_Lang_STE_LANG_MATLAB    ,
 
4854
    STE_Lang_STE_LANG_SCRIPTOL  ,
 
4855
    STE_Lang_STE_LANG_ASM       ,
 
4856
    STE_Lang_STE_LANG_CPPNOCASE ,
 
4857
    STE_Lang_STE_LANG_FORTRAN   ,
 
4858
    STE_Lang_STE_LANG_F77       ,
 
4859
    STE_Lang_STE_LANG_CSS       ,
 
4860
    STE_Lang_STE_LANG_POV       ,
 
4861
    STE_Lang_STE_LANG_LOUT      ,
 
4862
    STE_Lang_STE_LANG_ESCRIPT   ,
 
4863
    STE_Lang_STE_LANG_PS        ,
 
4864
    STE_Lang_STE_LANG_NSIS      ,
 
4865
    STE_Lang_STE_LANG_MMIXAL    ,
 
4866
    STE_Lang_STE_LANG_CLW       ,
 
4867
    STE_Lang_STE_LANG_CLWNOCASE ,
 
4868
    STE_Lang_STE_LANG_LOT       ,
 
4869
    STE_Lang_STE_LANG_YAML      ,
 
4870
    STE_Lang_STE_LANG_TEX       ,
 
4871
    STE_Lang_STE_LANG_METAPOST  ,
 
4872
    STE_Lang_STE_LANG_POWERBASIC,
 
4873
    STE_Lang_STE_LANG_FORTH     ,
 
4874
    STE_Lang_STE_LANG_ERLANG    ,
 
4875
    STE_Lang_STE_LANG_OCTAVE    ,
 
4876
    STE_Lang_STE_LANG_MSSQL     ,
 
4877
    STE_Lang_STE_LANG_VERILOG   ,
 
4878
    STE_Lang_STE_LANG_KIX       ,
 
4879
    STE_Lang_STE_LANG_GUI4CLI   ,
 
4880
    STE_Lang_STE_LANG_SPECMAN   ,
 
4881
    STE_Lang_STE_LANG_AU3       ,
 
4882
    STE_Lang_STE_LANG_APDL      ,
 
4883
    STE_Lang_STE_LANG_BASH      ,
 
4884
    STE_Lang_STE_LANG_ASN1      ,
 
4885
    STE_Lang_STE_LANG_VHDL      ,
 
4886
    STE_Lang_STE_LANG_JAVA      ,
 
4887
    STE_Lang_STE_LANG_JAVASCRIPT,
 
4888
    STE_Lang_STE_LANG_RC        ,
 
4889
    STE_Lang_STE_LANG_CS        ,
 
4890
    STE_Lang_STE_LANG_D         ,
 
4891
    STE_Lang_STE_LANG_IDL       ,
 
4892
    STE_Lang_STE_LANG_PLSQL     ,
 
4893
    STE_Lang_STE_LANG_SQUIRREL  ,
 
4894
};
 
4895
 
 
4896
//-----------------------------------------------------------------------------
 
4897
// wxSTEditorLangs_RefData
 
4898
//-----------------------------------------------------------------------------
 
4899
 
 
4900
class wxSTEditorLangs_RefData : public wxSTEditorPrefBase_RefData
 
4901
{
 
4902
public:
 
4903
    wxSTEditorLangs_RefData()
 
4904
    {
 
4905
        size_t n, count = WXSIZEOF(s_STE_Languages);
 
4906
        m_langs.Alloc(count);
 
4907
        for (n = 0; n < count; n++)
 
4908
            m_langs.Add(s_STE_Languages[n]);
 
4909
    }
 
4910
 
 
4911
    wxArrayPtrVoid          m_langs;
 
4912
    wxSTEPairArrayIntString m_userFilePatterns; // user defined file patterns
 
4913
    wxSTEPairArrayIntString m_userStyles;       // user defined styles
 
4914
                                                //   mapped langID*1000+style_n
 
4915
    wxSTEPairArrayIntString m_userKeyWords;     // user defined extra words
 
4916
                                                //   mapped langID*1000+word_n
 
4917
};
 
4918
 
 
4919
//-----------------------------------------------------------------------------
 
4920
// wxSTEditorLangs
 
4921
//-----------------------------------------------------------------------------
 
4922
 
 
4923
IMPLEMENT_DYNAMIC_CLASS(wxSTEditorLangs, wxSTEditorPrefBase)
 
4924
 
 
4925
#define M_LANGDATA ((wxSTEditorLangs_RefData *)m_refData)
 
4926
 
 
4927
wxSTEditorLangs& wxSTEditorLangs::GetGlobalEditorLangs()
 
4928
{
 
4929
    return s_wxSTEditorLangs;
 
4930
}
 
4931
 
 
4932
bool wxSTEditorLangs::Create()
 
4933
{
 
4934
    UnRef();
 
4935
    m_refData = new wxSTEditorLangs_RefData();
 
4936
    return true;
 
4937
}
 
4938
 
 
4939
bool wxSTEditorLangs::Create(const wxSTEditorLangs &other)
 
4940
{
 
4941
    Ref(other);
 
4942
    return true;
 
4943
}
 
4944
 
 
4945
void wxSTEditorLangs::Copy(const wxSTEditorLangs &other)
 
4946
{
 
4947
    wxCHECK_RET(other.IsOk(), wxT("Langs not created"));
 
4948
    if (!IsOk()) Create();
 
4949
    if (*this == other) return;
 
4950
 
 
4951
    wxSTEditorLangs_RefData *otherLangData = (wxSTEditorLangs_RefData *)other.GetRefData();
 
4952
 
 
4953
    M_LANGDATA->m_langs            = otherLangData->m_langs;
 
4954
    M_LANGDATA->m_userFilePatterns = otherLangData->m_userFilePatterns;
 
4955
    M_LANGDATA->m_userStyles       = otherLangData->m_userStyles;
 
4956
    M_LANGDATA->m_userKeyWords     = otherLangData->m_userKeyWords;
 
4957
}
 
4958
 
 
4959
void wxSTEditorLangs::Reset()
 
4960
{
 
4961
    wxCHECK_RET(IsOk(), wxT("Langs not created"));
 
4962
    M_LANGDATA->m_userFilePatterns.Clear();
 
4963
    M_LANGDATA->m_userStyles.Clear();
 
4964
    M_LANGDATA->m_userKeyWords.Clear();
 
4965
}
 
4966
 
 
4967
bool wxSTEditorLangs::IsEqualTo(const wxSTEditorLangs &langs) const
 
4968
{
 
4969
    wxCHECK_MSG(IsOk() && langs.IsOk(), false, wxT("Langs not created"));
 
4970
    wxSTEditorLangs_RefData *otherLangData = (wxSTEditorLangs_RefData *)langs.GetRefData();
 
4971
 
 
4972
    if ((M_LANGDATA->m_langs.GetCount() != otherLangData->m_langs.GetCount()) ||
 
4973
        (M_LANGDATA->m_userFilePatterns != otherLangData->m_userFilePatterns) ||
 
4974
        (M_LANGDATA->m_userStyles       != otherLangData->m_userStyles) ||
 
4975
        (M_LANGDATA->m_userKeyWords     != otherLangData->m_userKeyWords))
 
4976
        return false;
 
4977
 
 
4978
    size_t n, count = M_LANGDATA->m_langs.GetCount();
 
4979
    for (n = 0; n < count; n++)
 
4980
    {
 
4981
        if (M_LANGDATA->m_langs[n] != otherLangData->m_langs[n]) return false;
 
4982
    }
 
4983
 
 
4984
    return true;
 
4985
}
 
4986
 
 
4987
int wxSTEditorLangs::AddLanguage(STE_Language* lang)
 
4988
{
 
4989
    wxCHECK_MSG(IsOk() && lang, -1, wxT("Langs not created"));
 
4990
    M_LANGDATA->m_langs.Add(lang);
 
4991
    return (int)M_LANGDATA->m_langs.GetCount() - 1;
 
4992
}
 
4993
 
 
4994
size_t wxSTEditorLangs::GetCount() const
 
4995
{
 
4996
    wxCHECK_MSG(IsOk(), 0, wxT("Langs not created"));
 
4997
    return M_LANGDATA->m_langs.GetCount();
 
4998
}
 
4999
 
 
5000
int wxSTEditorLangs::FindLanguageByFilename(const wxFileName& fileName_) const
 
5001
{
 
5002
    int fallback = STE_LANG_NULL;
 
5003
 
 
5004
    wxCHECK_MSG(IsOk(), fallback, wxT("Langs not created"));
 
5005
 
 
5006
    wxString fileName = fileName_.GetFullPath();
 
5007
    if (fileName.Find(wxFILE_SEP_PATH) != wxNOT_FOUND)
 
5008
        fileName = fileName.AfterLast(wxFILE_SEP_PATH);
 
5009
 
 
5010
    wxFileName wxFN(fileName);
 
5011
    wxString name = wxFN.GetName().Lower();
 
5012
    wxString ext  = wxFN.GetExt().Lower();
 
5013
 
 
5014
    // determine language from filepatterns
 
5015
    size_t lang_n, lang_count = GetCount();
 
5016
    for (lang_n = 0; lang_n < lang_count; lang_n++)
 
5017
    {
 
5018
        if (!HasLanguage(lang_n) || !GetUseLanguage(lang_n)) continue;
 
5019
 
 
5020
        wxString filePattern = GetFilePattern(lang_n).Lower();
 
5021
        for (wxStringTokenizer tokenizer(filePattern, wxT(";"));
 
5022
             tokenizer.HasMoreTokens();
 
5023
             )
 
5024
        {
 
5025
            wxString wildToken = tokenizer.GetNextToken();
 
5026
            wxFileName wildFileName(wildToken);
 
5027
            wxString wildName = wildFileName.GetName();
 
5028
            wxString wildExt  = wildFileName.GetExt();
 
5029
 
 
5030
            if ((wildToken == wxT("*")) || (wildToken == wxT("*.*")))
 
5031
            {
 
5032
                fallback = (int)lang_n; // try for better match
 
5033
            }
 
5034
            else if ( ((wildExt  == wxT("*")) || (wildExt  == ext )) &&
 
5035
                      ((wildName == wxT("*")) || (wildName == name)) )
 
5036
            {
 
5037
                return (int)lang_n;
 
5038
            }
 
5039
        }
 
5040
    }
 
5041
 
 
5042
    return fallback;
 
5043
}
 
5044
 
 
5045
STE_Language* wxSTEditorLangs::GetLanguage(size_t lang_n) const
 
5046
{
 
5047
    wxCHECK_MSG(IsOk(), NULL, wxT("Langs not created"));
 
5048
    wxCHECK_MSG(lang_n<GetCount(), NULL, wxT("Invalid language index"));
 
5049
    return ((STE_Language *)(M_LANGDATA->m_langs.Item(lang_n)));
 
5050
}
 
5051
 
 
5052
wxString wxSTEditorLangs::GetName(size_t lang_n) const
 
5053
{
 
5054
    return GetLanguage(lang_n) ? stc2wx(GetLanguage(lang_n)->name) : wxString();
 
5055
}
 
5056
wxString wxSTEditorLangs::GetFilePattern(size_t lang_n, bool get_default) const
 
5057
{
 
5058
    if (!get_default)
 
5059
    {
 
5060
        wxString userFilePatterns = GetUserFilePattern(lang_n);
 
5061
        if (userFilePatterns.Length()) return userFilePatterns;
 
5062
    }
 
5063
 
 
5064
    return GetLanguage(lang_n) ? stc2wx(GetLanguage(lang_n)->filePattern) : wxString();
 
5065
}
 
5066
wxString wxSTEditorLangs::GetUserFilePattern(size_t lang_n) const
 
5067
{
 
5068
    if (M_LANGDATA->m_userFilePatterns.HasKey(lang_n))
 
5069
        return M_LANGDATA->m_userFilePatterns.GetValue(lang_n);
 
5070
 
 
5071
    return wxEmptyString;
 
5072
}
 
5073
 
 
5074
wxString wxSTEditorLangs::GetFileFilter(size_t lang_n) const
 
5075
{
 
5076
    wxString filePattern(GetFilePattern(lang_n));
 
5077
    if (filePattern.IsEmpty())
 
5078
        return wxEmptyString;
 
5079
 
 
5080
    return GetName(lang_n) + wxT(" (") + filePattern + wxT(")|") + filePattern;
 
5081
}
 
5082
int wxSTEditorLangs::GetLexer(size_t lang_n) const
 
5083
{
 
5084
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->lexer : 0;
 
5085
}
 
5086
 
 
5087
size_t wxSTEditorLangs::GetStyleCount(size_t lang_n) const
 
5088
{
 
5089
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->styles_count : 0;
 
5090
}
 
5091
int wxSTEditorLangs::GetSciStyle(size_t lang_n, size_t style_n) const
 
5092
{
 
5093
    wxCHECK_MSG(style_n<GetStyleCount(lang_n), 0, wxT("Invalid language style type"));
 
5094
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->styles[style_n].sci_style : 0;
 
5095
}
 
5096
int wxSTEditorLangs::GetSTEStyle(size_t lang_n, size_t style_n, bool get_default) const
 
5097
{
 
5098
    wxCHECK_MSG(style_n<GetStyleCount(lang_n), 0, wxT("Invalid language style type"));
 
5099
 
 
5100
    if (!get_default)
 
5101
    {
 
5102
        int user_style = GetUserSTEStyle(lang_n, style_n);
 
5103
        if (user_style != -1) return user_style;
 
5104
    }
 
5105
 
 
5106
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->styles[style_n].ste_style : 0;
 
5107
}
 
5108
int wxSTEditorLangs::GetUserSTEStyle(size_t lang_n, size_t style_n) const
 
5109
{
 
5110
    wxCHECK_MSG(style_n<GetStyleCount(lang_n), -1, wxT("Invalid language style type"));
 
5111
    if (M_LANGDATA->m_userStyles.HasKey(lang_n*1000+style_n))
 
5112
    {
 
5113
        long val = -1;
 
5114
        if (M_LANGDATA->m_userStyles.GetValue(lang_n*1000+style_n).ToLong(&val))
 
5115
            return int(val);
 
5116
    }
 
5117
 
 
5118
    return -1;
 
5119
}
 
5120
int wxSTEditorLangs::SciToSTEStyle(size_t lang_n, int sci_style) const
 
5121
{
 
5122
    // these are the same for all languages
 
5123
    switch (sci_style)
 
5124
    {
 
5125
        case wxSTC_STYLE_DEFAULT     : return STE_STYLE_DEFAULT;
 
5126
        case wxSTC_STYLE_LINENUMBER  : return STE_STYLE_LINENUMBER;
 
5127
        case wxSTC_STYLE_BRACELIGHT  : return STE_STYLE_BRACELIGHT;
 
5128
        case wxSTC_STYLE_BRACEBAD    : return STE_STYLE_BRACEBAD;
 
5129
        case wxSTC_STYLE_CONTROLCHAR : return STE_STYLE_CONTROLCHAR;
 
5130
        case wxSTC_STYLE_INDENTGUIDE : return STE_STYLE_INDENTGUIDE;
 
5131
        default : break;
 
5132
    }
 
5133
 
 
5134
    if (!GetLanguage(lang_n)) return -1;
 
5135
    size_t style_n, style_count = GetStyleCount(lang_n);
 
5136
    for (style_n = 0; style_n < style_count; style_n++)
 
5137
    {
 
5138
        if (GetSciStyle(lang_n, style_n) == sci_style)
 
5139
            return GetSTEStyle(lang_n, style_n);
 
5140
    }
 
5141
 
 
5142
    return -1;
 
5143
}
 
5144
 
 
5145
wxString wxSTEditorLangs::GetStyleDescription(size_t lang_n, size_t style_n) const
 
5146
{
 
5147
    wxCHECK_MSG(style_n<GetStyleCount(lang_n), wxEmptyString, wxT("Invalid language style type"));
 
5148
    return GetLanguage(lang_n) ? stc2wx(GetLanguage(lang_n)->styles[style_n].description) : wxString();
 
5149
}
 
5150
 
 
5151
size_t wxSTEditorLangs::GetKeyWordsCount(size_t lang_n) const
 
5152
{
 
5153
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->words_count : 0;
 
5154
}
 
5155
wxString wxSTEditorLangs::GetKeyWords(size_t lang_n, size_t word_n, bool get_default) const
 
5156
{
 
5157
    wxCHECK_MSG(word_n<GetKeyWordsCount(lang_n), wxEmptyString, wxT("Invalid language keyword"));
 
5158
    wxString words;
 
5159
    if (GetLanguage(lang_n)) words = stc2wx(GetLanguage(lang_n)->words[word_n].words);
 
5160
 
 
5161
    if (!get_default)
 
5162
    {
 
5163
        wxString userWords = GetUserKeyWords(lang_n, word_n);
 
5164
        if (words.Length() && userWords.Length())
 
5165
            words += wxT(" ");
 
5166
 
 
5167
        words += userWords;
 
5168
    }
 
5169
 
 
5170
    return words;
 
5171
}
 
5172
wxString wxSTEditorLangs::GetUserKeyWords(size_t lang_n, size_t word_n) const
 
5173
{
 
5174
    wxCHECK_MSG(word_n<GetKeyWordsCount(lang_n), wxEmptyString, wxT("Invalid language keyword"));
 
5175
    if (M_LANGDATA->m_userKeyWords.HasKey(lang_n*1000+word_n))
 
5176
        return M_LANGDATA->m_userKeyWords.GetValue(lang_n*1000+word_n);
 
5177
 
 
5178
    return wxEmptyString;
 
5179
}
 
5180
 
 
5181
bool wxSTEditorLangs::HasBlock(size_t lang_n) const
 
5182
{
 
5183
    return GetLanguage(lang_n) && GetLanguage(lang_n)->block;
 
5184
}
 
5185
wxString wxSTEditorLangs::GetBlockStart(size_t lang_n) const
 
5186
{
 
5187
    return HasBlock(lang_n) ? stc2wx(GetLanguage(lang_n)->block->start) : wxString();
 
5188
}
 
5189
wxString wxSTEditorLangs::GetBlockEnd(size_t lang_n) const
 
5190
{
 
5191
    return HasBlock(lang_n) ? stc2wx(GetLanguage(lang_n)->block->end) : wxString();
 
5192
}
 
5193
int wxSTEditorLangs::GetBlockStartSTCStyle(size_t lang_n) const
 
5194
{
 
5195
    return HasBlock(lang_n) ? GetLanguage(lang_n)->block->sci_start_style : 0;
 
5196
}
 
5197
int wxSTEditorLangs::GetBlockEndSTCStyle(size_t lang_n) const
 
5198
{
 
5199
    return HasBlock(lang_n) ? GetLanguage(lang_n)->block->sci_end_style : 0;
 
5200
}
 
5201
 
 
5202
bool wxSTEditorLangs::HasPreprocessor(size_t lang_n) const
 
5203
{
 
5204
    return GetLanguage(lang_n) && GetLanguage(lang_n)->preproc;
 
5205
}
 
5206
wxString wxSTEditorLangs::GetPreprocessorSymbol(size_t lang_n) const
 
5207
{
 
5208
    return HasPreprocessor(lang_n) ? stc2wx(GetLanguage(lang_n)->preproc->symbol) : wxString();
 
5209
}
 
5210
wxString wxSTEditorLangs::GetPreprocessorStart(size_t lang_n) const
 
5211
{
 
5212
    return HasPreprocessor(lang_n) ? stc2wx(GetLanguage(lang_n)->preproc->boxStart) : wxString();
 
5213
}
 
5214
wxString wxSTEditorLangs::GetPreprocessorMid(size_t lang_n) const
 
5215
{
 
5216
    return HasPreprocessor(lang_n) ? stc2wx(GetLanguage(lang_n)->preproc->boxMiddle) : wxString();
 
5217
}
 
5218
wxString wxSTEditorLangs::GetPreprocessorEnd(size_t lang_n) const
 
5219
{
 
5220
    return HasPreprocessor(lang_n) ? stc2wx(GetLanguage(lang_n)->preproc->boxEnd) : wxString();
 
5221
}
 
5222
 
 
5223
bool wxSTEditorLangs::HasComments(size_t lang_n) const
 
5224
{
 
5225
    return GetLanguage(lang_n) && GetLanguage(lang_n)->comment;
 
5226
}
 
5227
int wxSTEditorLangs::GetCommentBlockAtLineStart(size_t lang_n) const
 
5228
{
 
5229
    return HasComments(lang_n) ? GetLanguage(lang_n)->comment->blockAtLineStart : 0;
 
5230
}
 
5231
wxString wxSTEditorLangs::GetCommentBlock(size_t lang_n) const
 
5232
{
 
5233
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->block) : wxString();
 
5234
}
 
5235
wxString wxSTEditorLangs::GetCommentBoxStart(size_t lang_n) const
 
5236
{
 
5237
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->boxStart) : wxString();
 
5238
}
 
5239
wxString wxSTEditorLangs::GetCommentBoxMiddle(size_t lang_n) const
 
5240
{
 
5241
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->boxMiddle) : wxString();
 
5242
}
 
5243
wxString wxSTEditorLangs::GetCommentBoxEnd(size_t lang_n) const
 
5244
{
 
5245
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->boxEnd) : wxString();
 
5246
}
 
5247
wxString wxSTEditorLangs::GetCommentStreamStart(size_t lang_n) const
 
5248
{
 
5249
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->streamStart) : wxString();
 
5250
}
 
5251
wxString wxSTEditorLangs::GetCommentStreamEnd(size_t lang_n) const
 
5252
{
 
5253
    return HasComments(lang_n) ? stc2wx(GetLanguage(lang_n)->comment->streamEnd) : wxString();
 
5254
}
 
5255
 
 
5256
int wxSTEditorLangs::GetBracesStyle(size_t lang_n) const
 
5257
{
 
5258
    wxCHECK_MSG(HasLanguage(lang_n), 0, wxT("Invalid language"));
 
5259
    return GetLanguage(lang_n)->braces_style;
 
5260
}
 
5261
 
 
5262
int wxSTEditorLangs::GetFolds(size_t lang_n) const
 
5263
{
 
5264
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->folds : 0;
 
5265
}
 
5266
 
 
5267
int wxSTEditorLangs::GetFlags(size_t lang_n) const
 
5268
{
 
5269
    return GetLanguage(lang_n) ? GetLanguage(lang_n)->flags : 0;
 
5270
}
 
5271
 
 
5272
void wxSTEditorLangs::SetUserFilePattern(size_t lang_n, const wxString &filePattern)
 
5273
{
 
5274
    wxCHECK_RET(GetLanguage(lang_n), wxT("Langs not created"));
 
5275
    wxCHECK_RET(lang_n<GetCount(), wxT("Invalid language info item"));
 
5276
 
 
5277
    bool is_default = (filePattern == GetFilePattern(lang_n, true));
 
5278
 
 
5279
    if (M_LANGDATA->m_userFilePatterns.HasKey(lang_n))
 
5280
    {
 
5281
        if ( is_default )
 
5282
            M_LANGDATA->m_userFilePatterns.Remove(lang_n);
 
5283
        else
 
5284
            M_LANGDATA->m_userFilePatterns.Add(lang_n, filePattern);
 
5285
    }
 
5286
    else if (!is_default)
 
5287
    {
 
5288
        M_LANGDATA->m_userFilePatterns.Add(lang_n, filePattern);
 
5289
    }
 
5290
}
 
5291
 
 
5292
void wxSTEditorLangs::SetSTEStyle(size_t lang_n, size_t style_n, int ste_style)
 
5293
{
 
5294
    wxCHECK_RET(GetLanguage(lang_n), wxT("Langs not created"));
 
5295
    wxCHECK_RET(style_n<GetStyleCount(lang_n), wxT("Invalid language style type"));
 
5296
    GetLanguage(lang_n)->styles[style_n].ste_style = ste_style;
 
5297
}
 
5298
 
 
5299
void wxSTEditorLangs::SetUserSTEStyle(size_t lang_n, size_t style_n, int ste_style)
 
5300
{
 
5301
    wxCHECK_RET(GetLanguage(lang_n), wxT("Langs not created"));
 
5302
    wxCHECK_RET(style_n<GetStyleCount(lang_n), wxT("Invalid language style type"));
 
5303
 
 
5304
    bool is_default = (ste_style == GetSTEStyle(lang_n, style_n, true));
 
5305
 
 
5306
    wxString strStyle = wxString::Format(wxT("%d"), (int)ste_style);
 
5307
 
 
5308
    if (M_LANGDATA->m_userStyles.HasKey(lang_n*1000+style_n))
 
5309
    {
 
5310
        if ( is_default )
 
5311
            M_LANGDATA->m_userStyles.Remove(lang_n*1000+style_n);
 
5312
        else
 
5313
            M_LANGDATA->m_userStyles.Add(lang_n*1000+style_n, strStyle);
 
5314
    }
 
5315
    else if (!is_default)
 
5316
    {
 
5317
        M_LANGDATA->m_userStyles.Add(lang_n*1000+style_n, strStyle);
 
5318
    }
 
5319
}
 
5320
 
 
5321
void wxSTEditorLangs::SetUserKeyWords(size_t lang_n, size_t word_n, const wxString& words)
 
5322
{
 
5323
    wxCHECK_RET(GetLanguage(lang_n), wxT("Langs not created"));
 
5324
    wxCHECK_RET(lang_n<GetCount(), wxT("Invalid language info item"));
 
5325
    wxCHECK_RET(word_n<GetKeyWordsCount(lang_n), wxT("Invalid language keyword"));
 
5326
 
 
5327
    bool is_default = (words == GetKeyWords(lang_n, word_n, true));
 
5328
 
 
5329
    if (M_LANGDATA->m_userKeyWords.HasKey(lang_n*1000+word_n))
 
5330
    {
 
5331
        if ( is_default || words.IsEmpty() )
 
5332
            M_LANGDATA->m_userKeyWords.Remove(lang_n*1000+word_n);
 
5333
        else
 
5334
            M_LANGDATA->m_userKeyWords.Add(lang_n*1000+word_n, words);
 
5335
    }
 
5336
    else if (!is_default && words.Length())
 
5337
    {
 
5338
        M_LANGDATA->m_userKeyWords.Add(lang_n*1000+word_n, words);
 
5339
    }
 
5340
}
 
5341
 
 
5342
void wxSTEditorLangs::LoadConfig( wxConfigBase &config,
 
5343
                                  const wxString &configPath )
 
5344
{
 
5345
    wxCHECK_RET(IsOk(), wxT("Langs not created"));
 
5346
    wxString group = wxSTEditorOptions::FixConfigPath(configPath, false);
 
5347
    wxString key   = wxSTEditorOptions::FixConfigPath(configPath, true);
 
5348
 
 
5349
    if (!config.Exists(group))
 
5350
        return;
 
5351
 
 
5352
    for (size_t lang_n = 0; lang_n < GetCount(); lang_n++)
 
5353
    {
 
5354
        if (!HasLanguage(lang_n)) continue;
 
5355
 
 
5356
        wxString keyBase = key + GetName(lang_n);
 
5357
        wxString keyName;
 
5358
        wxString value;
 
5359
 
 
5360
        // Read in the file patterns
 
5361
        keyName = keyBase + wxT("/FilePattern");
 
5362
        if (config.Read(keyName, &value))
 
5363
            SetUserFilePattern(lang_n, value);
 
5364
 
 
5365
        // Read in the styles
 
5366
        for (size_t style_n = 0; style_n < GetStyleCount(lang_n); style_n++)
 
5367
        {
 
5368
            keyName = keyBase + wxString::Format(wxT("/Style_%d"), (int)style_n);
 
5369
            long l_value = 0;
 
5370
            if (config.Read(keyName, &l_value))
 
5371
                SetUserSTEStyle(lang_n, style_n, l_value);
 
5372
        }
 
5373
 
 
5374
        // Read in the keywords
 
5375
        for (size_t word_n = 0; word_n < GetKeyWordsCount(lang_n); word_n++)
 
5376
        {
 
5377
            keyName = keyBase + wxString::Format(wxT("/Keyword_%d"), (int)word_n);
 
5378
            if (config.Read(keyName, &value))
 
5379
                SetUserKeyWords(lang_n, word_n, value);
 
5380
        }
 
5381
    }
 
5382
}
 
5383
 
 
5384
void wxSTEditorLangs::SaveConfig( wxConfigBase &config,
 
5385
                                  const wxString &configPath,
 
5386
                                  int WXUNUSED(flags) ) const
 
5387
{
 
5388
    wxCHECK_RET(IsOk(), wxT("Langs not created"));
 
5389
    wxString key = wxSTEditorOptions::FixConfigPath(configPath, true);
 
5390
 
 
5391
    for (size_t lang_n = 0; lang_n < GetCount(); lang_n++)
 
5392
    {
 
5393
        if (!HasLanguage(lang_n)) continue;
 
5394
 
 
5395
        wxString keyBase = key + GetName(lang_n);
 
5396
        wxString keyName;
 
5397
        wxString value;
 
5398
 
 
5399
        // Write out the file patterns if not default
 
5400
        keyName = keyBase + wxT("/FilePattern");
 
5401
        value   = GetUserFilePattern(lang_n);
 
5402
        if (!value.IsEmpty())
 
5403
            config.Write(keyName, value);
 
5404
        else if (config.HasEntry(keyName))
 
5405
            config.DeleteEntry(keyName);
 
5406
 
 
5407
        // Write out the styles if not default
 
5408
        for (size_t style_n = 0; style_n < GetStyleCount(lang_n); style_n++)
 
5409
        {
 
5410
            keyName        = keyBase + wxString::Format(wxT("/Style_%d"), (int)style_n);
 
5411
            int user_style = GetUserSTEStyle(lang_n, style_n);
 
5412
            value          = wxString::Format(wxT("%d"), user_style);
 
5413
 
 
5414
            if (user_style >= 0)
 
5415
                config.Write(keyName, value);
 
5416
            else if (config.HasEntry(keyName))
 
5417
                config.DeleteEntry(keyName);
 
5418
        }
 
5419
 
 
5420
        // Write out the keywords if not default
 
5421
        for (size_t word_n = 0; word_n < GetKeyWordsCount(lang_n); word_n++)
 
5422
        {
 
5423
            value   = GetUserKeyWords(lang_n, word_n);
 
5424
            keyName = keyBase + wxString::Format(wxT("/Keyword_%d"), (int)word_n);
 
5425
 
 
5426
            if (value.Length())
 
5427
                config.Write(keyName, value);
 
5428
            else if (config.HasEntry(keyName))
 
5429
                config.DeleteEntry(keyName);
 
5430
        }
 
5431
    }
 
5432
}
 
5433
 
 
5434
void wxSTEditorLangs::UpdateEditor( wxSTEditor *editor )
 
5435
{
 
5436
    wxCHECK_RET(IsOk(), wxT("Langs not created"));
 
5437
    wxCHECK_RET(editor, wxT("Invalid wxSTEditor"));
 
5438
 
 
5439
    int lang_n = editor->GetLanguageId();
 
5440
    wxCHECK_RET(HasLanguage(lang_n), wxT("Invalid language id"));
 
5441
 
 
5442
    editor->SetLexer(GetLexer(lang_n));
 
5443
 
 
5444
    // initialize settings
 
5445
    wxSTEditorPrefs stePrefs = editor->GetEditorPrefs();
 
5446
    bool syntax_enable = stePrefs.IsOk() ? stePrefs.GetPrefBool(STE_PREF_HIGHLIGHT_SYNTAX) : true;
 
5447
    wxSTEditorStyles steStyles = editor->GetEditorStyles();
 
5448
    if (!steStyles.IsOk())
 
5449
        return;
 
5450
 
 
5451
    size_t style_n, style_count = GetStyleCount(lang_n);
 
5452
 
 
5453
    // Match the style bits of the editor with that of the lexer
 
5454
    // typically only 5 bits are needed, but HTML requires all 7
 
5455
    // resets it to use as few bits as possible.
 
5456
    int current_style_bits = editor->GetStyleBits();
 
5457
    int style_bits = style_count <= 32 ? 5 : (style_count <= 64 ? 6 : 7);
 
5458
    if (style_bits != current_style_bits)
 
5459
        editor->SetStyleBits(style_bits);
 
5460
 
 
5461
    for (style_n = 0; style_n < style_count; style_n++)
 
5462
    {
 
5463
        int sci_style = GetSciStyle(lang_n, style_n);
 
5464
        int ste_style = GetSTEStyle(lang_n, style_n);
 
5465
        if ((sci_style == -1) || (ste_style == -1))
 
5466
            continue;
 
5467
        if (!syntax_enable)
 
5468
            ste_style = STE_STYLE_DEFAULT;
 
5469
 
 
5470
        steStyles.SetEditorStyle(sci_style, ste_style, editor);
 
5471
    }
 
5472
 
 
5473
    size_t word_n, keyword_count = GetKeyWordsCount(lang_n);
 
5474
    for (word_n = 0; word_n < keyword_count; word_n++)
 
5475
        editor->SetKeyWords((int)word_n, GetKeyWords(lang_n, word_n));
 
5476
 
 
5477
    editor->ColouriseDocument(); // FIXME this can take awhile! but otherwise it gets garbled
 
5478
}
 
5479
 
 
5480
// global precreated wxSTEditorLangs
 
5481
wxSTEditorLangs  s_wxSTEditorLangs(true);
 
5482
 
 
5483
#include <wx/fileconf.h>
 
5484
// FIXME - test code to see how it would look in a wxFileConfig
 
5485
void LangConfig()
 
5486
{
 
5487
    wxFileConfig c(wxT("wxStEditLangs"), wxT("wxWidgets"),
 
5488
                   wxT("stelangsfconfig.txt"), wxEmptyString,
 
5489
                   wxCONFIG_USE_RELATIVE_PATH);
 
5490
 
 
5491
    wxFileConfig *config = &c;
 
5492
 
 
5493
    wxString configRoot = wxT("wxSTEditor");
 
5494
    wxString configGroup = wxT("/Languages");
 
5495
    wxString key = configRoot + configGroup + wxT("/");
 
5496
 
 
5497
    size_t n, i;
 
5498
 
 
5499
    wxSTEditorLangs langs(s_wxSTEditorLangs);
 
5500
    for (n = 0; n < langs.GetCount(); n++)
 
5501
    {
 
5502
        // wxString::Format(wxT("%d "), n) +
 
5503
        wxString keyName = key + langs.GetName(n) + wxT("/");
 
5504
 
 
5505
        config->Write(keyName + wxT("File_Patterns"), langs.GetFilePattern(n));
 
5506
        config->Write(keyName + wxT("File_Filters"),  langs.GetFileFilter(n));
 
5507
        config->Write(keyName + wxT("Lexer"),         langs.GetLexer(n));
 
5508
 
 
5509
        //config->Write(keyName + wxT("Style_Count"),  langs.GetStyleCount(n));
 
5510
        //for (i = 0; i < langs.GetStyleCount(n); i++)
 
5511
        //    config->Write(keyName + wxString::Format(wxT("S%d"), i), langs.GetSTEStyle(n, i));
 
5512
 
 
5513
        //config->Write(keyName + wxT("Keyword_Count"),  langs.GetKeyWordsCount(n));
 
5514
        for (i = 0; i < langs.GetKeyWordsCount(n); i++)
 
5515
            config->Write(keyName + wxString::Format(wxT("Keyword%d"), (int)i), langs.GetKeyWords(n, i));
 
5516
 
 
5517
        if (langs.GetBlockStart(n).Length())
 
5518
            config->Write(keyName + wxT("BlockStart"),         langs.GetBlockStart(n));
 
5519
        if (langs.GetBlockEnd(n).Length())
 
5520
            config->Write(keyName + wxT("BlockEnd"),           langs.GetBlockEnd(n));
 
5521
 
 
5522
        if (langs.GetPreprocessorSymbol(n).Length())
 
5523
            config->Write(keyName + wxT("PreprocessorSymbol"), langs.GetPreprocessorSymbol(n));
 
5524
        if (langs.GetPreprocessorStart(n).Length())
 
5525
            config->Write(keyName + wxT("PreprocessorStart"),  langs.GetPreprocessorStart(n));
 
5526
        if (langs.GetPreprocessorMid(n).Length())
 
5527
            config->Write(keyName + wxT("PreprocessorMid"),    langs.GetPreprocessorMid(n));
 
5528
        if (langs.GetPreprocessorEnd(n).Length())
 
5529
            config->Write(keyName + wxT("PreprocessorEnd"),    langs.GetPreprocessorEnd(n));
 
5530
 
 
5531
        if (langs.HasComments(n))
 
5532
        {
 
5533
            config->Write(keyName + wxT("CommentBlockAtLineStart"),    langs.GetCommentBlockAtLineStart(n));
 
5534
            if (langs.GetCommentBlock(n).Length())
 
5535
                config->Write(keyName + wxT("CommentBlock"),    langs.GetCommentBlock(n));
 
5536
            if (langs.GetCommentBoxStart(n).Length())
 
5537
                config->Write(keyName + wxT("CommentBoxStart"),    langs.GetCommentBoxStart(n));
 
5538
            if (langs.GetCommentBoxMiddle(n).Length())
 
5539
                config->Write(keyName + wxT("CommentBoxMiddle"),    langs.GetCommentBoxMiddle(n));
 
5540
            if (langs.GetCommentBoxEnd(n).Length())
 
5541
                config->Write(keyName + wxT("CommentBoxEnd"),    langs.GetCommentBoxEnd(n));
 
5542
            if (langs.GetCommentStreamStart(n).Length())
 
5543
                config->Write(keyName + wxT("CommentStreamStart"),    langs.GetCommentStreamStart(n));
 
5544
            if (langs.GetCommentStreamEnd(n).Length())
 
5545
                config->Write(keyName + wxT("CommentStreamEnd"),    langs.GetCommentStreamEnd(n));
 
5546
        }
 
5547
 
 
5548
        config->Write(keyName + wxT("Folds"),              langs.GetFolds(n));
 
5549
        config->Write(keyName + wxT("Flags"),              langs.GetFlags(n));
 
5550
    }
 
5551
 
 
5552
    config->Flush();
 
5553
}