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