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