Class Fox::FXScintilla
In: rdoc-sources/FXScintilla.rb
lib/fox16/scintilla.rb
Parent: FXScrollArea

FXScintilla is a FOX widget, developed by Gilles Filippini, that provides an interface to Neil Hodgson‘s Scintilla (www.scintilla.org) source code editing component. The Scintilla component is a very complicated beast, and for best results you should read the very fine documentation at www.scintilla.org/ScintillaDoc.html.

Events

The following messages are sent by FXScintilla to its target:

SEL_COMMAND:sent when the Scintilla component calls NotifyParent to signal some event. The message data is an SCNotification instance.
SEL_CHANGED:sent when the Scintilla component calls NotifyChange to signal some event.
SEL_RIGHTBUTTONPRESS:sent when the right mouse button goes down; the message data is an FXEvent instance.

Methods

addRefDocument   addStyledText   addText   allocate   appendText   assignCmdKey   autoCActive   autoCCancel   autoCComplete   autoCGetAutoHide   autoCGetCancelAtStart   autoCGetChooseSingle   autoCGetCurrent   autoCGetDropRestOfWord   autoCGetIgnoreCase   autoCGetMaxHeight   autoCGetMaxWidth   autoCGetSeparator   autoCGetTypeSeparator   autoCPosStart   autoCSelect   autoCSetAutoHide   autoCSetCancelAtStart   autoCSetChooseSingle   autoCSetDropRestOfWord   autoCSetFillUps   autoCSetIgnoreCase   autoCSetMaxHeight   autoCSetMaxWidth   autoCSetSeparator   autoCSetTypeSeparator   autoCShow   autoCStops   backTab   beginUndoAction   braceBadLight   braceHighlight   braceMatch   callTipActive   callTipCancel   callTipPosStart   callTipSetBack   callTipSetFore   callTipSetForeHlt   callTipSetHlt   callTipShow   canPaste   canRedo   canUndo   cancel   charLeft   charLeftExtend   charLeftRectExtend   charRight   charRightExtend   charRightRectExtend   chooseCaretX   clear   clearAll   clearAllCmdKeys   clearCmdKey   clearDocumentStyle   clearRegisteredImages   colourise   convertEOLs   copy   copyRange   copyText   createDocument   cut   delLineLeft   delLineRight   delWordLeft   delWordRight   deleteBack   deleteBackNotLine   docLineFromVisible   documentEnd   documentEndExtend   documentStart   documentStartExtend   editToggleOvertype   emptyUndoBuffer   encodedFromUTF8   endUndoAction   ensureVisible   ensureVisibleEnforcePolicy   findColumn   findText   formFeed   formatRange   getAnchor   getBackSpaceUnIndents   getBufferedDraw   getCaretFore   getCaretLineBack   getCaretLineVisible   getCaretPeriod   getCaretSticky   getCaretWidth   getCharAt   getCodePage   getColumn   getControlCharSymbol   getCurLine   getCurrentPos   getCursor   getDirectFunction   getDirectPointer   getDocPointer   getEOLMode   getEdgeColour   getEdgeColumn   getEdgeMode   getEndAtLastLine   getEndStyled   getFirstVisibleLine   getFocus   getFoldExpanded   getFoldLevel   getFoldParent   getHScrollBar   getHighlightGuide   getIndent   getIndentationGuides   getLastChild   getLayoutCache   getLength   getLexer   getLine   getLineCount   getLineEndPosition   getLineIndentPosition   getLineIndentation   getLineSelEndPosition   getLineSelStartPosition   getLineState   getLineVisible   getMarginLeft   getMarginMaskN   getMarginRight   getMarginSensitiveN   getMarginTypeN   getMarginWidthN   getMaxLineState   getModEventMask   getModify   getMouseDownCaptures   getMouseDwellTime   getOvertype   getPasteConvertEndings   getPrintColourMode   getPrintMagnification   getPrintWrapMode   getProperty   getPropertyExpanded   getPropertyInt   getReadOnly   getScrollWidth   getSearchFlags   getSelText   getSelectionEnd   getSelectionMode   getSelectionStart   getStatus   getStyleAt   getStyleBits   getStyleBitsNeeded   getStyledText   getTabIndents   getTabWidth   getTargetEnd   getTargetStart   getText   getTextLength   getTextRange   getTwoPhaseDraw   getUndoCollection   getUsePalette   getUseTabs   getVScrollBar   getViewEOL   getViewWS   getWrapMode   getWrapStartIndent   getWrapVisualFlags   getWrapVisualFlagsLocation   getXOffset   getZoom   gotoLine   gotoPos   grabFocus   hideLines   hideSelection   home   homeDisplay   homeDisplayExtend   homeExtend   homeRectExtend   homeWrap   homeWrapExtend   indicGetFore   indicGetStyle   indicSetFore   indicSetStyle   insertText   lineCopy   lineCut   lineDelete   lineDown   lineDownExtend   lineDownRectExtend   lineDuplicate   lineEnd   lineEndDisplay   lineEndDisplayExtend   lineEndExtend   lineEndRectExtend   lineEndWrap   lineEndWrapExtend   lineFromPosition   lineLength   lineScroll   lineScrollDown   lineScrollUp   lineTranspose   lineUp   lineUpExtend   lineUpRectExtend   linesJoin   linesOnScreen   linesSplit   loadLexerLibrary   lowerCase   markerAdd   markerAddSet   markerDefine   markerDefinePixmap   markerDelete   markerDeleteAll   markerDeleteHandle   markerGet   markerLineFromHandle   markerNext   markerPrevious   markerSetBack   markerSetFore   moveCaretInsideView   new   newLine   null   pageDown   pageDownExtend   pageDownRectExtend   pageUp   pageUpExtend   pageUpRectExtend   paraDown   paraDownExtend   paraUp   paraUpExtend   paste   pointXFromPosition   pointYFromPosition   positionAfter   positionBefore   positionFromLine   positionFromPoint   positionFromPointClose   redo   registerImage   releaseDocument   replaceSel   replaceTarget   replaceTargetRE   scrollCaret   searchAnchor   searchInTarget   searchNext   searchPrev   selectAll   selectionDuplicate   selectionIsRectangle   sendMessage   setAnchor   setBackSpaceUnIndents   setBufferedDraw   setCaretFore   setCaretLineBack   setCaretLineVisible   setCaretPeriod   setCaretPolicy   setCaretSticky   setCaretWidth   setCharsDefault   setCodePage   setControlCharSymbol   setCurrentPos   setCursor   setDocPointer   setEOLMode   setEdgeColour   setEdgeColumn   setEdgeMode   setEndAtLastLine   setFocusFlag   setFoldExpanded   setFoldFlags   setFoldLevel   setFoldMarginColour   setFoldMarginHiColour   setHScrollBar   setHighlightGuide   setHotspotActiveBack   setHotspotActiveFore   setHotspotActiveUnderline   setHotspotSingleLine   setIndent   setIndentationGuides   setKeyWords   setLayoutCache   setLengthForEncode   setLexer   setLexerLanguage   setLineIndentation   setLineState   setMarginLeft   setMarginMaskN   setMarginRight   setMarginSensitiveN   setMarginTypeN   setMarginWidthN   setModEventMask   setMouseDownCaptures   setMouseDwellTime   setOvertype   setPasteConvertEndings   setPrintColourMode   setPrintMagnification   setPrintWrapMode   setProperty   setReadOnly   setSavePoint   setScintillaID   setScrollWidth   setSearchFlags   setSel   setSelBack   setSelFore   setSelectionEnd   setSelectionMode   setSelectionStart   setStatus   setStyleBits   setStyling   setStylingEx   setTabIndents   setTabWidth   setTargetEnd   setTargetStart   setText   setTwoPhaseDraw   setUndoCollection   setUsePalette   setUseTabs   setVScrollBar   setViewEOL   setViewWS   setVisiblePolicy   setWhitespaceBack   setWhitespaceChars   setWhitespaceFore   setWordChars   setWrapMode   setWrapStartIndent   setWrapVisualFlags   setWrapVisualFlagsLocation   setXCaretPolicy   setXOffset   setYCaretPolicy   setZoom   showLines   startRecord   startStyling   stopRecord   stutteredPageDown   stutteredPageDownExtend   stutteredPageUp   stutteredPageUpExtend   styleClearAll   styleResetDefault   styleSetBack   styleSetBold   styleSetCase   styleSetChangeable   styleSetCharacterSet   styleSetEOLFilled   styleSetFont   styleSetFore   styleSetHotSpot   styleSetItalic   styleSetSize   styleSetUnderline   styleSetVisible   tab   targetAsUTF8   targetFromSelection   textHeight   textWidth   toggleCaretSticky   toggleFold   undo   upperCase   usePopUp   userListShow   vCHome   vCHomeExtend   vCHomeRectExtend   vCHomeWrap   vCHomeWrapExtend   visibleFromDocLine   wordEndPosition   wordLeft   wordLeftEnd   wordLeftEndExtend   wordLeftExtend   wordPartLeft   wordPartLeftExtend   wordPartRight   wordPartRightExtend   wordRight   wordRightEnd   wordRightEndExtend   wordRightExtend   wordStartPosition   wrapCount   zoomIn   zoomOut  

Constants

INVALID_POSITION = -1   Basics
SCI_START = 2000   Define start of Scintilla messages to be greater than all Windows edit (EM_*) messages as many EM_ messages can be used although that use is deprecated.
SCI_OPTIONAL_START = 3000
SCI_LEXER_START = 4000
SCWS_INVISIBLE = 0
SCWS_VISIBLEALWAYS = 1
SCWS_VISIBLEAFTERINDENT = 2
SC_EOL_CRLF = 0
SC_EOL_CR = 1
SC_EOL_LF = 2
SC_CP_UTF8 = 65001   The SC_CP_UTF8 value can be used to enter Unicode mode. This is the same value as CP_UTF8 in Windows
SC_CP_DBCS = 1   The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
MARKER_MAX = 31
SC_MARK_CIRCLE = 0
SC_MARK_ROUNDRECT = 1
SC_MARK_ARROW = 2
SC_MARK_SMALLRECT = 3
SC_MARK_SHORTARROW = 4
SC_MARK_EMPTY = 5
SC_MARK_ARROWDOWN = 6
SC_MARK_MINUS = 7
SC_MARK_PLUS = 8
SC_MARK_VLINE = 9   Shapes used for outlining column.
SC_MARK_LCORNER = 10
SC_MARK_TCORNER = 11
SC_MARK_BOXPLUS = 12
SC_MARK_BOXPLUSCONNECTED = 13
SC_MARK_BOXMINUS = 14
SC_MARK_BOXMINUSCONNECTED = 15
SC_MARK_LCORNERCURVE = 16
SC_MARK_TCORNERCURVE = 17
SC_MARK_CIRCLEPLUS = 18
SC_MARK_CIRCLEPLUSCONNECTED = 19
SC_MARK_CIRCLEMINUS = 20
SC_MARK_CIRCLEMINUSCONNECTED = 21
SC_MARK_BACKGROUND = 22   Invisible mark that only sets the line background color.
SC_MARK_DOTDOTDOT = 23
SC_MARK_ARROWS = 24
SC_MARK_PIXMAP = 25
SC_MARK_FULLRECT = 26
SC_MARK_CHARACTER = 10000
SC_MARKNUM_FOLDEREND = 25   Markers used for outlining column.
SC_MARKNUM_FOLDEROPENMID = 26
SC_MARKNUM_FOLDERMIDTAIL = 27
SC_MARKNUM_FOLDERTAIL = 28
SC_MARKNUM_FOLDERSUB = 29
SC_MARKNUM_FOLDER = 30
SC_MARKNUM_FOLDEROPEN = 31
SC_MASK_FOLDERS = 0xFE000000
SC_MARGIN_SYMBOL = 0
SC_MARGIN_NUMBER = 1
STYLE_DEFAULT = 32   Styles in range 32..37 are predefined for parts of the UI and are not used as normal styles. Styles 38 and 39 are for future use.
STYLE_LINENUMBER = 33
STYLE_BRACELIGHT = 34
STYLE_BRACEBAD = 35
STYLE_CONTROLCHAR = 36
STYLE_INDENTGUIDE = 37
STYLE_LASTPREDEFINED = 39
STYLE_MAX = 127
SC_CHARSET_ANSI = 0   Character set identifiers are used in StyleSetCharacterSet. The values are the same as the Windows *_CHARSET values.
SC_CHARSET_DEFAULT = 1
SC_CHARSET_BALTIC = 186
SC_CHARSET_CHINESEBIG5 = 136
SC_CHARSET_EASTEUROPE = 238
SC_CHARSET_GB2312 = 134
SC_CHARSET_GREEK = 161
SC_CHARSET_HANGUL = 129
SC_CHARSET_MAC = 77
SC_CHARSET_OEM = 255
SC_CHARSET_RUSSIAN = 204
SC_CHARSET_CYRILLIC = 1251
SC_CHARSET_SHIFTJIS = 128
SC_CHARSET_SYMBOL = 2
SC_CHARSET_TURKISH = 162
SC_CHARSET_JOHAB = 130
SC_CHARSET_HEBREW = 177
SC_CHARSET_ARABIC = 178
SC_CHARSET_VIETNAMESE = 163
SC_CHARSET_THAI = 222
SC_CHARSET_8859_15 = 1000
SC_CASE_MIXED = 0
SC_CASE_UPPER = 1
SC_CASE_LOWER = 2
INDIC_MAX = 7
INDIC_PLAIN = 0
INDIC_SQUIGGLE = 1
INDIC_TT = 2
INDIC_DIAGONAL = 3
INDIC_STRIKE = 4
INDIC_HIDDEN = 5
INDIC_BOX = 6
INDIC0_MASK = 0x20
INDIC1_MASK = 0x40
INDIC2_MASK = 0x80
INDICS_MASK = 0xE0
SC_PRINT_NORMAL = 0   PrintColourMode - use same colours as screen.
SC_PRINT_INVERTLIGHT = 1   PrintColourMode - invert the light value of each style for printing.
SC_PRINT_BLACKONWHITE = 2   PrintColourMode - force black text on white background for printing.
SC_PRINT_COLOURONWHITE = 3   PrintColourMode - text stays coloured, but all background is forced to be white for printing.
SC_PRINT_COLOURONWHITEDEFAULTBG = 4   PrintColourMode - only the default-background is forced to be white for printing.
SCFIND_WHOLEWORD = 2
SCFIND_MATCHCASE = 4
SCFIND_WORDSTART = 0x00100000
SCFIND_REGEXP = 0x00200000
SCFIND_POSIX = 0x00400000
SC_FOLDLEVELBASE = 0x400
SC_FOLDLEVELWHITEFLAG = 0x1000
SC_FOLDLEVELHEADERFLAG = 0x2000
SC_FOLDLEVELBOXHEADERFLAG = 0x4000
SC_FOLDLEVELBOXFOOTERFLAG = 0x8000
SC_FOLDLEVELCONTRACTED = 0x10000
SC_FOLDLEVELUNINDENT = 0x20000
SC_FOLDLEVELNUMBERMASK = 0x0FFF
SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002
SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004
SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008
SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010
SC_FOLDFLAG_LEVELNUMBERS = 0x0040
SC_FOLDFLAG_BOX = 0x0001
SC_TIME_FOREVER = 10000000
SC_WRAP_NONE = 0
SC_WRAP_WORD = 1
SC_WRAP_CHAR = 2
SC_WRAPVISUALFLAG_NONE = 0x0000
SC_WRAPVISUALFLAG_END = 0x0001
SC_WRAPVISUALFLAG_START = 0x0002
SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000
SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001
SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002
SC_CACHE_NONE = 0
SC_CACHE_CARET = 1
SC_CACHE_PAGE = 2
SC_CACHE_DOCUMENT = 3
EDGE_NONE = 0
EDGE_LINE = 1
EDGE_BACKGROUND = 2
SC_CURSORNORMAL = -1
SC_CURSORWAIT = 4
VISIBLE_SLOP = 0x01   Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
VISIBLE_STRICT = 0x04
CARET_SLOP = 0x01   Caret policy, used by SetXCaretPolicy and SetYCaretPolicy. If CARET_SLOP is set, we can define a slop value: caretSlop. This value defines an unwanted zone (UZ) where the caret is… unwanted. This zone is defined as a number of pixels near the vertical margins, and as a number of lines near the horizontal margins. By keeping the caret away from the edges, it is seen within its context, so it is likely that the identifier that the caret is on can be completely seen, and that the current line is seen with some of the lines following it which are often dependent on that line.
CARET_STRICT = 0x04   If CARET_STRICT is set, the policy is enforced… strictly. The caret is centred on the display if slop is not set, and cannot go in the UZ if slop is set.
CARET_JUMPS = 0x10   If CARET_JUMPS is set, the display is moved more energetically so the caret can move in the same direction longer before the policy is applied again.
CARET_EVEN = 0x08   If CARET_EVEN is not set, instead of having symmetrical UZs, the left and bottom UZs are extended up to right and top UZs respectively. This way, we favour the displaying of useful information: the begining of lines, where most code reside, and the lines after the caret, eg. the body of a function.
SC_SEL_STREAM = 0
SC_SEL_RECTANGLE = 1
SC_SEL_LINES = 2
KEYWORDSET_MAX = 8   Maximum value of keywordSet parameter of SetKeyWords.
SC_MOD_INSERTTEXT = 0x1   Notifications Type of modification and the action which caused the modification. These are defined as a bit mask to make it easy to specify which notifications are wanted. One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
SC_MOD_DELETETEXT = 0x2
SC_MOD_CHANGESTYLE = 0x4
SC_MOD_CHANGEFOLD = 0x8
SC_PERFORMED_USER = 0x10
SC_PERFORMED_UNDO = 0x20
SC_PERFORMED_REDO = 0x40
SC_MULTISTEPUNDOREDO = 0x80
SC_LASTSTEPINUNDOREDO = 0x100
SC_MOD_CHANGEMARKER = 0x200
SC_MOD_BEFOREINSERT = 0x400
SC_MOD_BEFOREDELETE = 0x800
SC_MULTILINEUNDOREDO = 0x1000
SC_MODEVENTMASKALL = 0x1FFF
SCEN_CHANGE = 768   For compatibility, these go through the COMMAND notification rather than NOTIFY and should have had exactly the same values as the EN_* constants. Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_* As clients depend on these constants, this will not be changed.
SCEN_SETFOCUS = 512
SCEN_KILLFOCUS = 256
SCK_DOWN = 300   Symbolic key codes and modifier flags. ASCII and other printable characters below 256. Extended keys above 300.
SCK_UP = 301
SCK_LEFT = 302
SCK_RIGHT = 303
SCK_HOME = 304
SCK_END = 305
SCK_PRIOR = 306
SCK_NEXT = 307
SCK_DELETE = 308
SCK_INSERT = 309
SCK_ESCAPE = 7
SCK_BACK = 8
SCK_TAB = 9
SCK_RETURN = 13
SCK_ADD = 310
SCK_SUBTRACT = 311
SCK_DIVIDE = 312
SCMOD_NORM = 0
SCMOD_SHIFT = 1
SCMOD_CTRL = 2
SCMOD_ALT = 4
SCLEX_CONTAINER = 0   For SciLexer.h
SCLEX_NULL = 1
SCLEX_PYTHON = 2
SCLEX_CPP = 3
SCLEX_HTML = 4
SCLEX_XML = 5
SCLEX_PERL = 6
SCLEX_SQL = 7
SCLEX_VB = 8
SCLEX_PROPERTIES = 9
SCLEX_ERRORLIST = 10
SCLEX_MAKEFILE = 11
SCLEX_BATCH = 12
SCLEX_XCODE = 13
SCLEX_LATEX = 14
SCLEX_LUA = 15
SCLEX_DIFF = 16
SCLEX_CONF = 17
SCLEX_PASCAL = 18
SCLEX_AVE = 19
SCLEX_ADA = 20
SCLEX_LISP = 21
SCLEX_RUBY = 22
SCLEX_EIFFEL = 23
SCLEX_EIFFELKW = 24
SCLEX_TCL = 25
SCLEX_NNCRONTAB = 26
SCLEX_BULLANT = 27
SCLEX_VBSCRIPT = 28
SCLEX_BAAN = 31
SCLEX_MATLAB = 32
SCLEX_SCRIPTOL = 33
SCLEX_ASM = 34
SCLEX_CPPNOCASE = 35
SCLEX_FORTRAN = 36
SCLEX_F77 = 37
SCLEX_CSS = 38
SCLEX_POV = 39
SCLEX_LOUT = 40
SCLEX_ESCRIPT = 41
SCLEX_PS = 42
SCLEX_NSIS = 43
SCLEX_MMIXAL = 44
SCLEX_CLW = 45
SCLEX_CLWNOCASE = 46
SCLEX_LOT = 47
SCLEX_YAML = 48
SCLEX_TEX = 49
SCLEX_METAPOST = 50
SCLEX_POWERBASIC = 51
SCLEX_FORTH = 52
SCLEX_ERLANG = 53
SCLEX_OCTAVE = 54
SCLEX_MSSQL = 55
SCLEX_VERILOG = 56
SCLEX_KIX = 57
SCLEX_GUI4CLI = 58
SCLEX_SPECMAN = 59
SCLEX_AU3 = 60
SCLEX_APDL = 61
SCLEX_BASH = 62
SCLEX_ASN1 = 63
SCLEX_VHDL = 64
SCLEX_CAML = 65
SCLEX_BLITZBASIC = 66
SCLEX_PUREBASIC = 67
SCLEX_HASKELL = 68
SCLEX_PHPSCRIPT = 69
SCLEX_TADS3 = 70
SCLEX_REBOL = 71
SCLEX_SMALLTALK = 72
SCLEX_FLAGSHIP = 73
SCLEX_CSOUND = 74
SCLEX_FREEBASIC = 75
SCLEX_AUTOMATIC = 1000   When a lexer specifies its language as SCLEX_AUTOMATIC it receives a value assigned in sequence from SCLEX_AUTOMATIC+1.
SCE_P_DEFAULT = 0   Lexical states for SCLEX_PYTHON
SCE_P_COMMENTLINE = 1
SCE_P_NUMBER = 2
SCE_P_STRING = 3
SCE_P_CHARACTER = 4
SCE_P_WORD = 5
SCE_P_TRIPLE = 6
SCE_P_TRIPLEDOUBLE = 7
SCE_P_CLASSNAME = 8
SCE_P_DEFNAME = 9
SCE_P_OPERATOR = 10
SCE_P_IDENTIFIER = 11
SCE_P_COMMENTBLOCK = 12
SCE_P_STRINGEOL = 13
SCE_P_WORD2 = 14
SCE_P_DECORATOR = 15
SCE_C_DEFAULT = 0   Lexical states for SCLEX_CPP
SCE_C_COMMENT = 1
SCE_C_COMMENTLINE = 2
SCE_C_COMMENTDOC = 3
SCE_C_NUMBER = 4
SCE_C_WORD = 5
SCE_C_STRING = 6
SCE_C_CHARACTER = 7
SCE_C_UUID = 8
SCE_C_PREPROCESSOR = 9
SCE_C_OPERATOR = 10
SCE_C_IDENTIFIER = 11
SCE_C_STRINGEOL = 12
SCE_C_VERBATIM = 13
SCE_C_REGEX = 14
SCE_C_COMMENTLINEDOC = 15
SCE_C_WORD2 = 16
SCE_C_COMMENTDOCKEYWORD = 17
SCE_C_COMMENTDOCKEYWORDERROR = 18
SCE_C_GLOBALCLASS = 19
SCE_H_DEFAULT = 0   Lexical states for SCLEX_HTML, SCLEX_XML
SCE_H_TAG = 1
SCE_H_TAGUNKNOWN = 2
SCE_H_ATTRIBUTE = 3
SCE_H_ATTRIBUTEUNKNOWN = 4
SCE_H_NUMBER = 5
SCE_H_DOUBLESTRING = 6
SCE_H_SINGLESTRING = 7
SCE_H_OTHER = 8
SCE_H_COMMENT = 9
SCE_H_ENTITY = 10
SCE_H_TAGEND = 11   XML and ASP
SCE_H_XMLSTART = 12
SCE_H_XMLEND = 13
SCE_H_SCRIPT = 14
SCE_H_ASP = 15
SCE_H_ASPAT = 16
SCE_H_CDATA = 17
SCE_H_QUESTION = 18
SCE_H_VALUE = 19   More HTML
SCE_H_XCCOMMENT = 20   X-Code
SCE_H_SGML_DEFAULT = 21   SGML
SCE_H_SGML_COMMAND = 22
SCE_H_SGML_1ST_PARAM = 23
SCE_H_SGML_DOUBLESTRING = 24
SCE_H_SGML_SIMPLESTRING = 25
SCE_H_SGML_ERROR = 26
SCE_H_SGML_SPECIAL = 27
SCE_H_SGML_ENTITY = 28
SCE_H_SGML_COMMENT = 29
SCE_H_SGML_1ST_PARAM_COMMENT = 30
SCE_H_SGML_BLOCK_DEFAULT = 31
SCE_HJ_START = 40   Embedded Javascript
SCE_HJ_DEFAULT = 41
SCE_HJ_COMMENT = 42
SCE_HJ_COMMENTLINE = 43
SCE_HJ_COMMENTDOC = 44
SCE_HJ_NUMBER = 45
SCE_HJ_WORD = 46
SCE_HJ_KEYWORD = 47
SCE_HJ_DOUBLESTRING = 48
SCE_HJ_SINGLESTRING = 49
SCE_HJ_SYMBOLS = 50
SCE_HJ_STRINGEOL = 51
SCE_HJ_REGEX = 52
SCE_HJA_START = 55   ASP Javascript
SCE_HJA_DEFAULT = 56
SCE_HJA_COMMENT = 57
SCE_HJA_COMMENTLINE = 58
SCE_HJA_COMMENTDOC = 59
SCE_HJA_NUMBER = 60
SCE_HJA_WORD = 61
SCE_HJA_KEYWORD = 62
SCE_HJA_DOUBLESTRING = 63
SCE_HJA_SINGLESTRING = 64
SCE_HJA_SYMBOLS = 65
SCE_HJA_STRINGEOL = 66
SCE_HJA_REGEX = 67
SCE_HB_START = 70   Embedded VBScript
SCE_HB_DEFAULT = 71
SCE_HB_COMMENTLINE = 72
SCE_HB_NUMBER = 73
SCE_HB_WORD = 74
SCE_HB_STRING = 75
SCE_HB_IDENTIFIER = 76
SCE_HB_STRINGEOL = 77
SCE_HBA_START = 80   ASP VBScript
SCE_HBA_DEFAULT = 81
SCE_HBA_COMMENTLINE = 82
SCE_HBA_NUMBER = 83
SCE_HBA_WORD = 84
SCE_HBA_STRING = 85
SCE_HBA_IDENTIFIER = 86
SCE_HBA_STRINGEOL = 87
SCE_HP_START = 90   Embedded Python
SCE_HP_DEFAULT = 91
SCE_HP_COMMENTLINE = 92
SCE_HP_NUMBER = 93
SCE_HP_STRING = 94
SCE_HP_CHARACTER = 95
SCE_HP_WORD = 96
SCE_HP_TRIPLE = 97
SCE_HP_TRIPLEDOUBLE = 98
SCE_HP_CLASSNAME = 99
SCE_HP_DEFNAME = 100
SCE_HP_OPERATOR = 101
SCE_HP_IDENTIFIER = 102
SCE_HPHP_COMPLEX_VARIABLE = 104   PHP
SCE_HPA_START = 105   ASP Python
SCE_HPA_DEFAULT = 106
SCE_HPA_COMMENTLINE = 107
SCE_HPA_NUMBER = 108
SCE_HPA_STRING = 109
SCE_HPA_CHARACTER = 110
SCE_HPA_WORD = 111
SCE_HPA_TRIPLE = 112
SCE_HPA_TRIPLEDOUBLE = 113
SCE_HPA_CLASSNAME = 114
SCE_HPA_DEFNAME = 115
SCE_HPA_OPERATOR = 116
SCE_HPA_IDENTIFIER = 117
SCE_HPHP_DEFAULT = 118   PHP
SCE_HPHP_HSTRING = 119
SCE_HPHP_SIMPLESTRING = 120
SCE_HPHP_WORD = 121
SCE_HPHP_NUMBER = 122
SCE_HPHP_VARIABLE = 123
SCE_HPHP_COMMENT = 124
SCE_HPHP_COMMENTLINE = 125
SCE_HPHP_HSTRING_VARIABLE = 126
SCE_HPHP_OPERATOR = 127
SCE_PL_DEFAULT = 0   Lexical states for SCLEX_PERL
SCE_PL_ERROR = 1
SCE_PL_COMMENTLINE = 2
SCE_PL_POD = 3
SCE_PL_NUMBER = 4
SCE_PL_WORD = 5
SCE_PL_STRING = 6
SCE_PL_CHARACTER = 7
SCE_PL_PUNCTUATION = 8
SCE_PL_PREPROCESSOR = 9
SCE_PL_OPERATOR = 10
SCE_PL_IDENTIFIER = 11
SCE_PL_SCALAR = 12
SCE_PL_ARRAY = 13
SCE_PL_HASH = 14
SCE_PL_SYMBOLTABLE = 15
SCE_PL_VARIABLE_INDEXER = 16
SCE_PL_REGEX = 17
SCE_PL_REGSUBST = 18
SCE_PL_LONGQUOTE = 19
SCE_PL_BACKTICKS = 20
SCE_PL_DATASECTION = 21
SCE_PL_HERE_DELIM = 22
SCE_PL_HERE_Q = 23
SCE_PL_HERE_QQ = 24
SCE_PL_HERE_QX = 25
SCE_PL_STRING_Q = 26
SCE_PL_STRING_QQ = 27
SCE_PL_STRING_QX = 28
SCE_PL_STRING_QR = 29
SCE_PL_STRING_QW = 30
SCE_PL_POD_VERB = 31
SCE_RB_DEFAULT = 0   Lexical states for SCLEX_RUBY
SCE_RB_ERROR = 1
SCE_RB_COMMENTLINE = 2
SCE_RB_POD = 3
SCE_RB_NUMBER = 4
SCE_RB_WORD = 5
SCE_RB_STRING = 6
SCE_RB_CHARACTER = 7
SCE_RB_CLASSNAME = 8
SCE_RB_DEFNAME = 9
SCE_RB_OPERATOR = 10
SCE_RB_IDENTIFIER = 11
SCE_RB_REGEX = 12
SCE_RB_GLOBAL = 13
SCE_RB_SYMBOL = 14
SCE_RB_MODULE_NAME = 15
SCE_RB_INSTANCE_VAR = 16
SCE_RB_CLASS_VAR = 17
SCE_RB_BACKTICKS = 18
SCE_RB_DATASECTION = 19
SCE_RB_HERE_DELIM = 20
SCE_RB_HERE_Q = 21
SCE_RB_HERE_QQ = 22
SCE_RB_HERE_QX = 23
SCE_RB_STRING_Q = 24
SCE_RB_STRING_QQ = 25
SCE_RB_STRING_QX = 26
SCE_RB_STRING_QR = 27
SCE_RB_STRING_QW = 28
SCE_RB_WORD_DEMOTED = 29
SCE_RB_STDIN = 30
SCE_RB_STDOUT = 31
SCE_RB_STDERR = 40
SCE_RB_UPPER_BOUND = 41
SCE_B_DEFAULT = 0   Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC
SCE_B_COMMENT = 1
SCE_B_NUMBER = 2
SCE_B_KEYWORD = 3
SCE_B_STRING = 4
SCE_B_PREPROCESSOR = 5
SCE_B_OPERATOR = 6
SCE_B_IDENTIFIER = 7
SCE_B_DATE = 8
SCE_B_STRINGEOL = 9
SCE_B_KEYWORD2 = 10
SCE_B_KEYWORD3 = 11
SCE_B_KEYWORD4 = 12
SCE_B_CONSTANT = 13
SCE_B_ASM = 14
SCE_B_LABEL = 15
SCE_B_ERROR = 16
SCE_B_HEXNUMBER = 17
SCE_B_BINNUMBER = 18
SCE_PROPS_DEFAULT = 0   Lexical states for SCLEX_PROPERTIES
SCE_PROPS_COMMENT = 1
SCE_PROPS_SECTION = 2
SCE_PROPS_ASSIGNMENT = 3
SCE_PROPS_DEFVAL = 4
SCE_L_DEFAULT = 0   Lexical states for SCLEX_LATEX
SCE_L_COMMAND = 1
SCE_L_TAG = 2
SCE_L_MATH = 3
SCE_L_COMMENT = 4
SCE_LUA_DEFAULT = 0   Lexical states for SCLEX_LUA
SCE_LUA_COMMENT = 1
SCE_LUA_COMMENTLINE = 2
SCE_LUA_COMMENTDOC = 3
SCE_LUA_NUMBER = 4
SCE_LUA_WORD = 5
SCE_LUA_STRING = 6
SCE_LUA_CHARACTER = 7
SCE_LUA_LITERALSTRING = 8
SCE_LUA_PREPROCESSOR = 9
SCE_LUA_OPERATOR = 10
SCE_LUA_IDENTIFIER = 11
SCE_LUA_STRINGEOL = 12
SCE_LUA_WORD2 = 13
SCE_LUA_WORD3 = 14
SCE_LUA_WORD4 = 15
SCE_LUA_WORD5 = 16
SCE_LUA_WORD6 = 17
SCE_LUA_WORD7 = 18
SCE_LUA_WORD8 = 19
SCE_ERR_DEFAULT = 0   Lexical states for SCLEX_ERRORLIST
SCE_ERR_PYTHON = 1
SCE_ERR_GCC = 2
SCE_ERR_MS = 3
SCE_ERR_CMD = 4
SCE_ERR_BORLAND = 5
SCE_ERR_PERL = 6
SCE_ERR_NET = 7
SCE_ERR_LUA = 8
SCE_ERR_CTAG = 9
SCE_ERR_DIFF_CHANGED = 10
SCE_ERR_DIFF_ADDITION = 11
SCE_ERR_DIFF_DELETION = 12
SCE_ERR_DIFF_MESSAGE = 13
SCE_ERR_PHP = 14
SCE_ERR_ELF = 15
SCE_ERR_IFC = 16
SCE_ERR_IFORT = 17
SCE_ERR_ABSF = 18
SCE_ERR_TIDY = 19
SCE_ERR_JAVA_STACK = 20
SCE_BAT_DEFAULT = 0   Lexical states for SCLEX_BATCH
SCE_BAT_COMMENT = 1
SCE_BAT_WORD = 2
SCE_BAT_LABEL = 3
SCE_BAT_HIDE = 4
SCE_BAT_COMMAND = 5
SCE_BAT_IDENTIFIER = 6
SCE_BAT_OPERATOR = 7
SCE_MAKE_DEFAULT = 0   Lexical states for SCLEX_MAKEFILE
SCE_MAKE_COMMENT = 1
SCE_MAKE_PREPROCESSOR = 2
SCE_MAKE_IDENTIFIER = 3
SCE_MAKE_OPERATOR = 4
SCE_MAKE_TARGET = 5
SCE_MAKE_IDEOL = 9
SCE_DIFF_DEFAULT = 0   Lexical states for SCLEX_DIFF
SCE_DIFF_COMMENT = 1
SCE_DIFF_COMMAND = 2
SCE_DIFF_HEADER = 3
SCE_DIFF_POSITION = 4
SCE_DIFF_DELETED = 5
SCE_DIFF_ADDED = 6
SCE_CONF_DEFAULT = 0   Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
SCE_CONF_COMMENT = 1
SCE_CONF_NUMBER = 2
SCE_CONF_IDENTIFIER = 3
SCE_CONF_EXTENSION = 4
SCE_CONF_PARAMETER = 5
SCE_CONF_STRING = 6
SCE_CONF_OPERATOR = 7
SCE_CONF_IP = 8
SCE_CONF_DIRECTIVE = 9
SCE_AVE_DEFAULT = 0   Lexical states for SCLEX_AVE, Avenue
SCE_AVE_COMMENT = 1
SCE_AVE_NUMBER = 2
SCE_AVE_WORD = 3
SCE_AVE_STRING = 6
SCE_AVE_ENUM = 7
SCE_AVE_STRINGEOL = 8
SCE_AVE_IDENTIFIER = 9
SCE_AVE_OPERATOR = 10
SCE_AVE_WORD1 = 11
SCE_AVE_WORD2 = 12
SCE_AVE_WORD3 = 13
SCE_AVE_WORD4 = 14
SCE_AVE_WORD5 = 15
SCE_AVE_WORD6 = 16
SCE_ADA_DEFAULT = 0   Lexical states for SCLEX_ADA
SCE_ADA_WORD = 1
SCE_ADA_IDENTIFIER = 2
SCE_ADA_NUMBER = 3
SCE_ADA_DELIMITER = 4
SCE_ADA_CHARACTER = 5
SCE_ADA_CHARACTEREOL = 6
SCE_ADA_STRING = 7
SCE_ADA_STRINGEOL = 8
SCE_ADA_LABEL = 9
SCE_ADA_COMMENTLINE = 10
SCE_ADA_ILLEGAL = 11
SCE_BAAN_DEFAULT = 0   Lexical states for SCLEX_BAAN
SCE_BAAN_COMMENT = 1
SCE_BAAN_COMMENTDOC = 2
SCE_BAAN_NUMBER = 3
SCE_BAAN_WORD = 4
SCE_BAAN_STRING = 5
SCE_BAAN_PREPROCESSOR = 6
SCE_BAAN_OPERATOR = 7
SCE_BAAN_IDENTIFIER = 8
SCE_BAAN_STRINGEOL = 9
SCE_BAAN_WORD2 = 10
SCE_LISP_DEFAULT = 0   Lexical states for SCLEX_LISP
SCE_LISP_COMMENT = 1
SCE_LISP_NUMBER = 2
SCE_LISP_KEYWORD = 3
SCE_LISP_KEYWORD_KW = 4
SCE_LISP_SYMBOL = 5
SCE_LISP_STRING = 6
SCE_LISP_STRINGEOL = 8
SCE_LISP_IDENTIFIER = 9
SCE_LISP_OPERATOR = 10
SCE_LISP_SPECIAL = 11
SCE_LISP_MULTI_COMMENT = 12
SCE_EIFFEL_DEFAULT = 0   Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW
SCE_EIFFEL_COMMENTLINE = 1
SCE_EIFFEL_NUMBER = 2
SCE_EIFFEL_WORD = 3
SCE_EIFFEL_STRING = 4
SCE_EIFFEL_CHARACTER = 5
SCE_EIFFEL_OPERATOR = 6
SCE_EIFFEL_IDENTIFIER = 7
SCE_EIFFEL_STRINGEOL = 8
SCE_NNCRONTAB_DEFAULT = 0   Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
SCE_NNCRONTAB_COMMENT = 1
SCE_NNCRONTAB_TASK = 2
SCE_NNCRONTAB_SECTION = 3
SCE_NNCRONTAB_KEYWORD = 4
SCE_NNCRONTAB_MODIFIER = 5
SCE_NNCRONTAB_ASTERISK = 6
SCE_NNCRONTAB_NUMBER = 7
SCE_NNCRONTAB_STRING = 8
SCE_NNCRONTAB_ENVIRONMENT = 9
SCE_NNCRONTAB_IDENTIFIER = 10
SCE_FORTH_DEFAULT = 0   Lexical states for SCLEX_FORTH (Forth Lexer)
SCE_FORTH_COMMENT = 1
SCE_FORTH_COMMENT_ML = 2
SCE_FORTH_IDENTIFIER = 3
SCE_FORTH_CONTROL = 4
SCE_FORTH_KEYWORD = 5
SCE_FORTH_DEFWORD = 6
SCE_FORTH_PREWORD1 = 7
SCE_FORTH_PREWORD2 = 8
SCE_FORTH_NUMBER = 9
SCE_FORTH_STRING = 10
SCE_FORTH_LOCALE = 11
SCE_MATLAB_DEFAULT = 0   Lexical states for SCLEX_MATLAB
SCE_MATLAB_COMMENT = 1
SCE_MATLAB_COMMAND = 2
SCE_MATLAB_NUMBER = 3
SCE_MATLAB_KEYWORD = 4
SCE_MATLAB_STRING = 5   single quoted string
SCE_MATLAB_OPERATOR = 6
SCE_MATLAB_IDENTIFIER = 7
SCE_MATLAB_DOUBLEQUOTESTRING = 8
SCE_SCRIPTOL_DEFAULT = 0   Lexical states for SCLEX_SCRIPTOL
SCE_SCRIPTOL_WHITE = 1
SCE_SCRIPTOL_COMMENTLINE = 2
SCE_SCRIPTOL_PERSISTENT = 3
SCE_SCRIPTOL_CSTYLE = 4
SCE_SCRIPTOL_COMMENTBLOCK = 5
SCE_SCRIPTOL_NUMBER = 6
SCE_SCRIPTOL_STRING = 7
SCE_SCRIPTOL_CHARACTER = 8
SCE_SCRIPTOL_STRINGEOL = 9
SCE_SCRIPTOL_KEYWORD = 10
SCE_SCRIPTOL_OPERATOR = 11
SCE_SCRIPTOL_IDENTIFIER = 12
SCE_SCRIPTOL_TRIPLE = 13
SCE_SCRIPTOL_CLASSNAME = 14
SCE_SCRIPTOL_PREPROCESSOR = 15
SCE_ASM_DEFAULT = 0   Lexical states for SCLEX_ASM
SCE_ASM_COMMENT = 1
SCE_ASM_NUMBER = 2
SCE_ASM_STRING = 3
SCE_ASM_OPERATOR = 4
SCE_ASM_IDENTIFIER = 5
SCE_ASM_CPUINSTRUCTION = 6
SCE_ASM_MATHINSTRUCTION = 7
SCE_ASM_REGISTER = 8
SCE_ASM_DIRECTIVE = 9
SCE_ASM_DIRECTIVEOPERAND = 10
SCE_ASM_COMMENTBLOCK = 11
SCE_ASM_CHARACTER = 12
SCE_ASM_STRINGEOL = 13
SCE_ASM_EXTINSTRUCTION = 14
SCE_F_DEFAULT = 0   Lexical states for SCLEX_FORTRAN
SCE_F_COMMENT = 1
SCE_F_NUMBER = 2
SCE_F_STRING1 = 3
SCE_F_STRING2 = 4
SCE_F_STRINGEOL = 5
SCE_F_OPERATOR = 6
SCE_F_IDENTIFIER = 7
SCE_F_WORD = 8
SCE_F_WORD2 = 9
SCE_F_WORD3 = 10
SCE_F_PREPROCESSOR = 11
SCE_F_OPERATOR2 = 12
SCE_F_LABEL = 13
SCE_F_CONTINUATION = 14
SCE_CSS_DEFAULT = 0   Lexical states for SCLEX_CSS
SCE_CSS_TAG = 1
SCE_CSS_CLASS = 2
SCE_CSS_PSEUDOCLASS = 3
SCE_CSS_UNKNOWN_PSEUDOCLASS = 4
SCE_CSS_OPERATOR = 5
SCE_CSS_IDENTIFIER = 6
SCE_CSS_UNKNOWN_IDENTIFIER = 7
SCE_CSS_VALUE = 8
SCE_CSS_COMMENT = 9
SCE_CSS_ID = 10
SCE_CSS_IMPORTANT = 11
SCE_CSS_DIRECTIVE = 12
SCE_CSS_DOUBLESTRING = 13
SCE_CSS_SINGLESTRING = 14
SCE_CSS_IDENTIFIER2 = 15
SCE_CSS_ATTRIBUTE = 16
SCE_POV_DEFAULT = 0   Lexical states for SCLEX_POV
SCE_POV_COMMENT = 1
SCE_POV_COMMENTLINE = 2
SCE_POV_NUMBER = 3
SCE_POV_OPERATOR = 4
SCE_POV_IDENTIFIER = 5
SCE_POV_STRING = 6
SCE_POV_STRINGEOL = 7
SCE_POV_DIRECTIVE = 8
SCE_POV_BADDIRECTIVE = 9
SCE_POV_WORD2 = 10
SCE_POV_WORD3 = 11
SCE_POV_WORD4 = 12
SCE_POV_WORD5 = 13
SCE_POV_WORD6 = 14
SCE_POV_WORD7 = 15
SCE_POV_WORD8 = 16
SCE_LOUT_DEFAULT = 0   Lexical states for SCLEX_LOUT
SCE_LOUT_COMMENT = 1
SCE_LOUT_NUMBER = 2
SCE_LOUT_WORD = 3
SCE_LOUT_WORD2 = 4
SCE_LOUT_WORD3 = 5
SCE_LOUT_WORD4 = 6
SCE_LOUT_STRING = 7
SCE_LOUT_OPERATOR = 8
SCE_LOUT_IDENTIFIER = 9
SCE_LOUT_STRINGEOL = 10
SCE_ESCRIPT_DEFAULT = 0   Lexical states for SCLEX_ESCRIPT
SCE_ESCRIPT_COMMENT = 1
SCE_ESCRIPT_COMMENTLINE = 2
SCE_ESCRIPT_COMMENTDOC = 3
SCE_ESCRIPT_NUMBER = 4
SCE_ESCRIPT_WORD = 5
SCE_ESCRIPT_STRING = 6
SCE_ESCRIPT_OPERATOR = 7
SCE_ESCRIPT_IDENTIFIER = 8
SCE_ESCRIPT_BRACE = 9
SCE_ESCRIPT_WORD2 = 10
SCE_ESCRIPT_WORD3 = 11
SCE_PS_DEFAULT = 0   Lexical states for SCLEX_PS
SCE_PS_COMMENT = 1
SCE_PS_DSC_COMMENT = 2
SCE_PS_DSC_VALUE = 3
SCE_PS_NUMBER = 4
SCE_PS_NAME = 5
SCE_PS_KEYWORD = 6
SCE_PS_LITERAL = 7
SCE_PS_IMMEVAL = 8
SCE_PS_PAREN_ARRAY = 9
SCE_PS_PAREN_DICT = 10
SCE_PS_PAREN_PROC = 11
SCE_PS_TEXT = 12
SCE_PS_HEXSTRING = 13
SCE_PS_BASE85STRING = 14
SCE_PS_BADSTRINGCHAR = 15
SCE_NSIS_DEFAULT = 0   Lexical states for SCLEX_NSIS
SCE_NSIS_COMMENT = 1
SCE_NSIS_STRINGDQ = 2
SCE_NSIS_STRINGLQ = 3
SCE_NSIS_STRINGRQ = 4
SCE_NSIS_FUNCTION = 5
SCE_NSIS_VARIABLE = 6
SCE_NSIS_LABEL = 7
SCE_NSIS_USERDEFINED = 8
SCE_NSIS_SECTIONDEF = 9
SCE_NSIS_SUBSECTIONDEF = 10
SCE_NSIS_IFDEFINEDEF = 11
SCE_NSIS_MACRODEF = 12
SCE_NSIS_STRINGVAR = 13
SCE_NSIS_NUMBER = 14
SCE_NSIS_SECTIONGROUP = 15
SCE_NSIS_PAGEEX = 16
SCE_NSIS_FUNCTIONDEF = 17
SCE_NSIS_COMMENTBOX = 18
SCE_MMIXAL_LEADWS = 0   Lexical states for SCLEX_MMIXAL
SCE_MMIXAL_COMMENT = 1
SCE_MMIXAL_LABEL = 2
SCE_MMIXAL_OPCODE = 3
SCE_MMIXAL_OPCODE_PRE = 4
SCE_MMIXAL_OPCODE_VALID = 5
SCE_MMIXAL_OPCODE_UNKNOWN = 6
SCE_MMIXAL_OPCODE_POST = 7
SCE_MMIXAL_OPERANDS = 8
SCE_MMIXAL_NUMBER = 9
SCE_MMIXAL_REF = 10
SCE_MMIXAL_CHAR = 11
SCE_MMIXAL_STRING = 12
SCE_MMIXAL_REGISTER = 13
SCE_MMIXAL_HEX = 14
SCE_MMIXAL_OPERATOR = 15
SCE_MMIXAL_SYMBOL = 16
SCE_MMIXAL_INCLUDE = 17
SCE_CLW_DEFAULT = 0   Lexical states for SCLEX_CLW
SCE_CLW_LABEL = 1
SCE_CLW_COMMENT = 2
SCE_CLW_STRING = 3
SCE_CLW_USER_IDENTIFIER = 4
SCE_CLW_INTEGER_CONSTANT = 5
SCE_CLW_REAL_CONSTANT = 6
SCE_CLW_PICTURE_STRING = 7
SCE_CLW_KEYWORD = 8
SCE_CLW_COMPILER_DIRECTIVE = 9
SCE_CLW_RUNTIME_EXPRESSIONS = 10
SCE_CLW_BUILTIN_PROCEDURES_FUNCTION = 11
SCE_CLW_STRUCTURE_DATA_TYPE = 12
SCE_CLW_ATTRIBUTE = 13
SCE_CLW_STANDARD_EQUATE = 14
SCE_CLW_ERROR = 15
SCE_CLW_DEPRECATED = 16
SCE_LOT_DEFAULT = 0   Lexical states for SCLEX_LOT
SCE_LOT_HEADER = 1
SCE_LOT_BREAK = 2
SCE_LOT_SET = 3
SCE_LOT_PASS = 4
SCE_LOT_FAIL = 5
SCE_LOT_ABORT = 6
SCE_YAML_DEFAULT = 0   Lexical states for SCLEX_YAML
SCE_YAML_COMMENT = 1
SCE_YAML_IDENTIFIER = 2
SCE_YAML_KEYWORD = 3
SCE_YAML_NUMBER = 4
SCE_YAML_REFERENCE = 5
SCE_YAML_DOCUMENT = 6
SCE_YAML_TEXT = 7
SCE_YAML_ERROR = 8
SCE_TEX_DEFAULT = 0   Lexical states for SCLEX_TEX
SCE_TEX_SPECIAL = 1
SCE_TEX_GROUP = 2
SCE_TEX_SYMBOL = 3
SCE_TEX_COMMAND = 4
SCE_TEX_TEXT = 5
SCE_METAPOST_DEFAULT = 0
SCE_METAPOST_SPECIAL = 1
SCE_METAPOST_GROUP = 2
SCE_METAPOST_SYMBOL = 3
SCE_METAPOST_COMMAND = 4
SCE_METAPOST_TEXT = 5
SCE_METAPOST_EXTRA = 6
SCE_ERLANG_DEFAULT = 0   Lexical states for SCLEX_ERLANG
SCE_ERLANG_COMMENT = 1
SCE_ERLANG_VARIABLE = 2
SCE_ERLANG_NUMBER = 3
SCE_ERLANG_KEYWORD = 4
SCE_ERLANG_STRING = 5
SCE_ERLANG_OPERATOR = 6
SCE_ERLANG_ATOM = 7
SCE_ERLANG_FUNCTION_NAME = 8
SCE_ERLANG_CHARACTER = 9
SCE_ERLANG_MACRO = 10
SCE_ERLANG_RECORD = 11
SCE_ERLANG_SEPARATOR = 12
SCE_ERLANG_NODE_NAME = 13
SCE_ERLANG_UNKNOWN = 31
SCE_MSSQL_DEFAULT = 0   Lexical states for SCLEX_OCTAVE are identical to MatLab Lexical states for SCLEX_MSSQL
SCE_MSSQL_COMMENT = 1
SCE_MSSQL_LINE_COMMENT = 2
SCE_MSSQL_NUMBER = 3
SCE_MSSQL_STRING = 4
SCE_MSSQL_OPERATOR = 5
SCE_MSSQL_IDENTIFIER = 6
SCE_MSSQL_VARIABLE = 7
SCE_MSSQL_COLUMN_NAME = 8
SCE_MSSQL_STATEMENT = 9
SCE_MSSQL_DATATYPE = 10
SCE_MSSQL_SYSTABLE = 11
SCE_MSSQL_GLOBAL_VARIABLE = 12
SCE_MSSQL_FUNCTION = 13
SCE_MSSQL_STORED_PROCEDURE = 14
SCE_MSSQL_DEFAULT_PREF_DATATYPE = 15
SCE_MSSQL_COLUMN_NAME_2 = 16
SCE_V_DEFAULT = 0   Lexical states for SCLEX_VERILOG
SCE_V_COMMENT = 1
SCE_V_COMMENTLINE = 2
SCE_V_COMMENTLINEBANG = 3
SCE_V_NUMBER = 4
SCE_V_WORD = 5
SCE_V_STRING = 6
SCE_V_WORD2 = 7
SCE_V_WORD3 = 8
SCE_V_PREPROCESSOR = 9
SCE_V_OPERATOR = 10
SCE_V_IDENTIFIER = 11
SCE_V_STRINGEOL = 12
SCE_V_USER = 19
SCE_KIX_DEFAULT = 0   Lexical states for SCLEX_KIX
SCE_KIX_COMMENT = 1
SCE_KIX_STRING1 = 2
SCE_KIX_STRING2 = 3
SCE_KIX_NUMBER = 4
SCE_KIX_VAR = 5
SCE_KIX_MACRO = 6
SCE_KIX_KEYWORD = 7
SCE_KIX_FUNCTIONS = 8
SCE_KIX_OPERATOR = 9
SCE_KIX_IDENTIFIER = 31
SCE_GC_DEFAULT = 0   Lexical states for SCLEX_GUI4CLI
SCE_GC_COMMENTLINE = 1
SCE_GC_COMMENTBLOCK = 2
SCE_GC_GLOBAL = 3
SCE_GC_EVENT = 4
SCE_GC_ATTRIBUTE = 5
SCE_GC_CONTROL = 6
SCE_GC_COMMAND = 7
SCE_GC_STRING = 8
SCE_GC_OPERATOR = 9
SCE_SN_DEFAULT = 0   Lexical states for SCLEX_SPECMAN
SCE_SN_CODE = 1
SCE_SN_COMMENTLINE = 2
SCE_SN_COMMENTLINEBANG = 3
SCE_SN_NUMBER = 4
SCE_SN_WORD = 5
SCE_SN_STRING = 6
SCE_SN_WORD2 = 7
SCE_SN_WORD3 = 8
SCE_SN_PREPROCESSOR = 9
SCE_SN_OPERATOR = 10
SCE_SN_IDENTIFIER = 11
SCE_SN_STRINGEOL = 12
SCE_SN_REGEXTAG = 13
SCE_SN_SIGNAL = 14
SCE_SN_USER = 19
SCE_AU3_DEFAULT = 0   Lexical states for SCLEX_AU3
SCE_AU3_COMMENT = 1
SCE_AU3_COMMENTBLOCK = 2
SCE_AU3_NUMBER = 3
SCE_AU3_FUNCTION = 4
SCE_AU3_KEYWORD = 5
SCE_AU3_MACRO = 6
SCE_AU3_STRING = 7
SCE_AU3_OPERATOR = 8
SCE_AU3_VARIABLE = 9
SCE_AU3_SENT = 10
SCE_AU3_PREPROCESSOR = 11
SCE_AU3_SPECIAL = 12
SCE_AU3_EXPAND = 13
SCE_AU3_COMOBJ = 14
SCE_APDL_DEFAULT = 0   Lexical states for SCLEX_APDL
SCE_APDL_COMMENT = 1
SCE_APDL_COMMENTBLOCK = 2
SCE_APDL_NUMBER = 3
SCE_APDL_STRING = 4
SCE_APDL_OPERATOR = 5
SCE_APDL_WORD = 6
SCE_APDL_PROCESSOR = 7
SCE_APDL_COMMAND = 8
SCE_APDL_SLASHCOMMAND = 9
SCE_APDL_STARCOMMAND = 10
SCE_APDL_ARGUMENT = 11
SCE_APDL_FUNCTION = 12
SCE_SH_DEFAULT = 0   Lexical states for SCLEX_BASH
SCE_SH_ERROR = 1
SCE_SH_COMMENTLINE = 2
SCE_SH_NUMBER = 3
SCE_SH_WORD = 4
SCE_SH_STRING = 5
SCE_SH_CHARACTER = 6
SCE_SH_OPERATOR = 7
SCE_SH_IDENTIFIER = 8
SCE_SH_SCALAR = 9
SCE_SH_PARAM = 10
SCE_SH_BACKTICKS = 11
SCE_SH_HERE_DELIM = 12
SCE_SH_HERE_Q = 13
SCE_ASN1_DEFAULT = 0   Lexical states for SCLEX_ASN1
SCE_ASN1_COMMENT = 1
SCE_ASN1_IDENTIFIER = 2
SCE_ASN1_STRING = 3
SCE_ASN1_OID = 4
SCE_ASN1_SCALAR = 5
SCE_ASN1_KEYWORD = 6
SCE_ASN1_ATTRIBUTE = 7
SCE_ASN1_DESCRIPTOR = 8
SCE_ASN1_TYPE = 9
SCE_ASN1_OPERATOR = 10
SCE_VHDL_DEFAULT = 0   Lexical states for SCLEX_VHDL
SCE_VHDL_COMMENT = 1
SCE_VHDL_COMMENTLINEBANG = 2
SCE_VHDL_NUMBER = 3
SCE_VHDL_STRING = 4
SCE_VHDL_OPERATOR = 5
SCE_VHDL_IDENTIFIER = 6
SCE_VHDL_STRINGEOL = 7
SCE_VHDL_KEYWORD = 8
SCE_VHDL_STDOPERATOR = 9
SCE_VHDL_ATTRIBUTE = 10
SCE_VHDL_STDFUNCTION = 11
SCE_VHDL_STDPACKAGE = 12
SCE_VHDL_STDTYPE = 13
SCE_VHDL_USERWORD = 14
SCE_CAML_DEFAULT = 0   Lexical states for SCLEX_CAML
SCE_CAML_IDENTIFIER = 1
SCE_CAML_TAGNAME = 2
SCE_CAML_KEYWORD = 3
SCE_CAML_KEYWORD2 = 4
SCE_CAML_KEYWORD3 = 5
SCE_CAML_LINENUM = 6
SCE_CAML_OPERATOR = 7
SCE_CAML_NUMBER = 8
SCE_CAML_CHAR = 9
SCE_CAML_STRING = 11
SCE_CAML_COMMENT = 12
SCE_CAML_COMMENT1 = 13
SCE_CAML_COMMENT2 = 14
SCE_CAML_COMMENT3 = 15
SCE_HA_DEFAULT = 0   Lexical states for SCLEX_HASKELL
SCE_HA_IDENTIFIER = 1
SCE_HA_KEYWORD = 2
SCE_HA_NUMBER = 3
SCE_HA_STRING = 4
SCE_HA_CHARACTER = 5
SCE_HA_CLASS = 6
SCE_HA_MODULE = 7
SCE_HA_CAPITAL = 8
SCE_HA_DATA = 9
SCE_HA_IMPORT = 10
SCE_HA_OPERATOR = 11
SCE_HA_INSTANCE = 12
SCE_HA_COMMENTLINE = 13
SCE_HA_COMMENTBLOCK = 14
SCE_HA_COMMENTBLOCK2 = 15
SCE_HA_COMMENTBLOCK3 = 16
SCE_T3_DEFAULT = 0   Lexical states of SCLEX_TADS3
SCE_T3_X_DEFAULT = 1
SCE_T3_PREPROCESSOR = 2
SCE_T3_BLOCK_COMMENT = 3
SCE_T3_LINE_COMMENT = 4
SCE_T3_OPERATOR = 5
SCE_T3_KEYWORD = 6
SCE_T3_NUMBER = 7
SCE_T3_IDENTIFIER = 8
SCE_T3_S_STRING = 9
SCE_T3_D_STRING = 10
SCE_T3_X_STRING = 11
SCE_T3_LIB_DIRECTIVE = 12
SCE_T3_MSG_PARAM = 13
SCE_T3_HTML_TAG = 14
SCE_T3_HTML_DEFAULT = 15
SCE_T3_HTML_STRING = 16
SCE_T3_USER1 = 17
SCE_T3_USER2 = 18
SCE_T3_USER3 = 19
SCE_REBOL_DEFAULT = 0   Lexical states for SCLEX_REBOL
SCE_REBOL_COMMENTLINE = 1
SCE_REBOL_COMMENTBLOCK = 2
SCE_REBOL_PREFACE = 3
SCE_REBOL_OPERATOR = 4
SCE_REBOL_CHARACTER = 5
SCE_REBOL_QUOTEDSTRING = 6
SCE_REBOL_BRACEDSTRING = 7
SCE_REBOL_NUMBER = 8
SCE_REBOL_PAIR = 9
SCE_REBOL_TUPLE = 10
SCE_REBOL_BINARY = 11
SCE_REBOL_MONEY = 12
SCE_REBOL_ISSUE = 13
SCE_REBOL_TAG = 14
SCE_REBOL_FILE = 15
SCE_REBOL_EMAIL = 16
SCE_REBOL_URL = 17
SCE_REBOL_DATE = 18
SCE_REBOL_TIME = 19
SCE_REBOL_IDENTIFIER = 20
SCE_REBOL_WORD = 21
SCE_REBOL_WORD2 = 22
SCE_REBOL_WORD3 = 23
SCE_REBOL_WORD4 = 24
SCE_REBOL_WORD5 = 25
SCE_REBOL_WORD6 = 26
SCE_REBOL_WORD7 = 27
SCE_REBOL_WORD8 = 28
SCE_SQL_DEFAULT = 0   Lexical states for SCLEX_SQL
SCE_SQL_COMMENT = 1
SCE_SQL_COMMENTLINE = 2
SCE_SQL_COMMENTDOC = 3
SCE_SQL_NUMBER = 4
SCE_SQL_WORD = 5
SCE_SQL_STRING = 6
SCE_SQL_CHARACTER = 7
SCE_SQL_SQLPLUS = 8
SCE_SQL_SQLPLUS_PROMPT = 9
SCE_SQL_OPERATOR = 10
SCE_SQL_IDENTIFIER = 11
SCE_SQL_SQLPLUS_COMMENT = 13
SCE_SQL_COMMENTLINEDOC = 15
SCE_SQL_WORD2 = 16
SCE_SQL_COMMENTDOCKEYWORD = 17
SCE_SQL_COMMENTDOCKEYWORDERROR = 18
SCE_SQL_USER1 = 19
SCE_SQL_USER2 = 20
SCE_SQL_USER3 = 21
SCE_SQL_USER4 = 22
SCE_SQL_QUOTEDIDENTIFIER = 23
SCE_ST_DEFAULT = 0   Lexical states for SCLEX_SMALLTALK
SCE_ST_STRING = 1
SCE_ST_NUMBER = 2
SCE_ST_COMMENT = 3
SCE_ST_SYMBOL = 4
SCE_ST_BINARY = 5
SCE_ST_BOOL = 6
SCE_ST_SELF = 7
SCE_ST_SUPER = 8
SCE_ST_NIL = 9
SCE_ST_GLOBAL = 10
SCE_ST_RETURN = 11
SCE_ST_SPECIAL = 12
SCE_ST_KWSEND = 13
SCE_ST_ASSIGN = 14
SCE_ST_CHARACTER = 15
SCE_ST_SPEC_SEL = 16
SCE_FS_DEFAULT = 0   Lexical states for SCLEX_FLAGSHIP (clipper)
SCE_FS_COMMENT = 1
SCE_FS_COMMENTLINE = 2
SCE_FS_COMMENTDOC = 3
SCE_FS_COMMENTLINEDOC = 4
SCE_FS_COMMENTDOCKEYWORD = 5
SCE_FS_COMMENTDOCKEYWORDERROR = 6
SCE_FS_KEYWORD = 7
SCE_FS_KEYWORD2 = 8
SCE_FS_KEYWORD3 = 9
SCE_FS_KEYWORD4 = 10
SCE_FS_NUMBER = 11
SCE_FS_STRING = 12
SCE_FS_PREPROCESSOR = 13
SCE_FS_OPERATOR = 14
SCE_FS_IDENTIFIER = 15
SCE_FS_DATE = 16
SCE_FS_STRINGEOL = 17
SCE_FS_CONSTANT = 18
SCE_FS_ASM = 19
SCE_FS_LABEL = 20
SCE_FS_ERROR = 21
SCE_FS_HEXNUMBER = 22
SCE_FS_BINNUMBER = 23
SCE_CSOUND_DEFAULT = 0   Lexical states for SCLEX_CSOUND
SCE_CSOUND_COMMENT = 1
SCE_CSOUND_NUMBER = 2
SCE_CSOUND_OPERATOR = 3
SCE_CSOUND_INSTR = 4
SCE_CSOUND_IDENTIFIER = 5
SCE_CSOUND_OPCODE = 6
SCE_CSOUND_HEADERSTMT = 7
SCE_CSOUND_USERKEYWORD = 8
SCE_CSOUND_COMMENTBLOCK = 9
SCE_CSOUND_PARAM = 10
SCE_CSOUND_ARATE_VAR = 11
SCE_CSOUND_KRATE_VAR = 12
SCE_CSOUND_IRATE_VAR = 13
SCE_CSOUND_GLOBAL_VAR = 14
SCE_CSOUND_STRINGEOL = 15
SCN_STYLENEEDED = 2000   Events
SCN_CHARADDED = 2001
SCN_SAVEPOINTREACHED = 2002
SCN_SAVEPOINTLEFT = 2003
SCN_MODIFYATTEMPTRO = 2004
SCN_KEY = 2005   GTK+ Specific to work around focus and accelerator problems:
SCN_DOUBLECLICK = 2006
SCN_UPDATEUI = 2007
SCN_MODIFIED = 2008
SCN_MACRORECORD = 2009
SCN_MARGINCLICK = 2010
SCN_NEEDSHOWN = 2011
SCN_PAINTED = 2013
SCN_USERLISTSELECTION = 2014
SCN_URIDROPPED = 2015
SCN_DWELLSTART = 2016
SCN_DWELLEND = 2017
SCN_ZOOM = 2018
SCN_HOTSPOTCLICK = 2019
SCN_HOTSPOTDOUBLECLICK = 2020
SCN_CALLTIPCLICK = 2021
SCN_AUTOCSELECTION = 2022
CARET_CENTER = 0x02
CARET_XEVEN = 0x08
CARET_XJUMPS = 0x10
SCN_CHECKBRACE = 2007   The old name for SCN_UPDATEUI
SCN_POSCHANGED = 2012
SCLEX_ASP = 29   SCLEX_HTML should be used in preference to these.
SCLEX_PHP = 30

Public Class methods

Public Instance methods

Extend life of document.

Add array of cells to document.

Add text to the document at current position.

Enlarge the document to a particular size of text bytes.

Append a string to the end of the document without changing the selection.

When key+modifier combination km is pressed perform msg.

Is there an auto-completion list visible?

Remove the auto-completion list from the screen.

User has selected an item so remove the list and insert the selection.

Retrieve whether or not autocompletion is hidden automatically when nothing matches.

Retrieve whether auto-completion cancelled by backspacing before start.

Retrieve whether a single item auto-completion list automatically choose the item.

Get currently selected item position in the auto-completion list

Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.

Retrieve state of ignore case flag.

Set the maximum height, in rows, of auto-completion and user lists.

Get the maximum width, in characters, of auto-completion and user lists.

Retrieve the auto-completion list separator character.

Retrieve the auto-completion list type-separator character.

Retrieve the position of the caret when the auto-completion list was displayed.

Select the item in the auto-completion list that starts with a string.

Set whether or not autocompletion is hidden automatically when nothing matches.

Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.

Should a single item auto-completion list automatically choose the item.

Set whether or not autocompletion deletes any word characters after the inserted text upon completion.

Define a set of characters that when typed will cause the autocompletion to choose the selected item.

Set whether case is significant when performing auto-completion searches.

Set the maximum height, in rows, of auto-completion and user lists. The default is 5 rows.

Set the maximum width, in characters, of auto-completion and user lists. Set to 0 to autosize to fit longest item, which is the default.

Change the separator character in the string setting up an auto-completion list. Default is space but can be changed if items contain space.

Change the type-separator character in the string setting up an auto-completion list. Default is ’?’ but can be changed if items contain ’?’.

Display a auto-completion list. The lenEntered parameter indicates how many characters before the caret should be used to provide context.

Define a set of character that when typed cancel the auto-completion list.

Dedent the selected lines.

Start a sequence of actions that is undone and redone as a unit. May be nested.

Highlight the character at a position indicating there is no matching brace.

Highlight the characters at two positions.

Find the position of a matching brace or INVALID_POSITION if no match.

Is there an active call tip?

Remove the call tip from the screen.

Retrieve the position where the caret was before displaying the call tip.

Set the background colour for the call tip.

Set the foreground colour for the call tip.

Set the foreground colour for the highlighted part of the call tip.

Highlight a segment of the definition.

Show a call tip containing a definition near position pos.

Will a paste succeed?

Are there any redoable actions in the undo history?

Are there any undoable actions in the undo history?

Cancel any modes such as call tip or auto-completion list display.

Move caret left one character.

Move caret left one character extending selection to new caret position.

Move caret left one character, extending rectangular selection to new caret position.

Move caret right one character.

Move caret right one character extending selection to new caret position.

Move caret right one character, extending rectangular selection to new caret position.

Set the last x chosen value to be the caret x position.

Clear the selection.

Delete all text in the document.

Drop all key mappings.

When key+modifier combination km is pressed do nothing.

Set all style bytes to 0, remove all folding information.

Clear all the registered XPM images.

Colourise a segment of the document using the current lexing language.

Convert all line endings in the document to one mode.

Copy the selection to the clipboard.

Copy a range of text to the clipboard. Positions are clipped into the document.

Copy argument text to the clipboard.

Create a new document object. Starts with reference count of 1 and not selected into editor.

Cut the selection to the clipboard.

Delete back from the current position to the start of the line.

Delete forwards from the current position to the end of the line.

Delete the word to the left of the caret.

Delete the word to the right of the caret.

Delete the selection or if no selection, the character before the caret.

Delete the selection or if no selection, the character before the caret. Will not delete the character before at the start of a line.

Find the document line of a display line taking hidden lines into account.

Move caret to last position in document.

Move caret to last position in document extending selection to new caret position.

Move caret to first position in document.

Move caret to first position in document extending selection to new caret position.

Switch from insert to overtype mode or the reverse.

Delete the undo history.

Translates a UTF8 string into the document encoding. Return the length of the result in bytes. On error return 0.

End a sequence of actions that is undone and redone as a unit.

Ensure a particular line is visible by expanding any header line hiding it.

Ensure a particular line is visible by expanding any header line hiding it. Use the currently set visibility policy to determine which range to display.

Find the position of a column on a line taking into account tabs and multi-byte characters. If beyond end of line, return line end position.

Find some text in the document.

Insert a Form Feed character.

On Windows, will draw the document into a display context such as a printer.

Returns the position of the opposite end of the selection to the caret.

Does a backspace pressed when caret is within indentation unindent?

Is drawing done first into a buffer or direct to the screen?

Get the foreground colour of the caret.

Get the colour of the background of the line containing the caret.

Is the background of the line containing the caret in a different colour?

Get the time in milliseconds that the caret is on and off.

Can the caret preferred x position only be changed by explicit movement commands?

Returns the width of the insert mode caret.

Returns the character byte at the position.

Get the code page used to interpret the bytes of the document as characters.

Retrieve the column number of a position, taking tab width into account.

Get the way control characters are displayed.

Retrieve the text of the line containing the caret. Returns the index of the caret on the line.

Returns the position of the caret.

Get cursor type.

Retrieve a pointer to a function that processes messages for this Scintilla.

Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction.

Retrieve a pointer to the document object.

Retrieve the current end of line mode - one of CRLF, CR, or LF.

Retrieve the colour used in edge indication.

Retrieve the column number which text should be kept within.

Retrieve the edge highlight mode.

Retrieve whether the maximum scroll position has the last line at the bottom of the view.

Retrieve the position of the last correctly styled character.

Retrieve the display line at the top of the display.

Get internal focus flag.

Is a header line expanded?

Retrieve the fold level of a line.

Find the parent line of a child line.

Is the horizontal scroll bar visible?

Get the highlighted indentation guide column.

Retrieve indentation size.

Are the indentation guides visible?

Find the last child line of a header line.

Retrieve the degree of caching of layout information.

Returns the number of characters in the document.

Retrieve the lexing language of the document.

Retrieve the contents of a line. Returns the length of the line.

Returns the number of lines in the document. There is always at least one.

Get the position after the last visible characters on a line.

Retrieve the position before the first non indentation character on a line.

Retrieve the number of columns that a line is indented.

Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).

Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).

Retrieve the extra styling information for a line.

Is a line visible?

Returns the size in pixels of the left margin.

Retrieve the marker mask of a margin.

Returns the size in pixels of the right margin.

Retrieve the mouse click sensitivity of a margin.

Retrieve the type of a margin.

Retrieve the width of a margin in pixels.

Retrieve the last line number that has line state.

Get which document modification events are sent to the container.

Is the document different from when it was last saved?

Get whether mouse gets captured.

Retrieve the time the mouse must sit still to generate a mouse dwell event.

Returns true if overtype mode is active otherwise false is returned.

Get convert-on-paste setting

Returns the print colour mode.

Returns the print magnification.

Is printing line wrapped?

Retrieve a "property" value previously set with SetProperty.

Retrieve a "property" value previously set with SetProperty, with "$()" variable replacement on returned buffer.

Retrieve a "property" value previously set with SetProperty, interpreted as an int AFTER any "$()" variable replacement.

In read-only mode?

Retrieve the document width assumed for scrolling.

Get the search flags used by SearchInTarget.

Retrieve the selected text. Return the length of the text.

Returns the position at the end of the selection.

Get the mode of the current selection.

Returns the position at the start of the selection.

Get error status.

Returns the style byte at the position.

Retrieve number of bits in style bytes used to hold the lexical state.

Retrieve the number of bits the current lexer needs for styling.

Retrieve a buffer of cells. Returns the number of bytes in the buffer not including terminating NULs.

Does a tab pressed when caret is within indentation indent?

Retrieve the visible size of a tab.

Get the position that ends the target.

Get the position that starts the target.

Retrieve all the text in the document. Returns number of characters retrieved.

Retrieve the number of characters in the document.

Retrieve a range of text. Return the length of the text.

Is drawing done in two phases with backgrounds drawn before faoregrounds?

Is undo history being collected?

In palette mode?

Retrieve whether tabs will be used in indentation.

Is the vertical scroll bar visible?

Are the end of line characters visible?

Are white space characters currently visible? Returns one of SCWS_* constants.

Retrieve whether text is word wrapped.

Retrive the start indent for wrapped lines.

Retrive the display mode of visual flags for wrapped lines.

Retrive the location of visual flags for wrapped lines.

Retrieve the zoom level.

Set caret to start of a line and ensure it is visible.

Set caret to a position and ensure it is visible.

Set the focus to this Scintilla widget. GTK+ Specific.

Make a range of lines invisible.

Draw the selection in normal style or with selection highlighted.

Move caret to first position on line.

Move caret to first position on display line.

Move caret to first position on display line extending selection to new caret position.

Move caret to first position on line extending selection to new caret position.

Move caret to first position on line, extending rectangular selection to new caret position.

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

Retrieve the foreground colour of an indicator.

Retrieve the style of an indicator.

Set the foreground colour of an indicator.

Set an indicator to plain, squiggle or TT.

Insert string at a position.

Copy the line containing the caret.

Cut the line containing the caret.

Delete the line containing the caret.

Move caret down one line.

Move caret down one line extending selection to new caret position.

Move caret down one line, extending rectangular selection to new caret position.

Duplicate the current line.

Move caret to last position on line.

Move caret to last position on display line.

Move caret to last position on display line extending selection to new caret position.

Move caret to last position on line extending selection to new caret position.

Move caret to last position on line, extending rectangular selection to new caret position.

Retrieve the line containing a position.

How many characters are on a line, not including end of line characters?

Scroll horizontally and vertically.

Scroll the document down, keeping the caret visible.

Scroll the document up, keeping the caret visible.

Switch the current line with the previous.

Move caret up one line.

Move caret up one line extending selection to new caret position.

Move caret up one line, extending rectangular selection to new caret position.

Join the lines in the target.

Retrieves the number of lines completely visible.

Split the lines in the target into lines that are less wide than pixelWidth where possible.

Load a lexer library (dll / so).

Transform the selection to lower case.

Add a marker to a line, returning an ID which can be used to find or delete the marker.

Add a set of markers to a line.

Set the symbol used for a particular marker number.

Define a marker from a pixmap.

Delete a marker from a line.

Delete all markers with a particular number from all lines.

Get a bit mask of all the markers set on a line.

Retrieve the line number at which a particular marker is located.

Find the next line after lineStart that includes a marker in mask.

Find the previous line before lineStart that includes a marker in mask.

Set the background colour used for a particular marker number.

Set the foreground colour used for a particular marker number.

Move the caret inside current view if it‘s not there already.

Insert a new line, may use a CRLF, CR or LF depending on EOL mode.

Null operation.

Move caret one page down.

Move caret one page down extending selection to new caret position.

Move caret one page down, extending rectangular selection to new caret position.

Move caret one page up.

Move caret one page up extending selection to new caret position.

Move caret one page up, extending rectangular selection to new caret position.

Move caret between paragraphs (delimited by empty lines).

Paste the contents of the clipboard into the document replacing the selection.

Retrieve the x value of the point in the window where a position is displayed.

Retrieve the y value of the point in the window where a position is displayed.

Given a valid document position, return the next position taking code page into account. Maximum value returned is the last position in the document.

Given a valid document position, return the previous position taking code page into account. Returns 0 if passed 0.

Retrieve the position at the start of a line.

Find the position from a point within the window.

Find the position from a point within the window but return INVALID_POSITION if not close to text.

Redoes the next action on the undo history.

Register an XPM image for use in autocompletion lists.

Release a reference to the document, deleting document if it fades to black.

Replace the selected text with the argument text.

Replace the target text with the argument text. Text is counted so it can contain NULs. Returns the length of the replacement text.

Replace the target text with the argument text after \d processing. Text is counted so it can contain NULs. Looks for \d where d is between 1 and 9 and replaces these with the strings matched in the last search operation which were surrounded by \( and \). Returns the length of the replacement text including any change caused by processing the \d patterns.

Ensure the caret is visible.

Sets the current caret position to be the search anchor.

Search for a counted string in the target and set the target to the found range. Text is counted so it can contain NULs. Returns length of range or -1 for failure in which case target is not moved.

Find some text starting at the search anchor. Does not ensure the selection is visible.

Find some text starting at the search anchor and moving backwards. Does not ensure the selection is visible.

Select all the text in the document.

Duplicate the selection. If selection empty duplicate the line containing the caret.

Is the selection rectangular? The alternative is the more common stream selection.

Send a message (iMsg) to the Scintilla control, with optional wParam and lParam values. Note that in most cases, it will be easier to use one of the convenience methods defined in the ‘scintilla’ library module.

Set the selection anchor to a position. The anchor is the opposite end of the selection from the caret.

Sets whether a backspace pressed when caret is within indentation unindents.

If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker.

Set the foreground colour of the caret.

Set the colour of the background of the line containing the caret.

Display the background of the line containing the caret in a different colour.

Get the time in milliseconds that the caret is on and off. 0 = steady on.

CARET_POLICY changed in 1.47

Stop the caret preferred x position changing when the user types.

Set the width of the insert mode caret.

Reset the set of characters for whitespace and word characters to the defaults.

Set the code page used to interpret the bytes of the document as characters. The SC_CP_UTF8 value can be used to enter Unicode mode.

Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.

Sets the position of the caret.

Sets the cursor to one of the SC_CURSOR* values.

Change the document object used.

Set the current end of line mode.

Change the colour used in edge indication.

Set the column number of the edge. If text goes past the edge then it is highlighted.

The edge may be displayed by a line (EDGE_LINE) or by highlighting text that goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).

Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default). Setting this to false allows scrolling one page below the last line.

Change internal focus flag.

Show the children of a header line.

Set some style options for folding.

Set the fold level of a line. This encodes an integer level along with flags indicating whether the line is a header and whether it is effectively white space.

Set the colours used as a chequerboard pattern in the fold margin

Show or hide the horizontal scroll bar.

Set the highlighted indentation guide column. 0 = no highlighted guide.

Set a back colour for active hotspots.

Set a fore colour for active hotspots.

Enable / Disable underlining active hotspots.

Limit hotspots to single line so hotspots on two lines don‘t merge.

Set the number of spaces used for one level of indentation.

Show or hide indentation guides.

Set up the key words used by the lexer.

Sets the degree of caching of layout information.

Set the length of the utf8 argument for calling EncodedFromUTF8. Set to -1 and the string will be measured to the first nul.

Set the lexing language of the document.

Set the lexing language of the document based on string name.

Change the indentation of a line to a number of columns.

Used to hold extra styling information for each line.

Sets the size in pixels of the left margin.

Set a mask that determines which markers are displayed in a margin.

Sets the size in pixels of the right margin.

Make a margin sensitive or insensitive to mouse clicks.

Set a margin to be either numeric or symbolic.

Set the width of a margin to a width expressed in pixels.

Set which document modification events are sent to the container.

Set whether the mouse is captured when its button is pressed.

Sets the time the mouse must sit still to generate a mouse dwell event.

Set to overtype (true) or insert mode.

Enable/Disable convert-on-paste for line endings

Modify colours when printing for clearer printed text.

Sets the print magnification added to the point size of each style for printing.

Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).

Set up a value that may be used by a lexer for some optional feature.

Set to read only or read write.

Remember the current position in the undo history as the position at which the document was saved.

Set the identifier for this widget‘s embedded Scintilla component.

Sets the document width assumed for scrolling.

Set the search flags used by SearchInTarget.

Select a range of text.

Set the background colour of the selection and whether to use this setting.

Set the foreground colour of the selection and whether to use this setting.

Sets the position that ends the selection - this becomes the currentPosition.

Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or by lines (SC_SEL_LINES).

Sets the position that starts the selection - this becomes the anchor.

Change error status - 0 = OK.

Divide each styling byte into lexical class bits (default: 5) and indicator bits (default: 3). If a lexer requires more than 32 lexical states, then this is used to expand the possible states.

Change style from current styling position for length characters to a style and move the current styling position to after this newly styled segment.

Set the styles for a segment of the document.

Sets whether a tab pressed when caret is within indentation indents.

Change the visible size of a tab to be a multiple of the width of a space character.

Sets the position that ends the target which is used for updating the document without affecting the scroll position.

Sets the position that starts the target which is used for updating the document without affecting the scroll position.

Replace the contents of the document with the argument text.

In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground. This avoids chopping off characters that overlap the next run.

Choose between collecting actions into the undo history and discarding them.

In palette mode, Scintilla uses the environment‘s palette calls to display more colours. This may lead to ugly displays.

Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.

Show or hide the vertical scroll bar.

Make the end of line characters visible or invisible.

Make white space characters invisible, always visible or visible outside indentation.

Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.

Set the background colour of all whitespace and whether to use this setting.

Set the set of characters making up whitespace for when moving or selecting by word. Should be called after SetWordChars.

Set the foreground colour of all whitespace and whether to use this setting.

Set the set of characters making up words for when moving or selecting by word. First sets deaults like SetCharsDefault.

Sets whether text is word wrapped.

Set the start indent for wrapped lines.

Set the display mode of visual flags for wrapped lines.

Set the location of visual flags for wrapped lines.

Set the way the caret is kept visible when going sideway. The exclusion zone is given in pixels.

Get and Set the xOffset (ie, horizonal scroll position).

Set the way the line the caret is on is kept visible. The exclusion zone is given in lines.

Set the zoom level. This number of points is added to the size of all fonts. It may be positive to magnify or negative to reduce.

Make a range of lines visible.

Start notifying the container of all key presses and commands.

Set the current styling position to pos and the styling mask to mask. The styling mask can be used to protect some bits in each styling byte from modification.

Stop notifying the container of all key presses and commands.

Move caret to bottom of page, or one page down if already at bottom of page.

Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.

Move caret to top of page, or one page up if already at top of page.

Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.

Clear all the styles and make equivalent to the global default style.

Reset the default style to its state at startup

Set the background colour of a style.

Set a style to be bold or not.

Set a style to be mixed case, or to force upper or lower case.

Set a style to be changeable or not (read only). Experimental feature, currently buggy.

Set the character set of the font in a style.

Set a style to have its end of line filled or not.

Set the font of a style.

Set the foreground colour of a style.

Set a style to be a hotspot or not.

Set a style to be italic or not.

Set the size of characters of a style.

Set a style to be underlined or not.

Set a style to be visible or not.

If selection is empty or all on one line replace the selection with a tab character. If more than one line selected, indent the lines.

Returns the target converted to UTF8. Return the length in bytes.

Make the target range start and end be the same as the selection range start and end.

Retrieve the height of a particular line of text in pixels.

Measure the pixel width of some text in a particular style. NUL terminated text argument. Does not handle tab or control characters.

Switch between sticky and non-sticky: meant to be bound to a key.

Switch a header line between expanded and contracted.

Undo one action in the undo history.

Transform the selection to upper case.

Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button.

Display a list of strings and send notification when user chooses one.

Move caret to before first visible character on line. If already there move to first character on line.

Like VCHome but extending selection to new caret position.

Move caret to before first visible character on line. If already there move to first character on line. In either case, extend rectangular selection to new caret position.

Find the display line of a document line taking hidden lines into account.

Get position of end of word.

Move caret left one word.

Move caret left one word, position cursor at end of word.

Move caret left one word, position cursor at end of word, extending selection to new caret position.

Move caret left one word extending selection to new caret position.

Move to the previous change in capitalisation.

Move to the previous change in capitalisation extending selection to new caret position.

Move to the change next in capitalisation.

Move to the next change in capitalisation extending selection to new caret position.

Move caret right one word.

Move caret right one word, position cursor at end of word.

Move caret right one word, position cursor at end of word, extending selection to new caret position.

Move caret right one word extending selection to new caret position.

Get position of start of word.

The number of display lines needed to wrap a document line

Magnify the displayed text by increasing the sizes by 1 point.

Make the displayed text smaller by decreasing the sizes by 1 point.

[Validate]