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