]> git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/include/Scintilla.iface
Search for font instead of creating it each time
[wxWidgets.git] / src / stc / scintilla / include / Scintilla.iface
1 ## First line may be used for shbang
2
3 ## This file defines the interface to Scintilla
4
5 ## Copyright 2000-2003 by Neil Hodgson <neilh@scintilla.org>
6 ## The License.txt file describes the conditions under which this software may be distributed.
7
8 ## A line starting with ## is a pure comment and should be stripped by readers.
9 ## A line starting with #! is for future shbang use
10 ## A line starting with # followed by a space is a documentation comment and refers
11 ## to the next feature definition.
12
13 ## Each feature is defined by a line starting with fun, get, set, val or evt.
14 ## cat -> start a category
15 ## fun -> a function
16 ## get -> a property get function
17 ## set -> a property set function
18 ## val -> definition of a constant
19 ## evt -> an event
20 ## enu -> associate an enumeration with a set of vals with a prefix
21 ## lex -> associate a lexer with the lexical classes it produces
22 ##
23 ## All other feature names should be ignored. They may be defined in the future.
24 ## A property may have a set function, a get function or both. Each will have
25 ## "Get" or "Set" in their names and the corresponding name will have the obvious switch.
26 ## A property may be subscripted, in which case the first parameter is the subscript.
27 ## fun, get, and set features have a strict syntax:
28 ## <featureType><ws><returnType><ws><name>[=<number](<param>,<param>)
29 ## where <ws> stands for white space.
30 ## param may be empty (null value) or is <paramType><ws><paramName>[=<value>]
31 ## Additional white space is allowed between elements.
32 ## The syntax for evt is <featureType><ws><returnType><ws><name>[=<number]([<param>[,<param>]*])
33 ## Feature names that contain an underscore are defined by Windows, so in these
34 ## cases, using the Windows definition is preferred where available.
35 ## The feature numbers are stable so features will not be renumbered.
36 ## Features may be removed but they will go through a period of deprecation
37 ## before removal which is signalled by moving them into the Deprecated category.
38 ##
39 ## enu has the syntax enu<ws><enumeration>=<prefix>[<ws><prefix>]* where all the val
40 ## features in this file starting with a given <prefix> are considered part of the
41 ## enumeration.
42 ##
43 ## lex has the syntax lex<ws><name>=<lexerVal><ws><prefix>[<ws><prefix>]*
44 ## where name is a reasonably capitalised (Python, XML) identifier or UI name,
45 ## lexerVal is the val used to specify the lexer, and the list of prefixes is similar
46 ## to enu. The name may not be the same as that used within the lexer so the lexerVal
47 ## should be used to tie these entities together.
48
49 ## Types:
50 ## void
51 ## int
52 ## bool -> integer, 1=true, 0=false
53 ## position -> integer position in a document
54 ## colour -> colour integer containing red, green and blue bytes.
55 ## string -> pointer to const character
56 ## stringresult -> pointer to character, NULL-> return size of result
57 ## cells -> pointer to array of cells, each cell containing a style byte and character byte
58 ## textrange -> range of a min and a max position with an output string
59 ## findtext -> searchrange, text -> foundposition
60 ## keymod -> integer containing key in low half and modifiers in high half
61 ## formatrange
62 ## Types no longer used:
63 ## findtextex -> searchrange
64 ## charrange -> range of a min and a max position
65 ## charrangeresult -> like charrange, but output param
66 ## countedstring
67 ## point -> x,y
68 ## pointresult -> like point, but output param
69 ## rectangle -> left,top,right,bottom
70 ## Client code should ignore definitions containing types it does not understand, except
71 ## for possibly #defining the constants
72
73 ## Line numbers and positions start at 0.
74 ## String arguments may contain NUL ('\0') characters where the calls provide a length
75 ## argument and retrieve NUL characters. All retrieved strings except for those retrieved
76 ## by GetLine also have a NUL appended but client code should calculate the size that
77 ## will be returned rather than relying upon the NUL whenever possible. Allow for the
78 ## extra NUL character when allocating buffers. The size to allocate for a stringresult
79 ## can be determined by calling with a NULL (0) pointer.
80
81 cat Basics
82
83 ################################################
84 ## For Scintilla.h
85 val INVALID_POSITION=-1
86 # Define start of Scintilla messages to be greater than all Windows edit (EM_*) messages
87 # as many EM_ messages can be used although that use is deprecated.
88 val SCI_START=2000
89 val SCI_OPTIONAL_START=3000
90 val SCI_LEXER_START=4000
91
92 # Add text to the document at current position.
93 fun void AddText=2001(int length, string text)
94
95 # Add array of cells to document.
96 fun void AddStyledText=2002(int length, cells c)
97
98 # Insert string at a position.
99 fun void InsertText=2003(position pos, string text)
100
101 # Delete all text in the document.
102 fun void ClearAll=2004(,)
103
104 # Delete a range of text in the document.
105 fun void DeleteRange=2645(position pos, int deleteLength)
106
107 # Set all style bytes to 0, remove all folding information.
108 fun void ClearDocumentStyle=2005(,)
109
110 # Returns the number of bytes in the document.
111 get int GetLength=2006(,)
112
113 # Returns the character byte at the position.
114 get int GetCharAt=2007(position pos,)
115
116 # Returns the position of the caret.
117 get position GetCurrentPos=2008(,)
118
119 # Returns the position of the opposite end of the selection to the caret.
120 get position GetAnchor=2009(,)
121
122 # Returns the style byte at the position.
123 get int GetStyleAt=2010(position pos,)
124
125 # Redoes the next action on the undo history.
126 fun void Redo=2011(,)
127
128 # Choose between collecting actions into the undo
129 # history and discarding them.
130 set void SetUndoCollection=2012(bool collectUndo,)
131
132 # Select all the text in the document.
133 fun void SelectAll=2013(,)
134
135 # Remember the current position in the undo history as the position
136 # at which the document was saved.
137 fun void SetSavePoint=2014(,)
138
139 # Retrieve a buffer of cells.
140 # Returns the number of bytes in the buffer not including terminating NULs.
141 fun int GetStyledText=2015(, textrange tr)
142
143 # Are there any redoable actions in the undo history?
144 fun bool CanRedo=2016(,)
145
146 # Retrieve the line number at which a particular marker is located.
147 fun int MarkerLineFromHandle=2017(int handle,)
148
149 # Delete a marker.
150 fun void MarkerDeleteHandle=2018(int handle,)
151
152 # Is undo history being collected?
153 get bool GetUndoCollection=2019(,)
154
155 enu WhiteSpace=SCWS_
156 val SCWS_INVISIBLE=0
157 val SCWS_VISIBLEALWAYS=1
158 val SCWS_VISIBLEAFTERINDENT=2
159
160 # Are white space characters currently visible?
161 # Returns one of SCWS_* constants.
162 get int GetViewWS=2020(,)
163
164 # Make white space characters invisible, always visible or visible outside indentation.
165 set void SetViewWS=2021(int viewWS,)
166
167 # Find the position from a point within the window.
168 fun position PositionFromPoint=2022(int x, int y)
169
170 # Find the position from a point within the window but return
171 # INVALID_POSITION if not close to text.
172 fun position PositionFromPointClose=2023(int x, int y)
173
174 # Set caret to start of a line and ensure it is visible.
175 fun void GotoLine=2024(int line,)
176
177 # Set caret to a position and ensure it is visible.
178 fun void GotoPos=2025(position pos,)
179
180 # Set the selection anchor to a position. The anchor is the opposite
181 # end of the selection from the caret.
182 set void SetAnchor=2026(position posAnchor,)
183
184 # Retrieve the text of the line containing the caret.
185 # Returns the index of the caret on the line.
186 fun int GetCurLine=2027(int length, stringresult text)
187
188 # Retrieve the position of the last correctly styled character.
189 get position GetEndStyled=2028(,)
190
191 enu EndOfLine=SC_EOL_
192 val SC_EOL_CRLF=0
193 val SC_EOL_CR=1
194 val SC_EOL_LF=2
195
196 # Convert all line endings in the document to one mode.
197 fun void ConvertEOLs=2029(int eolMode,)
198
199 # Retrieve the current end of line mode - one of CRLF, CR, or LF.
200 get int GetEOLMode=2030(,)
201
202 # Set the current end of line mode.
203 set void SetEOLMode=2031(int eolMode,)
204
205 # Set the current styling position to pos and the styling mask to mask.
206 # The styling mask can be used to protect some bits in each styling byte from modification.
207 fun void StartStyling=2032(position pos, int mask)
208
209 # Change style from current styling position for length characters to a style
210 # and move the current styling position to after this newly styled segment.
211 fun void SetStyling=2033(int length, int style)
212
213 # Is drawing done first into a buffer or direct to the screen?
214 get bool GetBufferedDraw=2034(,)
215
216 # If drawing is buffered then each line of text is drawn into a bitmap buffer
217 # before drawing it to the screen to avoid flicker.
218 set void SetBufferedDraw=2035(bool buffered,)
219
220 # Change the visible size of a tab to be a multiple of the width of a space character.
221 set void SetTabWidth=2036(int tabWidth,)
222
223 # Retrieve the visible size of a tab.
224 get int GetTabWidth=2121(,)
225
226 # The SC_CP_UTF8 value can be used to enter Unicode mode.
227 # This is the same value as CP_UTF8 in Windows
228 val SC_CP_UTF8=65001
229
230 # Set the code page used to interpret the bytes of the document as characters.
231 # The SC_CP_UTF8 value can be used to enter Unicode mode.
232 set void SetCodePage=2037(int codePage,)
233
234 enu MarkerSymbol=SC_MARK_
235 val MARKER_MAX=31
236 val SC_MARK_CIRCLE=0
237 val SC_MARK_ROUNDRECT=1
238 val SC_MARK_ARROW=2
239 val SC_MARK_SMALLRECT=3
240 val SC_MARK_SHORTARROW=4
241 val SC_MARK_EMPTY=5
242 val SC_MARK_ARROWDOWN=6
243 val SC_MARK_MINUS=7
244 val SC_MARK_PLUS=8
245
246 # Shapes used for outlining column.
247 val SC_MARK_VLINE=9
248 val SC_MARK_LCORNER=10
249 val SC_MARK_TCORNER=11
250 val SC_MARK_BOXPLUS=12
251 val SC_MARK_BOXPLUSCONNECTED=13
252 val SC_MARK_BOXMINUS=14
253 val SC_MARK_BOXMINUSCONNECTED=15
254 val SC_MARK_LCORNERCURVE=16
255 val SC_MARK_TCORNERCURVE=17
256 val SC_MARK_CIRCLEPLUS=18
257 val SC_MARK_CIRCLEPLUSCONNECTED=19
258 val SC_MARK_CIRCLEMINUS=20
259 val SC_MARK_CIRCLEMINUSCONNECTED=21
260
261 # Invisible mark that only sets the line background colour.
262 val SC_MARK_BACKGROUND=22
263 val SC_MARK_DOTDOTDOT=23
264 val SC_MARK_ARROWS=24
265 val SC_MARK_PIXMAP=25
266 val SC_MARK_FULLRECT=26
267 val SC_MARK_LEFTRECT=27
268 val SC_MARK_AVAILABLE=28
269 val SC_MARK_UNDERLINE=29
270 val SC_MARK_RGBAIMAGE=30
271
272 val SC_MARK_CHARACTER=10000
273
274 enu MarkerOutline=SC_MARKNUM_
275 # Markers used for outlining column.
276 val SC_MARKNUM_FOLDEREND=25
277 val SC_MARKNUM_FOLDEROPENMID=26
278 val SC_MARKNUM_FOLDERMIDTAIL=27
279 val SC_MARKNUM_FOLDERTAIL=28
280 val SC_MARKNUM_FOLDERSUB=29
281 val SC_MARKNUM_FOLDER=30
282 val SC_MARKNUM_FOLDEROPEN=31
283
284 val SC_MASK_FOLDERS=0xFE000000
285
286 # Set the symbol used for a particular marker number.
287 fun void MarkerDefine=2040(int markerNumber, int markerSymbol)
288
289 # Set the foreground colour used for a particular marker number.
290 set void MarkerSetFore=2041(int markerNumber, colour fore)
291
292 # Set the background colour used for a particular marker number.
293 set void MarkerSetBack=2042(int markerNumber, colour back)
294
295 # Set the background colour used for a particular marker number when its folding block is selected.
296 set void MarkerSetBackSelected=2292(int markerNumber, colour back)
297
298 # Enable/disable highlight for current folding bloc (smallest one that contains the caret)
299 fun void MarkerEnableHighlight=2293(bool enabled,)
300
301 # Add a marker to a line, returning an ID which can be used to find or delete the marker.
302 fun int MarkerAdd=2043(int line, int markerNumber)
303
304 # Delete a marker from a line.
305 fun void MarkerDelete=2044(int line, int markerNumber)
306
307 # Delete all markers with a particular number from all lines.
308 fun void MarkerDeleteAll=2045(int markerNumber,)
309
310 # Get a bit mask of all the markers set on a line.
311 fun int MarkerGet=2046(int line,)
312
313 # Find the next line at or after lineStart that includes a marker in mask.
314 # Return -1 when no more lines.
315 fun int MarkerNext=2047(int lineStart, int markerMask)
316
317 # Find the previous line before lineStart that includes a marker in mask.
318 fun int MarkerPrevious=2048(int lineStart, int markerMask)
319
320 # Define a marker from a pixmap.
321 fun void MarkerDefinePixmap=2049(int markerNumber, string pixmap)
322
323 # Add a set of markers to a line.
324 fun void MarkerAddSet=2466(int line, int set)
325
326 # Set the alpha used for a marker that is drawn in the text area, not the margin.
327 set void MarkerSetAlpha=2476(int markerNumber, int alpha)
328
329 enu MarginType=SC_MARGIN_
330 val SC_MARGIN_SYMBOL=0
331 val SC_MARGIN_NUMBER=1
332 val SC_MARGIN_BACK=2
333 val SC_MARGIN_FORE=3
334 val SC_MARGIN_TEXT=4
335 val SC_MARGIN_RTEXT=5
336
337 # Set a margin to be either numeric or symbolic.
338 set void SetMarginTypeN=2240(int margin, int marginType)
339
340 # Retrieve the type of a margin.
341 get int GetMarginTypeN=2241(int margin,)
342
343 # Set the width of a margin to a width expressed in pixels.
344 set void SetMarginWidthN=2242(int margin, int pixelWidth)
345
346 # Retrieve the width of a margin in pixels.
347 get int GetMarginWidthN=2243(int margin,)
348
349 # Set a mask that determines which markers are displayed in a margin.
350 set void SetMarginMaskN=2244(int margin, int mask)
351
352 # Retrieve the marker mask of a margin.
353 get int GetMarginMaskN=2245(int margin,)
354
355 # Make a margin sensitive or insensitive to mouse clicks.
356 set void SetMarginSensitiveN=2246(int margin, bool sensitive)
357
358 # Retrieve the mouse click sensitivity of a margin.
359 get bool GetMarginSensitiveN=2247(int margin,)
360
361 # Set the cursor shown when the mouse is inside a margin.
362 set void SetMarginCursorN=2248(int margin, int cursor)
363
364 # Retrieve the cursor shown in a margin.
365 get int GetMarginCursorN=2249(int margin,)
366
367 # Styles in range 32..38 are predefined for parts of the UI and are not used as normal styles.
368 # Style 39 is for future use.
369 enu StylesCommon=STYLE_
370 val STYLE_DEFAULT=32
371 val STYLE_LINENUMBER=33
372 val STYLE_BRACELIGHT=34
373 val STYLE_BRACEBAD=35
374 val STYLE_CONTROLCHAR=36
375 val STYLE_INDENTGUIDE=37
376 val STYLE_CALLTIP=38
377 val STYLE_LASTPREDEFINED=39
378 val STYLE_MAX=255
379
380 # Character set identifiers are used in StyleSetCharacterSet.
381 # The values are the same as the Windows *_CHARSET values.
382 enu CharacterSet=SC_CHARSET_
383 val SC_CHARSET_ANSI=0
384 val SC_CHARSET_DEFAULT=1
385 val SC_CHARSET_BALTIC=186
386 val SC_CHARSET_CHINESEBIG5=136
387 val SC_CHARSET_EASTEUROPE=238
388 val SC_CHARSET_GB2312=134
389 val SC_CHARSET_GREEK=161
390 val SC_CHARSET_HANGUL=129
391 val SC_CHARSET_MAC=77
392 val SC_CHARSET_OEM=255
393 val SC_CHARSET_RUSSIAN=204
394 val SC_CHARSET_CYRILLIC=1251
395 val SC_CHARSET_SHIFTJIS=128
396 val SC_CHARSET_SYMBOL=2
397 val SC_CHARSET_TURKISH=162
398 val SC_CHARSET_JOHAB=130
399 val SC_CHARSET_HEBREW=177
400 val SC_CHARSET_ARABIC=178
401 val SC_CHARSET_VIETNAMESE=163
402 val SC_CHARSET_THAI=222
403 val SC_CHARSET_8859_15=1000
404
405 # Clear all the styles and make equivalent to the global default style.
406 fun void StyleClearAll=2050(,)
407
408 # Set the foreground colour of a style.
409 set void StyleSetFore=2051(int style, colour fore)
410
411 # Set the background colour of a style.
412 set void StyleSetBack=2052(int style, colour back)
413
414 # Set a style to be bold or not.
415 set void StyleSetBold=2053(int style, bool bold)
416
417 # Set a style to be italic or not.
418 set void StyleSetItalic=2054(int style, bool italic)
419
420 # Set the size of characters of a style.
421 set void StyleSetSize=2055(int style, int sizePoints)
422
423 # Set the font of a style.
424 set void StyleSetFont=2056(int style, string fontName)
425
426 # Set a style to have its end of line filled or not.
427 set void StyleSetEOLFilled=2057(int style, bool filled)
428
429 # Reset the default style to its state at startup
430 fun void StyleResetDefault=2058(,)
431
432 # Set a style to be underlined or not.
433 set void StyleSetUnderline=2059(int style, bool underline)
434
435 enu CaseVisible=SC_CASE_
436 val SC_CASE_MIXED=0
437 val SC_CASE_UPPER=1
438 val SC_CASE_LOWER=2
439
440 # Get the foreground colour of a style.
441 get colour StyleGetFore=2481(int style,)
442
443 # Get the background colour of a style.
444 get colour StyleGetBack=2482(int style,)
445
446 # Get is a style bold or not.
447 get bool StyleGetBold=2483(int style,)
448
449 # Get is a style italic or not.
450 get bool StyleGetItalic=2484(int style,)
451
452 # Get the size of characters of a style.
453 get int StyleGetSize=2485(int style,)
454
455 # Get the font of a style.
456 # Returns the length of the fontName
457 get int StyleGetFont=2486(int style, stringresult fontName)
458
459 # Get is a style to have its end of line filled or not.
460 get bool StyleGetEOLFilled=2487(int style,)
461
462 # Get is a style underlined or not.
463 get bool StyleGetUnderline=2488(int style,)
464
465 # Get is a style mixed case, or to force upper or lower case.
466 get int StyleGetCase=2489(int style,)
467
468 # Get the character set of the font in a style.
469 get int StyleGetCharacterSet=2490(int style,)
470
471 # Get is a style visible or not.
472 get bool StyleGetVisible=2491(int style,)
473
474 # Get is a style changeable or not (read only).
475 # Experimental feature, currently buggy.
476 get bool StyleGetChangeable=2492(int style,)
477
478 # Get is a style a hotspot or not.
479 get bool StyleGetHotSpot=2493(int style,)
480
481 # Set a style to be mixed case, or to force upper or lower case.
482 set void StyleSetCase=2060(int style, int caseForce)
483
484 val SC_FONT_SIZE_MULTIPLIER=100
485
486 # Set the size of characters of a style. Size is in points multiplied by 100.
487 set void StyleSetSizeFractional=2061(int style, int caseForce)
488
489 # Get the size of characters of a style in points multiplied by 100
490 get int StyleGetSizeFractional=2062(int style,)
491
492 enu FontWeight=SC_WEIGHT_
493 val SC_WEIGHT_NORMAL=400
494 val SC_WEIGHT_SEMIBOLD=600
495 val SC_WEIGHT_BOLD=700
496
497 # Set the weight of characters of a style.
498 set void StyleSetWeight=2063(int style, int weight)
499
500 # Get the weight of characters of a style.
501 get int StyleGetWeight=2064(int style,)
502
503 # Set the character set of the font in a style.
504 set void StyleSetCharacterSet=2066(int style, int characterSet)
505
506 # Set a style to be a hotspot or not.
507 set void StyleSetHotSpot=2409(int style, bool hotspot)
508
509 # Set the foreground colour of the main and additional selections and whether to use this setting.
510 fun void SetSelFore=2067(bool useSetting, colour fore)
511
512 # Set the background colour of the main and additional selections and whether to use this setting.
513 fun void SetSelBack=2068(bool useSetting, colour back)
514
515 # Get the alpha of the selection.
516 get int GetSelAlpha=2477(,)
517
518 # Set the alpha of the selection.
519 set void SetSelAlpha=2478(int alpha,)
520
521 # Is the selection end of line filled?
522 get bool GetSelEOLFilled=2479(,)
523
524 # Set the selection to have its end of line filled or not.
525 set void SetSelEOLFilled=2480(bool filled,)
526
527 # Set the foreground colour of the caret.
528 set void SetCaretFore=2069(colour fore,)
529
530 # When key+modifier combination km is pressed perform msg.
531 fun void AssignCmdKey=2070(keymod km, int msg)
532
533 # When key+modifier combination km is pressed do nothing.
534 fun void ClearCmdKey=2071(keymod km,)
535
536 # Drop all key mappings.
537 fun void ClearAllCmdKeys=2072(,)
538
539 # Set the styles for a segment of the document.
540 fun void SetStylingEx=2073(int length, string styles)
541
542 # Set a style to be visible or not.
543 set void StyleSetVisible=2074(int style, bool visible)
544
545 # Get the time in milliseconds that the caret is on and off.
546 get int GetCaretPeriod=2075(,)
547
548 # Get the time in milliseconds that the caret is on and off. 0 = steady on.
549 set void SetCaretPeriod=2076(int periodMilliseconds,)
550
551 # Set the set of characters making up words for when moving or selecting by word.
552 # First sets defaults like SetCharsDefault.
553 set void SetWordChars=2077(, string characters)
554
555 # Get the set of characters making up words for when moving or selecting by word.
556 # Retuns the number of characters
557 get int GetWordChars=2646(, stringresult characters)
558
559 # Start a sequence of actions that is undone and redone as a unit.
560 # May be nested.
561 fun void BeginUndoAction=2078(,)
562
563 # End a sequence of actions that is undone and redone as a unit.
564 fun void EndUndoAction=2079(,)
565
566 # Indicator style enumeration and some constants
567 enu IndicatorStyle=INDIC_
568 val INDIC_PLAIN=0
569 val INDIC_SQUIGGLE=1
570 val INDIC_TT=2
571 val INDIC_DIAGONAL=3
572 val INDIC_STRIKE=4
573 val INDIC_HIDDEN=5
574 val INDIC_BOX=6
575 val INDIC_ROUNDBOX=7
576 val INDIC_STRAIGHTBOX=8
577 val INDIC_DASH=9
578 val INDIC_DOTS=10
579 val INDIC_SQUIGGLELOW=11
580 val INDIC_DOTBOX=12
581 val INDIC_MAX=31
582 val INDIC_CONTAINER=8
583 val INDIC0_MASK=0x20
584 val INDIC1_MASK=0x40
585 val INDIC2_MASK=0x80
586 val INDICS_MASK=0xE0
587
588 # Set an indicator to plain, squiggle or TT.
589 set void IndicSetStyle=2080(int indic, int style)
590
591 # Retrieve the style of an indicator.
592 get int IndicGetStyle=2081(int indic,)
593
594 # Set the foreground colour of an indicator.
595 set void IndicSetFore=2082(int indic, colour fore)
596
597 # Retrieve the foreground colour of an indicator.
598 get colour IndicGetFore=2083(int indic,)
599
600 # Set an indicator to draw under text or over(default).
601 set void IndicSetUnder=2510(int indic, bool under)
602
603 # Retrieve whether indicator drawn under or over text.
604 get bool IndicGetUnder=2511(int indic,)
605
606 # Set the foreground colour of all whitespace and whether to use this setting.
607 fun void SetWhitespaceFore=2084(bool useSetting, colour fore)
608
609 # Set the background colour of all whitespace and whether to use this setting.
610 fun void SetWhitespaceBack=2085(bool useSetting, colour back)
611
612 # Set the size of the dots used to mark space characters.
613 set void SetWhitespaceSize=2086(int size,)
614
615 # Get the size of the dots used to mark space characters.
616 get int GetWhitespaceSize=2087(,)
617
618 # Divide each styling byte into lexical class bits (default: 5) and indicator
619 # bits (default: 3). If a lexer requires more than 32 lexical states, then this
620 # is used to expand the possible states.
621 set void SetStyleBits=2090(int bits,)
622
623 # Retrieve number of bits in style bytes used to hold the lexical state.
624 get int GetStyleBits=2091(,)
625
626 # Used to hold extra styling information for each line.
627 set void SetLineState=2092(int line, int state)
628
629 # Retrieve the extra styling information for a line.
630 get int GetLineState=2093(int line,)
631
632 # Retrieve the last line number that has line state.
633 get int GetMaxLineState=2094(,)
634
635 # Is the background of the line containing the caret in a different colour?
636 get bool GetCaretLineVisible=2095(,)
637
638 # Display the background of the line containing the caret in a different colour.
639 set void SetCaretLineVisible=2096(bool show,)
640
641 # Get the colour of the background of the line containing the caret.
642 get colour GetCaretLineBack=2097(,)
643
644 # Set the colour of the background of the line containing the caret.
645 set void SetCaretLineBack=2098(colour back,)
646
647 # Set a style to be changeable or not (read only).
648 # Experimental feature, currently buggy.
649 set void StyleSetChangeable=2099(int style, bool changeable)
650
651 # Display a auto-completion list.
652 # The lenEntered parameter indicates how many characters before
653 # the caret should be used to provide context.
654 fun void AutoCShow=2100(int lenEntered, string itemList)
655
656 # Remove the auto-completion list from the screen.
657 fun void AutoCCancel=2101(,)
658
659 # Is there an auto-completion list visible?
660 fun bool AutoCActive=2102(,)
661
662 # Retrieve the position of the caret when the auto-completion list was displayed.
663 fun position AutoCPosStart=2103(,)
664
665 # User has selected an item so remove the list and insert the selection.
666 fun void AutoCComplete=2104(,)
667
668 # Define a set of character that when typed cancel the auto-completion list.
669 fun void AutoCStops=2105(, string characterSet)
670
671 # Change the separator character in the string setting up an auto-completion list.
672 # Default is space but can be changed if items contain space.
673 set void AutoCSetSeparator=2106(int separatorCharacter,)
674
675 # Retrieve the auto-completion list separator character.
676 get int AutoCGetSeparator=2107(,)
677
678 # Select the item in the auto-completion list that starts with a string.
679 fun void AutoCSelect=2108(, string text)
680
681 # Should the auto-completion list be cancelled if the user backspaces to a
682 # position before where the box was created.
683 set void AutoCSetCancelAtStart=2110(bool cancel,)
684
685 # Retrieve whether auto-completion cancelled by backspacing before start.
686 get bool AutoCGetCancelAtStart=2111(,)
687
688 # Define a set of characters that when typed will cause the autocompletion to
689 # choose the selected item.
690 set void AutoCSetFillUps=2112(, string characterSet)
691
692 # Should a single item auto-completion list automatically choose the item.
693 set void AutoCSetChooseSingle=2113(bool chooseSingle,)
694
695 # Retrieve whether a single item auto-completion list automatically choose the item.
696 get bool AutoCGetChooseSingle=2114(,)
697
698 # Set whether case is significant when performing auto-completion searches.
699 set void AutoCSetIgnoreCase=2115(bool ignoreCase,)
700
701 # Retrieve state of ignore case flag.
702 get bool AutoCGetIgnoreCase=2116(,)
703
704 # Display a list of strings and send notification when user chooses one.
705 fun void UserListShow=2117(int listType, string itemList)
706
707 # Set whether or not autocompletion is hidden automatically when nothing matches.
708 set void AutoCSetAutoHide=2118(bool autoHide,)
709
710 # Retrieve whether or not autocompletion is hidden automatically when nothing matches.
711 get bool AutoCGetAutoHide=2119(,)
712
713 # Set whether or not autocompletion deletes any word characters
714 # after the inserted text upon completion.
715 set void AutoCSetDropRestOfWord=2270(bool dropRestOfWord,)
716
717 # Retrieve whether or not autocompletion deletes any word characters
718 # after the inserted text upon completion.
719 get bool AutoCGetDropRestOfWord=2271(,)
720
721 # Register an XPM image for use in autocompletion lists.
722 fun void RegisterImage=2405(int type, string xpmData)
723
724 # Clear all the registered XPM images.
725 fun void ClearRegisteredImages=2408(,)
726
727 # Retrieve the auto-completion list type-separator character.
728 get int AutoCGetTypeSeparator=2285(,)
729
730 # Change the type-separator character in the string setting up an auto-completion list.
731 # Default is '?' but can be changed if items contain '?'.
732 set void AutoCSetTypeSeparator=2286(int separatorCharacter,)
733
734 # Set the maximum width, in characters, of auto-completion and user lists.
735 # Set to 0 to autosize to fit longest item, which is the default.
736 set void AutoCSetMaxWidth=2208(int characterCount,)
737
738 # Get the maximum width, in characters, of auto-completion and user lists.
739 get int AutoCGetMaxWidth=2209(,)
740
741 # Set the maximum height, in rows, of auto-completion and user lists.
742 # The default is 5 rows.
743 set void AutoCSetMaxHeight=2210(int rowCount,)
744
745 # Set the maximum height, in rows, of auto-completion and user lists.
746 get int AutoCGetMaxHeight=2211(,)
747
748 # Set the number of spaces used for one level of indentation.
749 set void SetIndent=2122(int indentSize,)
750
751 # Retrieve indentation size.
752 get int GetIndent=2123(,)
753
754 # Indentation will only use space characters if useTabs is false, otherwise
755 # it will use a combination of tabs and spaces.
756 set void SetUseTabs=2124(bool useTabs,)
757
758 # Retrieve whether tabs will be used in indentation.
759 get bool GetUseTabs=2125(,)
760
761 # Change the indentation of a line to a number of columns.
762 set void SetLineIndentation=2126(int line, int indentSize)
763
764 # Retrieve the number of columns that a line is indented.
765 get int GetLineIndentation=2127(int line,)
766
767 # Retrieve the position before the first non indentation character on a line.
768 get position GetLineIndentPosition=2128(int line,)
769
770 # Retrieve the column number of a position, taking tab width into account.
771 get int GetColumn=2129(position pos,)
772
773 # Count characters between two positions.
774 fun int CountCharacters=2633(int startPos, int endPos)
775
776 # Show or hide the horizontal scroll bar.
777 set void SetHScrollBar=2130(bool show,)
778 # Is the horizontal scroll bar visible?
779 get bool GetHScrollBar=2131(,)
780
781 enu IndentView=SC_IV_
782 val SC_IV_NONE=0
783 val SC_IV_REAL=1
784 val SC_IV_LOOKFORWARD=2
785 val SC_IV_LOOKBOTH=3
786
787 # Show or hide indentation guides.
788 set void SetIndentationGuides=2132(int indentView,)
789
790 # Are the indentation guides visible?
791 get int GetIndentationGuides=2133(,)
792
793 # Set the highlighted indentation guide column.
794 # 0 = no highlighted guide.
795 set void SetHighlightGuide=2134(int column,)
796
797 # Get the highlighted indentation guide column.
798 get int GetHighlightGuide=2135(,)
799
800 # Get the position after the last visible characters on a line.
801 get position GetLineEndPosition=2136(int line,)
802
803 # Get the code page used to interpret the bytes of the document as characters.
804 get int GetCodePage=2137(,)
805
806 # Get the foreground colour of the caret.
807 get colour GetCaretFore=2138(,)
808
809 # In read-only mode?
810 get bool GetReadOnly=2140(,)
811
812 # Sets the position of the caret.
813 set void SetCurrentPos=2141(position pos,)
814
815 # Sets the position that starts the selection - this becomes the anchor.
816 set void SetSelectionStart=2142(position pos,)
817
818 # Returns the position at the start of the selection.
819 get position GetSelectionStart=2143(,)
820
821 # Sets the position that ends the selection - this becomes the currentPosition.
822 set void SetSelectionEnd=2144(position pos,)
823
824 # Returns the position at the end of the selection.
825 get position GetSelectionEnd=2145(,)
826
827 # Set caret to a position, while removing any existing selection.
828 fun void SetEmptySelection=2556(position pos,)
829
830 # Sets the print magnification added to the point size of each style for printing.
831 set void SetPrintMagnification=2146(int magnification,)
832
833 # Returns the print magnification.
834 get int GetPrintMagnification=2147(,)
835
836 enu PrintOption=SC_PRINT_
837 # PrintColourMode - use same colours as screen.
838 val SC_PRINT_NORMAL=0
839 # PrintColourMode - invert the light value of each style for printing.
840 val SC_PRINT_INVERTLIGHT=1
841 # PrintColourMode - force black text on white background for printing.
842 val SC_PRINT_BLACKONWHITE=2
843 # PrintColourMode - text stays coloured, but all background is forced to be white for printing.
844 val SC_PRINT_COLOURONWHITE=3
845 # PrintColourMode - only the default-background is forced to be white for printing.
846 val SC_PRINT_COLOURONWHITEDEFAULTBG=4
847
848 # Modify colours when printing for clearer printed text.
849 set void SetPrintColourMode=2148(int mode,)
850
851 # Returns the print colour mode.
852 get int GetPrintColourMode=2149(,)
853
854 enu FindOption=SCFIND_
855 val SCFIND_WHOLEWORD=2
856 val SCFIND_MATCHCASE=4
857 val SCFIND_WORDSTART=0x00100000
858 val SCFIND_REGEXP=0x00200000
859 val SCFIND_POSIX=0x00400000
860
861 # Find some text in the document.
862 fun position FindText=2150(int flags, findtext ft)
863
864 # On Windows, will draw the document into a display context such as a printer.
865 fun position FormatRange=2151(bool draw, formatrange fr)
866
867 # Retrieve the display line at the top of the display.
868 get int GetFirstVisibleLine=2152(,)
869
870 # Retrieve the contents of a line.
871 # Returns the length of the line.
872 fun int GetLine=2153(int line, stringresult text)
873
874 # Returns the number of lines in the document. There is always at least one.
875 get int GetLineCount=2154(,)
876
877 # Sets the size in pixels of the left margin.
878 set void SetMarginLeft=2155(, int pixelWidth)
879
880 # Returns the size in pixels of the left margin.
881 get int GetMarginLeft=2156(,)
882
883 # Sets the size in pixels of the right margin.
884 set void SetMarginRight=2157(, int pixelWidth)
885
886 # Returns the size in pixels of the right margin.
887 get int GetMarginRight=2158(,)
888
889 # Is the document different from when it was last saved?
890 get bool GetModify=2159(,)
891
892 # Select a range of text.
893 fun void SetSel=2160(position start, position end)
894
895 # Retrieve the selected text.
896 # Return the length of the text.
897 fun int GetSelText=2161(, stringresult text)
898
899 # Retrieve a range of text.
900 # Return the length of the text.
901 fun int GetTextRange=2162(, textrange tr)
902
903 # Draw the selection in normal style or with selection highlighted.
904 fun void HideSelection=2163(bool normal,)
905
906 # Retrieve the x value of the point in the window where a position is displayed.
907 fun int PointXFromPosition=2164(, position pos)
908
909 # Retrieve the y value of the point in the window where a position is displayed.
910 fun int PointYFromPosition=2165(, position pos)
911
912 # Retrieve the line containing a position.
913 fun int LineFromPosition=2166(position pos,)
914
915 # Retrieve the position at the start of a line.
916 fun position PositionFromLine=2167(int line,)
917
918 # Scroll horizontally and vertically.
919 fun void LineScroll=2168(int columns, int lines)
920
921 # Ensure the caret is visible.
922 fun void ScrollCaret=2169(,)
923
924 # Replace the selected text with the argument text.
925 fun void ReplaceSel=2170(, string text)
926
927 # Set to read only or read write.
928 set void SetReadOnly=2171(bool readOnly,)
929
930 # Null operation.
931 fun void Null=2172(,)
932
933 # Will a paste succeed?
934 fun bool CanPaste=2173(,)
935
936 # Are there any undoable actions in the undo history?
937 fun bool CanUndo=2174(,)
938
939 # Delete the undo history.
940 fun void EmptyUndoBuffer=2175(,)
941
942 # Undo one action in the undo history.
943 fun void Undo=2176(,)
944
945 # Cut the selection to the clipboard.
946 fun void Cut=2177(,)
947
948 # Copy the selection to the clipboard.
949 fun void Copy=2178(,)
950
951 # Paste the contents of the clipboard into the document replacing the selection.
952 fun void Paste=2179(,)
953
954 # Clear the selection.
955 fun void Clear=2180(,)
956
957 # Replace the contents of the document with the argument text.
958 fun void SetText=2181(, string text)
959
960 # Retrieve all the text in the document.
961 # Returns number of characters retrieved.
962 fun int GetText=2182(int length, stringresult text)
963
964 # Retrieve the number of characters in the document.
965 get int GetTextLength=2183(,)
966
967 # Retrieve a pointer to a function that processes messages for this Scintilla.
968 get int GetDirectFunction=2184(,)
969
970 # Retrieve a pointer value to use as the first argument when calling
971 # the function returned by GetDirectFunction.
972 get int GetDirectPointer=2185(,)
973
974 # Set to overtype (true) or insert mode.
975 set void SetOvertype=2186(bool overtype,)
976
977 # Returns true if overtype mode is active otherwise false is returned.
978 get bool GetOvertype=2187(,)
979
980 # Set the width of the insert mode caret.
981 set void SetCaretWidth=2188(int pixelWidth,)
982
983 # Returns the width of the insert mode caret.
984 get int GetCaretWidth=2189(,)
985
986 # Sets the position that starts the target which is used for updating the
987 # document without affecting the scroll position.
988 set void SetTargetStart=2190(position pos,)
989
990 # Get the position that starts the target.
991 get position GetTargetStart=2191(,)
992
993 # Sets the position that ends the target which is used for updating the
994 # document without affecting the scroll position.
995 set void SetTargetEnd=2192(position pos,)
996
997 # Get the position that ends the target.
998 get position GetTargetEnd=2193(,)
999
1000 # Replace the target text with the argument text.
1001 # Text is counted so it can contain NULs.
1002 # Returns the length of the replacement text.
1003 fun int ReplaceTarget=2194(int length, string text)
1004
1005 # Replace the target text with the argument text after \d processing.
1006 # Text is counted so it can contain NULs.
1007 # Looks for \d where d is between 1 and 9 and replaces these with the strings
1008 # matched in the last search operation which were surrounded by \( and \).
1009 # Returns the length of the replacement text including any change
1010 # caused by processing the \d patterns.
1011 fun int ReplaceTargetRE=2195(int length, string text)
1012
1013 # Search for a counted string in the target and set the target to the found
1014 # range. Text is counted so it can contain NULs.
1015 # Returns length of range or -1 for failure in which case target is not moved.
1016 fun int SearchInTarget=2197(int length, string text)
1017
1018 # Set the search flags used by SearchInTarget.
1019 set void SetSearchFlags=2198(int flags,)
1020
1021 # Get the search flags used by SearchInTarget.
1022 get int GetSearchFlags=2199(,)
1023
1024 # Show a call tip containing a definition near position pos.
1025 fun void CallTipShow=2200(position pos, string definition)
1026
1027 # Remove the call tip from the screen.
1028 fun void CallTipCancel=2201(,)
1029
1030 # Is there an active call tip?
1031 fun bool CallTipActive=2202(,)
1032
1033 # Retrieve the position where the caret was before displaying the call tip.
1034 fun position CallTipPosStart=2203(,)
1035
1036 # Highlight a segment of the definition.
1037 fun void CallTipSetHlt=2204(int start, int end)
1038
1039 # Set the background colour for the call tip.
1040 set void CallTipSetBack=2205(colour back,)
1041
1042 # Set the foreground colour for the call tip.
1043 set void CallTipSetFore=2206(colour fore,)
1044
1045 # Set the foreground colour for the highlighted part of the call tip.
1046 set void CallTipSetForeHlt=2207(colour fore,)
1047
1048 # Enable use of STYLE_CALLTIP and set call tip tab size in pixels.
1049 set void CallTipUseStyle=2212(int tabSize,)
1050
1051 # Set position of calltip, above or below text.
1052 set void CallTipSetPosition=2213(bool above,)
1053
1054 # Find the display line of a document line taking hidden lines into account.
1055 fun int VisibleFromDocLine=2220(int line,)
1056
1057 # Find the document line of a display line taking hidden lines into account.
1058 fun int DocLineFromVisible=2221(int lineDisplay,)
1059
1060 # The number of display lines needed to wrap a document line
1061 fun int WrapCount=2235(int line,)
1062
1063 enu FoldLevel=SC_FOLDLEVEL
1064 val SC_FOLDLEVELBASE=0x400
1065 val SC_FOLDLEVELWHITEFLAG=0x1000
1066 val SC_FOLDLEVELHEADERFLAG=0x2000
1067 val SC_FOLDLEVELNUMBERMASK=0x0FFF
1068
1069 # Set the fold level of a line.
1070 # This encodes an integer level along with flags indicating whether the
1071 # line is a header and whether it is effectively white space.
1072 set void SetFoldLevel=2222(int line, int level)
1073
1074 # Retrieve the fold level of a line.
1075 get int GetFoldLevel=2223(int line,)
1076
1077 # Find the last child line of a header line.
1078 get int GetLastChild=2224(int line, int level)
1079
1080 # Find the parent line of a child line.
1081 get int GetFoldParent=2225(int line,)
1082
1083 # Make a range of lines visible.
1084 fun void ShowLines=2226(int lineStart, int lineEnd)
1085
1086 # Make a range of lines invisible.
1087 fun void HideLines=2227(int lineStart, int lineEnd)
1088
1089 # Is a line visible?
1090 get bool GetLineVisible=2228(int line,)
1091
1092 # Are all lines visible?
1093 get bool GetAllLinesVisible=2236(,)
1094
1095 # Show the children of a header line.
1096 set void SetFoldExpanded=2229(int line, bool expanded)
1097
1098 # Is a header line expanded?
1099 get bool GetFoldExpanded=2230(int line,)
1100
1101 # Switch a header line between expanded and contracted.
1102 fun void ToggleFold=2231(int line,)
1103
1104 # Ensure a particular line is visible by expanding any header line hiding it.
1105 fun void EnsureVisible=2232(int line,)
1106
1107 enu FoldFlag=SC_FOLDFLAG_
1108 val SC_FOLDFLAG_LINEBEFORE_EXPANDED=0x0002
1109 val SC_FOLDFLAG_LINEBEFORE_CONTRACTED=0x0004
1110 val SC_FOLDFLAG_LINEAFTER_EXPANDED=0x0008
1111 val SC_FOLDFLAG_LINEAFTER_CONTRACTED=0x0010
1112 val SC_FOLDFLAG_LEVELNUMBERS=0x0040
1113
1114 # Set some style options for folding.
1115 set void SetFoldFlags=2233(int flags,)
1116
1117 # Ensure a particular line is visible by expanding any header line hiding it.
1118 # Use the currently set visibility policy to determine which range to display.
1119 fun void EnsureVisibleEnforcePolicy=2234(int line,)
1120
1121 # Sets whether a tab pressed when caret is within indentation indents.
1122 set void SetTabIndents=2260(bool tabIndents,)
1123
1124 # Does a tab pressed when caret is within indentation indent?
1125 get bool GetTabIndents=2261(,)
1126
1127 # Sets whether a backspace pressed when caret is within indentation unindents.
1128 set void SetBackSpaceUnIndents=2262(bool bsUnIndents,)
1129
1130 # Does a backspace pressed when caret is within indentation unindent?
1131 get bool GetBackSpaceUnIndents=2263(,)
1132
1133 val SC_TIME_FOREVER=10000000
1134
1135 # Sets the time the mouse must sit still to generate a mouse dwell event.
1136 set void SetMouseDwellTime=2264(int periodMilliseconds,)
1137
1138 # Retrieve the time the mouse must sit still to generate a mouse dwell event.
1139 get int GetMouseDwellTime=2265(,)
1140
1141 # Get position of start of word.
1142 fun int WordStartPosition=2266(position pos, bool onlyWordCharacters)
1143
1144 # Get position of end of word.
1145 fun int WordEndPosition=2267(position pos, bool onlyWordCharacters)
1146
1147 enu Wrap=SC_WRAP_
1148 val SC_WRAP_NONE=0
1149 val SC_WRAP_WORD=1
1150 val SC_WRAP_CHAR=2
1151
1152 # Sets whether text is word wrapped.
1153 set void SetWrapMode=2268(int mode,)
1154
1155 # Retrieve whether text is word wrapped.
1156 get int GetWrapMode=2269(,)
1157
1158 enu WrapVisualFlag=SC_WRAPVISUALFLAG_
1159 val SC_WRAPVISUALFLAG_NONE=0x0000
1160 val SC_WRAPVISUALFLAG_END=0x0001
1161 val SC_WRAPVISUALFLAG_START=0x0002
1162 val SC_WRAPVISUALFLAG_MARGIN=0x0004
1163
1164 # Set the display mode of visual flags for wrapped lines.
1165 set void SetWrapVisualFlags=2460(int wrapVisualFlags,)
1166
1167 # Retrive the display mode of visual flags for wrapped lines.
1168 get int GetWrapVisualFlags=2461(,)
1169
1170 enu WrapVisualLocation=SC_WRAPVISUALFLAGLOC_
1171 val SC_WRAPVISUALFLAGLOC_DEFAULT=0x0000
1172 val SC_WRAPVISUALFLAGLOC_END_BY_TEXT=0x0001
1173 val SC_WRAPVISUALFLAGLOC_START_BY_TEXT=0x0002
1174
1175 # Set the location of visual flags for wrapped lines.
1176 set void SetWrapVisualFlagsLocation=2462(int wrapVisualFlagsLocation,)
1177
1178 # Retrive the location of visual flags for wrapped lines.
1179 get int GetWrapVisualFlagsLocation=2463(,)
1180
1181 # Set the start indent for wrapped lines.
1182 set void SetWrapStartIndent=2464(int indent,)
1183
1184 # Retrive the start indent for wrapped lines.
1185 get int GetWrapStartIndent=2465(,)
1186
1187 enu WrapIndentMode=SC_WRAPINDENT_
1188 val SC_WRAPINDENT_FIXED=0
1189 val SC_WRAPINDENT_SAME=1
1190 val SC_WRAPINDENT_INDENT=2
1191
1192 # Sets how wrapped sublines are placed. Default is fixed.
1193 set void SetWrapIndentMode=2472(int mode,)
1194
1195 # Retrieve how wrapped sublines are placed. Default is fixed.
1196 get int GetWrapIndentMode=2473(,)
1197
1198 enu LineCache=SC_CACHE_
1199 val SC_CACHE_NONE=0
1200 val SC_CACHE_CARET=1
1201 val SC_CACHE_PAGE=2
1202 val SC_CACHE_DOCUMENT=3
1203
1204 # Sets the degree of caching of layout information.
1205 set void SetLayoutCache=2272(int mode,)
1206
1207 # Retrieve the degree of caching of layout information.
1208 get int GetLayoutCache=2273(,)
1209
1210 # Sets the document width assumed for scrolling.
1211 set void SetScrollWidth=2274(int pixelWidth,)
1212
1213 # Retrieve the document width assumed for scrolling.
1214 get int GetScrollWidth=2275(,)
1215
1216 # Sets whether the maximum width line displayed is used to set scroll width.
1217 set void SetScrollWidthTracking=2516(bool tracking,)
1218
1219 # Retrieve whether the scroll width tracks wide lines.
1220 get bool GetScrollWidthTracking=2517(,)
1221
1222 # Measure the pixel width of some text in a particular style.
1223 # NUL terminated text argument.
1224 # Does not handle tab or control characters.
1225 fun int TextWidth=2276(int style, string text)
1226
1227 # Sets the scroll range so that maximum scroll position has
1228 # the last line at the bottom of the view (default).
1229 # Setting this to false allows scrolling one page below the last line.
1230 set void SetEndAtLastLine=2277(bool endAtLastLine,)
1231
1232 # Retrieve whether the maximum scroll position has the last
1233 # line at the bottom of the view.
1234 get bool GetEndAtLastLine=2278(,)
1235
1236 # Retrieve the height of a particular line of text in pixels.
1237 fun int TextHeight=2279(int line,)
1238
1239 # Show or hide the vertical scroll bar.
1240 set void SetVScrollBar=2280(bool show,)
1241
1242 # Is the vertical scroll bar visible?
1243 get bool GetVScrollBar=2281(,)
1244
1245 # Append a string to the end of the document without changing the selection.
1246 fun void AppendText=2282(int length, string text)
1247
1248 # Is drawing done in two phases with backgrounds drawn before foregrounds?
1249 get bool GetTwoPhaseDraw=2283(,)
1250
1251 # In twoPhaseDraw mode, drawing is performed in two phases, first the background
1252 # and then the foreground. This avoids chopping off characters that overlap the next run.
1253 set void SetTwoPhaseDraw=2284(bool twoPhase,)
1254
1255 # Control font anti-aliasing.
1256
1257 enu FontQuality=SC_EFF_
1258 val SC_EFF_QUALITY_MASK=0xF
1259 val SC_EFF_QUALITY_DEFAULT=0
1260 val SC_EFF_QUALITY_NON_ANTIALIASED=1
1261 val SC_EFF_QUALITY_ANTIALIASED=2
1262 val SC_EFF_QUALITY_LCD_OPTIMIZED=3
1263
1264 # Choose the quality level for text from the FontQuality enumeration.
1265 set void SetFontQuality=2611(int fontQuality,)
1266
1267 # Retrieve the quality level for text.
1268 get int GetFontQuality=2612(,)
1269
1270 # Scroll so that a display line is at the top of the display.
1271 set void SetFirstVisibleLine=2613(int lineDisplay,)
1272
1273 enu MultiPaste=SC_MULTIPASTE_
1274 val SC_MULTIPASTE_ONCE=0
1275 val SC_MULTIPASTE_EACH=1
1276
1277 # Change the effect of pasting when there are multiple selections.
1278 set void SetMultiPaste=2614(int multiPaste,)
1279
1280 # Retrieve the effect of pasting when there are multiple selections..
1281 get int GetMultiPaste=2615(,)
1282
1283 # Retrieve the value of a tag from a regular expression search.
1284 get int GetTag=2616(int tagNumber, stringresult tagValue)
1285
1286 # Make the target range start and end be the same as the selection range start and end.
1287 fun void TargetFromSelection=2287(,)
1288
1289 # Join the lines in the target.
1290 fun void LinesJoin=2288(,)
1291
1292 # Split the lines in the target into lines that are less wide than pixelWidth
1293 # where possible.
1294 fun void LinesSplit=2289(int pixelWidth,)
1295
1296 # Set the colours used as a chequerboard pattern in the fold margin
1297 fun void SetFoldMarginColour=2290(bool useSetting, colour back)
1298 fun void SetFoldMarginHiColour=2291(bool useSetting, colour fore)
1299
1300 ## New messages go here
1301
1302 ## Start of key messages
1303 # Move caret down one line.
1304 fun void LineDown=2300(,)
1305
1306 # Move caret down one line extending selection to new caret position.
1307 fun void LineDownExtend=2301(,)
1308
1309 # Move caret up one line.
1310 fun void LineUp=2302(,)
1311
1312 # Move caret up one line extending selection to new caret position.
1313 fun void LineUpExtend=2303(,)
1314
1315 # Move caret left one character.
1316 fun void CharLeft=2304(,)
1317
1318 # Move caret left one character extending selection to new caret position.
1319 fun void CharLeftExtend=2305(,)
1320
1321 # Move caret right one character.
1322 fun void CharRight=2306(,)
1323
1324 # Move caret right one character extending selection to new caret position.
1325 fun void CharRightExtend=2307(,)
1326
1327 # Move caret left one word.
1328 fun void WordLeft=2308(,)
1329
1330 # Move caret left one word extending selection to new caret position.
1331 fun void WordLeftExtend=2309(,)
1332
1333 # Move caret right one word.
1334 fun void WordRight=2310(,)
1335
1336 # Move caret right one word extending selection to new caret position.
1337 fun void WordRightExtend=2311(,)
1338
1339 # Move caret to first position on line.
1340 fun void Home=2312(,)
1341
1342 # Move caret to first position on line extending selection to new caret position.
1343 fun void HomeExtend=2313(,)
1344
1345 # Move caret to last position on line.
1346 fun void LineEnd=2314(,)
1347
1348 # Move caret to last position on line extending selection to new caret position.
1349 fun void LineEndExtend=2315(,)
1350
1351 # Move caret to first position in document.
1352 fun void DocumentStart=2316(,)
1353
1354 # Move caret to first position in document extending selection to new caret position.
1355 fun void DocumentStartExtend=2317(,)
1356
1357 # Move caret to last position in document.
1358 fun void DocumentEnd=2318(,)
1359
1360 # Move caret to last position in document extending selection to new caret position.
1361 fun void DocumentEndExtend=2319(,)
1362
1363 # Move caret one page up.
1364 fun void PageUp=2320(,)
1365
1366 # Move caret one page up extending selection to new caret position.
1367 fun void PageUpExtend=2321(,)
1368
1369 # Move caret one page down.
1370 fun void PageDown=2322(,)
1371
1372 # Move caret one page down extending selection to new caret position.
1373 fun void PageDownExtend=2323(,)
1374
1375 # Switch from insert to overtype mode or the reverse.
1376 fun void EditToggleOvertype=2324(,)
1377
1378 # Cancel any modes such as call tip or auto-completion list display.
1379 fun void Cancel=2325(,)
1380
1381 # Delete the selection or if no selection, the character before the caret.
1382 fun void DeleteBack=2326(,)
1383
1384 # If selection is empty or all on one line replace the selection with a tab character.
1385 # If more than one line selected, indent the lines.
1386 fun void Tab=2327(,)
1387
1388 # Dedent the selected lines.
1389 fun void BackTab=2328(,)
1390
1391 # Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
1392 fun void NewLine=2329(,)
1393
1394 # Insert a Form Feed character.
1395 fun void FormFeed=2330(,)
1396
1397 # Move caret to before first visible character on line.
1398 # If already there move to first character on line.
1399 fun void VCHome=2331(,)
1400
1401 # Like VCHome but extending selection to new caret position.
1402 fun void VCHomeExtend=2332(,)
1403
1404 # Magnify the displayed text by increasing the sizes by 1 point.
1405 fun void ZoomIn=2333(,)
1406
1407 # Make the displayed text smaller by decreasing the sizes by 1 point.
1408 fun void ZoomOut=2334(,)
1409
1410 # Delete the word to the left of the caret.
1411 fun void DelWordLeft=2335(,)
1412
1413 # Delete the word to the right of the caret.
1414 fun void DelWordRight=2336(,)
1415
1416 # Delete the word to the right of the caret, but not the trailing non-word characters.
1417 fun void DelWordRightEnd=2518(,)
1418
1419 # Cut the line containing the caret.
1420 fun void LineCut=2337(,)
1421
1422 # Delete the line containing the caret.
1423 fun void LineDelete=2338(,)
1424
1425 # Switch the current line with the previous.
1426 fun void LineTranspose=2339(,)
1427
1428 # Duplicate the current line.
1429 fun void LineDuplicate=2404(,)
1430
1431 # Transform the selection to lower case.
1432 fun void LowerCase=2340(,)
1433
1434 # Transform the selection to upper case.
1435 fun void UpperCase=2341(,)
1436
1437 # Scroll the document down, keeping the caret visible.
1438 fun void LineScrollDown=2342(,)
1439
1440 # Scroll the document up, keeping the caret visible.
1441 fun void LineScrollUp=2343(,)
1442
1443 # Delete the selection or if no selection, the character before the caret.
1444 # Will not delete the character before at the start of a line.
1445 fun void DeleteBackNotLine=2344(,)
1446
1447 # Move caret to first position on display line.
1448 fun void HomeDisplay=2345(,)
1449
1450 # Move caret to first position on display line extending selection to
1451 # new caret position.
1452 fun void HomeDisplayExtend=2346(,)
1453
1454 # Move caret to last position on display line.
1455 fun void LineEndDisplay=2347(,)
1456
1457 # Move caret to last position on display line extending selection to new
1458 # caret position.
1459 fun void LineEndDisplayExtend=2348(,)
1460
1461 # These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
1462 # except they behave differently when word-wrap is enabled:
1463 # They go first to the start / end of the display line, like (Home|LineEnd)Display
1464 # The difference is that, the cursor is already at the point, it goes on to the start
1465 # or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.
1466
1467 fun void HomeWrap=2349(,)
1468 fun void HomeWrapExtend=2450(,)
1469 fun void LineEndWrap=2451(,)
1470 fun void LineEndWrapExtend=2452(,)
1471 fun void VCHomeWrap=2453(,)
1472 fun void VCHomeWrapExtend=2454(,)
1473
1474 # Copy the line containing the caret.
1475 fun void LineCopy=2455(,)
1476
1477 # Move the caret inside current view if it's not there already.
1478 fun void MoveCaretInsideView=2401(,)
1479
1480 # How many characters are on a line, including end of line characters?
1481 fun int LineLength=2350(int line,)
1482
1483 # Highlight the characters at two positions.
1484 fun void BraceHighlight=2351(position pos1, position pos2)
1485
1486 # Use specified indicator to highlight matching braces instead of changing their style.
1487 fun void BraceHighlightIndicator=2498(bool useBraceHighlightIndicator, int indicator)
1488
1489 # Highlight the character at a position indicating there is no matching brace.
1490 fun void BraceBadLight=2352(position pos,)
1491
1492 # Use specified indicator to highlight non matching brace instead of changing its style.
1493 fun void BraceBadLightIndicator=2499(bool useBraceBadLightIndicator, int indicator)
1494
1495 # Find the position of a matching brace or INVALID_POSITION if no match.
1496 fun position BraceMatch=2353(position pos,)
1497
1498 # Are the end of line characters visible?
1499 get bool GetViewEOL=2355(,)
1500
1501 # Make the end of line characters visible or invisible.
1502 set void SetViewEOL=2356(bool visible,)
1503
1504 # Retrieve a pointer to the document object.
1505 get int GetDocPointer=2357(,)
1506
1507 # Change the document object used.
1508 set void SetDocPointer=2358(, int pointer)
1509
1510 # Set which document modification events are sent to the container.
1511 set void SetModEventMask=2359(int mask,)
1512
1513 enu EdgeVisualStyle=EDGE_
1514 val EDGE_NONE=0
1515 val EDGE_LINE=1
1516 val EDGE_BACKGROUND=2
1517
1518 # Retrieve the column number which text should be kept within.
1519 get int GetEdgeColumn=2360(,)
1520
1521 # Set the column number of the edge.
1522 # If text goes past the edge then it is highlighted.
1523 set void SetEdgeColumn=2361(int column,)
1524
1525 # Retrieve the edge highlight mode.
1526 get int GetEdgeMode=2362(,)
1527
1528 # The edge may be displayed by a line (EDGE_LINE) or by highlighting text that
1529 # goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).
1530 set void SetEdgeMode=2363(int mode,)
1531
1532 # Retrieve the colour used in edge indication.
1533 get colour GetEdgeColour=2364(,)
1534
1535 # Change the colour used in edge indication.
1536 set void SetEdgeColour=2365(colour edgeColour,)
1537
1538 # Sets the current caret position to be the search anchor.
1539 fun void SearchAnchor=2366(,)
1540
1541 # Find some text starting at the search anchor.
1542 # Does not ensure the selection is visible.
1543 fun int SearchNext=2367(int flags, string text)
1544
1545 # Find some text starting at the search anchor and moving backwards.
1546 # Does not ensure the selection is visible.
1547 fun int SearchPrev=2368(int flags, string text)
1548
1549 # Retrieves the number of lines completely visible.
1550 get int LinesOnScreen=2370(,)
1551
1552 # Set whether a pop up menu is displayed automatically when the user presses
1553 # the wrong mouse button.
1554 fun void UsePopUp=2371(bool allowPopUp,)
1555
1556 # Is the selection rectangular? The alternative is the more common stream selection.
1557 get bool SelectionIsRectangle=2372(,)
1558
1559 # Set the zoom level. This number of points is added to the size of all fonts.
1560 # It may be positive to magnify or negative to reduce.
1561 set void SetZoom=2373(int zoom,)
1562 # Retrieve the zoom level.
1563 get int GetZoom=2374(,)
1564
1565 # Create a new document object.
1566 # Starts with reference count of 1 and not selected into editor.
1567 fun int CreateDocument=2375(,)
1568 # Extend life of document.
1569 fun void AddRefDocument=2376(, int doc)
1570 # Release a reference to the document, deleting document if it fades to black.
1571 fun void ReleaseDocument=2377(, int doc)
1572
1573 # Get which document modification events are sent to the container.
1574 get int GetModEventMask=2378(,)
1575
1576 # Change internal focus flag.
1577 set void SetFocus=2380(bool focus,)
1578 # Get internal focus flag.
1579 get bool GetFocus=2381(,)
1580
1581 enu Status=SC_STATUS_
1582 val SC_STATUS_OK=0
1583 val SC_STATUS_FAILURE=1
1584 val SC_STATUS_BADALLOC=2
1585
1586 # Change error status - 0 = OK.
1587 set void SetStatus=2382(int statusCode,)
1588 # Get error status.
1589 get int GetStatus=2383(,)
1590
1591 # Set whether the mouse is captured when its button is pressed.
1592 set void SetMouseDownCaptures=2384(bool captures,)
1593 # Get whether mouse gets captured.
1594 get bool GetMouseDownCaptures=2385(,)
1595
1596 enu CursorShape=SC_CURSOR
1597 val SC_CURSORNORMAL=-1
1598 val SC_CURSORARROW=2
1599 val SC_CURSORWAIT=4
1600 val SC_CURSORREVERSEARROW=7
1601 # Sets the cursor to one of the SC_CURSOR* values.
1602 set void SetCursor=2386(int cursorType,)
1603 # Get cursor type.
1604 get int GetCursor=2387(,)
1605
1606 # Change the way control characters are displayed:
1607 # If symbol is < 32, keep the drawn way, else, use the given character.
1608 set void SetControlCharSymbol=2388(int symbol,)
1609 # Get the way control characters are displayed.
1610 get int GetControlCharSymbol=2389(,)
1611
1612 # Move to the previous change in capitalisation.
1613 fun void WordPartLeft=2390(,)
1614 # Move to the previous change in capitalisation extending selection
1615 # to new caret position.
1616 fun void WordPartLeftExtend=2391(,)
1617 # Move to the change next in capitalisation.
1618 fun void WordPartRight=2392(,)
1619 # Move to the next change in capitalisation extending selection
1620 # to new caret position.
1621 fun void WordPartRightExtend=2393(,)
1622
1623 # Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
1624 val VISIBLE_SLOP=0x01
1625 val VISIBLE_STRICT=0x04
1626 # Set the way the display area is determined when a particular line
1627 # is to be moved to by Find, FindNext, GotoLine, etc.
1628 fun void SetVisiblePolicy=2394(int visiblePolicy, int visibleSlop)
1629
1630 # Delete back from the current position to the start of the line.
1631 fun void DelLineLeft=2395(,)
1632
1633 # Delete forwards from the current position to the end of the line.
1634 fun void DelLineRight=2396(,)
1635
1636 # Get and Set the xOffset (ie, horizontal scroll position).
1637 set void SetXOffset=2397(int newOffset,)
1638 get int GetXOffset=2398(,)
1639
1640 # Set the last x chosen value to be the caret x position.
1641 fun void ChooseCaretX=2399(,)
1642
1643 # Set the focus to this Scintilla widget.
1644 fun void GrabFocus=2400(,)
1645
1646 enu CaretPolicy=CARET_
1647 # Caret policy, used by SetXCaretPolicy and SetYCaretPolicy.
1648 # If CARET_SLOP is set, we can define a slop value: caretSlop.
1649 # This value defines an unwanted zone (UZ) where the caret is... unwanted.
1650 # This zone is defined as a number of pixels near the vertical margins,
1651 # and as a number of lines near the horizontal margins.
1652 # By keeping the caret away from the edges, it is seen within its context,
1653 # so it is likely that the identifier that the caret is on can be completely seen,
1654 # and that the current line is seen with some of the lines following it which are
1655 # often dependent on that line.
1656 val CARET_SLOP=0x01
1657 # If CARET_STRICT is set, the policy is enforced... strictly.
1658 # The caret is centred on the display if slop is not set,
1659 # and cannot go in the UZ if slop is set.
1660 val CARET_STRICT=0x04
1661 # If CARET_JUMPS is set, the display is moved more energetically
1662 # so the caret can move in the same direction longer before the policy is applied again.
1663 val CARET_JUMPS=0x10
1664 # If CARET_EVEN is not set, instead of having symmetrical UZs,
1665 # the left and bottom UZs are extended up to right and top UZs respectively.
1666 # This way, we favour the displaying of useful information: the begining of lines,
1667 # where most code reside, and the lines after the caret, eg. the body of a function.
1668 val CARET_EVEN=0x08
1669
1670 # Set the way the caret is kept visible when going sideways.
1671 # The exclusion zone is given in pixels.
1672 fun void SetXCaretPolicy=2402(int caretPolicy, int caretSlop)
1673
1674 # Set the way the line the caret is on is kept visible.
1675 # The exclusion zone is given in lines.
1676 fun void SetYCaretPolicy=2403(int caretPolicy, int caretSlop)
1677
1678 # Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
1679 set void SetPrintWrapMode=2406(int mode,)
1680
1681 # Is printing line wrapped?
1682 get int GetPrintWrapMode=2407(,)
1683
1684 # Set a fore colour for active hotspots.
1685 set void SetHotspotActiveFore=2410(bool useSetting, colour fore)
1686
1687 # Get the fore colour for active hotspots.
1688 get colour GetHotspotActiveFore=2494(,)
1689
1690 # Set a back colour for active hotspots.
1691 set void SetHotspotActiveBack=2411(bool useSetting, colour back)
1692
1693 # Get the back colour for active hotspots.
1694 get colour GetHotspotActiveBack=2495(,)
1695
1696 # Enable / Disable underlining active hotspots.
1697 set void SetHotspotActiveUnderline=2412(bool underline,)
1698
1699 # Get whether underlining for active hotspots.
1700 get bool GetHotspotActiveUnderline=2496(,)
1701
1702 # Limit hotspots to single line so hotspots on two lines don't merge.
1703 set void SetHotspotSingleLine=2421(bool singleLine,)
1704
1705 # Get the HotspotSingleLine property
1706 get bool GetHotspotSingleLine=2497(,)
1707
1708 # Move caret between paragraphs (delimited by empty lines).
1709 fun void ParaDown=2413(,)
1710 fun void ParaDownExtend=2414(,)
1711 fun void ParaUp=2415(,)
1712 fun void ParaUpExtend=2416(,)
1713
1714 # Given a valid document position, return the previous position taking code
1715 # page into account. Returns 0 if passed 0.
1716 fun position PositionBefore=2417(position pos,)
1717
1718 # Given a valid document position, return the next position taking code
1719 # page into account. Maximum value returned is the last position in the document.
1720 fun position PositionAfter=2418(position pos,)
1721
1722 # Copy a range of text to the clipboard. Positions are clipped into the document.
1723 fun void CopyRange=2419(position start, position end)
1724
1725 # Copy argument text to the clipboard.
1726 fun void CopyText=2420(int length, string text)
1727
1728 enu SelectionMode=SC_SEL_
1729 val SC_SEL_STREAM=0
1730 val SC_SEL_RECTANGLE=1
1731 val SC_SEL_LINES=2
1732 val SC_SEL_THIN=3
1733
1734 # Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or
1735 # by lines (SC_SEL_LINES).
1736 set void SetSelectionMode=2422(int mode,)
1737
1738 # Get the mode of the current selection.
1739 get int GetSelectionMode=2423(,)
1740
1741 # Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
1742 fun position GetLineSelStartPosition=2424(int line,)
1743
1744 # Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
1745 fun position GetLineSelEndPosition=2425(int line,)
1746
1747 ## RectExtended rectangular selection moves
1748 # Move caret down one line, extending rectangular selection to new caret position.
1749 fun void LineDownRectExtend=2426(,)
1750
1751 # Move caret up one line, extending rectangular selection to new caret position.
1752 fun void LineUpRectExtend=2427(,)
1753
1754 # Move caret left one character, extending rectangular selection to new caret position.
1755 fun void CharLeftRectExtend=2428(,)
1756
1757 # Move caret right one character, extending rectangular selection to new caret position.
1758 fun void CharRightRectExtend=2429(,)
1759
1760 # Move caret to first position on line, extending rectangular selection to new caret position.
1761 fun void HomeRectExtend=2430(,)
1762
1763 # Move caret to before first visible character on line.
1764 # If already there move to first character on line.
1765 # In either case, extend rectangular selection to new caret position.
1766 fun void VCHomeRectExtend=2431(,)
1767
1768 # Move caret to last position on line, extending rectangular selection to new caret position.
1769 fun void LineEndRectExtend=2432(,)
1770
1771 # Move caret one page up, extending rectangular selection to new caret position.
1772 fun void PageUpRectExtend=2433(,)
1773
1774 # Move caret one page down, extending rectangular selection to new caret position.
1775 fun void PageDownRectExtend=2434(,)
1776
1777
1778 # Move caret to top of page, or one page up if already at top of page.
1779 fun void StutteredPageUp=2435(,)
1780
1781 # Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
1782 fun void StutteredPageUpExtend=2436(,)
1783
1784 # Move caret to bottom of page, or one page down if already at bottom of page.
1785 fun void StutteredPageDown=2437(,)
1786
1787 # Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
1788 fun void StutteredPageDownExtend=2438(,)
1789
1790
1791 # Move caret left one word, position cursor at end of word.
1792 fun void WordLeftEnd=2439(,)
1793
1794 # Move caret left one word, position cursor at end of word, extending selection to new caret position.
1795 fun void WordLeftEndExtend=2440(,)
1796
1797 # Move caret right one word, position cursor at end of word.
1798 fun void WordRightEnd=2441(,)
1799
1800 # Move caret right one word, position cursor at end of word, extending selection to new caret position.
1801 fun void WordRightEndExtend=2442(,)
1802
1803 # Set the set of characters making up whitespace for when moving or selecting by word.
1804 # Should be called after SetWordChars.
1805 set void SetWhitespaceChars=2443(, string characters)
1806
1807 # Get the set of characters making up whitespace for when moving or selecting by word.
1808 get int GetWhitespaceChars=2647(, stringresult characters)
1809
1810 # Set the set of characters making up punctuation characters
1811 # Should be called after SetWordChars.
1812 set void SetPunctuationChars=2648(, string characters)
1813
1814 # Get the set of characters making up punctuation characters
1815 get int GetPunctuationChars=2649(, stringresult characters)
1816
1817 # Reset the set of characters for whitespace and word characters to the defaults.
1818 fun void SetCharsDefault=2444(,)
1819
1820 # Get currently selected item position in the auto-completion list
1821 get int AutoCGetCurrent=2445(,)
1822
1823 # Get currently selected item text in the auto-completion list
1824 # Returns the length of the item text
1825 get int AutoCGetCurrentText=2610(, stringresult s)
1826
1827 enu CaseInsensitiveBehaviour=SC_CASEINSENSITIVEBEHAVIOUR_
1828 val SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE=0
1829 val SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE=1
1830
1831 # Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.
1832 set void AutoCSetCaseInsensitiveBehaviour=2634(int behaviour,)
1833
1834 # Get auto-completion case insensitive behaviour.
1835 get int AutoCGetCaseInsensitiveBehaviour=2635(,)
1836
1837 # Enlarge the document to a particular size of text bytes.
1838 fun void Allocate=2446(int bytes,)
1839
1840 # Returns the target converted to UTF8.
1841 # Return the length in bytes.
1842 fun int TargetAsUTF8=2447(, stringresult s)
1843
1844 # Set the length of the utf8 argument for calling EncodedFromUTF8.
1845 # Set to -1 and the string will be measured to the first nul.
1846 fun void SetLengthForEncode=2448(int bytes,)
1847
1848 # Translates a UTF8 string into the document encoding.
1849 # Return the length of the result in bytes.
1850 # On error return 0.
1851 fun int EncodedFromUTF8=2449(string utf8, stringresult encoded)
1852
1853 # Find the position of a column on a line taking into account tabs and
1854 # multi-byte characters. If beyond end of line, return line end position.
1855 fun int FindColumn=2456(int line, int column)
1856
1857 # Can the caret preferred x position only be changed by explicit movement commands?
1858 get int GetCaretSticky=2457(,)
1859
1860 # Stop the caret preferred x position changing when the user types.
1861 set void SetCaretSticky=2458(int useCaretStickyBehaviour,)
1862
1863 enu CaretSticky=SC_CARETSTICKY_
1864 val SC_CARETSTICKY_OFF=0
1865 val SC_CARETSTICKY_ON=1
1866 val SC_CARETSTICKY_WHITESPACE=2
1867
1868 # Switch between sticky and non-sticky: meant to be bound to a key.
1869 fun void ToggleCaretSticky=2459(,)
1870
1871 # Enable/Disable convert-on-paste for line endings
1872 set void SetPasteConvertEndings=2467(bool convert,)
1873
1874 # Get convert-on-paste setting
1875 get bool GetPasteConvertEndings=2468(,)
1876
1877 # Duplicate the selection. If selection empty duplicate the line containing the caret.
1878 fun void SelectionDuplicate=2469(,)
1879
1880 val SC_ALPHA_TRANSPARENT=0
1881 val SC_ALPHA_OPAQUE=255
1882 val SC_ALPHA_NOALPHA=256
1883
1884 # Set background alpha of the caret line.
1885 set void SetCaretLineBackAlpha=2470(int alpha,)
1886
1887 # Get the background alpha of the caret line.
1888 get int GetCaretLineBackAlpha=2471(,)
1889
1890 enu CaretStyle=CARETSTYLE_
1891 val CARETSTYLE_INVISIBLE=0
1892 val CARETSTYLE_LINE=1
1893 val CARETSTYLE_BLOCK=2
1894
1895 # Set the style of the caret to be drawn.
1896 set void SetCaretStyle=2512(int caretStyle,)
1897
1898 # Returns the current style of the caret.
1899 get int GetCaretStyle=2513(,)
1900
1901 # Set the indicator used for IndicatorFillRange and IndicatorClearRange
1902 set void SetIndicatorCurrent=2500(int indicator,)
1903
1904 # Get the current indicator
1905 get int GetIndicatorCurrent=2501(,)
1906
1907 # Set the value used for IndicatorFillRange
1908 set void SetIndicatorValue=2502(int value,)
1909
1910 # Get the current indicator value
1911 get int GetIndicatorValue=2503(,)
1912
1913 # Turn a indicator on over a range.
1914 fun void IndicatorFillRange=2504(int position, int fillLength)
1915
1916 # Turn a indicator off over a range.
1917 fun void IndicatorClearRange=2505(int position, int clearLength)
1918
1919 # Are any indicators present at position?
1920 fun int IndicatorAllOnFor=2506(int position,)
1921
1922 # What value does a particular indicator have at at a position?
1923 fun int IndicatorValueAt=2507(int indicator, int position)
1924
1925 # Where does a particular indicator start?
1926 fun int IndicatorStart=2508(int indicator, int position)
1927
1928 # Where does a particular indicator end?
1929 fun int IndicatorEnd=2509(int indicator, int position)
1930
1931 # Set number of entries in position cache
1932 set void SetPositionCache=2514(int size,)
1933
1934 # How many entries are allocated to the position cache?
1935 get int GetPositionCache=2515(,)
1936
1937 # Copy the selection, if selection empty copy the line with the caret
1938 fun void CopyAllowLine=2519(,)
1939
1940 # Compact the document buffer and return a read-only pointer to the
1941 # characters in the document.
1942 get int GetCharacterPointer=2520(,)
1943
1944 # Return a read-only pointer to a range of characters in the document.
1945 # May move the gap so that the range is contiguous, but will only move up
1946 # to rangeLength bytes.
1947 get int GetRangePointer=2643(int position, int rangeLength)
1948
1949 # Return a position which, to avoid performance costs, should not be within
1950 # the range of a call to GetRangePointer.
1951 get position GetGapPosition=2644(,)
1952
1953 # Always interpret keyboard input as Unicode
1954 set void SetKeysUnicode=2521(bool keysUnicode,)
1955
1956 # Are keys always interpreted as Unicode?
1957 get bool GetKeysUnicode=2522(,)
1958
1959 # Set the alpha fill colour of the given indicator.
1960 set void IndicSetAlpha=2523(int indicator, int alpha)
1961
1962 # Get the alpha fill colour of the given indicator.
1963 get int IndicGetAlpha=2524(int indicator,)
1964
1965 # Set the alpha outline colour of the given indicator.
1966 set void IndicSetOutlineAlpha=2558(int indicator, int alpha)
1967
1968 # Get the alpha outline colour of the given indicator.
1969 get int IndicGetOutlineAlpha=2559(int indicator,)
1970
1971 # Set extra ascent for each line
1972 set void SetExtraAscent=2525(int extraAscent,)
1973
1974 # Get extra ascent for each line
1975 get int GetExtraAscent=2526(,)
1976
1977 # Set extra descent for each line
1978 set void SetExtraDescent=2527(int extraDescent,)
1979
1980 # Get extra descent for each line
1981 get int GetExtraDescent=2528(,)
1982
1983 # Which symbol was defined for markerNumber with MarkerDefine
1984 fun int MarkerSymbolDefined=2529(int markerNumber,)
1985
1986 # Set the text in the text margin for a line
1987 set void MarginSetText=2530(int line, string text)
1988
1989 # Get the text in the text margin for a line
1990 get int MarginGetText=2531(int line, stringresult text)
1991
1992 # Set the style number for the text margin for a line
1993 set void MarginSetStyle=2532(int line, int style)
1994
1995 # Get the style number for the text margin for a line
1996 get int MarginGetStyle=2533(int line,)
1997
1998 # Set the style in the text margin for a line
1999 set void MarginSetStyles=2534(int line, string styles)
2000
2001 # Get the styles in the text margin for a line
2002 get int MarginGetStyles=2535(int line, stringresult styles)
2003
2004 # Clear the margin text on all lines
2005 fun void MarginTextClearAll=2536(,)
2006
2007 # Get the start of the range of style numbers used for margin text
2008 set void MarginSetStyleOffset=2537(int style,)
2009
2010 # Get the start of the range of style numbers used for margin text
2011 get int MarginGetStyleOffset=2538(,)
2012
2013 enu MarginOption=SC_MARGINOPTION_
2014 val SC_MARGINOPTION_NONE=0
2015 val SC_MARGINOPTION_SUBLINESELECT=1
2016
2017 # Set the margin options.
2018 set void SetMarginOptions=2539(int marginOptions,)
2019
2020 # Get the margin options.
2021 get int GetMarginOptions=2557(,)
2022
2023 # Set the annotation text for a line
2024 set void AnnotationSetText=2540(int line, string text)
2025
2026 # Get the annotation text for a line
2027 get int AnnotationGetText=2541(int line, stringresult text)
2028
2029 # Set the style number for the annotations for a line
2030 set void AnnotationSetStyle=2542(int line, int style)
2031
2032 # Get the style number for the annotations for a line
2033 get int AnnotationGetStyle=2543(int line,)
2034
2035 # Set the annotation styles for a line
2036 set void AnnotationSetStyles=2544(int line, string styles)
2037
2038 # Get the annotation styles for a line
2039 get int AnnotationGetStyles=2545(int line, stringresult styles)
2040
2041 # Get the number of annotation lines for a line
2042 get int AnnotationGetLines=2546(int line,)
2043
2044 # Clear the annotations from all lines
2045 fun void AnnotationClearAll=2547(,)
2046
2047 enu AnnotationVisible=ANNOTATION_
2048 val ANNOTATION_HIDDEN=0
2049 val ANNOTATION_STANDARD=1
2050 val ANNOTATION_BOXED=2
2051
2052 # Set the visibility for the annotations for a view
2053 set void AnnotationSetVisible=2548(int visible,)
2054
2055 # Get the visibility for the annotations for a view
2056 get int AnnotationGetVisible=2549(,)
2057
2058 # Get the start of the range of style numbers used for annotations
2059 set void AnnotationSetStyleOffset=2550(int style,)
2060
2061 # Get the start of the range of style numbers used for annotations
2062 get int AnnotationGetStyleOffset=2551(,)
2063
2064 val UNDO_MAY_COALESCE=1
2065
2066 # Add a container action to the undo stack
2067 fun void AddUndoAction=2560(int token, int flags)
2068
2069 # Find the position of a character from a point within the window.
2070 fun position CharPositionFromPoint=2561(int x, int y)
2071
2072 # Find the position of a character from a point within the window.
2073 # Return INVALID_POSITION if not close to text.
2074 fun position CharPositionFromPointClose=2562(int x, int y)
2075
2076 # Set whether multiple selections can be made
2077 set void SetMultipleSelection=2563(bool multipleSelection,)
2078
2079 # Whether multiple selections can be made
2080 get bool GetMultipleSelection=2564(,)
2081
2082 # Set whether typing can be performed into multiple selections
2083 set void SetAdditionalSelectionTyping=2565(bool additionalSelectionTyping,)
2084
2085 # Whether typing can be performed into multiple selections
2086 get bool GetAdditionalSelectionTyping=2566(,)
2087
2088 # Set whether additional carets will blink
2089 set void SetAdditionalCaretsBlink=2567(bool additionalCaretsBlink,)
2090
2091 # Whether additional carets will blink
2092 get bool GetAdditionalCaretsBlink=2568(,)
2093
2094 # Set whether additional carets are visible
2095 set void SetAdditionalCaretsVisible=2608(bool additionalCaretsBlink,)
2096
2097 # Whether additional carets are visible
2098 get bool GetAdditionalCaretsVisible=2609(,)
2099
2100 # How many selections are there?
2101 get int GetSelections=2570(,)
2102
2103 # Clear selections to a single empty stream selection
2104 fun void ClearSelections=2571(,)
2105
2106 # Set a simple selection
2107 fun int SetSelection=2572(int caret, int anchor)
2108
2109 # Add a selection
2110 fun int AddSelection=2573(int caret, int anchor)
2111
2112 # Set the main selection
2113 set void SetMainSelection=2574(int selection,)
2114
2115 # Which selection is the main selection
2116 get int GetMainSelection=2575(,)
2117
2118 set void SetSelectionNCaret=2576(int selection, position pos)
2119 get position GetSelectionNCaret=2577(int selection,)
2120 set void SetSelectionNAnchor=2578(int selection, position posAnchor)
2121 get position GetSelectionNAnchor=2579(int selection,)
2122 set void SetSelectionNCaretVirtualSpace=2580(int selection, int space)
2123 get int GetSelectionNCaretVirtualSpace=2581(int selection,)
2124 set void SetSelectionNAnchorVirtualSpace=2582(int selection, int space)
2125 get int GetSelectionNAnchorVirtualSpace=2583(int selection,)
2126
2127 # Sets the position that starts the selection - this becomes the anchor.
2128 set void SetSelectionNStart=2584(int selection, position pos)
2129
2130 # Returns the position at the start of the selection.
2131 get position GetSelectionNStart=2585(int selection,)
2132
2133 # Sets the position that ends the selection - this becomes the currentPosition.
2134 set void SetSelectionNEnd=2586(int selection, position pos)
2135
2136 # Returns the position at the end of the selection.
2137 get position GetSelectionNEnd=2587(int selection,)
2138
2139 set void SetRectangularSelectionCaret=2588(position pos,)
2140 get position GetRectangularSelectionCaret=2589(,)
2141 set void SetRectangularSelectionAnchor=2590(position posAnchor,)
2142 get position GetRectangularSelectionAnchor=2591(,)
2143 set void SetRectangularSelectionCaretVirtualSpace=2592(int space,)
2144 get int GetRectangularSelectionCaretVirtualSpace=2593(,)
2145 set void SetRectangularSelectionAnchorVirtualSpace=2594(int space,)
2146 get int GetRectangularSelectionAnchorVirtualSpace=2595(,)
2147
2148 enu VirtualSpace=SCVS_
2149 val SCVS_NONE=0
2150 val SCVS_RECTANGULARSELECTION=1
2151 val SCVS_USERACCESSIBLE=2
2152
2153 set void SetVirtualSpaceOptions=2596(int virtualSpaceOptions,)
2154 get int GetVirtualSpaceOptions=2597(,)
2155
2156 # On GTK+, allow selecting the modifier key to use for mouse-based
2157 # rectangular selection. Often the window manager requires Alt+Mouse Drag
2158 # for moving windows.
2159 # Valid values are SCMOD_CTRL(default), SCMOD_ALT, or SCMOD_SUPER.
2160
2161 set void SetRectangularSelectionModifier=2598(int modifier,)
2162
2163 # Get the modifier key used for rectangular selection.
2164 get int GetRectangularSelectionModifier=2599(,)
2165
2166 # Set the foreground colour of additional selections.
2167 # Must have previously called SetSelFore with non-zero first argument for this to have an effect.
2168 set void SetAdditionalSelFore=2600(colour fore,)
2169
2170 # Set the background colour of additional selections.
2171 # Must have previously called SetSelBack with non-zero first argument for this to have an effect.
2172 set void SetAdditionalSelBack=2601(colour back,)
2173
2174 # Set the alpha of the selection.
2175 set void SetAdditionalSelAlpha=2602(int alpha,)
2176
2177 # Get the alpha of the selection.
2178 get int GetAdditionalSelAlpha=2603(,)
2179
2180 # Set the foreground colour of additional carets.
2181 set void SetAdditionalCaretFore=2604(colour fore,)
2182
2183 # Get the foreground colour of additional carets.
2184 get colour GetAdditionalCaretFore=2605(,)
2185
2186 # Set the main selection to the next selection.
2187 fun void RotateSelection=2606(,)
2188
2189 # Swap that caret and anchor of the main selection.
2190 fun void SwapMainAnchorCaret=2607(,)
2191
2192 # Indicate that the internal state of a lexer has changed over a range and therefore
2193 # there may be a need to redraw.
2194 fun int ChangeLexerState=2617(position start, position end)
2195
2196 # Find the next line at or after lineStart that is a contracted fold header line.
2197 # Return -1 when no more lines.
2198 fun int ContractedFoldNext=2618(int lineStart,)
2199
2200 # Centre current line in window.
2201 fun void VerticalCentreCaret=2619(,)
2202
2203 # Move the selected lines up one line, shifting the line above after the selection
2204 fun void MoveSelectedLinesUp=2620(,)
2205
2206 # Move the selected lines down one line, shifting the line below before the selection
2207 fun void MoveSelectedLinesDown=2621(,)
2208
2209 # Set the identifier reported as idFrom in notification messages.
2210 set void SetIdentifier=2622(int identifier,)
2211
2212 # Get the identifier.
2213 get int GetIdentifier=2623(,)
2214
2215 # Set the width for future RGBA image data.
2216 set void RGBAImageSetWidth=2624(int width,)
2217
2218 # Set the height for future RGBA image data.
2219 set void RGBAImageSetHeight=2625(int height,)
2220
2221 # Define a marker from RGBA data.
2222 # It has the width and height from RGBAImageSetWidth/Height
2223 fun void MarkerDefineRGBAImage=2626(int markerNumber, string pixels)
2224
2225 # Register an RGBA image for use in autocompletion lists.
2226 # It has the width and height from RGBAImageSetWidth/Height
2227 fun void RegisterRGBAImage=2627(int type, string pixels)
2228
2229 # Scroll to start of document.
2230 fun void ScrollToStart=2628(,)
2231
2232 # Scroll to end of document.
2233 fun void ScrollToEnd=2629(,)
2234
2235 val SC_TECHNOLOGY_DEFAULT=0
2236 val SC_TECHNOLOGY_DIRECTWRITE=1
2237
2238 # Set the technology used.
2239 set void SetTechnology=2630(int technology,)
2240
2241 # Get the tech.
2242 get int GetTechnology=2631(,)
2243
2244 # Create an ILoader*.
2245 fun int CreateLoader=2632(int bytes,)
2246
2247 # On OS X, show a find indicator.
2248 fun void FindIndicatorShow=2640(position start, position end)
2249
2250 # On OS X, flash a find indicator, then fade out.
2251 fun void FindIndicatorFlash=2641(position start, position end)
2252
2253 # On OS X, hide the find indicator.
2254 fun void FindIndicatorHide=2642(,)
2255
2256 # Start notifying the container of all key presses and commands.
2257 fun void StartRecord=3001(,)
2258
2259 # Stop notifying the container of all key presses and commands.
2260 fun void StopRecord=3002(,)
2261
2262 # Set the lexing language of the document.
2263 set void SetLexer=4001(int lexer,)
2264
2265 # Retrieve the lexing language of the document.
2266 get int GetLexer=4002(,)
2267
2268 # Colourise a segment of the document using the current lexing language.
2269 fun void Colourise=4003(position start, position end)
2270
2271 # Set up a value that may be used by a lexer for some optional feature.
2272 set void SetProperty=4004(string key, string value)
2273
2274 # Maximum value of keywordSet parameter of SetKeyWords.
2275 val KEYWORDSET_MAX=8
2276
2277 # Set up the key words used by the lexer.
2278 set void SetKeyWords=4005(int keywordSet, string keyWords)
2279
2280 # Set the lexing language of the document based on string name.
2281 set void SetLexerLanguage=4006(, string language)
2282
2283 # Load a lexer library (dll / so).
2284 fun void LoadLexerLibrary=4007(, string path)
2285
2286 # Retrieve a "property" value previously set with SetProperty.
2287 get int GetProperty=4008(string key, stringresult buf)
2288
2289 # Retrieve a "property" value previously set with SetProperty,
2290 # with "$()" variable replacement on returned buffer.
2291 get int GetPropertyExpanded=4009(string key, stringresult buf)
2292
2293 # Retrieve a "property" value previously set with SetProperty,
2294 # interpreted as an int AFTER any "$()" variable replacement.
2295 get int GetPropertyInt=4010(string key,)
2296
2297 # Retrieve the number of bits the current lexer needs for styling.
2298 get int GetStyleBitsNeeded=4011(,)
2299
2300 # Retrieve the name of the lexer.
2301 # Return the length of the text.
2302 get int GetLexerLanguage=4012(, stringresult text)
2303
2304 # For private communication between an application and a known lexer.
2305 fun int PrivateLexerCall=4013(int operation, int pointer)
2306
2307 # Retrieve a '\n' separated list of properties understood by the current lexer.
2308 fun int PropertyNames=4014(, stringresult names)
2309
2310 enu TypeProperty=SC_TYPE_
2311 val SC_TYPE_BOOLEAN=0
2312 val SC_TYPE_INTEGER=1
2313 val SC_TYPE_STRING=2
2314
2315 # Retrieve the type of a property.
2316 fun int PropertyType=4015(string name,)
2317
2318 # Describe a property.
2319 fun int DescribeProperty=4016(string name, stringresult description)
2320
2321 # Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
2322 fun int DescribeKeyWordSets=4017(, stringresult descriptions)
2323
2324 # Notifications
2325 # Type of modification and the action which caused the modification.
2326 # These are defined as a bit mask to make it easy to specify which notifications are wanted.
2327 # One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
2328 enu ModificationFlags=SC_MOD_ SC_PERFORMED_ SC_MULTISTEPUNDOREDO SC_LASTSTEPINUNDOREDO SC_MULTILINEUNDOREDO SC_STARTACTION SC_MODEVENTMASKALL
2329 val SC_MOD_INSERTTEXT=0x1
2330 val SC_MOD_DELETETEXT=0x2
2331 val SC_MOD_CHANGESTYLE=0x4
2332 val SC_MOD_CHANGEFOLD=0x8
2333 val SC_PERFORMED_USER=0x10
2334 val SC_PERFORMED_UNDO=0x20
2335 val SC_PERFORMED_REDO=0x40
2336 val SC_MULTISTEPUNDOREDO=0x80
2337 val SC_LASTSTEPINUNDOREDO=0x100
2338 val SC_MOD_CHANGEMARKER=0x200
2339 val SC_MOD_BEFOREINSERT=0x400
2340 val SC_MOD_BEFOREDELETE=0x800
2341 val SC_MULTILINEUNDOREDO=0x1000
2342 val SC_STARTACTION=0x2000
2343 val SC_MOD_CHANGEINDICATOR=0x4000
2344 val SC_MOD_CHANGELINESTATE=0x8000
2345 val SC_MOD_CHANGEMARGIN=0x10000
2346 val SC_MOD_CHANGEANNOTATION=0x20000
2347 val SC_MOD_CONTAINER=0x40000
2348 val SC_MOD_LEXERSTATE=0x80000
2349 val SC_MODEVENTMASKALL=0xFFFFF
2350
2351 enu Update=SC_UPDATE_
2352 val SC_UPDATE_CONTENT=0x1
2353 val SC_UPDATE_SELECTION=0x2
2354 val SC_UPDATE_V_SCROLL=0x4
2355 val SC_UPDATE_H_SCROLL=0x8
2356
2357 # For compatibility, these go through the COMMAND notification rather than NOTIFY
2358 # and should have had exactly the same values as the EN_* constants.
2359 # Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_*
2360 # As clients depend on these constants, this will not be changed.
2361 val SCEN_CHANGE=768
2362 val SCEN_SETFOCUS=512
2363 val SCEN_KILLFOCUS=256
2364
2365 # Symbolic key codes and modifier flags.
2366 # ASCII and other printable characters below 256.
2367 # Extended keys above 300.
2368
2369 enu Keys=SCK_
2370 val SCK_DOWN=300
2371 val SCK_UP=301
2372 val SCK_LEFT=302
2373 val SCK_RIGHT=303
2374 val SCK_HOME=304
2375 val SCK_END=305
2376 val SCK_PRIOR=306
2377 val SCK_NEXT=307
2378 val SCK_DELETE=308
2379 val SCK_INSERT=309
2380 val SCK_ESCAPE=7
2381 val SCK_BACK=8
2382 val SCK_TAB=9
2383 val SCK_RETURN=13
2384 val SCK_ADD=310
2385 val SCK_SUBTRACT=311
2386 val SCK_DIVIDE=312
2387 val SCK_WIN=313
2388 val SCK_RWIN=314
2389 val SCK_MENU=315
2390
2391 enu KeyMod=SCMOD_
2392 val SCMOD_NORM=0
2393 val SCMOD_SHIFT=1
2394 val SCMOD_CTRL=2
2395 val SCMOD_ALT=4
2396 val SCMOD_SUPER=8
2397 val SCMOD_META=16
2398
2399 ################################################
2400 # For SciLexer.h
2401 enu Lexer=SCLEX_
2402 val SCLEX_CONTAINER=0
2403 val SCLEX_NULL=1
2404 val SCLEX_PYTHON=2
2405 val SCLEX_CPP=3
2406 val SCLEX_HTML=4
2407 val SCLEX_XML=5
2408 val SCLEX_PERL=6
2409 val SCLEX_SQL=7
2410 val SCLEX_VB=8
2411 val SCLEX_PROPERTIES=9
2412 val SCLEX_ERRORLIST=10
2413 val SCLEX_MAKEFILE=11
2414 val SCLEX_BATCH=12
2415 val SCLEX_XCODE=13
2416 val SCLEX_LATEX=14
2417 val SCLEX_LUA=15
2418 val SCLEX_DIFF=16
2419 val SCLEX_CONF=17
2420 val SCLEX_PASCAL=18
2421 val SCLEX_AVE=19
2422 val SCLEX_ADA=20
2423 val SCLEX_LISP=21
2424 val SCLEX_RUBY=22
2425 val SCLEX_EIFFEL=23
2426 val SCLEX_EIFFELKW=24
2427 val SCLEX_TCL=25
2428 val SCLEX_NNCRONTAB=26
2429 val SCLEX_BULLANT=27
2430 val SCLEX_VBSCRIPT=28
2431 val SCLEX_BAAN=31
2432 val SCLEX_MATLAB=32
2433 val SCLEX_SCRIPTOL=33
2434 val SCLEX_ASM=34
2435 val SCLEX_CPPNOCASE=35
2436 val SCLEX_FORTRAN=36
2437 val SCLEX_F77=37
2438 val SCLEX_CSS=38
2439 val SCLEX_POV=39
2440 val SCLEX_LOUT=40
2441 val SCLEX_ESCRIPT=41
2442 val SCLEX_PS=42
2443 val SCLEX_NSIS=43
2444 val SCLEX_MMIXAL=44
2445 val SCLEX_CLW=45
2446 val SCLEX_CLWNOCASE=46
2447 val SCLEX_LOT=47
2448 val SCLEX_YAML=48
2449 val SCLEX_TEX=49
2450 val SCLEX_METAPOST=50
2451 val SCLEX_POWERBASIC=51
2452 val SCLEX_FORTH=52
2453 val SCLEX_ERLANG=53
2454 val SCLEX_OCTAVE=54
2455 val SCLEX_MSSQL=55
2456 val SCLEX_VERILOG=56
2457 val SCLEX_KIX=57
2458 val SCLEX_GUI4CLI=58
2459 val SCLEX_SPECMAN=59
2460 val SCLEX_AU3=60
2461 val SCLEX_APDL=61
2462 val SCLEX_BASH=62
2463 val SCLEX_ASN1=63
2464 val SCLEX_VHDL=64
2465 val SCLEX_CAML=65
2466 val SCLEX_BLITZBASIC=66
2467 val SCLEX_PUREBASIC=67
2468 val SCLEX_HASKELL=68
2469 val SCLEX_PHPSCRIPT=69
2470 val SCLEX_TADS3=70
2471 val SCLEX_REBOL=71
2472 val SCLEX_SMALLTALK=72
2473 val SCLEX_FLAGSHIP=73
2474 val SCLEX_CSOUND=74
2475 val SCLEX_FREEBASIC=75
2476 val SCLEX_INNOSETUP=76
2477 val SCLEX_OPAL=77
2478 val SCLEX_SPICE=78
2479 val SCLEX_D=79
2480 val SCLEX_CMAKE=80
2481 val SCLEX_GAP=81
2482 val SCLEX_PLM=82
2483 val SCLEX_PROGRESS=83
2484 val SCLEX_ABAQUS=84
2485 val SCLEX_ASYMPTOTE=85
2486 val SCLEX_R=86
2487 val SCLEX_MAGIK=87
2488 val SCLEX_POWERSHELL=88
2489 val SCLEX_MYSQL=89
2490 val SCLEX_PO=90
2491 val SCLEX_TAL=91
2492 val SCLEX_COBOL=92
2493 val SCLEX_TACL=93
2494 val SCLEX_SORCUS=94
2495 val SCLEX_POWERPRO=95
2496 val SCLEX_NIMROD=96
2497 val SCLEX_SML=97
2498 val SCLEX_MARKDOWN=98
2499 val SCLEX_TXT2TAGS=99
2500 val SCLEX_A68K=100
2501 val SCLEX_MODULA=101
2502 val SCLEX_COFFEESCRIPT=102
2503 val SCLEX_TCMD=103
2504 val SCLEX_AVS=104
2505 val SCLEX_ECL=105
2506 val SCLEX_OSCRIPT=106
2507 val SCLEX_VISUALPROLOG=107
2508
2509 # When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
2510 # value assigned in sequence from SCLEX_AUTOMATIC+1.
2511 val SCLEX_AUTOMATIC=1000
2512 # Lexical states for SCLEX_PYTHON
2513 lex Python=SCLEX_PYTHON SCE_P_
2514 lex Nimrod=SCLEX_NIMROD SCE_P_
2515 val SCE_P_DEFAULT=0
2516 val SCE_P_COMMENTLINE=1
2517 val SCE_P_NUMBER=2
2518 val SCE_P_STRING=3
2519 val SCE_P_CHARACTER=4
2520 val SCE_P_WORD=5
2521 val SCE_P_TRIPLE=6
2522 val SCE_P_TRIPLEDOUBLE=7
2523 val SCE_P_CLASSNAME=8
2524 val SCE_P_DEFNAME=9
2525 val SCE_P_OPERATOR=10
2526 val SCE_P_IDENTIFIER=11
2527 val SCE_P_COMMENTBLOCK=12
2528 val SCE_P_STRINGEOL=13
2529 val SCE_P_WORD2=14
2530 val SCE_P_DECORATOR=15
2531 # Lexical states for SCLEX_CPP
2532 lex Cpp=SCLEX_CPP SCE_C_
2533 lex BullAnt=SCLEX_BULLANT SCE_C_
2534 val SCE_C_DEFAULT=0
2535 val SCE_C_COMMENT=1
2536 val SCE_C_COMMENTLINE=2
2537 val SCE_C_COMMENTDOC=3
2538 val SCE_C_NUMBER=4
2539 val SCE_C_WORD=5
2540 val SCE_C_STRING=6
2541 val SCE_C_CHARACTER=7
2542 val SCE_C_UUID=8
2543 val SCE_C_PREPROCESSOR=9
2544 val SCE_C_OPERATOR=10
2545 val SCE_C_IDENTIFIER=11
2546 val SCE_C_STRINGEOL=12
2547 val SCE_C_VERBATIM=13
2548 val SCE_C_REGEX=14
2549 val SCE_C_COMMENTLINEDOC=15
2550 val SCE_C_WORD2=16
2551 val SCE_C_COMMENTDOCKEYWORD=17
2552 val SCE_C_COMMENTDOCKEYWORDERROR=18
2553 val SCE_C_GLOBALCLASS=19
2554 val SCE_C_STRINGRAW=20
2555 val SCE_C_TRIPLEVERBATIM=21
2556 val SCE_C_HASHQUOTEDSTRING=22
2557 val SCE_C_PREPROCESSORCOMMENT=23
2558 # Lexical states for SCLEX_D
2559 lex D=SCLEX_D SCE_D_
2560 val SCE_D_DEFAULT=0
2561 val SCE_D_COMMENT=1
2562 val SCE_D_COMMENTLINE=2
2563 val SCE_D_COMMENTDOC=3
2564 val SCE_D_COMMENTNESTED=4
2565 val SCE_D_NUMBER=5
2566 val SCE_D_WORD=6
2567 val SCE_D_WORD2=7
2568 val SCE_D_WORD3=8
2569 val SCE_D_TYPEDEF=9
2570 val SCE_D_STRING=10
2571 val SCE_D_STRINGEOL=11
2572 val SCE_D_CHARACTER=12
2573 val SCE_D_OPERATOR=13
2574 val SCE_D_IDENTIFIER=14
2575 val SCE_D_COMMENTLINEDOC=15
2576 val SCE_D_COMMENTDOCKEYWORD=16
2577 val SCE_D_COMMENTDOCKEYWORDERROR=17
2578 val SCE_D_STRINGB=18
2579 val SCE_D_STRINGR=19
2580 val SCE_D_WORD5=20
2581 val SCE_D_WORD6=21
2582 val SCE_D_WORD7=22
2583 # Lexical states for SCLEX_TCL
2584 lex TCL=SCLEX_TCL SCE_TCL_
2585 val SCE_TCL_DEFAULT=0
2586 val SCE_TCL_COMMENT=1
2587 val SCE_TCL_COMMENTLINE=2
2588 val SCE_TCL_NUMBER=3
2589 val SCE_TCL_WORD_IN_QUOTE=4
2590 val SCE_TCL_IN_QUOTE=5
2591 val SCE_TCL_OPERATOR=6
2592 val SCE_TCL_IDENTIFIER=7
2593 val SCE_TCL_SUBSTITUTION=8
2594 val SCE_TCL_SUB_BRACE=9
2595 val SCE_TCL_MODIFIER=10
2596 val SCE_TCL_EXPAND=11
2597 val SCE_TCL_WORD=12
2598 val SCE_TCL_WORD2=13
2599 val SCE_TCL_WORD3=14
2600 val SCE_TCL_WORD4=15
2601 val SCE_TCL_WORD5=16
2602 val SCE_TCL_WORD6=17
2603 val SCE_TCL_WORD7=18
2604 val SCE_TCL_WORD8=19
2605 val SCE_TCL_COMMENT_BOX=20
2606 val SCE_TCL_BLOCK_COMMENT=21
2607 # Lexical states for SCLEX_HTML, SCLEX_XML
2608 lex HTML=SCLEX_HTML SCE_H_ SCE_HJ_ SCE_HJA_ SCE_HB_ SCE_HBA_ SCE_HP_ SCE_HPHP_ SCE_HPA_
2609 lex XML=SCLEX_XML SCE_H_ SCE_HJ_ SCE_HJA_ SCE_HB_ SCE_HBA_ SCE_HP_ SCE_HPHP_ SCE_HPA_
2610 lex ASP=SCLEX_ASP SCE_H_ SCE_HJ_ SCE_HJA_ SCE_HB_ SCE_HBA_ SCE_HP_ SCE_HPHP_ SCE_HPA_
2611 lex PHP=SCLEX_PHP SCE_H_ SCE_HJ_ SCE_HJA_ SCE_HB_ SCE_HBA_ SCE_HP_ SCE_HPHP_ SCE_HPA_
2612 val SCE_H_DEFAULT=0
2613 val SCE_H_TAG=1
2614 val SCE_H_TAGUNKNOWN=2
2615 val SCE_H_ATTRIBUTE=3
2616 val SCE_H_ATTRIBUTEUNKNOWN=4
2617 val SCE_H_NUMBER=5
2618 val SCE_H_DOUBLESTRING=6
2619 val SCE_H_SINGLESTRING=7
2620 val SCE_H_OTHER=8
2621 val SCE_H_COMMENT=9
2622 val SCE_H_ENTITY=10
2623 # XML and ASP
2624 val SCE_H_TAGEND=11
2625 val SCE_H_XMLSTART=12
2626 val SCE_H_XMLEND=13
2627 val SCE_H_SCRIPT=14
2628 val SCE_H_ASP=15
2629 val SCE_H_ASPAT=16
2630 val SCE_H_CDATA=17
2631 val SCE_H_QUESTION=18
2632 # More HTML
2633 val SCE_H_VALUE=19
2634 # X-Code
2635 val SCE_H_XCCOMMENT=20
2636 # SGML
2637 val SCE_H_SGML_DEFAULT=21
2638 val SCE_H_SGML_COMMAND=22
2639 val SCE_H_SGML_1ST_PARAM=23
2640 val SCE_H_SGML_DOUBLESTRING=24
2641 val SCE_H_SGML_SIMPLESTRING=25
2642 val SCE_H_SGML_ERROR=26
2643 val SCE_H_SGML_SPECIAL=27
2644 val SCE_H_SGML_ENTITY=28
2645 val SCE_H_SGML_COMMENT=29
2646 val SCE_H_SGML_1ST_PARAM_COMMENT=30
2647 val SCE_H_SGML_BLOCK_DEFAULT=31
2648 # Embedded Javascript
2649 val SCE_HJ_START=40
2650 val SCE_HJ_DEFAULT=41
2651 val SCE_HJ_COMMENT=42
2652 val SCE_HJ_COMMENTLINE=43
2653 val SCE_HJ_COMMENTDOC=44
2654 val SCE_HJ_NUMBER=45
2655 val SCE_HJ_WORD=46
2656 val SCE_HJ_KEYWORD=47
2657 val SCE_HJ_DOUBLESTRING=48
2658 val SCE_HJ_SINGLESTRING=49
2659 val SCE_HJ_SYMBOLS=50
2660 val SCE_HJ_STRINGEOL=51
2661 val SCE_HJ_REGEX=52
2662 # ASP Javascript
2663 val SCE_HJA_START=55
2664 val SCE_HJA_DEFAULT=56
2665 val SCE_HJA_COMMENT=57
2666 val SCE_HJA_COMMENTLINE=58
2667 val SCE_HJA_COMMENTDOC=59
2668 val SCE_HJA_NUMBER=60
2669 val SCE_HJA_WORD=61
2670 val SCE_HJA_KEYWORD=62
2671 val SCE_HJA_DOUBLESTRING=63
2672 val SCE_HJA_SINGLESTRING=64
2673 val SCE_HJA_SYMBOLS=65
2674 val SCE_HJA_STRINGEOL=66
2675 val SCE_HJA_REGEX=67
2676 # Embedded VBScript
2677 val SCE_HB_START=70
2678 val SCE_HB_DEFAULT=71
2679 val SCE_HB_COMMENTLINE=72
2680 val SCE_HB_NUMBER=73
2681 val SCE_HB_WORD=74
2682 val SCE_HB_STRING=75
2683 val SCE_HB_IDENTIFIER=76
2684 val SCE_HB_STRINGEOL=77
2685 # ASP VBScript
2686 val SCE_HBA_START=80
2687 val SCE_HBA_DEFAULT=81
2688 val SCE_HBA_COMMENTLINE=82
2689 val SCE_HBA_NUMBER=83
2690 val SCE_HBA_WORD=84
2691 val SCE_HBA_STRING=85
2692 val SCE_HBA_IDENTIFIER=86
2693 val SCE_HBA_STRINGEOL=87
2694 # Embedded Python
2695 val SCE_HP_START=90
2696 val SCE_HP_DEFAULT=91
2697 val SCE_HP_COMMENTLINE=92
2698 val SCE_HP_NUMBER=93
2699 val SCE_HP_STRING=94
2700 val SCE_HP_CHARACTER=95
2701 val SCE_HP_WORD=96
2702 val SCE_HP_TRIPLE=97
2703 val SCE_HP_TRIPLEDOUBLE=98
2704 val SCE_HP_CLASSNAME=99
2705 val SCE_HP_DEFNAME=100
2706 val SCE_HP_OPERATOR=101
2707 val SCE_HP_IDENTIFIER=102
2708 # PHP
2709 val SCE_HPHP_COMPLEX_VARIABLE=104
2710 # ASP Python
2711 val SCE_HPA_START=105
2712 val SCE_HPA_DEFAULT=106
2713 val SCE_HPA_COMMENTLINE=107
2714 val SCE_HPA_NUMBER=108
2715 val SCE_HPA_STRING=109
2716 val SCE_HPA_CHARACTER=110
2717 val SCE_HPA_WORD=111
2718 val SCE_HPA_TRIPLE=112
2719 val SCE_HPA_TRIPLEDOUBLE=113
2720 val SCE_HPA_CLASSNAME=114
2721 val SCE_HPA_DEFNAME=115
2722 val SCE_HPA_OPERATOR=116
2723 val SCE_HPA_IDENTIFIER=117
2724 # PHP
2725 val SCE_HPHP_DEFAULT=118
2726 val SCE_HPHP_HSTRING=119
2727 val SCE_HPHP_SIMPLESTRING=120
2728 val SCE_HPHP_WORD=121
2729 val SCE_HPHP_NUMBER=122
2730 val SCE_HPHP_VARIABLE=123
2731 val SCE_HPHP_COMMENT=124
2732 val SCE_HPHP_COMMENTLINE=125
2733 val SCE_HPHP_HSTRING_VARIABLE=126
2734 val SCE_HPHP_OPERATOR=127
2735 # Lexical states for SCLEX_PERL
2736 lex Perl=SCLEX_PERL SCE_PL_
2737 val SCE_PL_DEFAULT=0
2738 val SCE_PL_ERROR=1
2739 val SCE_PL_COMMENTLINE=2
2740 val SCE_PL_POD=3
2741 val SCE_PL_NUMBER=4
2742 val SCE_PL_WORD=5
2743 val SCE_PL_STRING=6
2744 val SCE_PL_CHARACTER=7
2745 val SCE_PL_PUNCTUATION=8
2746 val SCE_PL_PREPROCESSOR=9
2747 val SCE_PL_OPERATOR=10
2748 val SCE_PL_IDENTIFIER=11
2749 val SCE_PL_SCALAR=12
2750 val SCE_PL_ARRAY=13
2751 val SCE_PL_HASH=14
2752 val SCE_PL_SYMBOLTABLE=15
2753 val SCE_PL_VARIABLE_INDEXER=16
2754 val SCE_PL_REGEX=17
2755 val SCE_PL_REGSUBST=18
2756 val SCE_PL_LONGQUOTE=19
2757 val SCE_PL_BACKTICKS=20
2758 val SCE_PL_DATASECTION=21
2759 val SCE_PL_HERE_DELIM=22
2760 val SCE_PL_HERE_Q=23
2761 val SCE_PL_HERE_QQ=24
2762 val SCE_PL_HERE_QX=25
2763 val SCE_PL_STRING_Q=26
2764 val SCE_PL_STRING_QQ=27
2765 val SCE_PL_STRING_QX=28
2766 val SCE_PL_STRING_QR=29
2767 val SCE_PL_STRING_QW=30
2768 val SCE_PL_POD_VERB=31
2769 val SCE_PL_SUB_PROTOTYPE=40
2770 val SCE_PL_FORMAT_IDENT=41
2771 val SCE_PL_FORMAT=42
2772 val SCE_PL_STRING_VAR=43
2773 val SCE_PL_XLAT=44
2774 val SCE_PL_REGEX_VAR=54
2775 val SCE_PL_REGSUBST_VAR=55
2776 val SCE_PL_BACKTICKS_VAR=57
2777 val SCE_PL_HERE_QQ_VAR=61
2778 val SCE_PL_HERE_QX_VAR=62
2779 val SCE_PL_STRING_QQ_VAR=64
2780 val SCE_PL_STRING_QX_VAR=65
2781 val SCE_PL_STRING_QR_VAR=66
2782 # Lexical states for SCLEX_RUBY
2783 lex Ruby=SCLEX_RUBY SCE_RB_
2784 val SCE_RB_DEFAULT=0
2785 val SCE_RB_ERROR=1
2786 val SCE_RB_COMMENTLINE=2
2787 val SCE_RB_POD=3
2788 val SCE_RB_NUMBER=4
2789 val SCE_RB_WORD=5
2790 val SCE_RB_STRING=6
2791 val SCE_RB_CHARACTER=7
2792 val SCE_RB_CLASSNAME=8
2793 val SCE_RB_DEFNAME=9
2794 val SCE_RB_OPERATOR=10
2795 val SCE_RB_IDENTIFIER=11
2796 val SCE_RB_REGEX=12
2797 val SCE_RB_GLOBAL=13
2798 val SCE_RB_SYMBOL=14
2799 val SCE_RB_MODULE_NAME=15
2800 val SCE_RB_INSTANCE_VAR=16
2801 val SCE_RB_CLASS_VAR=17
2802 val SCE_RB_BACKTICKS=18
2803 val SCE_RB_DATASECTION=19
2804 val SCE_RB_HERE_DELIM=20
2805 val SCE_RB_HERE_Q=21
2806 val SCE_RB_HERE_QQ=22
2807 val SCE_RB_HERE_QX=23
2808 val SCE_RB_STRING_Q=24
2809 val SCE_RB_STRING_QQ=25
2810 val SCE_RB_STRING_QX=26
2811 val SCE_RB_STRING_QR=27
2812 val SCE_RB_STRING_QW=28
2813 val SCE_RB_WORD_DEMOTED=29
2814 val SCE_RB_STDIN=30
2815 val SCE_RB_STDOUT=31
2816 val SCE_RB_STDERR=40
2817 val SCE_RB_UPPER_BOUND=41
2818 # Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC
2819 lex VB=SCLEX_VB SCE_B_
2820 lex VBScript=SCLEX_VBSCRIPT SCE_B_
2821 lex PowerBasic=SCLEX_POWERBASIC SCE_B_
2822 val SCE_B_DEFAULT=0
2823 val SCE_B_COMMENT=1
2824 val SCE_B_NUMBER=2
2825 val SCE_B_KEYWORD=3
2826 val SCE_B_STRING=4
2827 val SCE_B_PREPROCESSOR=5
2828 val SCE_B_OPERATOR=6
2829 val SCE_B_IDENTIFIER=7
2830 val SCE_B_DATE=8
2831 val SCE_B_STRINGEOL=9
2832 val SCE_B_KEYWORD2=10
2833 val SCE_B_KEYWORD3=11
2834 val SCE_B_KEYWORD4=12
2835 val SCE_B_CONSTANT=13
2836 val SCE_B_ASM=14
2837 val SCE_B_LABEL=15
2838 val SCE_B_ERROR=16
2839 val SCE_B_HEXNUMBER=17
2840 val SCE_B_BINNUMBER=18
2841 # Lexical states for SCLEX_PROPERTIES
2842 lex Properties=SCLEX_PROPERTIES SCE_PROPS_
2843 val SCE_PROPS_DEFAULT=0
2844 val SCE_PROPS_COMMENT=1
2845 val SCE_PROPS_SECTION=2
2846 val SCE_PROPS_ASSIGNMENT=3
2847 val SCE_PROPS_DEFVAL=4
2848 val SCE_PROPS_KEY=5
2849 # Lexical states for SCLEX_LATEX
2850 lex LaTeX=SCLEX_LATEX SCE_L_
2851 val SCE_L_DEFAULT=0
2852 val SCE_L_COMMAND=1
2853 val SCE_L_TAG=2
2854 val SCE_L_MATH=3
2855 val SCE_L_COMMENT=4
2856 val SCE_L_TAG2=5
2857 val SCE_L_MATH2=6
2858 val SCE_L_COMMENT2=7
2859 val SCE_L_VERBATIM=8
2860 val SCE_L_SHORTCMD=9
2861 val SCE_L_SPECIAL=10
2862 val SCE_L_CMDOPT=11
2863 val SCE_L_ERROR=12
2864 # Lexical states for SCLEX_LUA
2865 lex Lua=SCLEX_LUA SCE_LUA_
2866 val SCE_LUA_DEFAULT=0
2867 val SCE_LUA_COMMENT=1
2868 val SCE_LUA_COMMENTLINE=2
2869 val SCE_LUA_COMMENTDOC=3
2870 val SCE_LUA_NUMBER=4
2871 val SCE_LUA_WORD=5
2872 val SCE_LUA_STRING=6
2873 val SCE_LUA_CHARACTER=7
2874 val SCE_LUA_LITERALSTRING=8
2875 val SCE_LUA_PREPROCESSOR=9
2876 val SCE_LUA_OPERATOR=10
2877 val SCE_LUA_IDENTIFIER=11
2878 val SCE_LUA_STRINGEOL=12
2879 val SCE_LUA_WORD2=13
2880 val SCE_LUA_WORD3=14
2881 val SCE_LUA_WORD4=15
2882 val SCE_LUA_WORD5=16
2883 val SCE_LUA_WORD6=17
2884 val SCE_LUA_WORD7=18
2885 val SCE_LUA_WORD8=19
2886 val SCE_LUA_LABEL=20
2887 # Lexical states for SCLEX_ERRORLIST
2888 lex ErrorList=SCLEX_ERRORLIST SCE_ERR_
2889 val SCE_ERR_DEFAULT=0
2890 val SCE_ERR_PYTHON=1
2891 val SCE_ERR_GCC=2
2892 val SCE_ERR_MS=3
2893 val SCE_ERR_CMD=4
2894 val SCE_ERR_BORLAND=5
2895 val SCE_ERR_PERL=6
2896 val SCE_ERR_NET=7
2897 val SCE_ERR_LUA=8
2898 val SCE_ERR_CTAG=9
2899 val SCE_ERR_DIFF_CHANGED=10
2900 val SCE_ERR_DIFF_ADDITION=11
2901 val SCE_ERR_DIFF_DELETION=12
2902 val SCE_ERR_DIFF_MESSAGE=13
2903 val SCE_ERR_PHP=14
2904 val SCE_ERR_ELF=15
2905 val SCE_ERR_IFC=16
2906 val SCE_ERR_IFORT=17
2907 val SCE_ERR_ABSF=18
2908 val SCE_ERR_TIDY=19
2909 val SCE_ERR_JAVA_STACK=20
2910 val SCE_ERR_VALUE=21
2911 # Lexical states for SCLEX_BATCH
2912 lex Batch=SCLEX_BATCH SCE_BAT_
2913 val SCE_BAT_DEFAULT=0
2914 val SCE_BAT_COMMENT=1
2915 val SCE_BAT_WORD=2
2916 val SCE_BAT_LABEL=3
2917 val SCE_BAT_HIDE=4
2918 val SCE_BAT_COMMAND=5
2919 val SCE_BAT_IDENTIFIER=6
2920 val SCE_BAT_OPERATOR=7
2921 # Lexical states for SCLEX_TCMD
2922 lex TCMD=SCLEX_TCMD SCE_TCMD_
2923 val SCE_TCMD_DEFAULT=0
2924 val SCE_TCMD_COMMENT=1
2925 val SCE_TCMD_WORD=2
2926 val SCE_TCMD_LABEL=3
2927 val SCE_TCMD_HIDE=4
2928 val SCE_TCMD_COMMAND=5
2929 val SCE_TCMD_IDENTIFIER=6
2930 val SCE_TCMD_OPERATOR=7
2931 val SCE_TCMD_ENVIRONMENT=8
2932 val SCE_TCMD_EXPANSION=9
2933 val SCE_TCMD_CLABEL=10
2934 # Lexical states for SCLEX_MAKEFILE
2935 lex MakeFile=SCLEX_MAKEFILE SCE_MAKE_
2936 val SCE_MAKE_DEFAULT=0
2937 val SCE_MAKE_COMMENT=1
2938 val SCE_MAKE_PREPROCESSOR=2
2939 val SCE_MAKE_IDENTIFIER=3
2940 val SCE_MAKE_OPERATOR=4
2941 val SCE_MAKE_TARGET=5
2942 val SCE_MAKE_IDEOL=9
2943 # Lexical states for SCLEX_DIFF
2944 lex Diff=SCLEX_DIFF SCE_DIFF_
2945 val SCE_DIFF_DEFAULT=0
2946 val SCE_DIFF_COMMENT=1
2947 val SCE_DIFF_COMMAND=2
2948 val SCE_DIFF_HEADER=3
2949 val SCE_DIFF_POSITION=4
2950 val SCE_DIFF_DELETED=5
2951 val SCE_DIFF_ADDED=6
2952 val SCE_DIFF_CHANGED=7
2953 # Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
2954 lex Conf=SCLEX_CONF SCE_CONF_
2955 val SCE_CONF_DEFAULT=0
2956 val SCE_CONF_COMMENT=1
2957 val SCE_CONF_NUMBER=2
2958 val SCE_CONF_IDENTIFIER=3
2959 val SCE_CONF_EXTENSION=4
2960 val SCE_CONF_PARAMETER=5
2961 val SCE_CONF_STRING=6
2962 val SCE_CONF_OPERATOR=7
2963 val SCE_CONF_IP=8
2964 val SCE_CONF_DIRECTIVE=9
2965 # Lexical states for SCLEX_AVE, Avenue
2966 lex Avenue=SCLEX_AVE SCE_AVE_
2967 val SCE_AVE_DEFAULT=0
2968 val SCE_AVE_COMMENT=1
2969 val SCE_AVE_NUMBER=2
2970 val SCE_AVE_WORD=3
2971 val SCE_AVE_STRING=6
2972 val SCE_AVE_ENUM=7
2973 val SCE_AVE_STRINGEOL=8
2974 val SCE_AVE_IDENTIFIER=9
2975 val SCE_AVE_OPERATOR=10
2976 val SCE_AVE_WORD1=11
2977 val SCE_AVE_WORD2=12
2978 val SCE_AVE_WORD3=13
2979 val SCE_AVE_WORD4=14
2980 val SCE_AVE_WORD5=15
2981 val SCE_AVE_WORD6=16
2982 # Lexical states for SCLEX_ADA
2983 lex Ada=SCLEX_ADA SCE_ADA_
2984 val SCE_ADA_DEFAULT=0
2985 val SCE_ADA_WORD=1
2986 val SCE_ADA_IDENTIFIER=2
2987 val SCE_ADA_NUMBER=3
2988 val SCE_ADA_DELIMITER=4
2989 val SCE_ADA_CHARACTER=5
2990 val SCE_ADA_CHARACTEREOL=6
2991 val SCE_ADA_STRING=7
2992 val SCE_ADA_STRINGEOL=8
2993 val SCE_ADA_LABEL=9
2994 val SCE_ADA_COMMENTLINE=10
2995 val SCE_ADA_ILLEGAL=11
2996 # Lexical states for SCLEX_BAAN
2997 lex Baan=SCLEX_BAAN SCE_BAAN_
2998 val SCE_BAAN_DEFAULT=0
2999 val SCE_BAAN_COMMENT=1
3000 val SCE_BAAN_COMMENTDOC=2
3001 val SCE_BAAN_NUMBER=3
3002 val SCE_BAAN_WORD=4
3003 val SCE_BAAN_STRING=5
3004 val SCE_BAAN_PREPROCESSOR=6
3005 val SCE_BAAN_OPERATOR=7
3006 val SCE_BAAN_IDENTIFIER=8
3007 val SCE_BAAN_STRINGEOL=9
3008 val SCE_BAAN_WORD2=10
3009 # Lexical states for SCLEX_LISP
3010 lex Lisp=SCLEX_LISP SCE_LISP_
3011 val SCE_LISP_DEFAULT=0
3012 val SCE_LISP_COMMENT=1
3013 val SCE_LISP_NUMBER=2
3014 val SCE_LISP_KEYWORD=3
3015 val SCE_LISP_KEYWORD_KW=4
3016 val SCE_LISP_SYMBOL=5
3017 val SCE_LISP_STRING=6
3018 val SCE_LISP_STRINGEOL=8
3019 val SCE_LISP_IDENTIFIER=9
3020 val SCE_LISP_OPERATOR=10
3021 val SCE_LISP_SPECIAL=11
3022 val SCE_LISP_MULTI_COMMENT=12
3023 # Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW
3024 lex Eiffel=SCLEX_EIFFEL SCE_EIFFEL_
3025 lex EiffelKW=SCLEX_EIFFELKW SCE_EIFFEL_
3026 val SCE_EIFFEL_DEFAULT=0
3027 val SCE_EIFFEL_COMMENTLINE=1
3028 val SCE_EIFFEL_NUMBER=2
3029 val SCE_EIFFEL_WORD=3
3030 val SCE_EIFFEL_STRING=4
3031 val SCE_EIFFEL_CHARACTER=5
3032 val SCE_EIFFEL_OPERATOR=6
3033 val SCE_EIFFEL_IDENTIFIER=7
3034 val SCE_EIFFEL_STRINGEOL=8
3035 # Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
3036 lex NNCronTab=SCLEX_NNCRONTAB SCE_NNCRONTAB_
3037 val SCE_NNCRONTAB_DEFAULT=0
3038 val SCE_NNCRONTAB_COMMENT=1
3039 val SCE_NNCRONTAB_TASK=2
3040 val SCE_NNCRONTAB_SECTION=3
3041 val SCE_NNCRONTAB_KEYWORD=4
3042 val SCE_NNCRONTAB_MODIFIER=5
3043 val SCE_NNCRONTAB_ASTERISK=6
3044 val SCE_NNCRONTAB_NUMBER=7
3045 val SCE_NNCRONTAB_STRING=8
3046 val SCE_NNCRONTAB_ENVIRONMENT=9
3047 val SCE_NNCRONTAB_IDENTIFIER=10
3048 # Lexical states for SCLEX_FORTH (Forth Lexer)
3049 lex Forth=SCLEX_FORTH SCE_FORTH_
3050 val SCE_FORTH_DEFAULT=0
3051 val SCE_FORTH_COMMENT=1
3052 val SCE_FORTH_COMMENT_ML=2
3053 val SCE_FORTH_IDENTIFIER=3
3054 val SCE_FORTH_CONTROL=4
3055 val SCE_FORTH_KEYWORD=5
3056 val SCE_FORTH_DEFWORD=6
3057 val SCE_FORTH_PREWORD1=7
3058 val SCE_FORTH_PREWORD2=8
3059 val SCE_FORTH_NUMBER=9
3060 val SCE_FORTH_STRING=10
3061 val SCE_FORTH_LOCALE=11
3062 # Lexical states for SCLEX_MATLAB
3063 lex MatLab=SCLEX_MATLAB SCE_MATLAB_
3064 val SCE_MATLAB_DEFAULT=0
3065 val SCE_MATLAB_COMMENT=1
3066 val SCE_MATLAB_COMMAND=2
3067 val SCE_MATLAB_NUMBER=3
3068 val SCE_MATLAB_KEYWORD=4
3069 # single quoted string
3070 val SCE_MATLAB_STRING=5
3071 val SCE_MATLAB_OPERATOR=6
3072 val SCE_MATLAB_IDENTIFIER=7
3073 val SCE_MATLAB_DOUBLEQUOTESTRING=8
3074 # Lexical states for SCLEX_SCRIPTOL
3075 lex Sol=SCLEX_SCRIPTOL SCE_SCRIPTOL_
3076 val SCE_SCRIPTOL_DEFAULT=0
3077 val SCE_SCRIPTOL_WHITE=1
3078 val SCE_SCRIPTOL_COMMENTLINE=2
3079 val SCE_SCRIPTOL_PERSISTENT=3
3080 val SCE_SCRIPTOL_CSTYLE=4
3081 val SCE_SCRIPTOL_COMMENTBLOCK=5
3082 val SCE_SCRIPTOL_NUMBER=6
3083 val SCE_SCRIPTOL_STRING=7
3084 val SCE_SCRIPTOL_CHARACTER=8
3085 val SCE_SCRIPTOL_STRINGEOL=9
3086 val SCE_SCRIPTOL_KEYWORD=10
3087 val SCE_SCRIPTOL_OPERATOR=11
3088 val SCE_SCRIPTOL_IDENTIFIER=12
3089 val SCE_SCRIPTOL_TRIPLE=13
3090 val SCE_SCRIPTOL_CLASSNAME=14
3091 val SCE_SCRIPTOL_PREPROCESSOR=15
3092 # Lexical states for SCLEX_ASM
3093 lex Asm=SCLEX_ASM SCE_ASM_
3094 val SCE_ASM_DEFAULT=0
3095 val SCE_ASM_COMMENT=1
3096 val SCE_ASM_NUMBER=2
3097 val SCE_ASM_STRING=3
3098 val SCE_ASM_OPERATOR=4
3099 val SCE_ASM_IDENTIFIER=5
3100 val SCE_ASM_CPUINSTRUCTION=6
3101 val SCE_ASM_MATHINSTRUCTION=7
3102 val SCE_ASM_REGISTER=8
3103 val SCE_ASM_DIRECTIVE=9
3104 val SCE_ASM_DIRECTIVEOPERAND=10
3105 val SCE_ASM_COMMENTBLOCK=11
3106 val SCE_ASM_CHARACTER=12
3107 val SCE_ASM_STRINGEOL=13
3108 val SCE_ASM_EXTINSTRUCTION=14
3109 val SCE_ASM_COMMENTDIRECTIVE=15
3110 # Lexical states for SCLEX_FORTRAN
3111 lex Fortran=SCLEX_FORTRAN SCE_F_
3112 lex F77=SCLEX_F77 SCE_F_
3113 val SCE_F_DEFAULT=0
3114 val SCE_F_COMMENT=1
3115 val SCE_F_NUMBER=2
3116 val SCE_F_STRING1=3
3117 val SCE_F_STRING2=4
3118 val SCE_F_STRINGEOL=5
3119 val SCE_F_OPERATOR=6
3120 val SCE_F_IDENTIFIER=7
3121 val SCE_F_WORD=8
3122 val SCE_F_WORD2=9
3123 val SCE_F_WORD3=10
3124 val SCE_F_PREPROCESSOR=11
3125 val SCE_F_OPERATOR2=12
3126 val SCE_F_LABEL=13
3127 val SCE_F_CONTINUATION=14
3128 # Lexical states for SCLEX_CSS
3129 lex CSS=SCLEX_CSS SCE_CSS_
3130 val SCE_CSS_DEFAULT=0
3131 val SCE_CSS_TAG=1
3132 val SCE_CSS_CLASS=2
3133 val SCE_CSS_PSEUDOCLASS=3
3134 val SCE_CSS_UNKNOWN_PSEUDOCLASS=4
3135 val SCE_CSS_OPERATOR=5
3136 val SCE_CSS_IDENTIFIER=6
3137 val SCE_CSS_UNKNOWN_IDENTIFIER=7
3138 val SCE_CSS_VALUE=8
3139 val SCE_CSS_COMMENT=9
3140 val SCE_CSS_ID=10
3141 val SCE_CSS_IMPORTANT=11
3142 val SCE_CSS_DIRECTIVE=12
3143 val SCE_CSS_DOUBLESTRING=13
3144 val SCE_CSS_SINGLESTRING=14
3145 val SCE_CSS_IDENTIFIER2=15
3146 val SCE_CSS_ATTRIBUTE=16
3147 val SCE_CSS_IDENTIFIER3=17
3148 val SCE_CSS_PSEUDOELEMENT=18
3149 val SCE_CSS_EXTENDED_IDENTIFIER=19
3150 val SCE_CSS_EXTENDED_PSEUDOCLASS=20
3151 val SCE_CSS_EXTENDED_PSEUDOELEMENT=21
3152 val SCE_CSS_MEDIA=22
3153 val SCE_CSS_VARIABLE=23
3154 # Lexical states for SCLEX_POV
3155 lex POV=SCLEX_POV SCE_POV_
3156 val SCE_POV_DEFAULT=0
3157 val SCE_POV_COMMENT=1
3158 val SCE_POV_COMMENTLINE=2
3159 val SCE_POV_NUMBER=3
3160 val SCE_POV_OPERATOR=4
3161 val SCE_POV_IDENTIFIER=5
3162 val SCE_POV_STRING=6
3163 val SCE_POV_STRINGEOL=7
3164 val SCE_POV_DIRECTIVE=8
3165 val SCE_POV_BADDIRECTIVE=9
3166 val SCE_POV_WORD2=10
3167 val SCE_POV_WORD3=11
3168 val SCE_POV_WORD4=12
3169 val SCE_POV_WORD5=13
3170 val SCE_POV_WORD6=14
3171 val SCE_POV_WORD7=15
3172 val SCE_POV_WORD8=16
3173 # Lexical states for SCLEX_LOUT
3174 lex LOUT=SCLEX_LOUT SCE_LOUT_
3175 val SCE_LOUT_DEFAULT=0
3176 val SCE_LOUT_COMMENT=1
3177 val SCE_LOUT_NUMBER=2
3178 val SCE_LOUT_WORD=3
3179 val SCE_LOUT_WORD2=4
3180 val SCE_LOUT_WORD3=5
3181 val SCE_LOUT_WORD4=6
3182 val SCE_LOUT_STRING=7
3183 val SCE_LOUT_OPERATOR=8
3184 val SCE_LOUT_IDENTIFIER=9
3185 val SCE_LOUT_STRINGEOL=10
3186 # Lexical states for SCLEX_ESCRIPT
3187 lex ESCRIPT=SCLEX_ESCRIPT SCE_ESCRIPT_
3188 val SCE_ESCRIPT_DEFAULT=0
3189 val SCE_ESCRIPT_COMMENT=1
3190 val SCE_ESCRIPT_COMMENTLINE=2
3191 val SCE_ESCRIPT_COMMENTDOC=3
3192 val SCE_ESCRIPT_NUMBER=4
3193 val SCE_ESCRIPT_WORD=5
3194 val SCE_ESCRIPT_STRING=6
3195 val SCE_ESCRIPT_OPERATOR=7
3196 val SCE_ESCRIPT_IDENTIFIER=8
3197 val SCE_ESCRIPT_BRACE=9
3198 val SCE_ESCRIPT_WORD2=10
3199 val SCE_ESCRIPT_WORD3=11
3200 # Lexical states for SCLEX_PS
3201 lex PS=SCLEX_PS SCE_PS_
3202 val SCE_PS_DEFAULT=0
3203 val SCE_PS_COMMENT=1
3204 val SCE_PS_DSC_COMMENT=2
3205 val SCE_PS_DSC_VALUE=3
3206 val SCE_PS_NUMBER=4
3207 val SCE_PS_NAME=5
3208 val SCE_PS_KEYWORD=6
3209 val SCE_PS_LITERAL=7
3210 val SCE_PS_IMMEVAL=8
3211 val SCE_PS_PAREN_ARRAY=9
3212 val SCE_PS_PAREN_DICT=10
3213 val SCE_PS_PAREN_PROC=11
3214 val SCE_PS_TEXT=12
3215 val SCE_PS_HEXSTRING=13
3216 val SCE_PS_BASE85STRING=14
3217 val SCE_PS_BADSTRINGCHAR=15
3218 # Lexical states for SCLEX_NSIS
3219 lex NSIS=SCLEX_NSIS SCE_NSIS_
3220 val SCE_NSIS_DEFAULT=0
3221 val SCE_NSIS_COMMENT=1
3222 val SCE_NSIS_STRINGDQ=2
3223 val SCE_NSIS_STRINGLQ=3
3224 val SCE_NSIS_STRINGRQ=4
3225 val SCE_NSIS_FUNCTION=5
3226 val SCE_NSIS_VARIABLE=6
3227 val SCE_NSIS_LABEL=7
3228 val SCE_NSIS_USERDEFINED=8
3229 val SCE_NSIS_SECTIONDEF=9
3230 val SCE_NSIS_SUBSECTIONDEF=10
3231 val SCE_NSIS_IFDEFINEDEF=11
3232 val SCE_NSIS_MACRODEF=12
3233 val SCE_NSIS_STRINGVAR=13
3234 val SCE_NSIS_NUMBER=14
3235 val SCE_NSIS_SECTIONGROUP=15
3236 val SCE_NSIS_PAGEEX=16
3237 val SCE_NSIS_FUNCTIONDEF=17
3238 val SCE_NSIS_COMMENTBOX=18
3239 # Lexical states for SCLEX_MMIXAL
3240 lex MMIXAL=SCLEX_MMIXAL SCE_MMIXAL_
3241 val SCE_MMIXAL_LEADWS=0
3242 val SCE_MMIXAL_COMMENT=1
3243 val SCE_MMIXAL_LABEL=2
3244 val SCE_MMIXAL_OPCODE=3
3245 val SCE_MMIXAL_OPCODE_PRE=4
3246 val SCE_MMIXAL_OPCODE_VALID=5
3247 val SCE_MMIXAL_OPCODE_UNKNOWN=6
3248 val SCE_MMIXAL_OPCODE_POST=7
3249 val SCE_MMIXAL_OPERANDS=8
3250 val SCE_MMIXAL_NUMBER=9
3251 val SCE_MMIXAL_REF=10
3252 val SCE_MMIXAL_CHAR=11
3253 val SCE_MMIXAL_STRING=12
3254 val SCE_MMIXAL_REGISTER=13
3255 val SCE_MMIXAL_HEX=14
3256 val SCE_MMIXAL_OPERATOR=15
3257 val SCE_MMIXAL_SYMBOL=16
3258 val SCE_MMIXAL_INCLUDE=17
3259 # Lexical states for SCLEX_CLW
3260 lex Clarion=SCLEX_CLW SCE_CLW_
3261 val SCE_CLW_DEFAULT=0
3262 val SCE_CLW_LABEL=1
3263 val SCE_CLW_COMMENT=2
3264 val SCE_CLW_STRING=3
3265 val SCE_CLW_USER_IDENTIFIER=4
3266 val SCE_CLW_INTEGER_CONSTANT=5
3267 val SCE_CLW_REAL_CONSTANT=6
3268 val SCE_CLW_PICTURE_STRING=7
3269 val SCE_CLW_KEYWORD=8
3270 val SCE_CLW_COMPILER_DIRECTIVE=9
3271 val SCE_CLW_RUNTIME_EXPRESSIONS=10
3272 val SCE_CLW_BUILTIN_PROCEDURES_FUNCTION=11
3273 val SCE_CLW_STRUCTURE_DATA_TYPE=12
3274 val SCE_CLW_ATTRIBUTE=13
3275 val SCE_CLW_STANDARD_EQUATE=14
3276 val SCE_CLW_ERROR=15
3277 val SCE_CLW_DEPRECATED=16
3278 # Lexical states for SCLEX_LOT
3279 lex LOT=SCLEX_LOT SCE_LOT_
3280 val SCE_LOT_DEFAULT=0
3281 val SCE_LOT_HEADER=1
3282 val SCE_LOT_BREAK=2
3283 val SCE_LOT_SET=3
3284 val SCE_LOT_PASS=4
3285 val SCE_LOT_FAIL=5
3286 val SCE_LOT_ABORT=6
3287 # Lexical states for SCLEX_YAML
3288 lex YAML=SCLEX_YAML SCE_YAML_
3289 val SCE_YAML_DEFAULT=0
3290 val SCE_YAML_COMMENT=1
3291 val SCE_YAML_IDENTIFIER=2
3292 val SCE_YAML_KEYWORD=3
3293 val SCE_YAML_NUMBER=4
3294 val SCE_YAML_REFERENCE=5
3295 val SCE_YAML_DOCUMENT=6
3296 val SCE_YAML_TEXT=7
3297 val SCE_YAML_ERROR=8
3298 val SCE_YAML_OPERATOR=9
3299 # Lexical states for SCLEX_TEX
3300 lex TeX=SCLEX_TEX SCE_TEX_
3301 val SCE_TEX_DEFAULT=0
3302 val SCE_TEX_SPECIAL=1
3303 val SCE_TEX_GROUP=2
3304 val SCE_TEX_SYMBOL=3
3305 val SCE_TEX_COMMAND=4
3306 val SCE_TEX_TEXT=5
3307 lex Metapost=SCLEX_METAPOST SCE_METAPOST_
3308 val SCE_METAPOST_DEFAULT=0
3309 val SCE_METAPOST_SPECIAL=1
3310 val SCE_METAPOST_GROUP=2
3311 val SCE_METAPOST_SYMBOL=3
3312 val SCE_METAPOST_COMMAND=4
3313 val SCE_METAPOST_TEXT=5
3314 val SCE_METAPOST_EXTRA=6
3315 # Lexical states for SCLEX_ERLANG
3316 lex Erlang=SCLEX_ERLANG SCE_ERLANG_
3317 val SCE_ERLANG_DEFAULT=0
3318 val SCE_ERLANG_COMMENT=1
3319 val SCE_ERLANG_VARIABLE=2
3320 val SCE_ERLANG_NUMBER=3
3321 val SCE_ERLANG_KEYWORD=4
3322 val SCE_ERLANG_STRING=5
3323 val SCE_ERLANG_OPERATOR=6
3324 val SCE_ERLANG_ATOM=7
3325 val SCE_ERLANG_FUNCTION_NAME=8
3326 val SCE_ERLANG_CHARACTER=9
3327 val SCE_ERLANG_MACRO=10
3328 val SCE_ERLANG_RECORD=11
3329 val SCE_ERLANG_PREPROC=12
3330 val SCE_ERLANG_NODE_NAME=13
3331 val SCE_ERLANG_COMMENT_FUNCTION=14
3332 val SCE_ERLANG_COMMENT_MODULE=15
3333 val SCE_ERLANG_COMMENT_DOC=16
3334 val SCE_ERLANG_COMMENT_DOC_MACRO=17
3335 val SCE_ERLANG_ATOM_QUOTED=18
3336 val SCE_ERLANG_MACRO_QUOTED=19
3337 val SCE_ERLANG_RECORD_QUOTED=20
3338 val SCE_ERLANG_NODE_NAME_QUOTED=21
3339 val SCE_ERLANG_BIFS=22
3340 val SCE_ERLANG_MODULES=23
3341 val SCE_ERLANG_MODULES_ATT=24
3342 val SCE_ERLANG_UNKNOWN=31
3343 # Lexical states for SCLEX_OCTAVE are identical to MatLab
3344 lex Octave=SCLEX_OCTAVE SCE_MATLAB_
3345 # Lexical states for SCLEX_MSSQL
3346 lex MSSQL=SCLEX_MSSQL SCE_MSSQL_
3347 val SCE_MSSQL_DEFAULT=0
3348 val SCE_MSSQL_COMMENT=1
3349 val SCE_MSSQL_LINE_COMMENT=2
3350 val SCE_MSSQL_NUMBER=3
3351 val SCE_MSSQL_STRING=4
3352 val SCE_MSSQL_OPERATOR=5
3353 val SCE_MSSQL_IDENTIFIER=6
3354 val SCE_MSSQL_VARIABLE=7
3355 val SCE_MSSQL_COLUMN_NAME=8
3356 val SCE_MSSQL_STATEMENT=9
3357 val SCE_MSSQL_DATATYPE=10
3358 val SCE_MSSQL_SYSTABLE=11
3359 val SCE_MSSQL_GLOBAL_VARIABLE=12
3360 val SCE_MSSQL_FUNCTION=13
3361 val SCE_MSSQL_STORED_PROCEDURE=14
3362 val SCE_MSSQL_DEFAULT_PREF_DATATYPE=15
3363 val SCE_MSSQL_COLUMN_NAME_2=16
3364 # Lexical states for SCLEX_VERILOG
3365 lex Verilog=SCLEX_VERILOG SCE_V_
3366 val SCE_V_DEFAULT=0
3367 val SCE_V_COMMENT=1
3368 val SCE_V_COMMENTLINE=2
3369 val SCE_V_COMMENTLINEBANG=3
3370 val SCE_V_NUMBER=4
3371 val SCE_V_WORD=5
3372 val SCE_V_STRING=6
3373 val SCE_V_WORD2=7
3374 val SCE_V_WORD3=8
3375 val SCE_V_PREPROCESSOR=9
3376 val SCE_V_OPERATOR=10
3377 val SCE_V_IDENTIFIER=11
3378 val SCE_V_STRINGEOL=12
3379 val SCE_V_USER=19
3380 # Lexical states for SCLEX_KIX
3381 lex Kix=SCLEX_KIX SCE_KIX_
3382 val SCE_KIX_DEFAULT=0
3383 val SCE_KIX_COMMENT=1
3384 val SCE_KIX_STRING1=2
3385 val SCE_KIX_STRING2=3
3386 val SCE_KIX_NUMBER=4
3387 val SCE_KIX_VAR=5
3388 val SCE_KIX_MACRO=6
3389 val SCE_KIX_KEYWORD=7
3390 val SCE_KIX_FUNCTIONS=8
3391 val SCE_KIX_OPERATOR=9
3392 val SCE_KIX_IDENTIFIER=31
3393 # Lexical states for SCLEX_GUI4CLI
3394 val SCE_GC_DEFAULT=0
3395 val SCE_GC_COMMENTLINE=1
3396 val SCE_GC_COMMENTBLOCK=2
3397 val SCE_GC_GLOBAL=3
3398 val SCE_GC_EVENT=4
3399 val SCE_GC_ATTRIBUTE=5
3400 val SCE_GC_CONTROL=6
3401 val SCE_GC_COMMAND=7
3402 val SCE_GC_STRING=8
3403 val SCE_GC_OPERATOR=9
3404 # Lexical states for SCLEX_SPECMAN
3405 lex Specman=SCLEX_SPECMAN SCE_SN_
3406 val SCE_SN_DEFAULT=0
3407 val SCE_SN_CODE=1
3408 val SCE_SN_COMMENTLINE=2
3409 val SCE_SN_COMMENTLINEBANG=3
3410 val SCE_SN_NUMBER=4
3411 val SCE_SN_WORD=5
3412 val SCE_SN_STRING=6
3413 val SCE_SN_WORD2=7
3414 val SCE_SN_WORD3=8
3415 val SCE_SN_PREPROCESSOR=9
3416 val SCE_SN_OPERATOR=10
3417 val SCE_SN_IDENTIFIER=11
3418 val SCE_SN_STRINGEOL=12
3419 val SCE_SN_REGEXTAG=13
3420 val SCE_SN_SIGNAL=14
3421 val SCE_SN_USER=19
3422 # Lexical states for SCLEX_AU3
3423 lex Au3=SCLEX_AU3 SCE_AU3_
3424 val SCE_AU3_DEFAULT=0
3425 val SCE_AU3_COMMENT=1
3426 val SCE_AU3_COMMENTBLOCK=2
3427 val SCE_AU3_NUMBER=3
3428 val SCE_AU3_FUNCTION=4
3429 val SCE_AU3_KEYWORD=5
3430 val SCE_AU3_MACRO=6
3431 val SCE_AU3_STRING=7
3432 val SCE_AU3_OPERATOR=8
3433 val SCE_AU3_VARIABLE=9
3434 val SCE_AU3_SENT=10
3435 val SCE_AU3_PREPROCESSOR=11
3436 val SCE_AU3_SPECIAL=12
3437 val SCE_AU3_EXPAND=13
3438 val SCE_AU3_COMOBJ=14
3439 val SCE_AU3_UDF=15
3440 # Lexical states for SCLEX_APDL
3441 lex APDL=SCLEX_APDL SCE_APDL_
3442 val SCE_APDL_DEFAULT=0
3443 val SCE_APDL_COMMENT=1
3444 val SCE_APDL_COMMENTBLOCK=2
3445 val SCE_APDL_NUMBER=3
3446 val SCE_APDL_STRING=4
3447 val SCE_APDL_OPERATOR=5
3448 val SCE_APDL_WORD=6
3449 val SCE_APDL_PROCESSOR=7
3450 val SCE_APDL_COMMAND=8
3451 val SCE_APDL_SLASHCOMMAND=9
3452 val SCE_APDL_STARCOMMAND=10
3453 val SCE_APDL_ARGUMENT=11
3454 val SCE_APDL_FUNCTION=12
3455 # Lexical states for SCLEX_BASH
3456 lex Bash=SCLEX_BASH SCE_SH_
3457 val SCE_SH_DEFAULT=0
3458 val SCE_SH_ERROR=1
3459 val SCE_SH_COMMENTLINE=2
3460 val SCE_SH_NUMBER=3
3461 val SCE_SH_WORD=4
3462 val SCE_SH_STRING=5
3463 val SCE_SH_CHARACTER=6
3464 val SCE_SH_OPERATOR=7
3465 val SCE_SH_IDENTIFIER=8
3466 val SCE_SH_SCALAR=9
3467 val SCE_SH_PARAM=10
3468 val SCE_SH_BACKTICKS=11
3469 val SCE_SH_HERE_DELIM=12
3470 val SCE_SH_HERE_Q=13
3471 # Lexical states for SCLEX_ASN1
3472 lex Asn1=SCLEX_ASN1 SCE_ASN1_
3473 val SCE_ASN1_DEFAULT=0
3474 val SCE_ASN1_COMMENT=1
3475 val SCE_ASN1_IDENTIFIER=2
3476 val SCE_ASN1_STRING=3
3477 val SCE_ASN1_OID=4
3478 val SCE_ASN1_SCALAR=5
3479 val SCE_ASN1_KEYWORD=6
3480 val SCE_ASN1_ATTRIBUTE=7
3481 val SCE_ASN1_DESCRIPTOR=8
3482 val SCE_ASN1_TYPE=9
3483 val SCE_ASN1_OPERATOR=10
3484 # Lexical states for SCLEX_VHDL
3485 lex VHDL=SCLEX_VHDL SCE_VHDL_
3486 val SCE_VHDL_DEFAULT=0
3487 val SCE_VHDL_COMMENT=1
3488 val SCE_VHDL_COMMENTLINEBANG=2
3489 val SCE_VHDL_NUMBER=3
3490 val SCE_VHDL_STRING=4
3491 val SCE_VHDL_OPERATOR=5
3492 val SCE_VHDL_IDENTIFIER=6
3493 val SCE_VHDL_STRINGEOL=7
3494 val SCE_VHDL_KEYWORD=8
3495 val SCE_VHDL_STDOPERATOR=9
3496 val SCE_VHDL_ATTRIBUTE=10
3497 val SCE_VHDL_STDFUNCTION=11
3498 val SCE_VHDL_STDPACKAGE=12
3499 val SCE_VHDL_STDTYPE=13
3500 val SCE_VHDL_USERWORD=14
3501 # Lexical states for SCLEX_CAML
3502 lex Caml=SCLEX_CAML SCE_CAML_
3503 val SCE_CAML_DEFAULT=0
3504 val SCE_CAML_IDENTIFIER=1
3505 val SCE_CAML_TAGNAME=2
3506 val SCE_CAML_KEYWORD=3
3507 val SCE_CAML_KEYWORD2=4
3508 val SCE_CAML_KEYWORD3=5
3509 val SCE_CAML_LINENUM=6
3510 val SCE_CAML_OPERATOR=7
3511 val SCE_CAML_NUMBER=8
3512 val SCE_CAML_CHAR=9
3513 val SCE_CAML_WHITE=10
3514 val SCE_CAML_STRING=11
3515 val SCE_CAML_COMMENT=12
3516 val SCE_CAML_COMMENT1=13
3517 val SCE_CAML_COMMENT2=14
3518 val SCE_CAML_COMMENT3=15
3519 # Lexical states for SCLEX_HASKELL
3520 lex Haskell=SCLEX_HASKELL SCE_HA_
3521 val SCE_HA_DEFAULT=0
3522 val SCE_HA_IDENTIFIER=1
3523 val SCE_HA_KEYWORD=2
3524 val SCE_HA_NUMBER=3
3525 val SCE_HA_STRING=4
3526 val SCE_HA_CHARACTER=5
3527 val SCE_HA_CLASS=6
3528 val SCE_HA_MODULE=7
3529 val SCE_HA_CAPITAL=8
3530 val SCE_HA_DATA=9
3531 val SCE_HA_IMPORT=10
3532 val SCE_HA_OPERATOR=11
3533 val SCE_HA_INSTANCE=12
3534 val SCE_HA_COMMENTLINE=13
3535 val SCE_HA_COMMENTBLOCK=14
3536 val SCE_HA_COMMENTBLOCK2=15
3537 val SCE_HA_COMMENTBLOCK3=16
3538 # Lexical states of SCLEX_TADS3
3539 lex TADS3=SCLEX_TADS3 SCE_T3_
3540 val SCE_T3_DEFAULT=0
3541 val SCE_T3_X_DEFAULT=1
3542 val SCE_T3_PREPROCESSOR=2
3543 val SCE_T3_BLOCK_COMMENT=3
3544 val SCE_T3_LINE_COMMENT=4
3545 val SCE_T3_OPERATOR=5
3546 val SCE_T3_KEYWORD=6
3547 val SCE_T3_NUMBER=7
3548 val SCE_T3_IDENTIFIER=8
3549 val SCE_T3_S_STRING=9
3550 val SCE_T3_D_STRING=10
3551 val SCE_T3_X_STRING=11
3552 val SCE_T3_LIB_DIRECTIVE=12
3553 val SCE_T3_MSG_PARAM=13
3554 val SCE_T3_HTML_TAG=14
3555 val SCE_T3_HTML_DEFAULT=15
3556 val SCE_T3_HTML_STRING=16
3557 val SCE_T3_USER1=17
3558 val SCE_T3_USER2=18
3559 val SCE_T3_USER3=19
3560 val SCE_T3_BRACE=20
3561 # Lexical states for SCLEX_REBOL
3562 lex Rebol=SCLEX_REBOL SCE_REBOL_
3563 val SCE_REBOL_DEFAULT=0
3564 val SCE_REBOL_COMMENTLINE=1
3565 val SCE_REBOL_COMMENTBLOCK=2
3566 val SCE_REBOL_PREFACE=3
3567 val SCE_REBOL_OPERATOR=4
3568 val SCE_REBOL_CHARACTER=5
3569 val SCE_REBOL_QUOTEDSTRING=6
3570 val SCE_REBOL_BRACEDSTRING=7
3571 val SCE_REBOL_NUMBER=8
3572 val SCE_REBOL_PAIR=9
3573 val SCE_REBOL_TUPLE=10
3574 val SCE_REBOL_BINARY=11
3575 val SCE_REBOL_MONEY=12
3576 val SCE_REBOL_ISSUE=13
3577 val SCE_REBOL_TAG=14
3578 val SCE_REBOL_FILE=15
3579 val SCE_REBOL_EMAIL=16
3580 val SCE_REBOL_URL=17
3581 val SCE_REBOL_DATE=18
3582 val SCE_REBOL_TIME=19
3583 val SCE_REBOL_IDENTIFIER=20
3584 val SCE_REBOL_WORD=21
3585 val SCE_REBOL_WORD2=22
3586 val SCE_REBOL_WORD3=23
3587 val SCE_REBOL_WORD4=24
3588 val SCE_REBOL_WORD5=25
3589 val SCE_REBOL_WORD6=26
3590 val SCE_REBOL_WORD7=27
3591 val SCE_REBOL_WORD8=28
3592 # Lexical states for SCLEX_SQL
3593 lex SQL=SCLEX_SQL SCE_SQL_
3594 val SCE_SQL_DEFAULT=0
3595 val SCE_SQL_COMMENT=1
3596 val SCE_SQL_COMMENTLINE=2
3597 val SCE_SQL_COMMENTDOC=3
3598 val SCE_SQL_NUMBER=4
3599 val SCE_SQL_WORD=5
3600 val SCE_SQL_STRING=6
3601 val SCE_SQL_CHARACTER=7
3602 val SCE_SQL_SQLPLUS=8
3603 val SCE_SQL_SQLPLUS_PROMPT=9
3604 val SCE_SQL_OPERATOR=10
3605 val SCE_SQL_IDENTIFIER=11
3606 val SCE_SQL_SQLPLUS_COMMENT=13
3607 val SCE_SQL_COMMENTLINEDOC=15
3608 val SCE_SQL_WORD2=16
3609 val SCE_SQL_COMMENTDOCKEYWORD=17
3610 val SCE_SQL_COMMENTDOCKEYWORDERROR=18
3611 val SCE_SQL_USER1=19
3612 val SCE_SQL_USER2=20
3613 val SCE_SQL_USER3=21
3614 val SCE_SQL_USER4=22
3615 val SCE_SQL_QUOTEDIDENTIFIER=23
3616 # Lexical states for SCLEX_SMALLTALK
3617 lex Smalltalk=SCLEX_SMALLTALK SCE_ST_
3618 val SCE_ST_DEFAULT=0
3619 val SCE_ST_STRING=1
3620 val SCE_ST_NUMBER=2
3621 val SCE_ST_COMMENT=3
3622 val SCE_ST_SYMBOL=4
3623 val SCE_ST_BINARY=5
3624 val SCE_ST_BOOL=6
3625 val SCE_ST_SELF=7
3626 val SCE_ST_SUPER=8
3627 val SCE_ST_NIL=9
3628 val SCE_ST_GLOBAL=10
3629 val SCE_ST_RETURN=11
3630 val SCE_ST_SPECIAL=12
3631 val SCE_ST_KWSEND=13
3632 val SCE_ST_ASSIGN=14
3633 val SCE_ST_CHARACTER=15
3634 val SCE_ST_SPEC_SEL=16
3635 # Lexical states for SCLEX_FLAGSHIP (clipper)
3636 lex FlagShip=SCLEX_FLAGSHIP SCE_FS_
3637 val SCE_FS_DEFAULT=0
3638 val SCE_FS_COMMENT=1
3639 val SCE_FS_COMMENTLINE=2
3640 val SCE_FS_COMMENTDOC=3
3641 val SCE_FS_COMMENTLINEDOC=4
3642 val SCE_FS_COMMENTDOCKEYWORD=5
3643 val SCE_FS_COMMENTDOCKEYWORDERROR=6
3644 val SCE_FS_KEYWORD=7
3645 val SCE_FS_KEYWORD2=8
3646 val SCE_FS_KEYWORD3=9
3647 val SCE_FS_KEYWORD4=10
3648 val SCE_FS_NUMBER=11
3649 val SCE_FS_STRING=12
3650 val SCE_FS_PREPROCESSOR=13
3651 val SCE_FS_OPERATOR=14
3652 val SCE_FS_IDENTIFIER=15
3653 val SCE_FS_DATE=16
3654 val SCE_FS_STRINGEOL=17
3655 val SCE_FS_CONSTANT=18
3656 val SCE_FS_WORDOPERATOR=19
3657 val SCE_FS_DISABLEDCODE=20
3658 val SCE_FS_DEFAULT_C=21
3659 val SCE_FS_COMMENTDOC_C=22
3660 val SCE_FS_COMMENTLINEDOC_C=23
3661 val SCE_FS_KEYWORD_C=24
3662 val SCE_FS_KEYWORD2_C=25
3663 val SCE_FS_NUMBER_C=26
3664 val SCE_FS_STRING_C=27
3665 val SCE_FS_PREPROCESSOR_C=28
3666 val SCE_FS_OPERATOR_C=29
3667 val SCE_FS_IDENTIFIER_C=30
3668 val SCE_FS_STRINGEOL_C=31
3669 # Lexical states for SCLEX_CSOUND
3670 lex Csound=SCLEX_CSOUND SCE_CSOUND_
3671 val SCE_CSOUND_DEFAULT=0
3672 val SCE_CSOUND_COMMENT=1
3673 val SCE_CSOUND_NUMBER=2
3674 val SCE_CSOUND_OPERATOR=3
3675 val SCE_CSOUND_INSTR=4
3676 val SCE_CSOUND_IDENTIFIER=5
3677 val SCE_CSOUND_OPCODE=6
3678 val SCE_CSOUND_HEADERSTMT=7
3679 val SCE_CSOUND_USERKEYWORD=8
3680 val SCE_CSOUND_COMMENTBLOCK=9
3681 val SCE_CSOUND_PARAM=10
3682 val SCE_CSOUND_ARATE_VAR=11
3683 val SCE_CSOUND_KRATE_VAR=12
3684 val SCE_CSOUND_IRATE_VAR=13
3685 val SCE_CSOUND_GLOBAL_VAR=14
3686 val SCE_CSOUND_STRINGEOL=15
3687 # Lexical states for SCLEX_INNOSETUP
3688 lex Inno=SCLEX_INNOSETUP SCE_INNO_
3689 val SCE_INNO_DEFAULT=0
3690 val SCE_INNO_COMMENT=1
3691 val SCE_INNO_KEYWORD=2
3692 val SCE_INNO_PARAMETER=3
3693 val SCE_INNO_SECTION=4
3694 val SCE_INNO_PREPROC=5
3695 val SCE_INNO_INLINE_EXPANSION=6
3696 val SCE_INNO_COMMENT_PASCAL=7
3697 val SCE_INNO_KEYWORD_PASCAL=8
3698 val SCE_INNO_KEYWORD_USER=9
3699 val SCE_INNO_STRING_DOUBLE=10
3700 val SCE_INNO_STRING_SINGLE=11
3701 val SCE_INNO_IDENTIFIER=12
3702 # Lexical states for SCLEX_OPAL
3703 lex Opal=SCLEX_OPAL SCE_OPAL_
3704 val SCE_OPAL_SPACE=0
3705 val SCE_OPAL_COMMENT_BLOCK=1
3706 val SCE_OPAL_COMMENT_LINE=2
3707 val SCE_OPAL_INTEGER=3
3708 val SCE_OPAL_KEYWORD=4
3709 val SCE_OPAL_SORT=5
3710 val SCE_OPAL_STRING=6
3711 val SCE_OPAL_PAR=7
3712 val SCE_OPAL_BOOL_CONST=8
3713 val SCE_OPAL_DEFAULT=32
3714 # Lexical states for SCLEX_SPICE
3715 lex Spice=SCLEX_SPICE SCE_SPICE_
3716 val SCE_SPICE_DEFAULT=0
3717 val SCE_SPICE_IDENTIFIER=1
3718 val SCE_SPICE_KEYWORD=2
3719 val SCE_SPICE_KEYWORD2=3
3720 val SCE_SPICE_KEYWORD3=4
3721 val SCE_SPICE_NUMBER=5
3722 val SCE_SPICE_DELIMITER=6
3723 val SCE_SPICE_VALUE=7
3724 val SCE_SPICE_COMMENTLINE=8
3725 # Lexical states for SCLEX_CMAKE
3726 lex CMAKE=SCLEX_CMAKE SCE_CMAKE_
3727 val SCE_CMAKE_DEFAULT=0
3728 val SCE_CMAKE_COMMENT=1
3729 val SCE_CMAKE_STRINGDQ=2
3730 val SCE_CMAKE_STRINGLQ=3
3731 val SCE_CMAKE_STRINGRQ=4
3732 val SCE_CMAKE_COMMANDS=5
3733 val SCE_CMAKE_PARAMETERS=6
3734 val SCE_CMAKE_VARIABLE=7
3735 val SCE_CMAKE_USERDEFINED=8
3736 val SCE_CMAKE_WHILEDEF=9
3737 val SCE_CMAKE_FOREACHDEF=10
3738 val SCE_CMAKE_IFDEFINEDEF=11
3739 val SCE_CMAKE_MACRODEF=12
3740 val SCE_CMAKE_STRINGVAR=13
3741 val SCE_CMAKE_NUMBER=14
3742 # Lexical states for SCLEX_GAP
3743 lex Gap=SCLEX_GAP SCE_GAP_
3744 val SCE_GAP_DEFAULT=0
3745 val SCE_GAP_IDENTIFIER=1
3746 val SCE_GAP_KEYWORD=2
3747 val SCE_GAP_KEYWORD2=3
3748 val SCE_GAP_KEYWORD3=4
3749 val SCE_GAP_KEYWORD4=5
3750 val SCE_GAP_STRING=6
3751 val SCE_GAP_CHAR=7
3752 val SCE_GAP_OPERATOR=8
3753 val SCE_GAP_COMMENT=9
3754 val SCE_GAP_NUMBER=10
3755 val SCE_GAP_STRINGEOL=11
3756 # Lexical state for SCLEX_PLM
3757 lex PLM=SCLEX_PLM SCE_PLM_
3758 val SCE_PLM_DEFAULT=0
3759 val SCE_PLM_COMMENT=1
3760 val SCE_PLM_STRING=2
3761 val SCE_PLM_NUMBER=3
3762 val SCE_PLM_IDENTIFIER=4
3763 val SCE_PLM_OPERATOR=5
3764 val SCE_PLM_CONTROL=6
3765 val SCE_PLM_KEYWORD=7
3766 # Lexical state for SCLEX_PROGRESS
3767 lex Progress=SCLEX_PROGRESS SCE_4GL_
3768 val SCE_4GL_DEFAULT=0
3769 val SCE_4GL_NUMBER=1
3770 val SCE_4GL_WORD=2
3771 val SCE_4GL_STRING=3
3772 val SCE_4GL_CHARACTER=4
3773 val SCE_4GL_PREPROCESSOR=5
3774 val SCE_4GL_OPERATOR=6
3775 val SCE_4GL_IDENTIFIER=7
3776 val SCE_4GL_BLOCK=8
3777 val SCE_4GL_END=9
3778 val SCE_4GL_COMMENT1=10
3779 val SCE_4GL_COMMENT2=11
3780 val SCE_4GL_COMMENT3=12
3781 val SCE_4GL_COMMENT4=13
3782 val SCE_4GL_COMMENT5=14
3783 val SCE_4GL_COMMENT6=15
3784 val SCE_4GL_DEFAULT_=16
3785 val SCE_4GL_NUMBER_=17
3786 val SCE_4GL_WORD_=18
3787 val SCE_4GL_STRING_=19
3788 val SCE_4GL_CHARACTER_=20
3789 val SCE_4GL_PREPROCESSOR_=21
3790 val SCE_4GL_OPERATOR_=22
3791 val SCE_4GL_IDENTIFIER_=23
3792 val SCE_4GL_BLOCK_=24
3793 val SCE_4GL_END_=25
3794 val SCE_4GL_COMMENT1_=26
3795 val SCE_4GL_COMMENT2_=27
3796 val SCE_4GL_COMMENT3_=28
3797 val SCE_4GL_COMMENT4_=29
3798 val SCE_4GL_COMMENT5_=30
3799 val SCE_4GL_COMMENT6_=31
3800 # Lexical states for SCLEX_ABAQUS
3801 lex ABAQUS=SCLEX_ABAQUS SCE_ABAQUS_
3802 val SCE_ABAQUS_DEFAULT=0
3803 val SCE_ABAQUS_COMMENT=1
3804 val SCE_ABAQUS_COMMENTBLOCK=2
3805 val SCE_ABAQUS_NUMBER=3
3806 val SCE_ABAQUS_STRING=4
3807 val SCE_ABAQUS_OPERATOR=5
3808 val SCE_ABAQUS_WORD=6
3809 val SCE_ABAQUS_PROCESSOR=7
3810 val SCE_ABAQUS_COMMAND=8
3811 val SCE_ABAQUS_SLASHCOMMAND=9
3812 val SCE_ABAQUS_STARCOMMAND=10
3813 val SCE_ABAQUS_ARGUMENT=11
3814 val SCE_ABAQUS_FUNCTION=12
3815 # Lexical states for SCLEX_ASYMPTOTE
3816 lex Asymptote=SCLEX_ASYMPTOTE SCE_ASY_
3817 val SCE_ASY_DEFAULT=0
3818 val SCE_ASY_COMMENT=1
3819 val SCE_ASY_COMMENTLINE=2
3820 val SCE_ASY_NUMBER=3
3821 val SCE_ASY_WORD=4
3822 val SCE_ASY_STRING=5
3823 val SCE_ASY_CHARACTER=6
3824 val SCE_ASY_OPERATOR=7
3825 val SCE_ASY_IDENTIFIER=8
3826 val SCE_ASY_STRINGEOL=9
3827 val SCE_ASY_COMMENTLINEDOC=10
3828 val SCE_ASY_WORD2=11
3829 # Lexical states for SCLEX_R
3830 lex R=SCLEX_R SCE_R_
3831 val SCE_R_DEFAULT=0
3832 val SCE_R_COMMENT=1
3833 val SCE_R_KWORD=2
3834 val SCE_R_BASEKWORD=3
3835 val SCE_R_OTHERKWORD=4
3836 val SCE_R_NUMBER=5
3837 val SCE_R_STRING=6
3838 val SCE_R_STRING2=7
3839 val SCE_R_OPERATOR=8
3840 val SCE_R_IDENTIFIER=9
3841 val SCE_R_INFIX=10
3842 val SCE_R_INFIXEOL=11
3843 # Lexical state for SCLEX_MAGIKSF
3844 lex MagikSF=SCLEX_MAGIKSF SCE_MAGIK_
3845 val SCE_MAGIK_DEFAULT=0
3846 val SCE_MAGIK_COMMENT=1
3847 val SCE_MAGIK_HYPER_COMMENT=16
3848 val SCE_MAGIK_STRING=2
3849 val SCE_MAGIK_CHARACTER=3
3850 val SCE_MAGIK_NUMBER=4
3851 val SCE_MAGIK_IDENTIFIER=5
3852 val SCE_MAGIK_OPERATOR=6
3853 val SCE_MAGIK_FLOW=7
3854 val SCE_MAGIK_CONTAINER=8
3855 val SCE_MAGIK_BRACKET_BLOCK=9
3856 val SCE_MAGIK_BRACE_BLOCK=10
3857 val SCE_MAGIK_SQBRACKET_BLOCK=11
3858 val SCE_MAGIK_UNKNOWN_KEYWORD=12
3859 val SCE_MAGIK_KEYWORD=13
3860 val SCE_MAGIK_PRAGMA=14
3861 val SCE_MAGIK_SYMBOL=15
3862 # Lexical state for SCLEX_POWERSHELL
3863 lex PowerShell=SCLEX_POWERSHELL SCE_POWERSHELL_
3864 val SCE_POWERSHELL_DEFAULT=0
3865 val SCE_POWERSHELL_COMMENT=1
3866 val SCE_POWERSHELL_STRING=2
3867 val SCE_POWERSHELL_CHARACTER=3
3868 val SCE_POWERSHELL_NUMBER=4
3869 val SCE_POWERSHELL_VARIABLE=5
3870 val SCE_POWERSHELL_OPERATOR=6
3871 val SCE_POWERSHELL_IDENTIFIER=7
3872 val SCE_POWERSHELL_KEYWORD=8
3873 val SCE_POWERSHELL_CMDLET=9
3874 val SCE_POWERSHELL_ALIAS=10
3875 val SCE_POWERSHELL_FUNCTION=11
3876 val SCE_POWERSHELL_USER1=12
3877 val SCE_POWERSHELL_COMMENTSTREAM=13
3878 # Lexical state for SCLEX_MYSQL
3879 lex MySQL=SCLEX_MYSQL SCE_MYSQL_
3880 val SCE_MYSQL_DEFAULT=0
3881 val SCE_MYSQL_COMMENT=1
3882 val SCE_MYSQL_COMMENTLINE=2
3883 val SCE_MYSQL_VARIABLE=3
3884 val SCE_MYSQL_SYSTEMVARIABLE=4
3885 val SCE_MYSQL_KNOWNSYSTEMVARIABLE=5
3886 val SCE_MYSQL_NUMBER=6
3887 val SCE_MYSQL_MAJORKEYWORD=7
3888 val SCE_MYSQL_KEYWORD=8
3889 val SCE_MYSQL_DATABASEOBJECT=9
3890 val SCE_MYSQL_PROCEDUREKEYWORD=10
3891 val SCE_MYSQL_STRING=11
3892 val SCE_MYSQL_SQSTRING=12
3893 val SCE_MYSQL_DQSTRING=13
3894 val SCE_MYSQL_OPERATOR=14
3895 val SCE_MYSQL_FUNCTION=15
3896 val SCE_MYSQL_IDENTIFIER=16
3897 val SCE_MYSQL_QUOTEDIDENTIFIER=17
3898 val SCE_MYSQL_USER1=18
3899 val SCE_MYSQL_USER2=19
3900 val SCE_MYSQL_USER3=20
3901 val SCE_MYSQL_HIDDENCOMMAND=21
3902 # Lexical state for SCLEX_PO
3903 lex Po=SCLEX_PO SCE_PO_
3904 val SCE_PO_DEFAULT=0
3905 val SCE_PO_COMMENT=1
3906 val SCE_PO_MSGID=2
3907 val SCE_PO_MSGID_TEXT=3
3908 val SCE_PO_MSGSTR=4
3909 val SCE_PO_MSGSTR_TEXT=5
3910 val SCE_PO_MSGCTXT=6
3911 val SCE_PO_MSGCTXT_TEXT=7
3912 val SCE_PO_FUZZY=8
3913 # Lexical states for SCLEX_PASCAL
3914 lex Pascal=SCLEX_PASCAL SCE_PAS_
3915 val SCE_PAS_DEFAULT=0
3916 val SCE_PAS_IDENTIFIER=1
3917 val SCE_PAS_COMMENT=2
3918 val SCE_PAS_COMMENT2=3
3919 val SCE_PAS_COMMENTLINE=4
3920 val SCE_PAS_PREPROCESSOR=5
3921 val SCE_PAS_PREPROCESSOR2=6
3922 val SCE_PAS_NUMBER=7
3923 val SCE_PAS_HEXNUMBER=8
3924 val SCE_PAS_WORD=9
3925 val SCE_PAS_STRING=10
3926 val SCE_PAS_STRINGEOL=11
3927 val SCE_PAS_CHARACTER=12
3928 val SCE_PAS_OPERATOR=13
3929 val SCE_PAS_ASM=14
3930 # Lexical state for SCLEX_SORCUS
3931 lex SORCUS=SCLEX_SORCUS SCE_SORCUS_
3932 val SCE_SORCUS_DEFAULT=0
3933 val SCE_SORCUS_COMMAND=1
3934 val SCE_SORCUS_PARAMETER=2
3935 val SCE_SORCUS_COMMENTLINE=3
3936 val SCE_SORCUS_STRING=4
3937 val SCE_SORCUS_STRINGEOL=5
3938 val SCE_SORCUS_IDENTIFIER=6
3939 val SCE_SORCUS_OPERATOR=7
3940 val SCE_SORCUS_NUMBER=8
3941 val SCE_SORCUS_CONSTANT=9
3942 # Lexical state for SCLEX_POWERPRO
3943 lex PowerPro=SCLEX_POWERPRO SCE_POWERPRO_
3944 val SCE_POWERPRO_DEFAULT=0
3945 val SCE_POWERPRO_COMMENTBLOCK=1
3946 val SCE_POWERPRO_COMMENTLINE=2
3947 val SCE_POWERPRO_NUMBER=3
3948 val SCE_POWERPRO_WORD=4
3949 val SCE_POWERPRO_WORD2=5
3950 val SCE_POWERPRO_WORD3=6
3951 val SCE_POWERPRO_WORD4=7
3952 val SCE_POWERPRO_DOUBLEQUOTEDSTRING=8
3953 val SCE_POWERPRO_SINGLEQUOTEDSTRING=9
3954 val SCE_POWERPRO_LINECONTINUE=10
3955 val SCE_POWERPRO_OPERATOR=11
3956 val SCE_POWERPRO_IDENTIFIER=12
3957 val SCE_POWERPRO_STRINGEOL=13
3958 val SCE_POWERPRO_VERBATIM=14
3959 val SCE_POWERPRO_ALTQUOTE=15
3960 val SCE_POWERPRO_FUNCTION=16
3961 # Lexical states for SCLEX_SML
3962 lex SML=SCLEX_SML SCE_SML_
3963 val SCE_SML_DEFAULT=0
3964 val SCE_SML_IDENTIFIER=1
3965 val SCE_SML_TAGNAME=2
3966 val SCE_SML_KEYWORD=3
3967 val SCE_SML_KEYWORD2=4
3968 val SCE_SML_KEYWORD3=5
3969 val SCE_SML_LINENUM=6
3970 val SCE_SML_OPERATOR=7
3971 val SCE_SML_NUMBER=8
3972 val SCE_SML_CHAR=9
3973 val SCE_SML_STRING=11
3974 val SCE_SML_COMMENT=12
3975 val SCE_SML_COMMENT1=13
3976 val SCE_SML_COMMENT2=14
3977 val SCE_SML_COMMENT3=15
3978 # Lexical state for SCLEX_MARKDOWN
3979 lex Markdown=SCLEX_MARKDOWN SCE_MARKDOWN_
3980 val SCE_MARKDOWN_DEFAULT=0
3981 val SCE_MARKDOWN_LINE_BEGIN=1
3982 val SCE_MARKDOWN_STRONG1=2
3983 val SCE_MARKDOWN_STRONG2=3
3984 val SCE_MARKDOWN_EM1=4
3985 val SCE_MARKDOWN_EM2=5
3986 val SCE_MARKDOWN_HEADER1=6
3987 val SCE_MARKDOWN_HEADER2=7
3988 val SCE_MARKDOWN_HEADER3=8
3989 val SCE_MARKDOWN_HEADER4=9
3990 val SCE_MARKDOWN_HEADER5=10
3991 val SCE_MARKDOWN_HEADER6=11
3992 val SCE_MARKDOWN_PRECHAR=12
3993 val SCE_MARKDOWN_ULIST_ITEM=13
3994 val SCE_MARKDOWN_OLIST_ITEM=14
3995 val SCE_MARKDOWN_BLOCKQUOTE=15
3996 val SCE_MARKDOWN_STRIKEOUT=16
3997 val SCE_MARKDOWN_HRULE=17
3998 val SCE_MARKDOWN_LINK=18
3999 val SCE_MARKDOWN_CODE=19
4000 val SCE_MARKDOWN_CODE2=20
4001 val SCE_MARKDOWN_CODEBK=21
4002 # Lexical state for SCLEX_TXT2TAGS
4003 lex Txt2tags=SCLEX_TXT2TAGS SCE_TXT2TAGS_
4004 val SCE_TXT2TAGS_DEFAULT=0
4005 val SCE_TXT2TAGS_LINE_BEGIN=1
4006 val SCE_TXT2TAGS_STRONG1=2
4007 val SCE_TXT2TAGS_STRONG2=3
4008 val SCE_TXT2TAGS_EM1=4
4009 val SCE_TXT2TAGS_EM2=5
4010 val SCE_TXT2TAGS_HEADER1=6
4011 val SCE_TXT2TAGS_HEADER2=7
4012 val SCE_TXT2TAGS_HEADER3=8
4013 val SCE_TXT2TAGS_HEADER4=9
4014 val SCE_TXT2TAGS_HEADER5=10
4015 val SCE_TXT2TAGS_HEADER6=11
4016 val SCE_TXT2TAGS_PRECHAR=12
4017 val SCE_TXT2TAGS_ULIST_ITEM=13
4018 val SCE_TXT2TAGS_OLIST_ITEM=14
4019 val SCE_TXT2TAGS_BLOCKQUOTE=15
4020 val SCE_TXT2TAGS_STRIKEOUT=16
4021 val SCE_TXT2TAGS_HRULE=17
4022 val SCE_TXT2TAGS_LINK=18
4023 val SCE_TXT2TAGS_CODE=19
4024 val SCE_TXT2TAGS_CODE2=20
4025 val SCE_TXT2TAGS_CODEBK=21
4026 val SCE_TXT2TAGS_COMMENT=22
4027 val SCE_TXT2TAGS_OPTION=23
4028 val SCE_TXT2TAGS_PREPROC=24
4029 val SCE_TXT2TAGS_POSTPROC=25
4030 # Lexical states for SCLEX_A68K
4031 lex A68k=SCLEX_A68K SCE_A68K_
4032 val SCE_A68K_DEFAULT=0
4033 val SCE_A68K_COMMENT=1
4034 val SCE_A68K_NUMBER_DEC=2
4035 val SCE_A68K_NUMBER_BIN=3
4036 val SCE_A68K_NUMBER_HEX=4
4037 val SCE_A68K_STRING1=5
4038 val SCE_A68K_OPERATOR=6
4039 val SCE_A68K_CPUINSTRUCTION=7
4040 val SCE_A68K_EXTINSTRUCTION=8
4041 val SCE_A68K_REGISTER=9
4042 val SCE_A68K_DIRECTIVE=10
4043 val SCE_A68K_MACRO_ARG=11
4044 val SCE_A68K_LABEL=12
4045 val SCE_A68K_STRING2=13
4046 val SCE_A68K_IDENTIFIER=14
4047 val SCE_A68K_MACRO_DECLARATION=15
4048 val SCE_A68K_COMMENT_WORD=16
4049 val SCE_A68K_COMMENT_SPECIAL=17
4050 val SCE_A68K_COMMENT_DOXYGEN=18
4051 # Lexical states for SCLEX_MODULA
4052 lex Modula=SCLEX_MODULA SCE_MODULA_
4053 val SCE_MODULA_DEFAULT=0
4054 val SCE_MODULA_COMMENT=1
4055 val SCE_MODULA_DOXYCOMM=2
4056 val SCE_MODULA_DOXYKEY=3
4057 val SCE_MODULA_KEYWORD=4
4058 val SCE_MODULA_RESERVED=5
4059 val SCE_MODULA_NUMBER=6
4060 val SCE_MODULA_BASENUM=7
4061 val SCE_MODULA_FLOAT=8
4062 val SCE_MODULA_STRING=9
4063 val SCE_MODULA_STRSPEC=10
4064 val SCE_MODULA_CHAR=11
4065 val SCE_MODULA_CHARSPEC=12
4066 val SCE_MODULA_PROC=13
4067 val SCE_MODULA_PRAGMA=14
4068 val SCE_MODULA_PRGKEY=15
4069 val SCE_MODULA_OPERATOR=16
4070 val SCE_MODULA_BADSTR=17
4071 # Lexical states for SCLEX_COFFEESCRIPT
4072 lex CoffeeScript=SCLEX_COFFEESCRIPT SCE_COFFEESCRIPT_
4073 val SCE_COFFEESCRIPT_DEFAULT=0
4074 val SCE_COFFEESCRIPT_COMMENT=1
4075 val SCE_COFFEESCRIPT_COMMENTLINE=2
4076 val SCE_COFFEESCRIPT_COMMENTDOC=3
4077 val SCE_COFFEESCRIPT_NUMBER=4
4078 val SCE_COFFEESCRIPT_WORD=5
4079 val SCE_COFFEESCRIPT_STRING=6
4080 val SCE_COFFEESCRIPT_CHARACTER=7
4081 val SCE_COFFEESCRIPT_UUID=8
4082 val SCE_COFFEESCRIPT_PREPROCESSOR=9
4083 val SCE_COFFEESCRIPT_OPERATOR=10
4084 val SCE_COFFEESCRIPT_IDENTIFIER=11
4085 val SCE_COFFEESCRIPT_STRINGEOL=12
4086 val SCE_COFFEESCRIPT_VERBATIM=13
4087 val SCE_COFFEESCRIPT_REGEX=14
4088 val SCE_COFFEESCRIPT_COMMENTLINEDOC=15
4089 val SCE_COFFEESCRIPT_WORD2=16
4090 val SCE_COFFEESCRIPT_COMMENTDOCKEYWORD=17
4091 val SCE_COFFEESCRIPT_COMMENTDOCKEYWORDERROR=18
4092 val SCE_COFFEESCRIPT_GLOBALCLASS=19
4093 val SCE_COFFEESCRIPT_STRINGRAW=20
4094 val SCE_COFFEESCRIPT_TRIPLEVERBATIM=21
4095 val SCE_COFFEESCRIPT_HASHQUOTEDSTRING=22
4096 val SCE_COFFEESCRIPT_COMMENTBLOCK=22
4097 val SCE_COFFEESCRIPT_VERBOSE_REGEX=23
4098 val SCE_COFFEESCRIPT_VERBOSE_REGEX_COMMENT=24
4099 # Lexical states for SCLEX_AVS
4100 lex AVS=SCLEX_AVS SCE_AVS_
4101 val SCE_AVS_DEFAULT=0
4102 val SCE_AVS_COMMENTBLOCK=1
4103 val SCE_AVS_COMMENTBLOCKN=2
4104 val SCE_AVS_COMMENTLINE=3
4105 val SCE_AVS_NUMBER=4
4106 val SCE_AVS_OPERATOR=5
4107 val SCE_AVS_IDENTIFIER=6
4108 val SCE_AVS_STRING=7
4109 val SCE_AVS_TRIPLESTRING=8
4110 val SCE_AVS_KEYWORD=9
4111 val SCE_AVS_FILTER=10
4112 val SCE_AVS_PLUGIN=11
4113 val SCE_AVS_FUNCTION=12
4114 val SCE_AVS_CLIPPROP=13
4115 val SCE_AVS_USERDFN=14
4116 # Lexical states for SCLEX_ECL
4117 lex ECL=SCLEX_ECL SCE_ECL_
4118 val SCE_ECL_DEFAULT=0
4119 val SCE_ECL_COMMENT=1
4120 val SCE_ECL_COMMENTLINE=2
4121 val SCE_ECL_NUMBER=3
4122 val SCE_ECL_STRING=4
4123 val SCE_ECL_WORD0=5
4124 val SCE_ECL_OPERATOR=6
4125 val SCE_ECL_CHARACTER=7
4126 val SCE_ECL_UUID=8
4127 val SCE_ECL_PREPROCESSOR=9
4128 val SCE_ECL_UNKNOWN=10
4129 val SCE_ECL_IDENTIFIER=11
4130 val SCE_ECL_STRINGEOL=12
4131 val SCE_ECL_VERBATIM=13
4132 val SCE_ECL_REGEX=14
4133 val SCE_ECL_COMMENTLINEDOC=15
4134 val SCE_ECL_WORD1=16
4135 val SCE_ECL_COMMENTDOCKEYWORD=17
4136 val SCE_ECL_COMMENTDOCKEYWORDERROR=18
4137 val SCE_ECL_WORD2=19
4138 val SCE_ECL_WORD3=20
4139 val SCE_ECL_WORD4=21
4140 val SCE_ECL_WORD5=22
4141 val SCE_ECL_COMMENTDOC=23
4142 val SCE_ECL_ADDED=24
4143 val SCE_ECL_DELETED=25
4144 val SCE_ECL_CHANGED=26
4145 val SCE_ECL_MOVED=27
4146 # Lexical states for SCLEX_OSCRIPT
4147 lex OScript=SCLEX_OSCRIPT SCE_OSCRIPT_
4148 val SCE_OSCRIPT_DEFAULT=0
4149 val SCE_OSCRIPT_LINE_COMMENT=1
4150 val SCE_OSCRIPT_BLOCK_COMMENT=2
4151 val SCE_OSCRIPT_DOC_COMMENT=3
4152 val SCE_OSCRIPT_PREPROCESSOR=4
4153 val SCE_OSCRIPT_NUMBER=5
4154 val SCE_OSCRIPT_SINGLEQUOTE_STRING=6
4155 val SCE_OSCRIPT_DOUBLEQUOTE_STRING=7
4156 val SCE_OSCRIPT_CONSTANT=8
4157 val SCE_OSCRIPT_IDENTIFIER=9
4158 val SCE_OSCRIPT_GLOBAL=10
4159 val SCE_OSCRIPT_KEYWORD=11
4160 val SCE_OSCRIPT_OPERATOR=12
4161 val SCE_OSCRIPT_LABEL=13
4162 val SCE_OSCRIPT_TYPE=14
4163 val SCE_OSCRIPT_FUNCTION=15
4164 val SCE_OSCRIPT_OBJECT=16
4165 val SCE_OSCRIPT_PROPERTY=17
4166 val SCE_OSCRIPT_METHOD=18
4167 # Lexical states for SCLEX_VISUALPROLOG
4168 lex VisualProlog=SCLEX_VISUALPROLOG SCE_VISUALPROLOG_
4169 val SCE_VISUALPROLOG_DEFAULT=0
4170 val SCE_VISUALPROLOG_KEY_MAJOR=1
4171 val SCE_VISUALPROLOG_KEY_MINOR=2
4172 val SCE_VISUALPROLOG_KEY_DIRECTIVE=3
4173 val SCE_VISUALPROLOG_COMMENT_BLOCK=4
4174 val SCE_VISUALPROLOG_COMMENT_LINE=5
4175 val SCE_VISUALPROLOG_COMMENT_KEY=6
4176 val SCE_VISUALPROLOG_COMMENT_KEY_ERROR=7
4177 val SCE_VISUALPROLOG_IDENTIFIER=8
4178 val SCE_VISUALPROLOG_VARIABLE=9
4179 val SCE_VISUALPROLOG_ANONYMOUS=10
4180 val SCE_VISUALPROLOG_NUMBER=11
4181 val SCE_VISUALPROLOG_OPERATOR=12
4182 val SCE_VISUALPROLOG_CHARACTER=13
4183 val SCE_VISUALPROLOG_CHARACTER_TOO_MANY=14
4184 val SCE_VISUALPROLOG_CHARACTER_ESCAPE_ERROR=15
4185 val SCE_VISUALPROLOG_STRING=16
4186 val SCE_VISUALPROLOG_STRING_ESCAPE=17
4187 val SCE_VISUALPROLOG_STRING_ESCAPE_ERROR=18
4188 val SCE_VISUALPROLOG_STRING_EOL_OPEN=19
4189 val SCE_VISUALPROLOG_STRING_VERBATIM=20
4190 val SCE_VISUALPROLOG_STRING_VERBATIM_SPECIAL=21
4191 val SCE_VISUALPROLOG_STRING_VERBATIM_EOL=22
4192
4193 # Events
4194
4195 evt void StyleNeeded=2000(int position)
4196 evt void CharAdded=2001(int ch)
4197 evt void SavePointReached=2002(void)
4198 evt void SavePointLeft=2003(void)
4199 evt void ModifyAttemptRO=2004(void)
4200 # GTK+ Specific to work around focus and accelerator problems:
4201 evt void Key=2005(int ch, int modifiers)
4202 evt void DoubleClick=2006(int modifiers, int position, int line)
4203 evt void UpdateUI=2007(int updated)
4204 evt void Modified=2008(int position, int modificationType, string text, int length, int linesAdded, int line, int foldLevelNow, int foldLevelPrev, int token, int annotationLinesAdded)
4205 evt void MacroRecord=2009(int message, int wParam, int lParam)
4206 evt void MarginClick=2010(int modifiers, int position, int margin)
4207 evt void NeedShown=2011(int position, int length)
4208 evt void Painted=2013(void)
4209 evt void UserListSelection=2014(int listType, string text, int position)
4210 evt void URIDropped=2015(string text)
4211 evt void DwellStart=2016(int position, int x, int y)
4212 evt void DwellEnd=2017(int position, int x, int y)
4213 evt void Zoom=2018(void)
4214 evt void HotSpotClick=2019(int modifiers, int position)
4215 evt void HotSpotDoubleClick=2020(int modifiers, int position)
4216 evt void CallTipClick=2021(int position)
4217 evt void AutoCSelection=2022(string text, int position)
4218 evt void IndicatorClick=2023(int modifiers, int position)
4219 evt void IndicatorRelease=2024(int modifiers, int position)
4220 evt void AutoCCancelled=2025(void)
4221 evt void AutoCCharDeleted=2026(void)
4222 evt void HotSpotReleaseClick=2027(int modifiers, int position)
4223
4224 cat Deprecated
4225
4226 # Deprecated in 2.21
4227 # The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
4228 val SC_CP_DBCS=1
4229
4230 # Deprecated in 2.30
4231
4232 # In palette mode?
4233 get bool GetUsePalette=2139(,)
4234
4235 # In palette mode, Scintilla uses the environment's palette calls to display
4236 # more colours. This may lead to ugly displays.
4237 set void SetUsePalette=2039(bool usePalette,)