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