1 ## First line may be used for shbang
 
   3 ## This file defines the interface to Scintilla
 
   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.
 
   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.
 
  13 ## Each feature is defined by a line starting with fun, get, set, val or evt.
 
  14 ##     cat -> start a category
 
  16 ##     get -> a property get function
 
  17 ##     set -> a property set function
 
  18 ##     val -> definition of a constant
 
  20 ##     enu -> associate an enumeration with a set of vals with a prefix
 
  21 ##     lex -> associate a lexer with the lexical classes it produces
 
  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.
 
  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
 
  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.
 
  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
 
  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
 
  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
 
  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
 
  73 ## String arguments may contain NUL ('\0') characters where the calls provide a length
 
  74 ## argument and retrieve NUL characters. All retrieved strings except for those retrieved
 
  75 ## by GetLine also have a NUL appended but client code should calculate the size that
 
  76 ## will be returned rather than relying upon the NUL whenever possible. Allow for the
 
  77 ## extra NUL character when allocating buffers.
 
  81 ################################################
 
  83 val INVALID_POSITION=-1
 
  84 # Define start of Scintilla messages to be greater than all Windows edit (EM_*) messages
 
  85 # as many EM_ messages can be used although that use is deprecated.
 
  87 val SCI_OPTIONAL_START=3000
 
  88 val SCI_LEXER_START=4000
 
  90 # Add text to the document.
 
  91 fun void AddText=2001(int length, string text)
 
  93 # Add array of cells to document.
 
  94 fun void AddStyledText=2002(int length, cells c)
 
  96 # Insert string at a position.
 
  97 fun void InsertText=2003(position pos, string text)
 
  99 # Delete all text in the document.
 
 100 fun void ClearAll=2004(,)
 
 102 # Set all style bytes to 0, remove all folding information.
 
 103 fun void ClearDocumentStyle=2005(,)
 
 105 # The number of characters in the document.
 
 106 get int GetLength=2006(,)
 
 108 # Returns the character byte at the position.
 
 109 get int GetCharAt=2007(position pos,)
 
 111 # Returns the position of the caret.
 
 112 get position GetCurrentPos=2008(,)
 
 114 # Returns the position of the opposite end of the selection to the caret.
 
 115 get position GetAnchor=2009(,)
 
 117 # Returns the style byte at the position.
 
 118 get int GetStyleAt=2010(position pos,)
 
 120 # Redoes the next action on the undo history.
 
 121 fun void Redo=2011(,)
 
 123 # Choose between collecting actions into the undo
 
 124 # history and discarding them.
 
 125 set void SetUndoCollection=2012(bool collectUndo,)
 
 127 # Select all the text in the document.
 
 128 fun void SelectAll=2013(,)
 
 130 # Remember the current position in the undo history as the position
 
 131 # at which the document was saved.
 
 132 fun void SetSavePoint=2014(,)
 
 134 # Retrieve a buffer of cells.
 
 135 # Returns the number of bytes in the buffer not including terminating NULs.
 
 136 fun int GetStyledText=2015(, textrange tr)
 
 138 # Are there any redoable actions in the undo history?
 
 139 fun bool CanRedo=2016(,)
 
 141 # Retrieve the line number at which a particular marker is located.
 
 142 fun int MarkerLineFromHandle=2017(int handle,)
 
 145 fun void MarkerDeleteHandle=2018(int handle,)
 
 147 # Is undo history being collected?
 
 148 get bool GetUndoCollection=2019(,)
 
 152 val SCWS_VISIBLEALWAYS=1
 
 153 val SCWS_VISIBLEAFTERINDENT=2
 
 155 # Are white space characters currently visible?
 
 156 # Returns one of SCWS_* constants.
 
 157 get int GetViewWS=2020(,)
 
 159 # Make white space characters invisible, always visible or visible outside indentation.
 
 160 set void SetViewWS=2021(int viewWS,)
 
 162 # Find the position from a point within the window.
 
 163 fun position PositionFromPoint=2022(int x, int y)
 
 165 # Find the position from a point within the window but return
 
 166 # INVALID_POSITION if not close to text.
 
 167 fun position PositionFromPointClose=2023(int x, int y)
 
 169 # Set caret to start of a line and ensure it is visible.
 
 170 fun void GotoLine=2024(int line,)
 
 172 # Set caret to a position and ensure it is visible.
 
 173 fun void GotoPos=2025(position pos,)
 
 175 # Set the selection anchor to a position. The anchor is the opposite
 
 176 # end of the selection from the caret.
 
 177 set void SetAnchor=2026(position posAnchor,)
 
 179 # Retrieve the text of the line containing the caret.
 
 180 # Returns the index of the caret on the line.
 
 181 fun int GetCurLine=2027(int length, stringresult text)
 
 183 # Retrieve the position of the last correctly styled character.
 
 184 get position GetEndStyled=2028(,)
 
 186 enu EndOfLine=SC_EOL_
 
 191 # Convert all line endings in the document to one mode.
 
 192 fun void ConvertEOLs=2029(int eolMode,)
 
 194 # Retrieve the current end of line mode - one of CRLF, CR, or LF.
 
 195 get int GetEOLMode=2030(,)
 
 197 # Set the current end of line mode.
 
 198 set void SetEOLMode=2031(int eolMode,)
 
 200 # Set the current styling position to pos and the styling mask to mask.
 
 201 # The styling mask can be used to protect some bits in each styling byte from modification.
 
 202 fun void StartStyling=2032(position pos, int mask)
 
 204 # Change style from current styling position for length characters to a style
 
 205 # and move the current styling position to after this newly styled segment.
 
 206 fun void SetStyling=2033(int length, int style)
 
 208 # Is drawing done first into a buffer or direct to the screen?
 
 209 get bool GetBufferedDraw=2034(,)
 
 211 # If drawing is buffered then each line of text is drawn into a bitmap buffer
 
 212 # before drawing it to the screen to avoid flicker.
 
 213 set void SetBufferedDraw=2035(bool buffered,)
 
 215 # Change the visible size of a tab to be a multiple of the width of a space character.
 
 216 set void SetTabWidth=2036(int tabWidth,)
 
 218 # Retrieve the visible size of a tab.
 
 219 get int GetTabWidth=2121(,)
 
 221 # The SC_CP_UTF8 value can be used to enter Unicode mode.
 
 222 # This is the same value as CP_UTF8 in Windows
 
 225 # The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
 
 228 # Set the code page used to interpret the bytes of the document as characters.
 
 229 # The SC_CP_UTF8 value can be used to enter Unicode mode.
 
 230 set void SetCodePage=2037(int codePage,)
 
 232 # In palette mode, Scintilla uses the environment's palette calls to display
 
 233 # more colours. This may lead to ugly displays.
 
 234 set void SetUsePalette=2039(bool usePalette,)
 
 236 enu MarkerSymbol=SC_MARK_
 
 239 val SC_MARK_ROUNDRECT=1
 
 241 val SC_MARK_SMALLRECT=3
 
 242 val SC_MARK_SHORTARROW=4
 
 244 val SC_MARK_ARROWDOWN=6
 
 248 # Shapes used for outlining column.
 
 250 val SC_MARK_LCORNER=10
 
 251 val SC_MARK_TCORNER=11
 
 252 val SC_MARK_BOXPLUS=12
 
 253 val SC_MARK_BOXPLUSCONNECTED=13
 
 254 val SC_MARK_BOXMINUS=14
 
 255 val SC_MARK_BOXMINUSCONNECTED=15
 
 256 val SC_MARK_LCORNERCURVE=16
 
 257 val SC_MARK_TCORNERCURVE=17
 
 258 val SC_MARK_CIRCLEPLUS=18
 
 259 val SC_MARK_CIRCLEPLUSCONNECTED=19
 
 260 val SC_MARK_CIRCLEMINUS=20
 
 261 val SC_MARK_CIRCLEMINUSCONNECTED=21
 
 263 # Invisible mark that only sets the line background color.
 
 264 val SC_MARK_BACKGROUND=22
 
 265 val SC_MARK_DOTDOTDOT=23
 
 266 val SC_MARK_ARROWS=24
 
 267 val SC_MARK_PIXMAP=25
 
 269 val SC_MARK_CHARACTER=10000
 
 271 enu MarkerOutline=SC_MARKNUM_
 
 272 # Markers used for outlining column.
 
 273 val SC_MARKNUM_FOLDEREND=25
 
 274 val SC_MARKNUM_FOLDEROPENMID=26
 
 275 val SC_MARKNUM_FOLDERMIDTAIL=27
 
 276 val SC_MARKNUM_FOLDERTAIL=28
 
 277 val SC_MARKNUM_FOLDERSUB=29
 
 278 val SC_MARKNUM_FOLDER=30
 
 279 val SC_MARKNUM_FOLDEROPEN=31
 
 281 val SC_MASK_FOLDERS=0xFE000000
 
 283 # Set the symbol used for a particular marker number.
 
 284 fun void MarkerDefine=2040(int markerNumber, int markerSymbol)
 
 286 # Set the foreground colour used for a particular marker number.
 
 287 fun void MarkerSetFore=2041(int markerNumber, colour fore)
 
 289 # Set the background colour used for a particular marker number.
 
 290 fun void MarkerSetBack=2042(int markerNumber, colour back)
 
 292 # Add a marker to a line, returning an ID which can be used to find or delete the marker.
 
 293 fun int MarkerAdd=2043(int line, int markerNumber)
 
 295 # Delete a marker from a line.
 
 296 fun void MarkerDelete=2044(int line, int markerNumber)
 
 298 # Delete all markers with a particular number from all lines.
 
 299 fun void MarkerDeleteAll=2045(int markerNumber,)
 
 301 # Get a bit mask of all the markers set on a line.
 
 302 fun int MarkerGet=2046(int line,)
 
 304 # Find the next line after lineStart that includes a marker in mask.
 
 305 fun int MarkerNext=2047(int lineStart, int markerMask)
 
 307 # Find the previous line before lineStart that includes a marker in mask.
 
 308 fun int MarkerPrevious=2048(int lineStart, int markerMask)
 
 310 # Define a marker from a pixmap.
 
 311 fun void MarkerDefinePixmap=2049(int markerNumber, string pixmap)
 
 313 enu MarginType=SC_MARGIN_
 
 314 val SC_MARGIN_SYMBOL=0
 
 315 val SC_MARGIN_NUMBER=1
 
 317 # Set a margin to be either numeric or symbolic.
 
 318 set void SetMarginTypeN=2240(int margin, int marginType)
 
 320 # Retrieve the type of a margin.
 
 321 get int GetMarginTypeN=2241(int margin,)
 
 323 # Set the width of a margin to a width expressed in pixels.
 
 324 set void SetMarginWidthN=2242(int margin, int pixelWidth)
 
 326 # Retrieve the width of a margin in pixels.
 
 327 get int GetMarginWidthN=2243(int margin,)
 
 329 # Set a mask that determines which markers are displayed in a margin.
 
 330 set void SetMarginMaskN=2244(int margin, int mask)
 
 332 # Retrieve the marker mask of a margin.
 
 333 get int GetMarginMaskN=2245(int margin,)
 
 335 # Make a margin sensitive or insensitive to mouse clicks.
 
 336 set void SetMarginSensitiveN=2246(int margin, bool sensitive)
 
 338 # Retrieve the mouse click sensitivity of a margin.
 
 339 get bool GetMarginSensitiveN=2247(int margin,)
 
 341 # Styles in range 32..37 are predefined for parts of the UI and are not used as normal styles.
 
 342 # Styles 38 and 39 are for future use.
 
 343 enu StylesCommon=STYLE_
 
 345 val STYLE_LINENUMBER=33
 
 346 val STYLE_BRACELIGHT=34
 
 347 val STYLE_BRACEBAD=35
 
 348 val STYLE_CONTROLCHAR=36
 
 349 val STYLE_INDENTGUIDE=37
 
 350 val STYLE_LASTPREDEFINED=39
 
 353 # Character set identifiers are used in StyleSetCharacterSet.
 
 354 # The values are the same as the Windows *_CHARSET values.
 
 355 enu CharacterSet=SC_CHARSET_
 
 356 val SC_CHARSET_ANSI=0
 
 357 val SC_CHARSET_DEFAULT=1
 
 358 val SC_CHARSET_BALTIC=186
 
 359 val SC_CHARSET_CHINESEBIG5=136
 
 360 val SC_CHARSET_EASTEUROPE=238
 
 361 val SC_CHARSET_GB2312=134
 
 362 val SC_CHARSET_GREEK=161
 
 363 val SC_CHARSET_HANGUL=129
 
 364 val SC_CHARSET_MAC=77
 
 365 val SC_CHARSET_OEM=255
 
 366 val SC_CHARSET_RUSSIAN=204
 
 367 val SC_CHARSET_SHIFTJIS=128
 
 368 val SC_CHARSET_SYMBOL=2
 
 369 val SC_CHARSET_TURKISH=162
 
 370 val SC_CHARSET_JOHAB=130
 
 371 val SC_CHARSET_HEBREW=177
 
 372 val SC_CHARSET_ARABIC=178
 
 373 val SC_CHARSET_VIETNAMESE=163
 
 374 val SC_CHARSET_THAI=222
 
 376 # Clear all the styles and make equivalent to the global default style.
 
 377 set void StyleClearAll=2050(,)
 
 379 # Set the foreground colour of a style.
 
 380 set void StyleSetFore=2051(int style, colour fore)
 
 382 # Set the background colour of a style.
 
 383 set void StyleSetBack=2052(int style, colour back)
 
 385 # Set a style to be bold or not.
 
 386 set void StyleSetBold=2053(int style, bool bold)
 
 388 # Set a style to be italic or not.
 
 389 set void StyleSetItalic=2054(int style, bool italic)
 
 391 # Set the size of characters of a style.
 
 392 set void StyleSetSize=2055(int style, int sizePoints)
 
 394 # Set the font of a style.
 
 395 set void StyleSetFont=2056(int style, string fontName)
 
 397 # Set a style to have its end of line filled or not.
 
 398 set void StyleSetEOLFilled=2057(int style, bool filled)
 
 400 # Reset the default style to its state at startup
 
 401 fun void StyleResetDefault=2058(,)
 
 403 # Set a style to be underlined or not.
 
 404 set void StyleSetUnderline=2059(int style, bool underline)
 
 406 enu CaseVisible=SC_CASE_
 
 410 # Set a style to be mixed case, or to force upper or lower case.
 
 411 set void StyleSetCase=2060(int style, int caseForce)
 
 413 # Set the character set of the font in a style.
 
 414 set void StyleSetCharacterSet=2066(int style, int characterSet)
 
 416 # Set a style to be a hotspot or not.
 
 417 set void StyleSetHotSpot=2409(int style, bool hotspot)
 
 419 # Set the foreground colour of the selection and whether to use this setting.
 
 420 fun void SetSelFore=2067(bool useSetting, colour fore)
 
 422 # Set the background colour of the selection and whether to use this setting.
 
 423 fun void SetSelBack=2068(bool useSetting, colour back)
 
 425 # Set the foreground colour of the caret.
 
 426 set void SetCaretFore=2069(colour fore,)
 
 428 # When key+modifier combination km is pressed perform msg.
 
 429 fun void AssignCmdKey=2070(keymod km, int msg)
 
 431 # When key+modifier combination km is pressed do nothing.
 
 432 fun void ClearCmdKey=2071(keymod km,)
 
 434 # Drop all key mappings.
 
 435 fun void ClearAllCmdKeys=2072(,)
 
 437 # Set the styles for a segment of the document.
 
 438 fun void SetStylingEx=2073(int length, string styles)
 
 440 # Set a style to be visible or not.
 
 441 set void StyleSetVisible=2074(int style, bool visible)
 
 443 # Get the time in milliseconds that the caret is on and off.
 
 444 get int GetCaretPeriod=2075(,)
 
 446 # Get the time in milliseconds that the caret is on and off. 0 = steady on.
 
 447 set void SetCaretPeriod=2076(int periodMilliseconds,)
 
 449 # Set the set of characters making up words for when moving or selecting by word.
 
 450 # First sets deaults like SetCharsDefault.
 
 451 set void SetWordChars=2077(, string characters)
 
 453 # Start a sequence of actions that is undone and redone as a unit.
 
 455 fun void BeginUndoAction=2078(,)
 
 457 # End a sequence of actions that is undone and redone as a unit.
 
 458 fun void EndUndoAction=2079(,)
 
 460 enu IndicatorStyle=INDIC_
 
 474 # Set an indicator to plain, squiggle or TT.
 
 475 set void IndicSetStyle=2080(int indic, int style)
 
 477 # Retrieve the style of an indicator.
 
 478 get int IndicGetStyle=2081(int indic,)
 
 480 # Set the foreground colour of an indicator.
 
 481 set void IndicSetFore=2082(int indic, colour fore)
 
 483 # Retrieve the foreground colour of an indicator.
 
 484 get colour IndicGetFore=2083(int indic,)
 
 486 # Set the foreground colour of all whitespace and whether to use this setting.
 
 487 fun void SetWhitespaceFore=2084(bool useSetting, colour fore)
 
 489 # Set the background colour of all whitespace and whether to use this setting.
 
 490 fun void SetWhitespaceBack=2085(bool useSetting, colour back)
 
 492 # Divide each styling byte into lexical class bits (default: 5) and indicator
 
 493 # bits (default: 3). If a lexer requires more than 32 lexical states, then this
 
 494 # is used to expand the possible states.
 
 495 set void SetStyleBits=2090(int bits,)
 
 497 # Retrieve number of bits in style bytes used to hold the lexical state.
 
 498 get int GetStyleBits=2091(,)
 
 500 # Used to hold extra styling information for each line.
 
 501 set void SetLineState=2092(int line, int state)
 
 503 # Retrieve the extra styling information for a line.
 
 504 get int GetLineState=2093(int line,)
 
 506 # Retrieve the last line number that has line state.
 
 507 get int GetMaxLineState=2094(,)
 
 509 # Is the background of the line containing the caret in a different colour?
 
 510 get bool GetCaretLineVisible=2095(,)
 
 512 # Display the background of the line containing the caret in a different colour.
 
 513 set void SetCaretLineVisible=2096(bool show,)
 
 515 # Get the colour of the background of the line containing the caret.
 
 516 get colour GetCaretLineBack=2097(,)
 
 518 # Set the colour of the background of the line containing the caret.
 
 519 set void SetCaretLineBack=2098(colour back,)
 
 521 # Set a style to be changeable or not (read only).
 
 522 # Experimental feature, currently buggy.
 
 523 set void StyleSetChangeable=2099(int style, bool changeable)
 
 525 # Display a auto-completion list.
 
 526 # The lenEntered parameter indicates how many characters before
 
 527 # the caret should be used to provide context.
 
 528 fun void AutoCShow=2100(int lenEntered, string itemList)
 
 530 # Remove the auto-completion list from the screen.
 
 531 fun void AutoCCancel=2101(,)
 
 533 # Is there an auto-completion list visible?
 
 534 fun bool AutoCActive=2102(,)
 
 536 # Retrieve the position of the caret when the auto-completion list was displayed.
 
 537 fun position AutoCPosStart=2103(,)
 
 539 # User has selected an item so remove the list and insert the selection.
 
 540 fun void AutoCComplete=2104(,)
 
 542 # Define a set of character that when typed cancel the auto-completion list.
 
 543 fun void AutoCStops=2105(, string characterSet)
 
 545 # Change the separator character in the string setting up an auto-completion list.
 
 546 # Default is space but can be changed if items contain space.
 
 547 set void AutoCSetSeparator=2106(int separatorCharacter,)
 
 549 # Retrieve the auto-completion list separator character.
 
 550 get int AutoCGetSeparator=2107(,)
 
 552 # Select the item in the auto-completion list that starts with a string.
 
 553 fun void AutoCSelect=2108(, string text)
 
 555 # Should the auto-completion list be cancelled if the user backspaces to a
 
 556 # position before where the box was created.
 
 557 set void AutoCSetCancelAtStart=2110(bool cancel,)
 
 559 # Retrieve whether auto-completion cancelled by backspacing before start.
 
 560 get bool AutoCGetCancelAtStart=2111(,)
 
 562 # Define a set of characters that when typed will cause the autocompletion to
 
 563 # choose the selected item.
 
 564 set void AutoCSetFillUps=2112(, string characterSet)
 
 566 # Should a single item auto-completion list automatically choose the item.
 
 567 set void AutoCSetChooseSingle=2113(bool chooseSingle,)
 
 569 # Retrieve whether a single item auto-completion list automatically choose the item.
 
 570 get bool AutoCGetChooseSingle=2114(,)
 
 572 # Set whether case is significant when performing auto-completion searches.
 
 573 set void AutoCSetIgnoreCase=2115(bool ignoreCase,)
 
 575 # Retrieve state of ignore case flag.
 
 576 get bool AutoCGetIgnoreCase=2116(,)
 
 578 # Display a list of strings and send notification when user chooses one.
 
 579 fun void UserListShow=2117(int listType, string itemList)
 
 581 # Set whether or not autocompletion is hidden automatically when nothing matches.
 
 582 set void AutoCSetAutoHide=2118(bool autoHide,)
 
 584 # Retrieve whether or not autocompletion is hidden automatically when nothing matches.
 
 585 get bool AutoCGetAutoHide=2119(,)
 
 587 # Set whether or not autocompletion deletes any word characters
 
 588 # after the inserted text upon completion.
 
 589 set void AutoCSetDropRestOfWord=2270(bool dropRestOfWord,)
 
 591 # Retrieve whether or not autocompletion deletes any word characters
 
 592 # after the inserted text upon completion.
 
 593 get bool AutoCGetDropRestOfWord=2271(,)
 
 595 # Register an XPM image for use in autocompletion lists.
 
 596 fun void RegisterImage=2405(int type, string xpmData)
 
 598 # Clear all the registered XPM images.
 
 599 fun void ClearRegisteredImages=2408(,)
 
 601 # Retrieve the auto-completion list type-separator character.
 
 602 get int AutoCGetTypeSeparator=2285(,)
 
 604 # Change the type-separator character in the string setting up an auto-completion list.
 
 605 # Default is '?' but can be changed if items contain '?'.
 
 606 set void AutoCSetTypeSeparator=2286(int separatorCharacter,)
 
 608 # Set the number of spaces used for one level of indentation.
 
 609 set void SetIndent=2122(int indentSize,)
 
 611 # Retrieve indentation size.
 
 612 get int GetIndent=2123(,)
 
 614 # Indentation will only use space characters if useTabs is false, otherwise
 
 615 # it will use a combination of tabs and spaces.
 
 616 set void SetUseTabs=2124(bool useTabs,)
 
 618 # Retrieve whether tabs will be used in indentation.
 
 619 get bool GetUseTabs=2125(,)
 
 621 # Change the indentation of a line to a number of columns.
 
 622 set void SetLineIndentation=2126(int line, int indentSize)
 
 624 # Retrieve the number of columns that a line is indented.
 
 625 get int GetLineIndentation=2127(int line,)
 
 627 # Retrieve the position before the first non indentation character on a line.
 
 628 get position GetLineIndentPosition=2128(int line,)
 
 630 # Retrieve the column number of a position, taking tab width into account.
 
 631 get int GetColumn=2129(position pos,)
 
 633 # Show or hide the horizontal scroll bar.
 
 634 set void SetHScrollBar=2130(bool show,)
 
 636 # Is the horizontal scroll bar visible?
 
 637 get bool GetHScrollBar=2131(,)
 
 639 # Show or hide indentation guides.
 
 640 set void SetIndentationGuides=2132(bool show,)
 
 642 # Are the indentation guides visible?
 
 643 get bool GetIndentationGuides=2133(,)
 
 645 # Set the highlighted indentation guide column.
 
 646 # 0 = no highlighted guide.
 
 647 set void SetHighlightGuide=2134(int column,)
 
 649 # Get the highlighted indentation guide column.
 
 650 get int GetHighlightGuide=2135(,)
 
 652 # Get the position after the last visible characters on a line.
 
 653 get int GetLineEndPosition=2136(int line,)
 
 655 # Get the code page used to interpret the bytes of the document as characters.
 
 656 get int GetCodePage=2137(,)
 
 658 # Get the foreground colour of the caret.
 
 659 get colour GetCaretFore=2138(,)
 
 662 get bool GetUsePalette=2139(,)
 
 665 get bool GetReadOnly=2140(,)
 
 667 # Sets the position of the caret.
 
 668 set void SetCurrentPos=2141(position pos,)
 
 670 # Sets the position that starts the selection - this becomes the anchor.
 
 671 set void SetSelectionStart=2142(position pos,)
 
 673 # Returns the position at the start of the selection.
 
 674 get position GetSelectionStart=2143(,)
 
 676 # Sets the position that ends the selection - this becomes the currentPosition.
 
 677 set void SetSelectionEnd=2144(position pos,)
 
 679 # Returns the position at the end of the selection.
 
 680 get position GetSelectionEnd=2145(,)
 
 682 # Sets the print magnification added to the point size of each style for printing.
 
 683 set void SetPrintMagnification=2146(int magnification,)
 
 685 # Returns the print magnification.
 
 686 get int GetPrintMagnification=2147(,)
 
 688 enu PrintOption=SC_PRINT_
 
 689 # PrintColourMode - use same colours as screen.
 
 690 val SC_PRINT_NORMAL=0
 
 691 # PrintColourMode - invert the light value of each style for printing.
 
 692 val SC_PRINT_INVERTLIGHT=1
 
 693 # PrintColourMode - force black text on white background for printing.
 
 694 val SC_PRINT_BLACKONWHITE=2
 
 695 # PrintColourMode - text stays coloured, but all background is forced to be white for printing.
 
 696 val SC_PRINT_COLOURONWHITE=3
 
 697 # PrintColourMode - only the default-background is forced to be white for printing.
 
 698 val SC_PRINT_COLOURONWHITEDEFAULTBG=4
 
 700 # Modify colours when printing for clearer printed text.
 
 701 set void SetPrintColourMode=2148(int mode,)
 
 703 # Returns the print colour mode.
 
 704 get int GetPrintColourMode=2149(,)
 
 706 enu FindOption=SCFIND_
 
 707 val SCFIND_WHOLEWORD=2
 
 708 val SCFIND_MATCHCASE=4
 
 709 val SCFIND_WORDSTART=0x00100000
 
 710 val SCFIND_REGEXP=0x00200000
 
 711 val SCFIND_POSIX=0x00400000
 
 713 # Find some text in the document.
 
 714 fun position FindText=2150(int flags, findtext ft)
 
 716 # On Windows, will draw the document into a display context such as a printer.
 
 717 fun position FormatRange=2151(bool draw, formatrange fr)
 
 719 # Retrieve the display line at the top of the display.
 
 720 get int GetFirstVisibleLine=2152(,)
 
 722 # Retrieve the contents of a line.
 
 723 # Returns the length of the line.
 
 724 fun int GetLine=2153(int line, stringresult text)
 
 726 # Returns the number of lines in the document. There is always at least one.
 
 727 get int GetLineCount=2154(,)
 
 729 # Sets the size in pixels of the left margin.
 
 730 set void SetMarginLeft=2155(, int pixelWidth)
 
 732 # Returns the size in pixels of the left margin.
 
 733 get int GetMarginLeft=2156(,)
 
 735 # Sets the size in pixels of the right margin.
 
 736 set void SetMarginRight=2157(, int pixelWidth)
 
 738 # Returns the size in pixels of the right margin.
 
 739 get int GetMarginRight=2158(,)
 
 741 # Is the document different from when it was last saved?
 
 742 get bool GetModify=2159(,)
 
 744 # Select a range of text.
 
 745 fun void SetSel=2160(position start, position end)
 
 747 # Retrieve the selected text.
 
 748 # Return the length of the text.
 
 749 fun int GetSelText=2161(, stringresult text)
 
 751 # Retrieve a range of text.
 
 752 # Return the length of the text.
 
 753 fun int GetTextRange=2162(, textrange tr)
 
 755 # Draw the selection in normal style or with selection highlighted.
 
 756 fun void HideSelection=2163(bool normal,)
 
 758 # Retrieve the x value of the point in the window where a position is displayed.
 
 759 fun int PointXFromPosition=2164(, position pos)
 
 761 # Retrieve the y value of the point in the window where a position is displayed.
 
 762 fun int PointYFromPosition=2165(, position pos)
 
 764 # Retrieve the line containing a position.
 
 765 fun int LineFromPosition=2166(position pos,)
 
 767 # Retrieve the position at the start of a line.
 
 768 fun position PositionFromLine=2167(int line,)
 
 770 # Scroll horizontally and vertically.
 
 771 fun void LineScroll=2168(int columns, int lines)
 
 773 # Ensure the caret is visible.
 
 774 fun void ScrollCaret=2169(,)
 
 776 # Replace the selected text with the argument text.
 
 777 fun void ReplaceSel=2170(, string text)
 
 779 # Set to read only or read write.
 
 780 set void SetReadOnly=2171(bool readOnly,)
 
 783 fun void Null=2172(,)
 
 785 # Will a paste succeed?
 
 786 fun bool CanPaste=2173(,)
 
 788 # Are there any undoable actions in the undo history?
 
 789 fun bool CanUndo=2174(,)
 
 791 # Delete the undo history.
 
 792 fun void EmptyUndoBuffer=2175(,)
 
 794 # Undo one action in the undo history.
 
 795 fun void Undo=2176(,)
 
 797 # Cut the selection to the clipboard.
 
 800 # Copy the selection to the clipboard.
 
 801 fun void Copy=2178(,)
 
 803 # Paste the contents of the clipboard into the document replacing the selection.
 
 804 fun void Paste=2179(,)
 
 806 # Clear the selection.
 
 807 fun void Clear=2180(,)
 
 809 # Replace the contents of the document with the argument text.
 
 810 fun void SetText=2181(, string text)
 
 812 # Retrieve all the text in the document.
 
 813 # Returns number of characters retrieved.
 
 814 fun int GetText=2182(int length, stringresult text)
 
 816 # Retrieve the number of characters in the document.
 
 817 get int GetTextLength=2183(,)
 
 819 # Retrieve a pointer to a function that processes messages for this Scintilla.
 
 820 get int GetDirectFunction=2184(,)
 
 822 # Retrieve a pointer value to use as the first argument when calling
 
 823 # the function returned by GetDirectFunction.
 
 824 get int GetDirectPointer=2185(,)
 
 826 # Set to overtype (true) or insert mode.
 
 827 set void SetOvertype=2186(bool overtype,)
 
 829 # Returns true if overtype mode is active otherwise false is returned.
 
 830 get bool GetOvertype=2187(,)
 
 832 # Set the width of the insert mode caret.
 
 833 set void SetCaretWidth=2188(int pixelWidth,)
 
 835 # Returns the width of the insert mode caret.
 
 836 get int GetCaretWidth=2189(,)
 
 838 # Sets the position that starts the target which is used for updating the
 
 839 # document without affecting the scroll position.
 
 840 set void SetTargetStart=2190(position pos,)
 
 842 # Get the position that starts the target.
 
 843 get position GetTargetStart=2191(,)
 
 845 # Sets the position that ends the target which is used for updating the
 
 846 # document without affecting the scroll position.
 
 847 set void SetTargetEnd=2192(position pos,)
 
 849 # Get the position that ends the target.
 
 850 get position GetTargetEnd=2193(,)
 
 852 # Replace the target text with the argument text.
 
 853 # Text is counted so it can contain NULs.
 
 854 # Returns the length of the replacement text.
 
 855 fun int ReplaceTarget=2194(int length, string text)
 
 857 # Replace the target text with the argument text after \d processing.
 
 858 # Text is counted so it can contain NULs.
 
 859 # Looks for \d where d is between 1 and 9 and replaces these with the strings
 
 860 # matched in the last search operation which were surrounded by \( and \).
 
 861 # Returns the length of the replacement text including any change
 
 862 # caused by processing the \d patterns.
 
 863 fun int ReplaceTargetRE=2195(int length, string text)
 
 865 # Search for a counted string in the target and set the target to the found
 
 866 # range. Text is counted so it can contain NULs.
 
 867 # Returns length of range or -1 for failure in which case target is not moved.
 
 868 fun int SearchInTarget=2197(int length, string text)
 
 870 # Set the search flags used by SearchInTarget.
 
 871 set void SetSearchFlags=2198(int flags,)
 
 873 # Get the search flags used by SearchInTarget.
 
 874 get int GetSearchFlags=2199(,)
 
 876 # Show a call tip containing a definition near position pos.
 
 877 fun void CallTipShow=2200(position pos, string definition)
 
 879 # Remove the call tip from the screen.
 
 880 fun void CallTipCancel=2201(,)
 
 882 # Is there an active call tip?
 
 883 fun bool CallTipActive=2202(,)
 
 885 # Retrieve the position where the caret was before displaying the call tip.
 
 886 fun position CallTipPosStart=2203(,)
 
 888 # Highlight a segment of the definition.
 
 889 fun void CallTipSetHlt=2204(int start, int end)
 
 891 # Set the background colour for the call tip.
 
 892 set void CallTipSetBack=2205(colour back,)
 
 894 # Set the foreground colour for the call tip.
 
 895 set void CallTipSetFore=2206(colour fore,)
 
 897 # Set the foreground colour for the highlighted part of the call tip.
 
 898 set void CallTipSetForeHlt=2207(colour fore,)
 
 900 # Find the display line of a document line taking hidden lines into account.
 
 901 fun int VisibleFromDocLine=2220(int line,)
 
 903 # Find the document line of a display line taking hidden lines into account.
 
 904 fun int DocLineFromVisible=2221(int lineDisplay,)
 
 906 enu FoldLevel=SC_FOLDLEVEL
 
 907 val SC_FOLDLEVELBASE=0x400
 
 908 val SC_FOLDLEVELWHITEFLAG=0x1000
 
 909 val SC_FOLDLEVELHEADERFLAG=0x2000
 
 910 val SC_FOLDLEVELBOXHEADERFLAG=0x4000
 
 911 val SC_FOLDLEVELBOXFOOTERFLAG=0x8000
 
 912 val SC_FOLDLEVELCONTRACTED=0x10000
 
 913 val SC_FOLDLEVELUNINDENT=0x20000
 
 914 val SC_FOLDLEVELNUMBERMASK=0x0FFF
 
 916 # Set the fold level of a line.
 
 917 # This encodes an integer level along with flags indicating whether the
 
 918 # line is a header and whether it is effectively white space.
 
 919 set void SetFoldLevel=2222(int line, int level)
 
 921 # Retrieve the fold level of a line.
 
 922 get int GetFoldLevel=2223(int line,)
 
 924 # Find the last child line of a header line.
 
 925 get int GetLastChild=2224(int line, int level)
 
 927 # Find the parent line of a child line.
 
 928 get int GetFoldParent=2225(int line,)
 
 930 # Make a range of lines visible.
 
 931 fun void ShowLines=2226(int lineStart, int lineEnd)
 
 933 # Make a range of lines invisible.
 
 934 fun void HideLines=2227(int lineStart, int lineEnd)
 
 937 get bool GetLineVisible=2228(int line,)
 
 939 # Show the children of a header line.
 
 940 set void SetFoldExpanded=2229(int line, bool expanded)
 
 942 # Is a header line expanded?
 
 943 get bool GetFoldExpanded=2230(int line,)
 
 945 # Switch a header line between expanded and contracted.
 
 946 fun void ToggleFold=2231(int line,)
 
 948 # Ensure a particular line is visible by expanding any header line hiding it.
 
 949 fun void EnsureVisible=2232(int line,)
 
 951 enu FoldFlag=SC_FOLDFLAG_
 
 952 val SC_FOLDFLAG_LINEBEFORE_EXPANDED=0x0002
 
 953 val SC_FOLDFLAG_LINEBEFORE_CONTRACTED=0x0004
 
 954 val SC_FOLDFLAG_LINEAFTER_EXPANDED=0x0008
 
 955 val SC_FOLDFLAG_LINEAFTER_CONTRACTED=0x0010
 
 956 val SC_FOLDFLAG_LEVELNUMBERS=0x0040
 
 957 val SC_FOLDFLAG_BOX=0x0001
 
 959 # Set some style options for folding.
 
 960 fun void SetFoldFlags=2233(int flags,)
 
 962 # Ensure a particular line is visible by expanding any header line hiding it.
 
 963 # Use the currently set visibility policy to determine which range to display.
 
 964 fun void EnsureVisibleEnforcePolicy=2234(int line,)
 
 966 # Sets whether a tab pressed when caret is within indentation indents.
 
 967 set void SetTabIndents=2260(bool tabIndents,)
 
 969 # Does a tab pressed when caret is within indentation indent?
 
 970 get bool GetTabIndents=2261(,)
 
 972 # Sets whether a backspace pressed when caret is within indentation unindents.
 
 973 set void SetBackSpaceUnIndents=2262(bool bsUnIndents,)
 
 975 # Does a backspace pressed when caret is within indentation unindent?
 
 976 get bool GetBackSpaceUnIndents=2263(,)
 
 978 val SC_TIME_FOREVER=10000000
 
 980 # Sets the time the mouse must sit still to generate a mouse dwell event.
 
 981 set void SetMouseDwellTime=2264(int periodMilliseconds,)
 
 983 # Retrieve the time the mouse must sit still to generate a mouse dwell event.
 
 984 get int GetMouseDwellTime=2265(,)
 
 986 # Get position of start of word.
 
 987 fun int WordStartPosition=2266(position pos, bool onlyWordCharacters)
 
 989 # Get position of end of word.
 
 990 fun int WordEndPosition=2267(position pos, bool onlyWordCharacters)
 
 996 # Sets whether text is word wrapped.
 
 997 set void SetWrapMode=2268(int mode,)
 
 999 # Retrieve whether text is word wrapped.
 
1000 get int GetWrapMode=2269(,)
 
1002 enu LineCache=SC_CACHE_
 
1004 val SC_CACHE_CARET=1
 
1006 val SC_CACHE_DOCUMENT=3
 
1008 # Sets the degree of caching of layout information.
 
1009 set void SetLayoutCache=2272(int mode,)
 
1011 # Retrieve the degree of caching of layout information.
 
1012 get int GetLayoutCache=2273(,)
 
1014 # Sets the document width assumed for scrolling.
 
1015 set void SetScrollWidth=2274(int pixelWidth,)
 
1017 # Retrieve the document width assumed for scrolling.
 
1018 get int GetScrollWidth=2275(,)
 
1020 # Measure the pixel width of some text in a particular style.
 
1021 # NUL terminated text argument.
 
1022 # Does not handle tab or control characters.
 
1023 fun int TextWidth=2276(int style, string text)
 
1025 # Sets the scroll range so that maximum scroll position has
 
1026 # the last line at the bottom of the view (default).
 
1027 # Setting this to false allows scrolling one page below the last line.
 
1028 set void SetEndAtLastLine=2277(bool endAtLastLine,)
 
1030 # Retrieve whether the maximum scroll position has the last
 
1031 # line at the bottom of the view.
 
1032 get int GetEndAtLastLine=2278(,)
 
1034 # Retrieve the height of a particular line of text in pixels.
 
1035 fun int TextHeight=2279(int line,)
 
1037 # Show or hide the vertical scroll bar.
 
1038 set void SetVScrollBar=2280(bool show,)
 
1040 # Is the vertical scroll bar visible?
 
1041 get bool GetVScrollBar=2281(,)
 
1043 # Append a string to the end of the document without changing the selection.
 
1044 fun void AppendText=2282(int length, string text)
 
1046 # Is drawing done in two phases with backgrounds drawn before foregrounds?
 
1047 get bool GetTwoPhaseDraw=2283(,)
 
1049 # In twoPhaseDraw mode, drawing is performed in two phases, first the background
 
1050 # and then the foreground. This avoids chopping off characters that overlap the next run.
 
1051 set void SetTwoPhaseDraw=2284(bool twoPhase,)
 
1053 # Make the target range start and end be the same as the selection range start and end.
 
1054 fun void TargetFromSelection=2287(,)
 
1056 # Join the lines in the target.
 
1057 fun void LinesJoin=2288(,)
 
1059 # Split the lines in the target into lines that are less wide than pixelWidth
 
1061 fun void LinesSplit=2289(int pixelWidth,)
 
1063 # Set the colours used as a chequerboard pattern in the fold margin
 
1064 fun void SetFoldMarginColour=2290(bool useSetting, colour back)
 
1065 fun void SetFoldMarginHiColour=2291(bool useSetting, colour fore)
 
1067 ## New messages go here
 
1069 ## Start of key messages
 
1070 # Move caret down one line.
 
1071 fun void LineDown=2300(,)
 
1073 # Move caret down one line extending selection to new caret position.
 
1074 fun void LineDownExtend=2301(,)
 
1076 # Move caret up one line.
 
1077 fun void LineUp=2302(,)
 
1079 # Move caret up one line extending selection to new caret position.
 
1080 fun void LineUpExtend=2303(,)
 
1082 # Move caret left one character.
 
1083 fun void CharLeft=2304(,)
 
1085 # Move caret left one character extending selection to new caret position.
 
1086 fun void CharLeftExtend=2305(,)
 
1088 # Move caret right one character.
 
1089 fun void CharRight=2306(,)
 
1091 # Move caret right one character extending selection to new caret position.
 
1092 fun void CharRightExtend=2307(,)
 
1094 # Move caret left one word.
 
1095 fun void WordLeft=2308(,)
 
1097 # Move caret left one word extending selection to new caret position.
 
1098 fun void WordLeftExtend=2309(,)
 
1100 # Move caret right one word.
 
1101 fun void WordRight=2310(,)
 
1103 # Move caret right one word extending selection to new caret position.
 
1104 fun void WordRightExtend=2311(,)
 
1106 # Move caret to first position on line.
 
1107 fun void Home=2312(,)
 
1109 # Move caret to first position on line extending selection to new caret position.
 
1110 fun void HomeExtend=2313(,)
 
1112 # Move caret to last position on line.
 
1113 fun void LineEnd=2314(,)
 
1115 # Move caret to last position on line extending selection to new caret position.
 
1116 fun void LineEndExtend=2315(,)
 
1118 # Move caret to first position in document.
 
1119 fun void DocumentStart=2316(,)
 
1121 # Move caret to first position in document extending selection to new caret position.
 
1122 fun void DocumentStartExtend=2317(,)
 
1124 # Move caret to last position in document.
 
1125 fun void DocumentEnd=2318(,)
 
1127 # Move caret to last position in document extending selection to new caret position.
 
1128 fun void DocumentEndExtend=2319(,)
 
1130 # Move caret one page up.
 
1131 fun void PageUp=2320(,)
 
1133 # Move caret one page up extending selection to new caret position.
 
1134 fun void PageUpExtend=2321(,)
 
1136 # Move caret one page down.
 
1137 fun void PageDown=2322(,)
 
1139 # Move caret one page down extending selection to new caret position.
 
1140 fun void PageDownExtend=2323(,)
 
1142 # Switch from insert to overtype mode or the reverse.
 
1143 fun void EditToggleOvertype=2324(,)
 
1145 # Cancel any modes such as call tip or auto-completion list display.
 
1146 fun void Cancel=2325(,)
 
1148 # Delete the selection or if no selection, the character before the caret.
 
1149 fun void DeleteBack=2326(,)
 
1151 # If selection is empty or all on one line replace the selection with a tab character.
 
1152 # If more than one line selected, indent the lines.
 
1153 fun void Tab=2327(,)
 
1155 # Dedent the selected lines.
 
1156 fun void BackTab=2328(,)
 
1158 # Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
 
1159 fun void NewLine=2329(,)
 
1161 # Insert a Form Feed character.
 
1162 fun void FormFeed=2330(,)
 
1164 # Move caret to before first visible character on line.
 
1165 # If already there move to first character on line.
 
1166 fun void VCHome=2331(,)
 
1168 # Like VCHome but extending selection to new caret position.
 
1169 fun void VCHomeExtend=2332(,)
 
1171 # Magnify the displayed text by increasing the sizes by 1 point.
 
1172 fun void ZoomIn=2333(,)
 
1174 # Make the displayed text smaller by decreasing the sizes by 1 point.
 
1175 fun void ZoomOut=2334(,)
 
1177 # Delete the word to the left of the caret.
 
1178 fun void DelWordLeft=2335(,)
 
1180 # Delete the word to the right of the caret.
 
1181 fun void DelWordRight=2336(,)
 
1183 # Cut the line containing the caret.
 
1184 fun void LineCut=2337(,)
 
1186 # Delete the line containing the caret.
 
1187 fun void LineDelete=2338(,)
 
1189 # Switch the current line with the previous.
 
1190 fun void LineTranspose=2339(,)
 
1192 # Duplicate the current line.
 
1193 fun void LineDuplicate=2404(,)
 
1195 # Transform the selection to lower case.
 
1196 fun void LowerCase=2340(,)
 
1198 # Transform the selection to upper case.
 
1199 fun void UpperCase=2341(,)
 
1201 # Scroll the document down, keeping the caret visible.
 
1202 fun void LineScrollDown=2342(,)
 
1204 # Scroll the document up, keeping the caret visible.
 
1205 fun void LineScrollUp=2343(,)
 
1207 # Delete the selection or if no selection, the character before the caret.
 
1208 # Will not delete the character before at the start of a line.
 
1209 fun void DeleteBackNotLine=2344(,)
 
1211 # Move caret to first position on display line.
 
1212 fun void HomeDisplay=2345(,)
 
1214 # Move caret to first position on display line extending selection to
 
1215 # new caret position.
 
1216 fun void HomeDisplayExtend=2346(,)
 
1218 # Move caret to last position on display line.
 
1219 fun void LineEndDisplay=2347(,)
 
1221 # Move caret to last position on display line extending selection to new
 
1223 fun void LineEndDisplayExtend=2348(,)
 
1225 # These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
 
1226 # except they behave differently when word-wrap is enabled:
 
1227 # They go first to the start / end of the display line, like (Home|LineEnd)Display
 
1228 # The difference is that, the cursor is already at the point, it goes on to the start
 
1229 # or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.
 
1231 fun void HomeWrap=2349(,)
 
1232 fun void HomeWrapExtend=2450(,)
 
1233 fun void LineEndWrap=2451(,)
 
1234 fun void LineEndWrapExtend=2452(,)
 
1235 fun void VCHomeWrap=2453(,)
 
1236 fun void VCHomeWrapExtend=2454(,)
 
1238 # Copy the line containing the caret.
 
1239 fun void LineCopy=2455(,)
 
1241 # Move the caret inside current view if it's not there already.
 
1242 fun void MoveCaretInsideView=2401(,)
 
1244 # How many characters are on a line, not including end of line characters?
 
1245 fun int LineLength=2350(int line,)
 
1247 # Highlight the characters at two positions.
 
1248 fun void BraceHighlight=2351(position pos1, position pos2)
 
1250 # Highlight the character at a position indicating there is no matching brace.
 
1251 fun void BraceBadLight=2352(position pos,)
 
1253 # Find the position of a matching brace or INVALID_POSITION if no match.
 
1254 fun position BraceMatch=2353(position pos,)
 
1256 # Are the end of line characters visible?
 
1257 get bool GetViewEOL=2355(,)
 
1259 # Make the end of line characters visible or invisible.
 
1260 set void SetViewEOL=2356(bool visible,)
 
1262 # Retrieve a pointer to the document object.
 
1263 get int GetDocPointer=2357(,)
 
1265 # Change the document object used.
 
1266 set void SetDocPointer=2358(, int pointer)
 
1268 # Set which document modification events are sent to the container.
 
1269 set void SetModEventMask=2359(int mask,)
 
1271 enu EdgeVisualStyle=EDGE_
 
1274 val EDGE_BACKGROUND=2
 
1276 # Retrieve the column number which text should be kept within.
 
1277 get int GetEdgeColumn=2360(,)
 
1279 # Set the column number of the edge.
 
1280 # If text goes past the edge then it is highlighted.
 
1281 set void SetEdgeColumn=2361(int column,)
 
1283 # Retrieve the edge highlight mode.
 
1284 get int GetEdgeMode=2362(,)
 
1286 # The edge may be displayed by a line (EDGE_LINE) or by highlighting text that
 
1287 # goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).
 
1288 set void SetEdgeMode=2363(int mode,)
 
1290 # Retrieve the colour used in edge indication.
 
1291 get colour GetEdgeColour=2364(,)
 
1293 # Change the colour used in edge indication.
 
1294 set void SetEdgeColour=2365(colour edgeColour,)
 
1296 # Sets the current caret position to be the search anchor.
 
1297 fun void SearchAnchor=2366(,)
 
1299 # Find some text starting at the search anchor.
 
1300 # Does not ensure the selection is visible.
 
1301 fun int SearchNext=2367(int flags, string text)
 
1303 # Find some text starting at the search anchor and moving backwards.
 
1304 # Does not ensure the selection is visible.
 
1305 fun int SearchPrev=2368(int flags, string text)
 
1307 # Retrieves the number of lines completely visible.
 
1308 get int LinesOnScreen=2370(,)
 
1310 # Set whether a pop up menu is displayed automatically when the user presses
 
1311 # the wrong mouse button.
 
1312 fun void UsePopUp=2371(bool allowPopUp,)
 
1314 # Is the selection rectangular? The alternative is the more common stream selection.
 
1315 get bool SelectionIsRectangle=2372(,)
 
1317 # Set the zoom level. This number of points is added to the size of all fonts.
 
1318 # It may be positive to magnify or negative to reduce.
 
1319 set void SetZoom=2373(int zoom,)
 
1320 # Retrieve the zoom level.
 
1321 get int GetZoom=2374(,)
 
1323 # Create a new document object.
 
1324 # Starts with reference count of 1 and not selected into editor.
 
1325 fun int CreateDocument=2375(,)
 
1326 # Extend life of document.
 
1327 fun void AddRefDocument=2376(, int doc)
 
1328 # Release a reference to the document, deleting document if it fades to black.
 
1329 fun void ReleaseDocument=2377(, int doc)
 
1331 # Get which document modification events are sent to the container.
 
1332 get int GetModEventMask=2378(,)
 
1334 # Change internal focus flag.
 
1335 set void SetFocus=2380(bool focus,)
 
1336 # Get internal focus flag.
 
1337 get bool GetFocus=2381(,)
 
1339 # Change error status - 0 = OK.
 
1340 set void SetStatus=2382(int statusCode,)
 
1342 get int GetStatus=2383(,)
 
1344 # Set whether the mouse is captured when its button is pressed.
 
1345 set void SetMouseDownCaptures=2384(bool captures,)
 
1346 # Get whether mouse gets captured.
 
1347 get bool GetMouseDownCaptures=2385(,)
 
1349 enu CursorShape=SC_CURSOR
 
1350 val SC_CURSORNORMAL=-1
 
1352 # Sets the cursor to one of the SC_CURSOR* values.
 
1353 set void SetCursor=2386(int cursorType,)
 
1355 get int GetCursor=2387(,)
 
1357 # Change the way control characters are displayed:
 
1358 # If symbol is < 32, keep the drawn way, else, use the given character.
 
1359 set void SetControlCharSymbol=2388(int symbol,)
 
1360 # Get the way control characters are displayed.
 
1361 get int GetControlCharSymbol=2389(,)
 
1363 # Move to the previous change in capitalisation.
 
1364 fun void WordPartLeft=2390(,)
 
1365 # Move to the previous change in capitalisation extending selection
 
1366 # to new caret position.
 
1367 fun void WordPartLeftExtend=2391(,)
 
1368 # Move to the change next in capitalisation.
 
1369 fun void WordPartRight=2392(,)
 
1370 # Move to the next change in capitalisation extending selection
 
1371 # to new caret position.
 
1372 fun void WordPartRightExtend=2393(,)
 
1374 # Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
 
1375 val VISIBLE_SLOP=0x01
 
1376 val VISIBLE_STRICT=0x04
 
1377 # Set the way the display area is determined when a particular line
 
1378 # is to be moved to by Find, FindNext, GotoLine, etc.
 
1379 fun void SetVisiblePolicy=2394(int visiblePolicy, int visibleSlop)
 
1381 # Delete back from the current position to the start of the line.
 
1382 fun void DelLineLeft=2395(,)
 
1384 # Delete forwards from the current position to the end of the line.
 
1385 fun void DelLineRight=2396(,)
 
1387 # Get and Set the xOffset (ie, horizonal scroll position).
 
1388 set void SetXOffset=2397(int newOffset,)
 
1389 get int GetXOffset=2398(,)
 
1391 # Set the last x chosen value to be the caret x position.
 
1392 fun void ChooseCaretX=2399(,)
 
1394 # Set the focus to this Scintilla widget.
 
1396 fun void GrabFocus=2400(,)
 
1398 enu CaretPolicy = CARET_
 
1399 # Caret policy, used by SetXCaretPolicy and SetYCaretPolicy.
 
1400 # If CARET_SLOP is set, we can define a slop value: caretSlop.
 
1401 # This value defines an unwanted zone (UZ) where the caret is... unwanted.
 
1402 # This zone is defined as a number of pixels near the vertical margins,
 
1403 # and as a number of lines near the horizontal margins.
 
1404 # By keeping the caret away from the edges, it is seen within its context,
 
1405 # so it is likely that the identifier that the caret is on can be completely seen,
 
1406 # and that the current line is seen with some of the lines following it which are
 
1407 # often dependent on that line.
 
1409 # If CARET_STRICT is set, the policy is enforced... strictly.
 
1410 # The caret is centred on the display if slop is not set,
 
1411 # and cannot go in the UZ if slop is set.
 
1412 val CARET_STRICT=0x04
 
1413 # If CARET_JUMPS is set, the display is moved more energetically
 
1414 # so the caret can move in the same direction longer before the policy is applied again.
 
1415 val CARET_JUMPS=0x10
 
1416 # If CARET_EVEN is not set, instead of having symmetrical UZs,
 
1417 # the left and bottom UZs are extended up to right and top UZs respectively.
 
1418 # This way, we favour the displaying of useful information: the begining of lines,
 
1419 # where most code reside, and the lines after the caret, eg. the body of a function.
 
1422 # Set the way the caret is kept visible when going sideway.
 
1423 # The exclusion zone is given in pixels.
 
1424 fun void SetXCaretPolicy=2402(int caretPolicy, int caretSlop)
 
1426 # Set the way the line the caret is on is kept visible.
 
1427 # The exclusion zone is given in lines.
 
1428 fun void SetYCaretPolicy=2403(int caretPolicy, int caretSlop)
 
1430 # Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
 
1431 set void SetPrintWrapMode=2406(int mode,)
 
1433 # Is printing line wrapped?
 
1434 get int GetPrintWrapMode=2407(,)
 
1436 # Set a fore colour for active hotspots.
 
1437 set void SetHotspotActiveFore=2410(bool useSetting, colour fore)
 
1439 # Set a back colour for active hotspots.
 
1440 set void SetHotspotActiveBack=2411(bool useSetting, colour back)
 
1442 # Enable / Disable underlining active hotspots.
 
1443 set void SetHotspotActiveUnderline=2412(bool underline,)
 
1445 # Limit hotspots to single line so hotspots on two lines don't merge.
 
1446 set void SetHotspotSingleLine=2421(bool singleLine,)
 
1448 # Move caret between paragraphs (delimited by empty lines).
 
1449 fun void ParaDown=2413(,)
 
1450 fun void ParaDownExtend=2414(,)
 
1451 fun void ParaUp=2415(,)
 
1452 fun void ParaUpExtend=2416(,)
 
1454 # Given a valid document position, return the previous position taking code
 
1455 # page into account. Returns 0 if passed 0.
 
1456 fun position PositionBefore=2417(position pos,)
 
1458 # Given a valid document position, return the next position taking code
 
1459 # page into account. Maximum value returned is the last position in the document.
 
1460 fun position PositionAfter=2418(position pos,)
 
1462 # Copy a range of text to the clipboard. Positions are clipped into the document.
 
1463 fun void CopyRange=2419(position start, position end)
 
1465 # Copy argument text to the clipboard.
 
1466 fun void CopyText=2420(int length, string text)
 
1469 enu SelectionMode=SC_SEL_
 
1471 val SC_SEL_RECTANGLE=1
 
1474 # Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or
 
1475 # by lines (SC_SEL_LINES).
 
1476 set void SetSelectionMode=2422(int mode,)
 
1478 # Get the mode of the current selection.
 
1479 get int GetSelectionMode=2423(,)
 
1481 # Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
 
1482 fun position GetLineSelStartPosition=2424(int line,)
 
1484 # Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
 
1485 fun position GetLineSelEndPosition=2425(int line,)
 
1487 ## RectExtended rectangular selection moves
 
1488 # Move caret down one line, extending rectangular selection to new caret position.
 
1489 fun void LineDownRectExtend=2426(,)
 
1491 # Move caret up one line, extending rectangular selection to new caret position.
 
1492 fun void LineUpRectExtend=2427(,)
 
1494 # Move caret left one character, extending rectangular selection to new caret position.
 
1495 fun void CharLeftRectExtend=2428(,)
 
1497 # Move caret right one character, extending rectangular selection to new caret position.
 
1498 fun void CharRightRectExtend=2429(,)
 
1500 # Move caret to first position on line, extending rectangular selection to new caret position.
 
1501 fun void HomeRectExtend=2430(,)
 
1503 # Move caret to before first visible character on line.
 
1504 # If already there move to first character on line.
 
1505 # In either case, extend rectangular selection to new caret position.
 
1506 fun void VCHomeRectExtend=2431(,)
 
1508 # Move caret to last position on line, extending rectangular selection to new caret position.
 
1509 fun void LineEndRectExtend=2432(,)
 
1511 # Move caret one page up, extending rectangular selection to new caret position.
 
1512 fun void PageUpRectExtend=2433(,)
 
1514 # Move caret one page down, extending rectangular selection to new caret position.
 
1515 fun void PageDownRectExtend=2434(,)
 
1518 # Move caret to top of page, or one page up if already at top of page.
 
1519 fun void StutteredPageUp=2435(,)
 
1521 # Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
 
1522 fun void StutteredPageUpExtend=2436(,)
 
1524 # Move caret to bottom of page, or one page down if already at bottom of page.
 
1525 fun void StutteredPageDown=2437(,)
 
1527 # Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
 
1528 fun void StutteredPageDownExtend=2438(,)
 
1531 # Move caret left one word, position cursor at end of word.
 
1532 fun void WordLeftEnd=2439(,)
 
1534 # Move caret left one word, position cursor at end of word, extending selection to new caret position.
 
1535 fun void WordLeftEndExtend=2440(,)
 
1537 # Move caret right one word, position cursor at end of word.
 
1538 fun void WordRightEnd=2441(,)
 
1540 # Move caret right one word, position cursor at end of word, extending selection to new caret position.
 
1541 fun void WordRightEndExtend=2442(,)
 
1543 # Set the set of characters making up whitespace for when moving or selecting by word.
 
1544 # Should be called after SetWordChars.
 
1545 set void SetWhitespaceChars=2443(, string characters)
 
1547 # Reset the set of characters for whitespace and word characters to the defaults.
 
1548 fun void SetCharsDefault=2444(,)
 
1550 # Get currently selected item position in the auto-completion list
 
1551 fun int AutoCGetCurrent=2445(,)
 
1553 # Start notifying the container of all key presses and commands.
 
1554 fun void StartRecord=3001(,)
 
1556 # Stop notifying the container of all key presses and commands.
 
1557 fun void StopRecord=3002(,)
 
1559 # Set the lexing language of the document.
 
1560 set void SetLexer=4001(int lexer,)
 
1562 # Retrieve the lexing language of the document.
 
1563 get int GetLexer=4002(,)
 
1565 # Colourise a segment of the document using the current lexing language.
 
1566 fun void Colourise=4003(position start, position end)
 
1568 # Set up a value that may be used by a lexer for some optional feature.
 
1569 set void SetProperty=4004(string key, string value)
 
1571 # Maximum value of keywordSet parameter of SetKeyWords.
 
1572 val KEYWORDSET_MAX=8
 
1574 # Set up the key words used by the lexer.
 
1575 set void SetKeyWords=4005(int keywordSet, string keyWords)
 
1577 # Set the lexing language of the document based on string name.
 
1578 set void SetLexerLanguage=4006(, string language)
 
1580 # Load a lexer library (dll / so).
 
1581 fun void LoadLexerLibrary=4007(, string path)
 
1584 # Type of modification and the action which caused the modification.
 
1585 # These are defined as a bit mask to make it easy to specify which notifications are wanted.
 
1586 # One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
 
1587 enu ModificationFlags=SC_MOD_ SC_PERFORMED_ SC_LAST
 
1588 val SC_MOD_INSERTTEXT=0x1
 
1589 val SC_MOD_DELETETEXT=0x2
 
1590 val SC_MOD_CHANGESTYLE=0x4
 
1591 val SC_MOD_CHANGEFOLD=0x8
 
1592 val SC_PERFORMED_USER=0x10
 
1593 val SC_PERFORMED_UNDO=0x20
 
1594 val SC_PERFORMED_REDO=0x40
 
1595 val SC_LASTSTEPINUNDOREDO=0x100
 
1596 val SC_MOD_CHANGEMARKER=0x200
 
1597 val SC_MOD_BEFOREINSERT=0x400
 
1598 val SC_MOD_BEFOREDELETE=0x800
 
1599 val SC_MODEVENTMASKALL=0xF77
 
1601 # For compatibility, these go through the COMMAND notification rather than NOTIFY
 
1602 # and should have had exactly the same values as the EN_* constants.
 
1603 # Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_*
 
1604 # As clients depend on these constants, this will not be changed.
 
1606 val SCEN_SETFOCUS=512
 
1607 val SCEN_KILLFOCUS=256
 
1609 # Symbolic key codes and modifier flags.
 
1610 # ASCII and other printable characters below 256.
 
1611 # Extended keys above 300.
 
1629 val SCK_SUBTRACT=311
 
1637 ################################################
 
1640 val SCLEX_CONTAINER=0
 
1649 val SCLEX_PROPERTIES=9
 
1650 val SCLEX_ERRORLIST=10
 
1651 val SCLEX_MAKEFILE=11
 
1664 val SCLEX_EIFFELKW=24
 
1666 val SCLEX_NNCRONTAB=26
 
1667 val SCLEX_BULLANT=27
 
1668 val SCLEX_VBSCRIPT=28
 
1673 val SCLEX_SCRIPTOL=33
 
1675 val SCLEX_CPPNOCASE=35
 
1676 val SCLEX_FORTRAN=36
 
1681 val SCLEX_ESCRIPT=41
 
1686 val SCLEX_CLWNOCASE=46
 
1690 val SCLEX_METAPOST=50
 
1691 val SCLEX_POWERBASIC=51
 
1696 # When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
 
1697 # value assigned in sequence from SCLEX_AUTOMATIC+1.
 
1698 val SCLEX_AUTOMATIC=1000
 
1699 # Lexical states for SCLEX_PYTHON
 
1700 lex Python=SCLEX_PYTHON SCE_P_
 
1701 lex Ruby=SCLEX_RUBY SCE_P_
 
1703 val SCE_P_COMMENTLINE=1
 
1706 val SCE_P_CHARACTER=4
 
1709 val SCE_P_TRIPLEDOUBLE=7
 
1710 val SCE_P_CLASSNAME=8
 
1712 val SCE_P_OPERATOR=10
 
1713 val SCE_P_IDENTIFIER=11
 
1714 val SCE_P_COMMENTBLOCK=12
 
1715 val SCE_P_STRINGEOL=13
 
1716 # Lexical states for SCLEX_CPP
 
1717 lex Cpp=SCLEX_CPP SCE_C_
 
1718 lex SQL=SCLEX_SQL SCE_C_
 
1719 lex Pascal=SCLEX_PASCAL SCE_C_
 
1720 lex TCL=SCLEX_TCL SCE_C_
 
1721 lex BullAnt=SCLEX_BULLANT SCE_C_
 
1724 val SCE_C_COMMENTLINE=2
 
1725 val SCE_C_COMMENTDOC=3
 
1729 val SCE_C_CHARACTER=7
 
1731 val SCE_C_PREPROCESSOR=9
 
1732 val SCE_C_OPERATOR=10
 
1733 val SCE_C_IDENTIFIER=11
 
1734 val SCE_C_STRINGEOL=12
 
1735 val SCE_C_VERBATIM=13
 
1737 val SCE_C_COMMENTLINEDOC=15
 
1739 val SCE_C_COMMENTDOCKEYWORD=17
 
1740 val SCE_C_COMMENTDOCKEYWORDERROR=18
 
1741 val SCE_C_GLOBALCLASS=19
 
1742 # Lexical states for SCLEX_HTML, SCLEX_XML
 
1743 lex HTML=SCLEX_HTML SCE_H
 
1744 lex XML=SCLEX_XML SCE_H
 
1745 lex ASP=SCLEX_ASP SCE_H
 
1746 lex PHP=SCLEX_PHP SCE_H
 
1749 val SCE_H_TAGUNKNOWN=2
 
1750 val SCE_H_ATTRIBUTE=3
 
1751 val SCE_H_ATTRIBUTEUNKNOWN=4
 
1753 val SCE_H_DOUBLESTRING=6
 
1754 val SCE_H_SINGLESTRING=7
 
1760 val SCE_H_XMLSTART=12
 
1766 val SCE_H_QUESTION=18
 
1770 val SCE_H_XCCOMMENT=20
 
1772 val SCE_H_SGML_DEFAULT=21
 
1773 val SCE_H_SGML_COMMAND=22
 
1774 val SCE_H_SGML_1ST_PARAM=23
 
1775 val SCE_H_SGML_DOUBLESTRING=24
 
1776 val SCE_H_SGML_SIMPLESTRING=25
 
1777 val SCE_H_SGML_ERROR=26
 
1778 val SCE_H_SGML_SPECIAL=27
 
1779 val SCE_H_SGML_ENTITY=28
 
1780 val SCE_H_SGML_COMMENT=29
 
1781 val SCE_H_SGML_1ST_PARAM_COMMENT=30
 
1782 val SCE_H_SGML_BLOCK_DEFAULT=31
 
1783 # Embedded Javascript
 
1785 val SCE_HJ_DEFAULT=41
 
1786 val SCE_HJ_COMMENT=42
 
1787 val SCE_HJ_COMMENTLINE=43
 
1788 val SCE_HJ_COMMENTDOC=44
 
1789 val SCE_HJ_NUMBER=45
 
1791 val SCE_HJ_KEYWORD=47
 
1792 val SCE_HJ_DOUBLESTRING=48
 
1793 val SCE_HJ_SINGLESTRING=49
 
1794 val SCE_HJ_SYMBOLS=50
 
1795 val SCE_HJ_STRINGEOL=51
 
1798 val SCE_HJA_START=55
 
1799 val SCE_HJA_DEFAULT=56
 
1800 val SCE_HJA_COMMENT=57
 
1801 val SCE_HJA_COMMENTLINE=58
 
1802 val SCE_HJA_COMMENTDOC=59
 
1803 val SCE_HJA_NUMBER=60
 
1805 val SCE_HJA_KEYWORD=62
 
1806 val SCE_HJA_DOUBLESTRING=63
 
1807 val SCE_HJA_SINGLESTRING=64
 
1808 val SCE_HJA_SYMBOLS=65
 
1809 val SCE_HJA_STRINGEOL=66
 
1810 val SCE_HJA_REGEX=67
 
1813 val SCE_HB_DEFAULT=71
 
1814 val SCE_HB_COMMENTLINE=72
 
1815 val SCE_HB_NUMBER=73
 
1817 val SCE_HB_STRING=75
 
1818 val SCE_HB_IDENTIFIER=76
 
1819 val SCE_HB_STRINGEOL=77
 
1821 val SCE_HBA_START=80
 
1822 val SCE_HBA_DEFAULT=81
 
1823 val SCE_HBA_COMMENTLINE=82
 
1824 val SCE_HBA_NUMBER=83
 
1826 val SCE_HBA_STRING=85
 
1827 val SCE_HBA_IDENTIFIER=86
 
1828 val SCE_HBA_STRINGEOL=87
 
1831 val SCE_HP_DEFAULT=91
 
1832 val SCE_HP_COMMENTLINE=92
 
1833 val SCE_HP_NUMBER=93
 
1834 val SCE_HP_STRING=94
 
1835 val SCE_HP_CHARACTER=95
 
1837 val SCE_HP_TRIPLE=97
 
1838 val SCE_HP_TRIPLEDOUBLE=98
 
1839 val SCE_HP_CLASSNAME=99
 
1840 val SCE_HP_DEFNAME=100
 
1841 val SCE_HP_OPERATOR=101
 
1842 val SCE_HP_IDENTIFIER=102
 
1844 val SCE_HPA_START=105
 
1845 val SCE_HPA_DEFAULT=106
 
1846 val SCE_HPA_COMMENTLINE=107
 
1847 val SCE_HPA_NUMBER=108
 
1848 val SCE_HPA_STRING=109
 
1849 val SCE_HPA_CHARACTER=110
 
1850 val SCE_HPA_WORD=111
 
1851 val SCE_HPA_TRIPLE=112
 
1852 val SCE_HPA_TRIPLEDOUBLE=113
 
1853 val SCE_HPA_CLASSNAME=114
 
1854 val SCE_HPA_DEFNAME=115
 
1855 val SCE_HPA_OPERATOR=116
 
1856 val SCE_HPA_IDENTIFIER=117
 
1858 val SCE_HPHP_DEFAULT=118
 
1859 val SCE_HPHP_HSTRING=119
 
1860 val SCE_HPHP_SIMPLESTRING=120
 
1861 val SCE_HPHP_WORD=121
 
1862 val SCE_HPHP_NUMBER=122
 
1863 val SCE_HPHP_VARIABLE=123
 
1864 val SCE_HPHP_COMMENT=124
 
1865 val SCE_HPHP_COMMENTLINE=125
 
1866 val SCE_HPHP_HSTRING_VARIABLE=126
 
1867 val SCE_HPHP_OPERATOR=127
 
1868 # Lexical states for SCLEX_PERL
 
1869 lex Perl=SCLEX_PERL SCE_PL_
 
1870 val SCE_PL_DEFAULT=0
 
1872 val SCE_PL_COMMENTLINE=2
 
1877 val SCE_PL_CHARACTER=7
 
1878 val SCE_PL_PUNCTUATION=8
 
1879 val SCE_PL_PREPROCESSOR=9
 
1880 val SCE_PL_OPERATOR=10
 
1881 val SCE_PL_IDENTIFIER=11
 
1882 val SCE_PL_SCALAR=12
 
1885 val SCE_PL_SYMBOLTABLE=15
 
1887 val SCE_PL_REGSUBST=18
 
1888 val SCE_PL_LONGQUOTE=19
 
1889 val SCE_PL_BACKTICKS=20
 
1890 val SCE_PL_DATASECTION=21
 
1891 val SCE_PL_HERE_DELIM=22
 
1892 val SCE_PL_HERE_Q=23
 
1893 val SCE_PL_HERE_QQ=24
 
1894 val SCE_PL_HERE_QX=25
 
1895 val SCE_PL_STRING_Q=26
 
1896 val SCE_PL_STRING_QQ=27
 
1897 val SCE_PL_STRING_QX=28
 
1898 val SCE_PL_STRING_QR=29
 
1899 val SCE_PL_STRING_QW=30
 
1900 # Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC
 
1901 lex VB=SCLEX_VB SCE_B_
 
1902 lex VBScript=SCLEX_VBSCRIPT SCE_B_
 
1903 lex PowerBasic=SCLEX_POWERBASIC SCE_B_
 
1909 val SCE_B_PREPROCESSOR=5
 
1910 val SCE_B_OPERATOR=6
 
1911 val SCE_B_IDENTIFIER=7
 
1913 val SCE_B_STRINGEOL=9
 
1914 val SCE_B_KEYWORD2=10
 
1915 val SCE_B_KEYWORD3=11
 
1916 val SCE_B_KEYWORD4=12
 
1917 # Lexical states for SCLEX_PROPERTIES
 
1918 lex Properties=SCLEX_PROPERTIES SCE_PROPS_
 
1919 val SCE_PROPS_DEFAULT=0
 
1920 val SCE_PROPS_COMMENT=1
 
1921 val SCE_PROPS_SECTION=2
 
1922 val SCE_PROPS_ASSIGNMENT=3
 
1923 val SCE_PROPS_DEFVAL=4
 
1924 # Lexical states for SCLEX_LATEX
 
1925 lex LaTeX=SCLEX_LATEX SCE_L_
 
1931 # Lexical states for SCLEX_LUA
 
1932 lex Lua=SCLEX_LUA SCE_LUA_
 
1933 val SCE_LUA_DEFAULT=0
 
1934 val SCE_LUA_COMMENT=1
 
1935 val SCE_LUA_COMMENTLINE=2
 
1936 val SCE_LUA_COMMENTDOC=3
 
1937 val SCE_LUA_NUMBER=4
 
1939 val SCE_LUA_STRING=6
 
1940 val SCE_LUA_CHARACTER=7
 
1941 val SCE_LUA_LITERALSTRING=8
 
1942 val SCE_LUA_PREPROCESSOR=9
 
1943 val SCE_LUA_OPERATOR=10
 
1944 val SCE_LUA_IDENTIFIER=11
 
1945 val SCE_LUA_STRINGEOL=12
 
1946 val SCE_LUA_WORD2=13
 
1947 val SCE_LUA_WORD3=14
 
1948 val SCE_LUA_WORD4=15
 
1949 val SCE_LUA_WORD5=16
 
1950 val SCE_LUA_WORD6=17
 
1951 val SCE_LUA_WORD7=18
 
1952 val SCE_LUA_WORD8=19
 
1953 # Lexical states for SCLEX_ERRORLIST
 
1954 lex ErrorList=SCLEX_ERRORLIST SCE_ERR_
 
1955 val SCE_ERR_DEFAULT=0
 
1956 val SCE_ERR_PYTHON=1
 
1960 val SCE_ERR_BORLAND=5
 
1965 val SCE_ERR_DIFF_CHANGED=10
 
1966 val SCE_ERR_DIFF_ADDITION=11
 
1967 val SCE_ERR_DIFF_DELETION=12
 
1968 val SCE_ERR_DIFF_MESSAGE=13
 
1972 val SCE_ERR_IFORT=17
 
1974 # Lexical states for SCLEX_BATCH
 
1975 lex Batch=SCLEX_BATCH SCE_BAT_
 
1976 val SCE_BAT_DEFAULT=0
 
1977 val SCE_BAT_COMMENT=1
 
1981 val SCE_BAT_COMMAND=5
 
1982 val SCE_BAT_IDENTIFIER=6
 
1983 val SCE_BAT_OPERATOR=7
 
1984 # Lexical states for SCLEX_MAKEFILE
 
1985 lex MakeFile=SCLEX_MAKEFILE SCE_MAKE_
 
1986 val SCE_MAKE_DEFAULT=0
 
1987 val SCE_MAKE_COMMENT=1
 
1988 val SCE_MAKE_PREPROCESSOR=2
 
1989 val SCE_MAKE_IDENTIFIER=3
 
1990 val SCE_MAKE_OPERATOR=4
 
1991 val SCE_MAKE_TARGET=5
 
1992 val SCE_MAKE_IDEOL=9
 
1993 # Lexical states for SCLEX_DIFF
 
1994 lex Diff=SCLEX_DIFF SCE_DIFF_
 
1995 val SCE_DIFF_DEFAULT=0
 
1996 val SCE_DIFF_COMMENT=1
 
1997 val SCE_DIFF_COMMAND=2
 
1998 val SCE_DIFF_HEADER=3
 
1999 val SCE_DIFF_POSITION=4
 
2000 val SCE_DIFF_DELETED=5
 
2001 val SCE_DIFF_ADDED=6
 
2002 # Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
 
2003 lex Conf=SCLEX_CONF SCE_CONF_
 
2004 val SCE_CONF_DEFAULT=0
 
2005 val SCE_CONF_COMMENT=1
 
2006 val SCE_CONF_NUMBER=2
 
2007 val SCE_CONF_IDENTIFIER=3
 
2008 val SCE_CONF_EXTENSION=4
 
2009 val SCE_CONF_PARAMETER=5
 
2010 val SCE_CONF_STRING=6
 
2011 val SCE_CONF_OPERATOR=7
 
2013 val SCE_CONF_DIRECTIVE=9
 
2014 # Lexical states for SCLEX_AVE, Avenue
 
2015 lex Avenue=SCLEX_AVE SCE_AVE_
 
2016 val SCE_AVE_DEFAULT=0
 
2017 val SCE_AVE_COMMENT=1
 
2018 val SCE_AVE_NUMBER=2
 
2020 val SCE_AVE_STRING=6
 
2022 val SCE_AVE_STRINGEOL=8
 
2023 val SCE_AVE_IDENTIFIER=9
 
2024 val SCE_AVE_OPERATOR=10
 
2025 val SCE_AVE_WORD1=11
 
2026 val SCE_AVE_WORD2=12
 
2027 val SCE_AVE_WORD3=13
 
2028 val SCE_AVE_WORD4=14
 
2029 val SCE_AVE_WORD5=15
 
2030 val SCE_AVE_WORD6=16
 
2031 # Lexical states for SCLEX_ADA
 
2032 lex Ada=SCLEX_ADA SCE_ADA_
 
2033 val SCE_ADA_DEFAULT=0
 
2035 val SCE_ADA_IDENTIFIER=2
 
2036 val SCE_ADA_NUMBER=3
 
2037 val SCE_ADA_DELIMITER=4
 
2038 val SCE_ADA_CHARACTER=5
 
2039 val SCE_ADA_CHARACTEREOL=6
 
2040 val SCE_ADA_STRING=7
 
2041 val SCE_ADA_STRINGEOL=8
 
2043 val SCE_ADA_COMMENTLINE=10
 
2044 val SCE_ADA_ILLEGAL=11
 
2045 # Lexical states for SCLEX_BAAN
 
2046 lex Baan=SCLEX_BAAN SCE_BAAN_
 
2047 val SCE_BAAN_DEFAULT=0
 
2048 val SCE_BAAN_COMMENT=1
 
2049 val SCE_BAAN_COMMENTDOC=2
 
2050 val SCE_BAAN_NUMBER=3
 
2052 val SCE_BAAN_STRING=5
 
2053 val SCE_BAAN_PREPROCESSOR=6
 
2054 val SCE_BAAN_OPERATOR=7
 
2055 val SCE_BAAN_IDENTIFIER=8
 
2056 val SCE_BAAN_STRINGEOL=9
 
2057 val SCE_BAAN_WORD2=10
 
2058 # Lexical states for SCLEX_LISP
 
2059 lex Lisp=SCLEX_LISP SCE_LISP_
 
2060 val SCE_LISP_DEFAULT=0
 
2061 val SCE_LISP_COMMENT=1
 
2062 val SCE_LISP_NUMBER=2
 
2063 val SCE_LISP_KEYWORD=3
 
2064 val SCE_LISP_STRING=6
 
2065 val SCE_LISP_STRINGEOL=8
 
2066 val SCE_LISP_IDENTIFIER=9
 
2067 val SCE_LISP_OPERATOR=10
 
2068 # Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW
 
2069 lex Eiffel=SCLEX_EIFFEL SCE_EIFFEL_
 
2070 lex EiffelKW=SCLEX_EIFFELKW SCE_EIFFEL_
 
2071 val SCE_EIFFEL_DEFAULT=0
 
2072 val SCE_EIFFEL_COMMENTLINE=1
 
2073 val SCE_EIFFEL_NUMBER=2
 
2074 val SCE_EIFFEL_WORD=3
 
2075 val SCE_EIFFEL_STRING=4
 
2076 val SCE_EIFFEL_CHARACTER=5
 
2077 val SCE_EIFFEL_OPERATOR=6
 
2078 val SCE_EIFFEL_IDENTIFIER=7
 
2079 val SCE_EIFFEL_STRINGEOL=8
 
2080 # Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
 
2081 lex NNCronTab=SCLEX_NNCRONTAB SCE_NNCRONTAB_
 
2082 val SCE_NNCRONTAB_DEFAULT=0
 
2083 val SCE_NNCRONTAB_COMMENT=1
 
2084 val SCE_NNCRONTAB_TASK=2
 
2085 val SCE_NNCRONTAB_SECTION=3
 
2086 val SCE_NNCRONTAB_KEYWORD=4
 
2087 val SCE_NNCRONTAB_MODIFIER=5
 
2088 val SCE_NNCRONTAB_ASTERISK=6
 
2089 val SCE_NNCRONTAB_NUMBER=7
 
2090 val SCE_NNCRONTAB_STRING=8
 
2091 val SCE_NNCRONTAB_ENVIRONMENT=9
 
2092 val SCE_NNCRONTAB_IDENTIFIER=10
 
2093 # Lexical states for SCLEX_FORTH (Forth Lexer)
 
2094 lex Forth=SCLEX_FORTH SCE_FORTH_
 
2095 val SCE_FORTH_DEFAULT=0
 
2096 val SCE_FORTH_COMMENT=1
 
2097 val SCE_FORTH_COMMENT_ML=2
 
2098 val SCE_FORTH_IDENTIFIER=3
 
2099 val SCE_FORTH_CONTROL=4
 
2100 val SCE_FORTH_KEYWORD=5
 
2101 val SCE_FORTH_DEFWORD=6
 
2102 val SCE_FORTH_PREWORD1=7
 
2103 val SCE_FORTH_PREWORD2=8
 
2104 val SCE_FORTH_NUMBER=9
 
2105 val SCE_FORTH_STRING=10
 
2106 val SCE_FORTH_LOCALE=11
 
2107 # Lexical states for SCLEX_MATLAB
 
2108 lex MatLab=SCLEX_MATLAB SCE_MATLAB_
 
2109 val SCE_MATLAB_DEFAULT=0
 
2110 val SCE_MATLAB_COMMENT=1
 
2111 val SCE_MATLAB_COMMAND=2
 
2112 val SCE_MATLAB_NUMBER=3
 
2113 val SCE_MATLAB_KEYWORD=4
 
2114 # single quoted string
 
2115 val SCE_MATLAB_STRING=5
 
2116 val SCE_MATLAB_OPERATOR=6
 
2117 val SCE_MATLAB_IDENTIFIER=7
 
2118 val SCE_MATLAB_DOUBLEQUOTESTRING=8
 
2119 # Lexical states for SCLEX_SCRIPTOL
 
2120 lex Sol=SCLEX_SCRIPTOL SCE_SCRIPTOL_
 
2121 val SCE_SCRIPTOL_DEFAULT=0
 
2122 val SCE_SCRIPTOL_WHITE=1
 
2123 val SCE_SCRIPTOL_COMMENTLINE=2
 
2124 val SCE_SCRIPTOL_PERSISTENT=3
 
2125 val SCE_SCRIPTOL_CSTYLE=4
 
2126 val SCE_SCRIPTOL_COMMENTBLOCK=5
 
2127 val SCE_SCRIPTOL_NUMBER=6
 
2128 val SCE_SCRIPTOL_STRING=7
 
2129 val SCE_SCRIPTOL_CHARACTER=8
 
2130 val SCE_SCRIPTOL_STRINGEOL=9
 
2131 val SCE_SCRIPTOL_KEYWORD=10
 
2132 val SCE_SCRIPTOL_OPERATOR=11
 
2133 val SCE_SCRIPTOL_IDENTIFIER=12
 
2134 val SCE_SCRIPTOL_TRIPLE=13
 
2135 val SCE_SCRIPTOL_CLASSNAME=14
 
2136 val SCE_SCRIPTOL_PREPROCESSOR=15
 
2137 # Lexical states for SCLEX_ASM
 
2138 lex Asm=SCLEX_ASM SCE_ASM_
 
2139 val SCE_ASM_DEFAULT=0
 
2140 val SCE_ASM_COMMENT=1
 
2141 val SCE_ASM_NUMBER=2
 
2142 val SCE_ASM_STRING=3
 
2143 val SCE_ASM_OPERATOR=4
 
2144 val SCE_ASM_IDENTIFIER=5
 
2145 val SCE_ASM_CPUINSTRUCTION=6
 
2146 val SCE_ASM_MATHINSTRUCTION=7
 
2147 val SCE_ASM_REGISTER=8
 
2148 val SCE_ASM_DIRECTIVE=9
 
2149 val SCE_ASM_DIRECTIVEOPERAND=10
 
2150 val SCE_ASM_COMMENTBLOCK=11
 
2151 val SCE_ASM_CHARACTER=12
 
2152 val SCE_ASM_STRINGEOL=13
 
2153 val SCE_ASM_EXTINSTRUCTION=14
 
2154 # Lexical states for SCLEX_FORTRAN
 
2155 lex Fortran=SCLEX_FORTRAN SCE_F_
 
2156 lex F77=SCLEX_F77 SCE_F_
 
2162 val SCE_F_STRINGEOL=5
 
2163 val SCE_F_OPERATOR=6
 
2164 val SCE_F_IDENTIFIER=7
 
2168 val SCE_F_PREPROCESSOR=11
 
2169 val SCE_F_OPERATOR2=12
 
2171 val SCE_F_CONTINUATION=14
 
2172 # Lexical states for SCLEX_CSS
 
2173 lex CSS=SCLEX_CSS SCE_CSS_
 
2174 val SCE_CSS_DEFAULT=0
 
2177 val SCE_CSS_PSEUDOCLASS=3
 
2178 val SCE_CSS_UNKNOWN_PSEUDOCLASS=4
 
2179 val SCE_CSS_OPERATOR=5
 
2180 val SCE_CSS_IDENTIFIER=6
 
2181 val SCE_CSS_UNKNOWN_IDENTIFIER=7
 
2183 val SCE_CSS_COMMENT=9
 
2185 val SCE_CSS_IMPORTANT=11
 
2186 val SCE_CSS_DIRECTIVE=12
 
2187 val SCE_CSS_DOUBLESTRING=13
 
2188 val SCE_CSS_SINGLESTRING=14
 
2189 # Lexical states for SCLEX_POV
 
2190 lex POV=SCLEX_POV SCE_POV_
 
2191 val SCE_POV_DEFAULT=0
 
2192 val SCE_POV_COMMENT=1
 
2193 val SCE_POV_COMMENTLINE=2
 
2194 val SCE_POV_NUMBER=3
 
2195 val SCE_POV_OPERATOR=4
 
2196 val SCE_POV_IDENTIFIER=5
 
2197 val SCE_POV_STRING=6
 
2198 val SCE_POV_STRINGEOL=7
 
2199 val SCE_POV_DIRECTIVE=8
 
2200 val SCE_POV_BADDIRECTIVE=9
 
2201 val SCE_POV_WORD2=10
 
2202 val SCE_POV_WORD3=11
 
2203 val SCE_POV_WORD4=12
 
2204 val SCE_POV_WORD5=13
 
2205 val SCE_POV_WORD6=14
 
2206 val SCE_POV_WORD7=15
 
2207 val SCE_POV_WORD8=16
 
2208 # Lexical states for SCLEX_LOUT
 
2209 lex LOUT=SCLEX_LOUT SCE_LOUT_
 
2210 val SCE_LOUT_DEFAULT=0
 
2211 val SCE_LOUT_COMMENT=1
 
2212 val SCE_LOUT_NUMBER=2
 
2214 val SCE_LOUT_WORD2=4
 
2215 val SCE_LOUT_WORD3=5
 
2216 val SCE_LOUT_WORD4=6
 
2217 val SCE_LOUT_STRING=7
 
2218 val SCE_LOUT_OPERATOR=8
 
2219 val SCE_LOUT_IDENTIFIER=9
 
2220 val SCE_LOUT_STRINGEOL=10
 
2221 # Lexical states for SCLEX_ESCRIPT
 
2222 lex ESCRIPT=SCLEX_ESCRIPT SCE_ESCRIPT_
 
2223 val SCE_ESCRIPT_DEFAULT=0
 
2224 val SCE_ESCRIPT_COMMENT=1
 
2225 val SCE_ESCRIPT_COMMENTLINE=2
 
2226 val SCE_ESCRIPT_COMMENTDOC=3
 
2227 val SCE_ESCRIPT_NUMBER=4
 
2228 val SCE_ESCRIPT_WORD=5
 
2229 val SCE_ESCRIPT_STRING=6
 
2230 val SCE_ESCRIPT_OPERATOR=7
 
2231 val SCE_ESCRIPT_IDENTIFIER=8
 
2232 val SCE_ESCRIPT_BRACE=9
 
2233 val SCE_ESCRIPT_WORD2=10
 
2234 val SCE_ESCRIPT_WORD3=11
 
2235 # Lexical states for SCLEX_PS
 
2236 lex PS=SCLEX_PS SCE_PS_
 
2237 val SCE_PS_DEFAULT=0
 
2238 val SCE_PS_COMMENT=1
 
2239 val SCE_PS_DSC_COMMENT=2
 
2240 val SCE_PS_DSC_VALUE=3
 
2243 val SCE_PS_KEYWORD=6
 
2244 val SCE_PS_LITERAL=7
 
2245 val SCE_PS_IMMEVAL=8
 
2246 val SCE_PS_PAREN_ARRAY=9
 
2247 val SCE_PS_PAREN_DICT=10
 
2248 val SCE_PS_PAREN_PROC=11
 
2250 val SCE_PS_HEXSTRING=13
 
2251 val SCE_PS_BASE85STRING=14
 
2252 val SCE_PS_BADSTRINGCHAR=15
 
2253 # Lexical states for SCLEX_NSIS
 
2254 lex NSIS=SCLEX_NSIS SCE_NSIS_
 
2255 val SCE_NSIS_DEFAULT=0
 
2256 val SCE_NSIS_COMMENT=1
 
2257 val SCE_NSIS_STRINGDQ=2
 
2258 val SCE_NSIS_STRINGLQ=3
 
2259 val SCE_NSIS_STRINGRQ=4
 
2260 val SCE_NSIS_FUNCTION=5
 
2261 val SCE_NSIS_VARIABLE=6
 
2262 val SCE_NSIS_LABEL=7
 
2263 val SCE_NSIS_USERDEFINED=8
 
2264 val SCE_NSIS_SECTIONDEF=9
 
2265 val SCE_NSIS_SUBSECTIONDEF=10
 
2266 val SCE_NSIS_IFDEFINEDEF=11
 
2267 val SCE_NSIS_MACRODEF=12
 
2268 val SCE_NSIS_STRINGVAR=13
 
2269 # Lexical states for SCLEX_MMIXAL
 
2270 lex MMIXAL=SCLEX_MMIXAL SCE_MMIXAL_
 
2271 val SCE_MMIXAL_LEADWS=0
 
2272 val SCE_MMIXAL_COMMENT=1
 
2273 val SCE_MMIXAL_LABEL=2
 
2274 val SCE_MMIXAL_OPCODE=3
 
2275 val SCE_MMIXAL_OPCODE_PRE=4
 
2276 val SCE_MMIXAL_OPCODE_VALID=5
 
2277 val SCE_MMIXAL_OPCODE_UNKNOWN=6
 
2278 val SCE_MMIXAL_OPCODE_POST=7
 
2279 val SCE_MMIXAL_OPERANDS=8
 
2280 val SCE_MMIXAL_NUMBER=9
 
2281 val SCE_MMIXAL_REF=10
 
2282 val SCE_MMIXAL_CHAR=11
 
2283 val SCE_MMIXAL_STRING=12
 
2284 val SCE_MMIXAL_REGISTER=13
 
2285 val SCE_MMIXAL_HEX=14
 
2286 val SCE_MMIXAL_OPERATOR=15
 
2287 val SCE_MMIXAL_SYMBOL=16
 
2288 val SCE_MMIXAL_INCLUDE=17
 
2289 # Lexical states for SCLEX_CLW
 
2290 lex Clarion=SCLEX_CLW SCE_CLW_
 
2291 val SCE_CLW_DEFAULT=0
 
2293 val SCE_CLW_COMMENT=2
 
2294 val SCE_CLW_STRING=3
 
2295 val SCE_CLW_USER_IDENTIFIER=4
 
2296 val SCE_CLW_INTEGER_CONSTANT=5
 
2297 val SCE_CLW_REAL_CONSTANT=6
 
2298 val SCE_CLW_PICTURE_STRING=7
 
2299 val SCE_CLW_KEYWORD=8
 
2300 val SCE_CLW_COMPILER_DIRECTIVE=9
 
2301 val SCE_CLW_BUILTIN_PROCEDURES_FUNCTION=10
 
2302 val SCE_CLW_STRUCTURE_DATA_TYPE=11
 
2303 val SCE_CLW_ATTRIBUTE=12
 
2304 val SCE_CLW_STANDARD_EQUATE=13
 
2305 val SCE_CLW_ERROR=14
 
2306 # Lexical states for SCLEX_LOT
 
2307 lex LOT=SCLEX_LOT SCE_LOT_
 
2308 val SCE_LOT_DEFAULT=0
 
2309 val SCE_LOT_HEADER=1
 
2315 # Lexical states for SCLEX_YAML
 
2316 lex YAML=SCLEX_YAML SCE_YAML_
 
2317 val SCE_YAML_DEFAULT=0
 
2318 val SCE_YAML_COMMENT=1
 
2319 val SCE_YAML_IDENTIFIER=2
 
2320 val SCE_YAML_KEYWORD=3
 
2321 val SCE_YAML_NUMBER=4
 
2322 val SCE_YAML_REFERENCE=5
 
2323 val SCE_YAML_DOCUMENT=6
 
2325 val SCE_YAML_ERROR=8
 
2326 # Lexical states for SCLEX_TEX
 
2327 lex TeX=SCLEX_TEX SCE_TEX_
 
2328 val SCE_TEX_DEFAULT=0
 
2329 val SCE_TEX_SPECIAL=1
 
2331 val SCE_TEX_SYMBOL=3
 
2332 val SCE_TEX_COMMAND=4
 
2334 lex Metapost=SCLEX_METAPOST SCE_METAPOST_
 
2335 val SCE_METAPOST_DEFAULT=0
 
2336 val SCE_METAPOST_SPECIAL=1
 
2337 val SCE_METAPOST_GROUP=2
 
2338 val SCE_METAPOST_SYMBOL=3
 
2339 val SCE_METAPOST_COMMAND=4
 
2340 val SCE_METAPOST_TEXT=5
 
2341 val SCE_METAPOST_EXTRA=6
 
2342 # Lexical states for SCLEX_ERLANG
 
2343 lex Erlang=SCLEX_ERLANG SCE_ERLANG_
 
2344 val SCE_ERLANG_DEFAULT=0
 
2345 val SCE_ERLANG_COMMENT=1
 
2346 val SCE_ERLANG_VARIABLE=2
 
2347 val SCE_ERLANG_NUMBER=3
 
2348 val SCE_ERLANG_KEYWORD=4
 
2349 val SCE_ERLANG_STRING=5
 
2350 val SCE_ERLANG_OPERATOR=6
 
2351 val SCE_ERLANG_ATOM=7
 
2352 val SCE_ERLANG_FUNCTION_NAME=8
 
2353 val SCE_ERLANG_CHARACTER=9
 
2354 val SCE_ERLANG_MACRO=10
 
2355 val SCE_ERLANG_RECORD=11
 
2356 val SCE_ERLANG_SEPARATOR=12
 
2357 val SCE_ERLANG_NODE_NAME=13
 
2358 val SCE_ERLANG_UNKNOWN=31
 
2359 # Lexical states for SCLEX_OCTAVE are identical to MatLab
 
2360 lex Octave=SCLEX_OCTAVE SCE_MATLAB_
 
2364 evt void StyleNeeded=2000(int position)
 
2365 evt void CharAdded=2001(int ch)
 
2366 evt void SavePointReached=2002(void)
 
2367 evt void SavePointLeft=2003(void)
 
2368 evt void ModifyAttemptRO=2004(void)
 
2369 # GTK+ Specific to work around focus and accelerator problems:
 
2370 evt void Key=2005(int ch, int modifiers)
 
2371 evt void DoubleClick=2006(void)
 
2372 evt void UpdateUI=2007(void)
 
2373 evt void Modified=2008(int position, int modificationType, string text, int length, int linesAdded, int line, int foldLevelNow, int foldLevelPrev)
 
2374 evt void MacroRecord=2009(int message, int wParam, int lParam)
 
2375 evt void MarginClick=2010(int modifiers, int position, int margin)
 
2376 evt void NeedShown=2011(int position, int length)
 
2377 evt void Painted=2013(void)
 
2378 evt void UserListSelection=2014(int listType, string text)
 
2379 evt void URIDropped=2015(string text)
 
2380 evt void DwellStart=2016(int position)
 
2381 evt void DwellEnd=2017(int position)
 
2382 evt void Zoom=2018(void)
 
2383 evt void HotSpotClick=2019(int modifiers, int position)
 
2384 evt void HotSpotDoubleClick=2020(int modifiers, int position)
 
2385 evt void CallTipClick=2021(int position)
 
2389 # CARET_POLICY changed in 1.47
 
2390 fun void SetCaretPolicy=2369(int caretPolicy, int caretSlop)
 
2391 val CARET_CENTER=0x02
 
2392 val CARET_XEVEN=0x08
 
2393 val CARET_XJUMPS=0x10
 
2395 # The old name for SCN_UPDATEUI
 
2396 val SCN_CHECKBRACE=2007
 
2397 evt void PosChanged=2012(int position)