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