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