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