Class: Fox::FXScintilla

Inherits:
FXScrollArea show all
Defined in:
rdoc-sources/FXScintilla.rb,
lib/fox16/scintilla.rb

Overview

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.

Constant Summary collapse

INVALID_POSITION =

Basics

-1
# 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_START =

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.

2000
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 =

The SC_CP_UTF8 value can be used to enter Unicode mode. This is the same value as CP_UTF8 in Windows

65001
SC_IME_WINDOWED =
0
SC_IME_INLINE =
1
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 =

Shapes used for outlining column.

9
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 =

Invisible mark that only sets the line background colour.

22
SC_MARK_DOTDOTDOT =
23
SC_MARK_ARROWS =
24
SC_MARK_PIXMAP =
25
SC_MARK_FULLRECT =
26
SC_MARK_LEFTRECT =
27
SC_MARK_AVAILABLE =
28
SC_MARK_UNDERLINE =
29
SC_MARK_RGBAIMAGE =
30
SC_MARK_BOOKMARK =
31
SC_MARK_CHARACTER =
10000
SC_MARKNUM_FOLDEREND =

Markers used for outlining column.

25
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_MAX_MARGIN =
4
SC_MARGIN_SYMBOL =
0
SC_MARGIN_NUMBER =
1
SC_MARGIN_BACK =
2
SC_MARGIN_FORE =
3
SC_MARGIN_TEXT =
4
SC_MARGIN_RTEXT =
5
STYLE_DEFAULT =

Styles in range 32..38 are predefined for parts of the UI and are not used as normal styles. Style 39 is for future use.

32
STYLE_LINENUMBER =
33
STYLE_BRACELIGHT =
34
STYLE_BRACEBAD =
35
STYLE_CONTROLCHAR =
36
STYLE_INDENTGUIDE =
37
STYLE_CALLTIP =
38
STYLE_LASTPREDEFINED =
39
STYLE_MAX =
255
SC_CHARSET_ANSI =

Character set identifiers are used in StyleSetCharacterSet. The values are the same as the Windows *_CHARSET values.

0
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
SC_FONT_SIZE_MULTIPLIER =
100
SC_WEIGHT_NORMAL =
400
SC_WEIGHT_SEMIBOLD =
600
SC_WEIGHT_BOLD =
700
INDIC_PLAIN =

Indicator style enumeration and some constants

0
INDIC_SQUIGGLE =
1
INDIC_TT =
2
INDIC_DIAGONAL =
3
INDIC_STRIKE =
4
INDIC_HIDDEN =
5
INDIC_BOX =
6
INDIC_ROUNDBOX =
7
INDIC_STRAIGHTBOX =
8
INDIC_DASH =
9
INDIC_DOTS =
10
INDIC_SQUIGGLELOW =
11
INDIC_DOTBOX =
12
INDIC_SQUIGGLEPIXMAP =
13
INDIC_COMPOSITIONTHICK =
14
INDIC_IME =
32
INDIC_IME_MAX =
35
INDIC_MAX =
35
INDIC_CONTAINER =
8
INDIC0_MASK =
0x20
INDIC1_MASK =
0x40
INDIC2_MASK =
0x80
INDICS_MASK =
0xE0
SC_IV_NONE =
0
SC_IV_REAL =
1
SC_IV_LOOKFORWARD =
2
SC_IV_LOOKBOTH =
3
SC_PRINT_NORMAL =

PrintColourMode - use same colours as screen.

0
SC_PRINT_INVERTLIGHT =

PrintColourMode - invert the light value of each style for printing.

1
SC_PRINT_BLACKONWHITE =

PrintColourMode - force black text on white background for printing.

2
SC_PRINT_COLOURONWHITE =

PrintColourMode - text stays coloured, but all background is forced to be white for printing.

3
SC_PRINT_COLOURONWHITEDEFAULTBG =

PrintColourMode - only the default-background is forced to be white for printing.

4
SCFIND_WHOLEWORD =
0x2
SCFIND_MATCHCASE =
0x4
SCFIND_WORDSTART =
0x00100000
SCFIND_REGEXP =
0x00200000
SCFIND_POSIX =
0x00400000
SCFIND_CXX11REGEX =
0x00800000
SC_FOLDLEVELBASE =
0x400
SC_FOLDLEVELWHITEFLAG =
0x1000
SC_FOLDLEVELHEADERFLAG =
0x2000
SC_FOLDLEVELNUMBERMASK =
0x0FFF
SC_FOLDACTION_CONTRACT =
0
SC_FOLDACTION_EXPAND =
1
SC_FOLDACTION_TOGGLE =
2
SC_AUTOMATICFOLD_SHOW =
0x0001
SC_AUTOMATICFOLD_CLICK =
0x0002
SC_AUTOMATICFOLD_CHANGE =
0x0004
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_LINESTATE =
0x0080
SC_TIME_FOREVER =
10000000
SC_WRAP_NONE =
0
SC_WRAP_WORD =
1
SC_WRAP_CHAR =
2
SC_WRAP_WHITESPACE =
3
SC_WRAPVISUALFLAG_NONE =
0x0000
SC_WRAPVISUALFLAG_END =
0x0001
SC_WRAPVISUALFLAG_START =
0x0002
SC_WRAPVISUALFLAG_MARGIN =
0x0004
SC_WRAPVISUALFLAGLOC_DEFAULT =
0x0000
SC_WRAPVISUALFLAGLOC_END_BY_TEXT =
0x0001
SC_WRAPVISUALFLAGLOC_START_BY_TEXT =
0x0002
SC_WRAPINDENT_FIXED =
0
SC_WRAPINDENT_SAME =
1
SC_WRAPINDENT_INDENT =
2
SC_CACHE_NONE =
0
SC_CACHE_CARET =
1
SC_CACHE_PAGE =
2
SC_CACHE_DOCUMENT =
3
SC_PHASES_ONE =
0
SC_PHASES_TWO =
1
SC_PHASES_MULTIPLE =
2
SC_EFF_QUALITY_MASK =

Control font anti-aliasing.

0xF
SC_EFF_QUALITY_DEFAULT =
0
SC_EFF_QUALITY_NON_ANTIALIASED =
1
SC_EFF_QUALITY_ANTIALIASED =
2
SC_EFF_QUALITY_LCD_OPTIMIZED =
3
SC_MULTIPASTE_ONCE =
0
SC_MULTIPASTE_EACH =
1
EDGE_NONE =
0
EDGE_LINE =
1
EDGE_BACKGROUND =
2
SC_STATUS_OK =
0
SC_STATUS_FAILURE =
1
SC_STATUS_BADALLOC =
2
SC_STATUS_WARN_START =
1000
SC_STATUS_WARN_REGEX =
1001
SC_CURSORNORMAL =
-1
SC_CURSORARROW =
2
SC_CURSORWAIT =
4
SC_CURSORREVERSEARROW =
7
VISIBLE_SLOP =

Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.

0x01
VISIBLE_STRICT =
0x04
CARET_SLOP =

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.

0x01
CARET_STRICT =

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.

0x04
CARET_JUMPS =

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.

0x10
CARET_EVEN =

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.

0x08
SC_SEL_STREAM =
0
SC_SEL_RECTANGLE =
1
SC_SEL_LINES =
2
SC_SEL_THIN =
3
SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE =
0
SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE =
1
SC_MULTIAUTOC_ONCE =
0
SC_MULTIAUTOC_EACH =
1
SC_ORDER_PRESORTED =
0
SC_ORDER_PERFORMSORT =
1
SC_ORDER_CUSTOM =
2
SC_CARETSTICKY_OFF =
0
SC_CARETSTICKY_ON =
1
SC_CARETSTICKY_WHITESPACE =
2
SC_ALPHA_TRANSPARENT =
0
SC_ALPHA_OPAQUE =
255
SC_ALPHA_NOALPHA =
256
CARETSTYLE_INVISIBLE =
0
CARETSTYLE_LINE =
1
CARETSTYLE_BLOCK =
2
SC_MARGINOPTION_NONE =
0
SC_MARGINOPTION_SUBLINESELECT =
1
ANNOTATION_HIDDEN =
0
ANNOTATION_STANDARD =
1
ANNOTATION_BOXED =
2
ANNOTATION_INDENTED =
3
UNDO_MAY_COALESCE =
1
SCVS_NONE =
0
SCVS_RECTANGULARSELECTION =
1
SCVS_USERACCESSIBLE =
2
SC_TECHNOLOGY_DEFAULT =
0
SC_TECHNOLOGY_DIRECTWRITE =
1
SC_TECHNOLOGY_DIRECTWRITERETAIN =
2
SC_TECHNOLOGY_DIRECTWRITEDC =
3
SC_LINE_END_TYPE_DEFAULT =

Line end types which may be used in addition to LF, CR, and CRLF SC_LINE_END_TYPE_UNICODE includes U+2028 Line Separator, U+2029 Paragraph Separator, and U+0085 Next Line

0
SC_LINE_END_TYPE_UNICODE =
1
KEYWORDSET_MAX =

Maximum value of keywordSet parameter of SetKeyWords.

8
SC_TYPE_BOOLEAN =
0
SC_TYPE_INTEGER =
1
SC_TYPE_STRING =
2
SC_MOD_INSERTTEXT =

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_*.

0x1
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_STARTACTION =
0x2000
SC_MOD_CHANGEINDICATOR =
0x4000
SC_MOD_CHANGELINESTATE =
0x8000
SC_MOD_CHANGEMARGIN =
0x10000
SC_MOD_CHANGEANNOTATION =
0x20000
SC_MOD_CONTAINER =
0x40000
SC_MOD_LEXERSTATE =
0x80000
SC_MOD_INSERTCHECK =
0x100000
SC_MOD_CHANGETABSTOPS =
0x200000
SC_MODEVENTMASKALL =
0x3FFFFF
SC_UPDATE_CONTENT =
0x1
SC_UPDATE_SELECTION =
0x2
SC_UPDATE_V_SCROLL =
0x4
SC_UPDATE_H_SCROLL =
0x8
SCEN_CHANGE =

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.

768
SCEN_SETFOCUS =
512
SCEN_KILLFOCUS =
256
SCK_DOWN =

Symbolic key codes and modifier flags. ASCII and other printable characters below 256. Extended keys above 300.

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
SCK_WIN =
313
SCK_RWIN =
314
SCK_MENU =
315
SCMOD_NORM =
0
SCMOD_SHIFT =
1
SCMOD_CTRL =
2
SCMOD_ALT =
4
SCMOD_SUPER =
8
SCMOD_META =
16
SCLEX_CONTAINER =

For SciLexer.h

0
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_INNOSETUP =
76
SCLEX_OPAL =
77
SCLEX_SPICE =
78
SCLEX_D =
79
SCLEX_CMAKE =
80
SCLEX_GAP =
81
SCLEX_PLM =
82
SCLEX_PROGRESS =
83
SCLEX_ABAQUS =
84
SCLEX_ASYMPTOTE =
85
SCLEX_R =
86
SCLEX_MAGIK =
87
SCLEX_POWERSHELL =
88
SCLEX_MYSQL =
89
SCLEX_PO =
90
SCLEX_TAL =
91
SCLEX_COBOL =
92
SCLEX_TACL =
93
SCLEX_SORCUS =
94
SCLEX_POWERPRO =
95
SCLEX_NIMROD =
96
SCLEX_SML =
97
SCLEX_MARKDOWN =
98
SCLEX_TXT2TAGS =
99
SCLEX_A68K =
100
SCLEX_MODULA =
101
SCLEX_COFFEESCRIPT =
102
SCLEX_TCMD =
103
SCLEX_AVS =
104
SCLEX_ECL =
105
SCLEX_OSCRIPT =
106
SCLEX_VISUALPROLOG =
107
SCLEX_LITERATEHASKELL =
108
SCLEX_STTXT =
109
SCLEX_KVIRC =
110
SCLEX_RUST =
111
SCLEX_DMAP =
112
SCLEX_AS =
113
SCLEX_DMIS =
114
SCLEX_REGISTRY =
115
SCLEX_BIBTEX =
116
SCLEX_AUTOMATIC =

When a lexer specifies its language as SCLEX_AUTOMATIC it receives a value assigned in sequence from SCLEX_AUTOMATIC+1.

1000
SCE_P_DEFAULT =

Lexical states for SCLEX_PYTHON

0
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 =

Lexical states for SCLEX_CPP

0
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_C_STRINGRAW =
20
SCE_C_TRIPLEVERBATIM =
21
SCE_C_HASHQUOTEDSTRING =
22
SCE_C_PREPROCESSORCOMMENT =
23
SCE_C_PREPROCESSORCOMMENTDOC =
24
SCE_C_USERLITERAL =
25
SCE_C_TASKMARKER =
26
SCE_C_ESCAPESEQUENCE =
27
SCE_D_DEFAULT =

Lexical states for SCLEX_D

0
SCE_D_COMMENT =
1
SCE_D_COMMENTLINE =
2
SCE_D_COMMENTDOC =
3
SCE_D_COMMENTNESTED =
4
SCE_D_NUMBER =
5
SCE_D_WORD =
6
SCE_D_WORD2 =
7
SCE_D_WORD3 =
8
SCE_D_TYPEDEF =
9
SCE_D_STRING =
10
SCE_D_STRINGEOL =
11
SCE_D_CHARACTER =
12
SCE_D_OPERATOR =
13
SCE_D_IDENTIFIER =
14
SCE_D_COMMENTLINEDOC =
15
SCE_D_COMMENTDOCKEYWORD =
16
SCE_D_COMMENTDOCKEYWORDERROR =
17
SCE_D_STRINGB =
18
SCE_D_STRINGR =
19
SCE_D_WORD5 =
20
SCE_D_WORD6 =
21
SCE_D_WORD7 =
22
SCE_TCL_DEFAULT =

Lexical states for SCLEX_TCL

0
SCE_TCL_COMMENT =
1
SCE_TCL_COMMENTLINE =
2
SCE_TCL_NUMBER =
3
SCE_TCL_WORD_IN_QUOTE =
4
SCE_TCL_IN_QUOTE =
5
SCE_TCL_OPERATOR =
6
SCE_TCL_IDENTIFIER =
7
SCE_TCL_SUBSTITUTION =
8
SCE_TCL_SUB_BRACE =
9
SCE_TCL_MODIFIER =
10
SCE_TCL_EXPAND =
11
SCE_TCL_WORD =
12
SCE_TCL_WORD2 =
13
SCE_TCL_WORD3 =
14
SCE_TCL_WORD4 =
15
SCE_TCL_WORD5 =
16
SCE_TCL_WORD6 =
17
SCE_TCL_WORD7 =
18
SCE_TCL_WORD8 =
19
SCE_TCL_COMMENT_BOX =
20
SCE_TCL_BLOCK_COMMENT =
21
SCE_H_DEFAULT =

Lexical states for SCLEX_HTML, SCLEX_XML

0
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 =

XML and ASP

11
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 =

More HTML

19
SCE_H_XCCOMMENT =

X-Code

20
SCE_H_SGML_DEFAULT =

SGML

21
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 =

Embedded Javascript

40
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 =

ASP Javascript

55
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 =

Embedded VBScript

70
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 =

ASP VBScript

80
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 =

Embedded Python

90
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 =

PHP

104
SCE_HPA_START =

ASP Python

105
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 =

PHP

118
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 =

Lexical states for SCLEX_PERL

0
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_PL_SUB_PROTOTYPE =
40
SCE_PL_FORMAT_IDENT =
41
SCE_PL_FORMAT =
42
SCE_PL_STRING_VAR =
43
SCE_PL_XLAT =
44
SCE_PL_REGEX_VAR =
54
SCE_PL_REGSUBST_VAR =
55
SCE_PL_BACKTICKS_VAR =
57
SCE_PL_HERE_QQ_VAR =
61
SCE_PL_HERE_QX_VAR =
62
SCE_PL_STRING_QQ_VAR =
64
SCE_PL_STRING_QX_VAR =
65
SCE_PL_STRING_QR_VAR =
66
SCE_RB_DEFAULT =

Lexical states for SCLEX_RUBY

0
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 =

Lexical states for SCLEX_VB, SCLEX_VBSCRIPT, SCLEX_POWERBASIC

0
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_B_COMMENTBLOCK =
19
SCE_B_DOCLINE =
20
SCE_B_DOCBLOCK =
21
SCE_B_DOCKEYWORD =
22
SCE_PROPS_DEFAULT =

Lexical states for SCLEX_PROPERTIES

0
SCE_PROPS_COMMENT =
1
SCE_PROPS_SECTION =
2
SCE_PROPS_ASSIGNMENT =
3
SCE_PROPS_DEFVAL =
4
SCE_PROPS_KEY =
5
SCE_L_DEFAULT =

Lexical states for SCLEX_LATEX

0
SCE_L_COMMAND =
1
SCE_L_TAG =
2
SCE_L_MATH =
3
SCE_L_COMMENT =
4
SCE_L_TAG2 =
5
SCE_L_MATH2 =
6
SCE_L_COMMENT2 =
7
SCE_L_VERBATIM =
8
SCE_L_SHORTCMD =
9
SCE_L_SPECIAL =
10
SCE_L_CMDOPT =
11
SCE_L_ERROR =
12
SCE_LUA_DEFAULT =

Lexical states for SCLEX_LUA

0
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_LUA_LABEL =
20
SCE_ERR_DEFAULT =

Lexical states for SCLEX_ERRORLIST

0
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_ERR_VALUE =
21
SCE_ERR_GCC_INCLUDED_FROM =
22
SCE_BAT_DEFAULT =

Lexical states for SCLEX_BATCH

0
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_TCMD_DEFAULT =

Lexical states for SCLEX_TCMD

0
SCE_TCMD_COMMENT =
1
SCE_TCMD_WORD =
2
SCE_TCMD_LABEL =
3
SCE_TCMD_HIDE =
4
SCE_TCMD_COMMAND =
5
SCE_TCMD_IDENTIFIER =
6
SCE_TCMD_OPERATOR =
7
SCE_TCMD_ENVIRONMENT =
8
SCE_TCMD_EXPANSION =
9
SCE_TCMD_CLABEL =
10
SCE_MAKE_DEFAULT =

Lexical states for SCLEX_MAKEFILE

0
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 =

Lexical states for SCLEX_DIFF

0
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_DIFF_CHANGED =
7
SCE_CONF_DEFAULT =

Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)

0
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 =

Lexical states for SCLEX_AVE, Avenue

0
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 =

Lexical states for SCLEX_ADA

0
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 =

Lexical states for SCLEX_BAAN

0
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 =

Lexical states for SCLEX_LISP

0
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 =

Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW

0
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 =

Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)

0
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 =

Lexical states for SCLEX_FORTH (Forth Lexer)

0
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 =

Lexical states for SCLEX_MATLAB

0
SCE_MATLAB_COMMENT =
1
SCE_MATLAB_COMMAND =
2
SCE_MATLAB_NUMBER =
3
SCE_MATLAB_KEYWORD =
4
SCE_MATLAB_STRING =

single quoted string

5
SCE_MATLAB_OPERATOR =
6
SCE_MATLAB_IDENTIFIER =
7
SCE_MATLAB_DOUBLEQUOTESTRING =
8
SCE_SCRIPTOL_DEFAULT =

Lexical states for SCLEX_SCRIPTOL

0
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 =

Lexical states for SCLEX_ASM, SCLEX_AS

0
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_ASM_COMMENTDIRECTIVE =
15
SCE_F_DEFAULT =

Lexical states for SCLEX_FORTRAN

0
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 =

Lexical states for SCLEX_CSS

0
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_CSS_IDENTIFIER3 =
17
SCE_CSS_PSEUDOELEMENT =
18
SCE_CSS_EXTENDED_IDENTIFIER =
19
SCE_CSS_EXTENDED_PSEUDOCLASS =
20
SCE_CSS_EXTENDED_PSEUDOELEMENT =
21
SCE_CSS_MEDIA =
22
SCE_CSS_VARIABLE =
23
SCE_POV_DEFAULT =

Lexical states for SCLEX_POV

0
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 =

Lexical states for SCLEX_LOUT

0
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 =

Lexical states for SCLEX_ESCRIPT

0
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 =

Lexical states for SCLEX_PS

0
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 =

Lexical states for SCLEX_NSIS

0
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 =

Lexical states for SCLEX_MMIXAL

0
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 =

Lexical states for SCLEX_CLW

0
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 =

Lexical states for SCLEX_LOT

0
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 =

Lexical states for SCLEX_YAML

0
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_YAML_OPERATOR =
9
SCE_TEX_DEFAULT =

Lexical states for SCLEX_TEX

0
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 =

Lexical states for SCLEX_ERLANG

0
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_PREPROC =
12
SCE_ERLANG_NODE_NAME =
13
SCE_ERLANG_COMMENT_FUNCTION =
14
SCE_ERLANG_COMMENT_MODULE =
15
SCE_ERLANG_COMMENT_DOC =
16
SCE_ERLANG_COMMENT_DOC_MACRO =
17
SCE_ERLANG_ATOM_QUOTED =
18
SCE_ERLANG_MACRO_QUOTED =
19
SCE_ERLANG_RECORD_QUOTED =
20
SCE_ERLANG_NODE_NAME_QUOTED =
21
SCE_ERLANG_BIFS =
22
SCE_ERLANG_MODULES =
23
SCE_ERLANG_MODULES_ATT =
24
SCE_ERLANG_UNKNOWN =
31
SCE_MSSQL_DEFAULT =

Lexical states for SCLEX_OCTAVE are identical to MatLab Lexical states for SCLEX_MSSQL

0
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 =

Lexical states for SCLEX_VERILOG

0
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 =

Lexical states for SCLEX_KIX

0
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_COMMENTSTREAM =
10
SCE_KIX_IDENTIFIER =
31
SCE_GC_DEFAULT =

Lexical states for SCLEX_GUI4CLI

0
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 =

Lexical states for SCLEX_SPECMAN

0
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 =

Lexical states for SCLEX_AU3

0
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_AU3_UDF =
15
SCE_APDL_DEFAULT =

Lexical states for SCLEX_APDL

0
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 =

Lexical states for SCLEX_BASH

0
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 =

Lexical states for SCLEX_ASN1

0
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 =

Lexical states for SCLEX_VHDL

0
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_VHDL_BLOCK_COMMENT =
15
SCE_CAML_DEFAULT =

Lexical states for SCLEX_CAML

0
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_WHITE =
10
SCE_CAML_STRING =
11
SCE_CAML_COMMENT =
12
SCE_CAML_COMMENT1 =
13
SCE_CAML_COMMENT2 =
14
SCE_CAML_COMMENT3 =
15
SCE_HA_DEFAULT =

Lexical states for SCLEX_HASKELL

0
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_HA_PRAGMA =
17
SCE_HA_PREPROCESSOR =
18
SCE_HA_STRINGEOL =
19
SCE_HA_RESERVED_OPERATOR =
20
SCE_HA_LITERATE_COMMENT =
21
SCE_HA_LITERATE_CODEDELIM =
22
SCE_T3_DEFAULT =

Lexical states of SCLEX_TADS3

0
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_T3_BRACE =
20
SCE_REBOL_DEFAULT =

Lexical states for SCLEX_REBOL

0
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 =

Lexical states for SCLEX_SQL

0
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_SQL_QOPERATOR =
24
SCE_ST_DEFAULT =

Lexical states for SCLEX_SMALLTALK

0
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 =

Lexical states for SCLEX_FLAGSHIP (clipper)

0
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_WORDOPERATOR =
19
SCE_FS_DISABLEDCODE =
20
SCE_FS_DEFAULT_C =
21
SCE_FS_COMMENTDOC_C =
22
SCE_FS_COMMENTLINEDOC_C =
23
SCE_FS_KEYWORD_C =
24
SCE_FS_KEYWORD2_C =
25
SCE_FS_NUMBER_C =
26
SCE_FS_STRING_C =
27
SCE_FS_PREPROCESSOR_C =
28
SCE_FS_OPERATOR_C =
29
SCE_FS_IDENTIFIER_C =
30
SCE_FS_STRINGEOL_C =
31
SCE_CSOUND_DEFAULT =

Lexical states for SCLEX_CSOUND

0
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
SCE_INNO_DEFAULT =

Lexical states for SCLEX_INNOSETUP

0
SCE_INNO_COMMENT =
1
SCE_INNO_KEYWORD =
2
SCE_INNO_PARAMETER =
3
SCE_INNO_SECTION =
4
SCE_INNO_PREPROC =
5
SCE_INNO_INLINE_EXPANSION =
6
SCE_INNO_COMMENT_PASCAL =
7
SCE_INNO_KEYWORD_PASCAL =
8
SCE_INNO_KEYWORD_USER =
9
SCE_INNO_STRING_DOUBLE =
10
SCE_INNO_STRING_SINGLE =
11
SCE_INNO_IDENTIFIER =
12
SCE_OPAL_SPACE =

Lexical states for SCLEX_OPAL

0
SCE_OPAL_COMMENT_BLOCK =
1
SCE_OPAL_COMMENT_LINE =
2
SCE_OPAL_INTEGER =
3
SCE_OPAL_KEYWORD =
4
SCE_OPAL_SORT =
5
SCE_OPAL_STRING =
6
SCE_OPAL_PAR =
7
SCE_OPAL_BOOL_CONST =
8
SCE_OPAL_DEFAULT =
32
SCE_SPICE_DEFAULT =

Lexical states for SCLEX_SPICE

0
SCE_SPICE_IDENTIFIER =
1
SCE_SPICE_KEYWORD =
2
SCE_SPICE_KEYWORD2 =
3
SCE_SPICE_KEYWORD3 =
4
SCE_SPICE_NUMBER =
5
SCE_SPICE_DELIMITER =
6
SCE_SPICE_VALUE =
7
SCE_SPICE_COMMENTLINE =
8
SCE_CMAKE_DEFAULT =

Lexical states for SCLEX_CMAKE

0
SCE_CMAKE_COMMENT =
1
SCE_CMAKE_STRINGDQ =
2
SCE_CMAKE_STRINGLQ =
3
SCE_CMAKE_STRINGRQ =
4
SCE_CMAKE_COMMANDS =
5
SCE_CMAKE_PARAMETERS =
6
SCE_CMAKE_VARIABLE =
7
SCE_CMAKE_USERDEFINED =
8
SCE_CMAKE_WHILEDEF =
9
SCE_CMAKE_FOREACHDEF =
10
SCE_CMAKE_IFDEFINEDEF =
11
SCE_CMAKE_MACRODEF =
12
SCE_CMAKE_STRINGVAR =
13
SCE_CMAKE_NUMBER =
14
SCE_GAP_DEFAULT =

Lexical states for SCLEX_GAP

0
SCE_GAP_IDENTIFIER =
1
SCE_GAP_KEYWORD =
2
SCE_GAP_KEYWORD2 =
3
SCE_GAP_KEYWORD3 =
4
SCE_GAP_KEYWORD4 =
5
SCE_GAP_STRING =
6
SCE_GAP_CHAR =
7
SCE_GAP_OPERATOR =
8
SCE_GAP_COMMENT =
9
SCE_GAP_NUMBER =
10
SCE_GAP_STRINGEOL =
11
SCE_PLM_DEFAULT =

Lexical state for SCLEX_PLM

0
SCE_PLM_COMMENT =
1
SCE_PLM_STRING =
2
SCE_PLM_NUMBER =
3
SCE_PLM_IDENTIFIER =
4
SCE_PLM_OPERATOR =
5
SCE_PLM_CONTROL =
6
SCE_PLM_KEYWORD =
7
SCE_4GL_DEFAULT =

Lexical state for SCLEX_PROGRESS

0
SCE_4GL_NUMBER =
1
SCE_4GL_WORD =
2
SCE_4GL_STRING =
3
SCE_4GL_CHARACTER =
4
SCE_4GL_PREPROCESSOR =
5
SCE_4GL_OPERATOR =
6
SCE_4GL_IDENTIFIER =
7
SCE_4GL_BLOCK =
8
SCE_4GL_END =
9
SCE_4GL_COMMENT1 =
10
SCE_4GL_COMMENT2 =
11
SCE_4GL_COMMENT3 =
12
SCE_4GL_COMMENT4 =
13
SCE_4GL_COMMENT5 =
14
SCE_4GL_COMMENT6 =
15
SCE_4GL_DEFAULT_ =
16
SCE_4GL_NUMBER_ =
17
SCE_4GL_WORD_ =
18
SCE_4GL_STRING_ =
19
SCE_4GL_CHARACTER_ =
20
SCE_4GL_PREPROCESSOR_ =
21
SCE_4GL_OPERATOR_ =
22
SCE_4GL_IDENTIFIER_ =
23
SCE_4GL_BLOCK_ =
24
SCE_4GL_END_ =
25
SCE_4GL_COMMENT1_ =
26
SCE_4GL_COMMENT2_ =
27
SCE_4GL_COMMENT3_ =
28
SCE_4GL_COMMENT4_ =
29
SCE_4GL_COMMENT5_ =
30
SCE_4GL_COMMENT6_ =
31
SCE_ABAQUS_DEFAULT =

Lexical states for SCLEX_ABAQUS

0
SCE_ABAQUS_COMMENT =
1
SCE_ABAQUS_COMMENTBLOCK =
2
SCE_ABAQUS_NUMBER =
3
SCE_ABAQUS_STRING =
4
SCE_ABAQUS_OPERATOR =
5
SCE_ABAQUS_WORD =
6
SCE_ABAQUS_PROCESSOR =
7
SCE_ABAQUS_COMMAND =
8
SCE_ABAQUS_SLASHCOMMAND =
9
SCE_ABAQUS_STARCOMMAND =
10
SCE_ABAQUS_ARGUMENT =
11
SCE_ABAQUS_FUNCTION =
12
SCE_ASY_DEFAULT =

Lexical states for SCLEX_ASYMPTOTE

0
SCE_ASY_COMMENT =
1
SCE_ASY_COMMENTLINE =
2
SCE_ASY_NUMBER =
3
SCE_ASY_WORD =
4
SCE_ASY_STRING =
5
SCE_ASY_CHARACTER =
6
SCE_ASY_OPERATOR =
7
SCE_ASY_IDENTIFIER =
8
SCE_ASY_STRINGEOL =
9
SCE_ASY_COMMENTLINEDOC =
10
SCE_ASY_WORD2 =
11
SCE_R_DEFAULT =

Lexical states for SCLEX_R

0
SCE_R_COMMENT =
1
SCE_R_KWORD =
2
SCE_R_BASEKWORD =
3
SCE_R_OTHERKWORD =
4
SCE_R_NUMBER =
5
SCE_R_STRING =
6
SCE_R_STRING2 =
7
SCE_R_OPERATOR =
8
SCE_R_IDENTIFIER =
9
SCE_R_INFIX =
10
SCE_R_INFIXEOL =
11
SCE_MAGIK_DEFAULT =

Lexical state for SCLEX_MAGIK

0
SCE_MAGIK_COMMENT =
1
SCE_MAGIK_HYPER_COMMENT =
16
SCE_MAGIK_STRING =
2
SCE_MAGIK_CHARACTER =
3
SCE_MAGIK_NUMBER =
4
SCE_MAGIK_IDENTIFIER =
5
SCE_MAGIK_OPERATOR =
6
SCE_MAGIK_FLOW =
7
SCE_MAGIK_CONTAINER =
8
SCE_MAGIK_BRACKET_BLOCK =
9
SCE_MAGIK_BRACE_BLOCK =
10
SCE_MAGIK_SQBRACKET_BLOCK =
11
SCE_MAGIK_UNKNOWN_KEYWORD =
12
SCE_MAGIK_KEYWORD =
13
SCE_MAGIK_PRAGMA =
14
SCE_MAGIK_SYMBOL =
15
SCE_POWERSHELL_DEFAULT =

Lexical state for SCLEX_POWERSHELL

0
SCE_POWERSHELL_COMMENT =
1
SCE_POWERSHELL_STRING =
2
SCE_POWERSHELL_CHARACTER =
3
SCE_POWERSHELL_NUMBER =
4
SCE_POWERSHELL_VARIABLE =
5
SCE_POWERSHELL_OPERATOR =
6
SCE_POWERSHELL_IDENTIFIER =
7
SCE_POWERSHELL_KEYWORD =
8
SCE_POWERSHELL_CMDLET =
9
SCE_POWERSHELL_ALIAS =
10
SCE_POWERSHELL_FUNCTION =
11
SCE_POWERSHELL_USER1 =
12
SCE_POWERSHELL_COMMENTSTREAM =
13
SCE_POWERSHELL_HERE_STRING =
14
SCE_POWERSHELL_HERE_CHARACTER =
15
SCE_POWERSHELL_COMMENTDOCKEYWORD =
16
SCE_MYSQL_DEFAULT =

Lexical state for SCLEX_MYSQL

0
SCE_MYSQL_COMMENT =
1
SCE_MYSQL_COMMENTLINE =
2
SCE_MYSQL_VARIABLE =
3
SCE_MYSQL_SYSTEMVARIABLE =
4
SCE_MYSQL_KNOWNSYSTEMVARIABLE =
5
SCE_MYSQL_NUMBER =
6
SCE_MYSQL_MAJORKEYWORD =
7
SCE_MYSQL_KEYWORD =
8
SCE_MYSQL_DATABASEOBJECT =
9
SCE_MYSQL_PROCEDUREKEYWORD =
10
SCE_MYSQL_STRING =
11
SCE_MYSQL_SQSTRING =
12
SCE_MYSQL_DQSTRING =
13
SCE_MYSQL_OPERATOR =
14
SCE_MYSQL_FUNCTION =
15
SCE_MYSQL_IDENTIFIER =
16
SCE_MYSQL_QUOTEDIDENTIFIER =
17
SCE_MYSQL_USER1 =
18
SCE_MYSQL_USER2 =
19
SCE_MYSQL_USER3 =
20
SCE_MYSQL_HIDDENCOMMAND =
21
SCE_MYSQL_PLACEHOLDER =
22
SCE_PO_DEFAULT =

Lexical state for SCLEX_PO

0
SCE_PO_COMMENT =
1
SCE_PO_MSGID =
2
SCE_PO_MSGID_TEXT =
3
SCE_PO_MSGSTR =
4
SCE_PO_MSGSTR_TEXT =
5
SCE_PO_MSGCTXT =
6
SCE_PO_MSGCTXT_TEXT =
7
SCE_PO_FUZZY =
8
SCE_PO_PROGRAMMER_COMMENT =
9
SCE_PO_REFERENCE =
10
SCE_PO_FLAGS =
11
SCE_PO_MSGID_TEXT_EOL =
12
SCE_PO_MSGSTR_TEXT_EOL =
13
SCE_PO_MSGCTXT_TEXT_EOL =
14
SCE_PO_ERROR =
15
SCE_PAS_DEFAULT =

Lexical states for SCLEX_PASCAL

0
SCE_PAS_IDENTIFIER =
1
SCE_PAS_COMMENT =
2
SCE_PAS_COMMENT2 =
3
SCE_PAS_COMMENTLINE =
4
SCE_PAS_PREPROCESSOR =
5
SCE_PAS_PREPROCESSOR2 =
6
SCE_PAS_NUMBER =
7
SCE_PAS_HEXNUMBER =
8
SCE_PAS_WORD =
9
SCE_PAS_STRING =
10
SCE_PAS_STRINGEOL =
11
SCE_PAS_CHARACTER =
12
SCE_PAS_OPERATOR =
13
SCE_PAS_ASM =
14
SCE_SORCUS_DEFAULT =

Lexical state for SCLEX_SORCUS

0
SCE_SORCUS_COMMAND =
1
SCE_SORCUS_PARAMETER =
2
SCE_SORCUS_COMMENTLINE =
3
SCE_SORCUS_STRING =
4
SCE_SORCUS_STRINGEOL =
5
SCE_SORCUS_IDENTIFIER =
6
SCE_SORCUS_OPERATOR =
7
SCE_SORCUS_NUMBER =
8
SCE_SORCUS_CONSTANT =
9
SCE_POWERPRO_DEFAULT =

Lexical state for SCLEX_POWERPRO

0
SCE_POWERPRO_COMMENTBLOCK =
1
SCE_POWERPRO_COMMENTLINE =
2
SCE_POWERPRO_NUMBER =
3
SCE_POWERPRO_WORD =
4
SCE_POWERPRO_WORD2 =
5
SCE_POWERPRO_WORD3 =
6
SCE_POWERPRO_WORD4 =
7
SCE_POWERPRO_DOUBLEQUOTEDSTRING =
8
SCE_POWERPRO_SINGLEQUOTEDSTRING =
9
SCE_POWERPRO_LINECONTINUE =
10
SCE_POWERPRO_OPERATOR =
11
SCE_POWERPRO_IDENTIFIER =
12
SCE_POWERPRO_STRINGEOL =
13
SCE_POWERPRO_VERBATIM =
14
SCE_POWERPRO_ALTQUOTE =
15
SCE_POWERPRO_FUNCTION =
16
SCE_SML_DEFAULT =

Lexical states for SCLEX_SML

0
SCE_SML_IDENTIFIER =
1
SCE_SML_TAGNAME =
2
SCE_SML_KEYWORD =
3
SCE_SML_KEYWORD2 =
4
SCE_SML_KEYWORD3 =
5
SCE_SML_LINENUM =
6
SCE_SML_OPERATOR =
7
SCE_SML_NUMBER =
8
SCE_SML_CHAR =
9
SCE_SML_STRING =
11
SCE_SML_COMMENT =
12
SCE_SML_COMMENT1 =
13
SCE_SML_COMMENT2 =
14
SCE_SML_COMMENT3 =
15
SCE_MARKDOWN_DEFAULT =

Lexical state for SCLEX_MARKDOWN

0
SCE_MARKDOWN_LINE_BEGIN =
1
SCE_MARKDOWN_STRONG1 =
2
SCE_MARKDOWN_STRONG2 =
3
SCE_MARKDOWN_EM1 =
4
SCE_MARKDOWN_EM2 =
5
SCE_MARKDOWN_HEADER1 =
6
SCE_MARKDOWN_HEADER2 =
7
SCE_MARKDOWN_HEADER3 =
8
SCE_MARKDOWN_HEADER4 =
9
SCE_MARKDOWN_HEADER5 =
10
SCE_MARKDOWN_HEADER6 =
11
SCE_MARKDOWN_PRECHAR =
12
SCE_MARKDOWN_ULIST_ITEM =
13
SCE_MARKDOWN_OLIST_ITEM =
14
SCE_MARKDOWN_BLOCKQUOTE =
15
SCE_MARKDOWN_STRIKEOUT =
16
SCE_MARKDOWN_HRULE =
17
18
SCE_MARKDOWN_CODE =
19
SCE_MARKDOWN_CODE2 =
20
SCE_MARKDOWN_CODEBK =
21
SCE_TXT2TAGS_DEFAULT =

Lexical state for SCLEX_TXT2TAGS

0
SCE_TXT2TAGS_LINE_BEGIN =
1
SCE_TXT2TAGS_STRONG1 =
2
SCE_TXT2TAGS_STRONG2 =
3
SCE_TXT2TAGS_EM1 =
4
SCE_TXT2TAGS_EM2 =
5
SCE_TXT2TAGS_HEADER1 =
6
SCE_TXT2TAGS_HEADER2 =
7
SCE_TXT2TAGS_HEADER3 =
8
SCE_TXT2TAGS_HEADER4 =
9
SCE_TXT2TAGS_HEADER5 =
10
SCE_TXT2TAGS_HEADER6 =
11
SCE_TXT2TAGS_PRECHAR =
12
SCE_TXT2TAGS_ULIST_ITEM =
13
SCE_TXT2TAGS_OLIST_ITEM =
14
SCE_TXT2TAGS_BLOCKQUOTE =
15
SCE_TXT2TAGS_STRIKEOUT =
16
SCE_TXT2TAGS_HRULE =
17
18
SCE_TXT2TAGS_CODE =
19
SCE_TXT2TAGS_CODE2 =
20
SCE_TXT2TAGS_CODEBK =
21
SCE_TXT2TAGS_COMMENT =
22
SCE_TXT2TAGS_OPTION =
23
SCE_TXT2TAGS_PREPROC =
24
SCE_TXT2TAGS_POSTPROC =
25
SCE_A68K_DEFAULT =

Lexical states for SCLEX_A68K

0
SCE_A68K_COMMENT =
1
SCE_A68K_NUMBER_DEC =
2
SCE_A68K_NUMBER_BIN =
3
SCE_A68K_NUMBER_HEX =
4
SCE_A68K_STRING1 =
5
SCE_A68K_OPERATOR =
6
SCE_A68K_CPUINSTRUCTION =
7
SCE_A68K_EXTINSTRUCTION =
8
SCE_A68K_REGISTER =
9
SCE_A68K_DIRECTIVE =
10
SCE_A68K_MACRO_ARG =
11
SCE_A68K_LABEL =
12
SCE_A68K_STRING2 =
13
SCE_A68K_IDENTIFIER =
14
SCE_A68K_MACRO_DECLARATION =
15
SCE_A68K_COMMENT_WORD =
16
SCE_A68K_COMMENT_SPECIAL =
17
SCE_A68K_COMMENT_DOXYGEN =
18
SCE_MODULA_DEFAULT =

Lexical states for SCLEX_MODULA

0
SCE_MODULA_COMMENT =
1
SCE_MODULA_DOXYCOMM =
2
SCE_MODULA_DOXYKEY =
3
SCE_MODULA_KEYWORD =
4
SCE_MODULA_RESERVED =
5
SCE_MODULA_NUMBER =
6
SCE_MODULA_BASENUM =
7
SCE_MODULA_FLOAT =
8
SCE_MODULA_STRING =
9
SCE_MODULA_STRSPEC =
10
SCE_MODULA_CHAR =
11
SCE_MODULA_CHARSPEC =
12
SCE_MODULA_PROC =
13
SCE_MODULA_PRAGMA =
14
SCE_MODULA_PRGKEY =
15
SCE_MODULA_OPERATOR =
16
SCE_MODULA_BADSTR =
17
SCE_COFFEESCRIPT_DEFAULT =

Lexical states for SCLEX_COFFEESCRIPT

0
SCE_COFFEESCRIPT_COMMENT =
1
SCE_COFFEESCRIPT_COMMENTLINE =
2
SCE_COFFEESCRIPT_COMMENTDOC =
3
SCE_COFFEESCRIPT_NUMBER =
4
SCE_COFFEESCRIPT_WORD =
5
SCE_COFFEESCRIPT_STRING =
6
SCE_COFFEESCRIPT_CHARACTER =
7
SCE_COFFEESCRIPT_UUID =
8
SCE_COFFEESCRIPT_PREPROCESSOR =
9
SCE_COFFEESCRIPT_OPERATOR =
10
SCE_COFFEESCRIPT_IDENTIFIER =
11
SCE_COFFEESCRIPT_STRINGEOL =
12
SCE_COFFEESCRIPT_VERBATIM =
13
SCE_COFFEESCRIPT_REGEX =
14
SCE_COFFEESCRIPT_COMMENTLINEDOC =
15
SCE_COFFEESCRIPT_WORD2 =
16
SCE_COFFEESCRIPT_COMMENTDOCKEYWORD =
17
SCE_COFFEESCRIPT_COMMENTDOCKEYWORDERROR =
18
SCE_COFFEESCRIPT_GLOBALCLASS =
19
SCE_COFFEESCRIPT_STRINGRAW =
20
SCE_COFFEESCRIPT_TRIPLEVERBATIM =
21
SCE_COFFEESCRIPT_COMMENTBLOCK =
22
SCE_COFFEESCRIPT_VERBOSE_REGEX =
23
SCE_COFFEESCRIPT_VERBOSE_REGEX_COMMENT =
24
SCE_AVS_DEFAULT =

Lexical states for SCLEX_AVS

0
SCE_AVS_COMMENTBLOCK =
1
SCE_AVS_COMMENTBLOCKN =
2
SCE_AVS_COMMENTLINE =
3
SCE_AVS_NUMBER =
4
SCE_AVS_OPERATOR =
5
SCE_AVS_IDENTIFIER =
6
SCE_AVS_STRING =
7
SCE_AVS_TRIPLESTRING =
8
SCE_AVS_KEYWORD =
9
SCE_AVS_FILTER =
10
SCE_AVS_PLUGIN =
11
SCE_AVS_FUNCTION =
12
SCE_AVS_CLIPPROP =
13
SCE_AVS_USERDFN =
14
SCE_ECL_DEFAULT =

Lexical states for SCLEX_ECL

0
SCE_ECL_COMMENT =
1
SCE_ECL_COMMENTLINE =
2
SCE_ECL_NUMBER =
3
SCE_ECL_STRING =
4
SCE_ECL_WORD0 =
5
SCE_ECL_OPERATOR =
6
SCE_ECL_CHARACTER =
7
SCE_ECL_UUID =
8
SCE_ECL_PREPROCESSOR =
9
SCE_ECL_UNKNOWN =
10
SCE_ECL_IDENTIFIER =
11
SCE_ECL_STRINGEOL =
12
SCE_ECL_VERBATIM =
13
SCE_ECL_REGEX =
14
SCE_ECL_COMMENTLINEDOC =
15
SCE_ECL_WORD1 =
16
SCE_ECL_COMMENTDOCKEYWORD =
17
SCE_ECL_COMMENTDOCKEYWORDERROR =
18
SCE_ECL_WORD2 =
19
SCE_ECL_WORD3 =
20
SCE_ECL_WORD4 =
21
SCE_ECL_WORD5 =
22
SCE_ECL_COMMENTDOC =
23
SCE_ECL_ADDED =
24
SCE_ECL_DELETED =
25
SCE_ECL_CHANGED =
26
SCE_ECL_MOVED =
27
SCE_OSCRIPT_DEFAULT =

Lexical states for SCLEX_OSCRIPT

0
SCE_OSCRIPT_LINE_COMMENT =
1
SCE_OSCRIPT_BLOCK_COMMENT =
2
SCE_OSCRIPT_DOC_COMMENT =
3
SCE_OSCRIPT_PREPROCESSOR =
4
SCE_OSCRIPT_NUMBER =
5
SCE_OSCRIPT_SINGLEQUOTE_STRING =
6
SCE_OSCRIPT_DOUBLEQUOTE_STRING =
7
SCE_OSCRIPT_CONSTANT =
8
SCE_OSCRIPT_IDENTIFIER =
9
SCE_OSCRIPT_GLOBAL =
10
SCE_OSCRIPT_KEYWORD =
11
SCE_OSCRIPT_OPERATOR =
12
SCE_OSCRIPT_LABEL =
13
SCE_OSCRIPT_TYPE =
14
SCE_OSCRIPT_FUNCTION =
15
SCE_OSCRIPT_OBJECT =
16
SCE_OSCRIPT_PROPERTY =
17
SCE_OSCRIPT_METHOD =
18
SCE_VISUALPROLOG_DEFAULT =

Lexical states for SCLEX_VISUALPROLOG

0
SCE_VISUALPROLOG_KEY_MAJOR =
1
SCE_VISUALPROLOG_KEY_MINOR =
2
SCE_VISUALPROLOG_KEY_DIRECTIVE =
3
SCE_VISUALPROLOG_COMMENT_BLOCK =
4
SCE_VISUALPROLOG_COMMENT_LINE =
5
SCE_VISUALPROLOG_COMMENT_KEY =
6
SCE_VISUALPROLOG_COMMENT_KEY_ERROR =
7
SCE_VISUALPROLOG_IDENTIFIER =
8
SCE_VISUALPROLOG_VARIABLE =
9
SCE_VISUALPROLOG_ANONYMOUS =
10
SCE_VISUALPROLOG_NUMBER =
11
SCE_VISUALPROLOG_OPERATOR =
12
SCE_VISUALPROLOG_CHARACTER =
13
SCE_VISUALPROLOG_CHARACTER_TOO_MANY =
14
SCE_VISUALPROLOG_CHARACTER_ESCAPE_ERROR =
15
SCE_VISUALPROLOG_STRING =
16
SCE_VISUALPROLOG_STRING_ESCAPE =
17
SCE_VISUALPROLOG_STRING_ESCAPE_ERROR =
18
SCE_VISUALPROLOG_STRING_EOL_OPEN =
19
SCE_VISUALPROLOG_STRING_VERBATIM =
20
SCE_VISUALPROLOG_STRING_VERBATIM_SPECIAL =
21
SCE_VISUALPROLOG_STRING_VERBATIM_EOL =
22
SCE_STTXT_DEFAULT =

Lexical states for SCLEX_STTXT

0
SCE_STTXT_COMMENT =
1
SCE_STTXT_COMMENTLINE =
2
SCE_STTXT_KEYWORD =
3
SCE_STTXT_TYPE =
4
SCE_STTXT_FUNCTION =
5
SCE_STTXT_FB =
6
SCE_STTXT_NUMBER =
7
SCE_STTXT_HEXNUMBER =
8
SCE_STTXT_PRAGMA =
9
SCE_STTXT_OPERATOR =
10
SCE_STTXT_CHARACTER =
11
SCE_STTXT_STRING1 =
12
SCE_STTXT_STRING2 =
13
SCE_STTXT_STRINGEOL =
14
SCE_STTXT_IDENTIFIER =
15
SCE_STTXT_DATETIME =
16
SCE_STTXT_VARS =
17
SCE_STTXT_PRAGMAS =
18
SCE_KVIRC_DEFAULT =

Lexical states for SCLEX_KVIRC

0
SCE_KVIRC_COMMENT =
1
SCE_KVIRC_COMMENTBLOCK =
2
SCE_KVIRC_STRING =
3
SCE_KVIRC_WORD =
4
SCE_KVIRC_KEYWORD =
5
SCE_KVIRC_FUNCTION_KEYWORD =
6
SCE_KVIRC_FUNCTION =
7
SCE_KVIRC_VARIABLE =
8
SCE_KVIRC_NUMBER =
9
SCE_KVIRC_OPERATOR =
10
SCE_KVIRC_STRING_FUNCTION =
11
SCE_KVIRC_STRING_VARIABLE =
12
SCE_RUST_DEFAULT =

Lexical states for SCLEX_RUST

0
SCE_RUST_COMMENTBLOCK =
1
SCE_RUST_COMMENTLINE =
2
SCE_RUST_COMMENTBLOCKDOC =
3
SCE_RUST_COMMENTLINEDOC =
4
SCE_RUST_NUMBER =
5
SCE_RUST_WORD =
6
SCE_RUST_WORD2 =
7
SCE_RUST_WORD3 =
8
SCE_RUST_WORD4 =
9
SCE_RUST_WORD5 =
10
SCE_RUST_WORD6 =
11
SCE_RUST_WORD7 =
12
SCE_RUST_STRING =
13
SCE_RUST_STRINGR =
14
SCE_RUST_CHARACTER =
15
SCE_RUST_OPERATOR =
16
SCE_RUST_IDENTIFIER =
17
SCE_RUST_LIFETIME =
18
SCE_RUST_MACRO =
19
SCE_RUST_LEXERROR =
20
SCE_RUST_BYTESTRING =
21
SCE_RUST_BYTESTRINGR =
22
SCE_RUST_BYTECHARACTER =
23
SCE_DMAP_DEFAULT =

Lexical states for SCLEX_DMAP

0
SCE_DMAP_COMMENT =
1
SCE_DMAP_NUMBER =
2
SCE_DMAP_STRING1 =
3
SCE_DMAP_STRING2 =
4
SCE_DMAP_STRINGEOL =
5
SCE_DMAP_OPERATOR =
6
SCE_DMAP_IDENTIFIER =
7
SCE_DMAP_WORD =
8
SCE_DMAP_WORD2 =
9
SCE_DMAP_WORD3 =
10
SCE_DMIS_DEFAULT =

Lexical states for SCLEX_DMIS

0
SCE_DMIS_COMMENT =
1
SCE_DMIS_STRING =
2
SCE_DMIS_NUMBER =
3
SCE_DMIS_KEYWORD =
4
SCE_DMIS_MAJORWORD =
5
SCE_DMIS_MINORWORD =
6
SCE_DMIS_UNSUPPORTED_MAJOR =
7
SCE_DMIS_UNSUPPORTED_MINOR =
8
SCE_DMIS_LABEL =
9
SCE_REG_DEFAULT =

Lexical states for SCLEX_REGISTRY

0
SCE_REG_COMMENT =
1
SCE_REG_VALUENAME =
2
SCE_REG_STRING =
3
SCE_REG_HEXDIGIT =
4
SCE_REG_VALUETYPE =
5
SCE_REG_ADDEDKEY =
6
SCE_REG_DELETEDKEY =
7
SCE_REG_ESCAPED =
8
SCE_REG_KEYPATH_GUID =
9
SCE_REG_STRING_GUID =
10
SCE_REG_PARAMETER =
11
SCE_REG_OPERATOR =
12
SCE_BIBTEX_DEFAULT =

Lexical state for SCLEX_BIBTEX

0
SCE_BIBTEX_ENTRY =
1
SCE_BIBTEX_UNKNOWN_ENTRY =
2
SCE_BIBTEX_KEY =
3
SCE_BIBTEX_PARAMETER =
4
SCE_BIBTEX_VALUE =
5
SCE_BIBTEX_COMMENT =
6
SCN_STYLENEEDED =

Events

2000
SCN_CHARADDED =
2001
SCN_SAVEPOINTREACHED =
2002
SCN_SAVEPOINTLEFT =
2003
SCN_MODIFYATTEMPTRO =
2004
SCN_KEY =

GTK+ Specific to work around focus and accelerator problems:

2005
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
SCN_INDICATORCLICK =
2023
SCN_INDICATORRELEASE =
2024
SCN_AUTOCCANCELLED =
2025
SCN_AUTOCCHARDELETED =
2026
SCN_HOTSPOTRELEASECLICK =
2027
SCN_FOCUSIN =
2028
SCN_FOCUSOUT =
2029
SC_CP_DBCS =

Deprecated in 2.21 The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.

1

Instance Attribute Summary

Attributes inherited from FXScrollArea

#contentHeight, #contentWidth, #horizontalScrollBar, #scrollStyle, #verticalScrollBar, #viewportHeight, #viewportWidth, #xPosition, #yPosition

Attributes inherited from FXWindow

#accelTable, #backColor, #defaultCursor, #dragCursor, #first, #focus, #key, #last, #layoutHints, #next, #numChildren, #owner, #parent, #prev, #root, #selector, #shell, #target, #x, #y

Attributes inherited from FXDrawable

#height, #visual, #width

Attributes inherited from FXId

#app, #userData, #xid

Instance Method Summary collapse

Methods inherited from FXScrollArea

#horizontalScrollable?, #position, #scrollCorner, #setPosition, #verticalScrollable?

Methods inherited from FXComposite

#maxChildHeight, #maxChildWidth

Methods inherited from FXWindow

#acceptDrop, #acquireClipboard, #acquireSelection, #active?, #addHotKey, #after?, after?, #before?, before?, #beginDrag, #canFocus?, #changeFocus, #childAtIndex, #childOf?, #children, #clearDragRectangle, #clearShape, colorType, colorTypeName, commonAncestor, #composeContext, #composite?, #contains?, #containsChild?, #create, #createComposeContext, #cursorPosition, #default?, #defaultHeight, #defaultWidth, deleteType, deleteTypeName, #destroy, #destroyComposeContext, #detach, #didAccept, #disable, #doesSaveUnder?, #dragging?, #dropDisable, #dropEnable, #dropEnabled?, #dropFinished, #dropTarget?, #each_child, #each_child_recursive, #enable, #enabled?, #endDrag, #forceRefresh, #getChildAt, #getDNDData, #getHeightForWidth, #getWidthForHeight, #grab, #grabKeyboard, #grabbed?, #grabbedKeyboard?, #handleDrag, #hasClipboard?, #hasFocus?, #hasSelection?, #height, #height=, #hide, imageType, #inFocusChain?, #indexOfChild, #initial?, #inquireDNDAction, #inquireDNDTypes, #killFocus, #layout, #linkAfter, #linkBefore, #lower, #move, octetType, octetTypeName, #offeredDNDType?, #position, #raiseWindow, #recalc, #releaseClipboard, #releaseSelection, #remHotKey, #removeChild, #repaint, #reparent, #resize, #scroll, #setCursorPosition, #setDNDData, #setDefault, #setDragRectangle, #setFocus, #setInitial, #setShape, #shell?, #show, #shown?, stringType, textType, textTypeName, #tr, #translateCoordinatesFrom, #translateCoordinatesTo, #underCursor?, #ungrab, #ungrabKeyboard, #update, urilistType, urilistTypeName, utf16Type, utf16TypeName, utf8Type, utf8TypeName, #visible=, #width, #width=

Methods included from Responder2

#connect

Methods inherited from FXDrawable

#resize

Methods inherited from FXId

#create, #created?, #destroy, #detach, #runOnUiThread

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initialize(p, target = nil, selector = 0, opts = 0, x = 0, y = 0, width = 0, height = 0) ⇒ FXScintilla

Return an initialized FXScintilla instance.



105
106
# File 'rdoc-sources/FXScintilla.rb', line 105

def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theScintilla
end

Instance Method Details

#addRefDocument(doc) ⇒ Object

Extend life of document.



2383
2384
2385
# File 'lib/fox16/scintilla.rb', line 2383

def addRefDocument(doc)
  sendMessage(2376, 0, doc)
end

#addSelection(caret, anchor) ⇒ Object

Add a selection



3291
3292
3293
# File 'lib/fox16/scintilla.rb', line 3291

def addSelection(caret, anchor)
  sendMessage(2573, caret, anchor)
end

#addStyledText(length, c) ⇒ Object

Add array of cells to document.



29
30
31
# File 'lib/fox16/scintilla.rb', line 29

def addStyledText(length, c)
  sendMessage(2002, length, c)
end

#addTabStop(line, x) ⇒ Object

Add an explicit tab stop for a line.



244
245
246
# File 'lib/fox16/scintilla.rb', line 244

def addTabStop(line, x)
  sendMessage(2676, line, x)
end

#addText(length, text) ⇒ Object

Add text to the document at current position.



24
25
26
# File 'lib/fox16/scintilla.rb', line 24

def addText(length, text)
  sendMessage(2001, length, text)
end

#addUndoAction(token, flags) ⇒ Object

Add a container action to the undo stack



3205
3206
3207
# File 'lib/fox16/scintilla.rb', line 3205

def addUndoAction(token, flags)
  sendMessage(2560, token, flags)
end

#allocate(bytes) ⇒ Object

Enlarge the document to a particular size of text bytes.



2829
2830
2831
# File 'lib/fox16/scintilla.rb', line 2829

def allocate(bytes)
  sendMessage(2446, bytes, 0)
end

#allocateExtendedStyles(numberStyles) ⇒ Object

Allocate some extended (>255) style numbers and return the start of the range



3198
3199
3200
# File 'lib/fox16/scintilla.rb', line 3198

def allocateExtendedStyles(numberStyles)
  sendMessage(2553, numberStyles, 0)
end

#allocateSubStyles(styleBase, numberStyles) ⇒ Object

Allocate a set of sub styles for a particular base style, returning start of range



3733
3734
3735
# File 'lib/fox16/scintilla.rb', line 3733

def allocateSubStyles(styleBase, numberStyles)
  sendMessage(4020, styleBase, numberStyles)
end

#annotationClearAllObject

Clear the annotations from all lines



3163
3164
3165
# File 'lib/fox16/scintilla.rb', line 3163

def annotationClearAll
  sendMessage(2547, 0, 0)
end

#annotationGetLines(line) ⇒ Object

Get the number of annotation lines for a line



3158
3159
3160
# File 'lib/fox16/scintilla.rb', line 3158

def annotationGetLines(line)
  sendMessage(2546, line, 0)
end

#annotationGetStyle(line) ⇒ Object

Get the style number for the annotations for a line



3141
3142
3143
# File 'lib/fox16/scintilla.rb', line 3141

def annotationGetStyle(line)
  sendMessage(2543, line, 0)
end

#annotationGetStyleOffsetObject

Get the start of the range of style numbers used for annotations



3188
3189
3190
# File 'lib/fox16/scintilla.rb', line 3188

def annotationGetStyleOffset
  sendMessage(2551, 0, 0)
end

#annotationGetStyles(line) ⇒ Object

Get the annotation styles for a line



3151
3152
3153
3154
3155
# File 'lib/fox16/scintilla.rb', line 3151

def annotationGetStyles(line)
  buffer = "".ljust(line)
  sendMessage(2545, line, buffer)
  buffer
end

#annotationGetText(line) ⇒ Object

Get the annotation text for a line



3129
3130
3131
3132
3133
# File 'lib/fox16/scintilla.rb', line 3129

def annotationGetText(line)
  buffer = "".ljust(line)
  sendMessage(2541, line, buffer)
  buffer
end

#annotationGetVisibleObject

Get the visibility for the annotations for a view



3178
3179
3180
# File 'lib/fox16/scintilla.rb', line 3178

def annotationGetVisible
  sendMessage(2549, 0, 0)
end

#annotationSetStyle(line, style) ⇒ Object

Set the style number for the annotations for a line



3136
3137
3138
# File 'lib/fox16/scintilla.rb', line 3136

def annotationSetStyle(line, style)
  sendMessage(2542, line, style)
end

#annotationSetStyleOffset(style) ⇒ Object

Get the start of the range of style numbers used for annotations



3183
3184
3185
# File 'lib/fox16/scintilla.rb', line 3183

def annotationSetStyleOffset(style)
  sendMessage(2550, style, 0)
end

#annotationSetStyles(line, styles) ⇒ Object

Set the annotation styles for a line



3146
3147
3148
# File 'lib/fox16/scintilla.rb', line 3146

def annotationSetStyles(line, styles)
  sendMessage(2544, line, styles)
end

#annotationSetText(line, text) ⇒ Object

Set the annotation text for a line



3124
3125
3126
# File 'lib/fox16/scintilla.rb', line 3124

def annotationSetText(line, text)
  sendMessage(2540, line, text)
end

#annotationSetVisible(visible) ⇒ Object

Set the visibility for the annotations for a view



3173
3174
3175
# File 'lib/fox16/scintilla.rb', line 3173

def annotationSetVisible(visible)
  sendMessage(2548, visible, 0)
end

#appendText(length, text) ⇒ Object

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



1848
1849
1850
# File 'lib/fox16/scintilla.rb', line 1848

def appendText(length, text)
  sendMessage(2282, length, text)
end

#assignCmdKey(km, msg) ⇒ Object

When key+modifier combination km is pressed perform msg.



693
694
695
# File 'lib/fox16/scintilla.rb', line 693

def assignCmdKey(km, msg)
  sendMessage(2070, km, msg)
end

#autoCActiveObject

Is there an auto-completion list visible?



891
892
893
# File 'lib/fox16/scintilla.rb', line 891

def autoCActive
  sendMessage(2102, 0, 0) == 1 ? true : false
end

#autoCCancelObject

Remove the auto-completion list from the screen.



886
887
888
# File 'lib/fox16/scintilla.rb', line 886

def autoCCancel
  sendMessage(2101, 0, 0)
end

#autoCCompleteObject

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



901
902
903
# File 'lib/fox16/scintilla.rb', line 901

def autoCComplete
  sendMessage(2104, 0, 0)
end

#autoCGetAutoHideObject

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



974
975
976
# File 'lib/fox16/scintilla.rb', line 974

def autoCGetAutoHide
  sendMessage(2119, 0, 0) == 1 ? true : false
end

#autoCGetCancelAtStartObject

Retrieve whether auto-completion cancelled by backspacing before start.



933
934
935
# File 'lib/fox16/scintilla.rb', line 933

def autoCGetCancelAtStart
  sendMessage(2111, 0, 0) == 1 ? true : false
end

#autoCGetCaseInsensitiveBehaviourObject

Get auto-completion case insensitive behaviour.



2797
2798
2799
# File 'lib/fox16/scintilla.rb', line 2797

def autoCGetCaseInsensitiveBehaviour
  sendMessage(2635, 0, 0)
end

#autoCGetChooseSingleObject

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



949
950
951
# File 'lib/fox16/scintilla.rb', line 949

def autoCGetChooseSingle
  sendMessage(2114, 0, 0) == 1 ? true : false
end

#autoCGetCurrentObject

Get currently selected item position in the auto-completion list



2778
2779
2780
# File 'lib/fox16/scintilla.rb', line 2778

def autoCGetCurrent
  sendMessage(2445, 0, 0)
end

#autoCGetCurrentTextObject

Get currently selected item text in the auto-completion list Returns the length of the item text



2784
2785
2786
# File 'lib/fox16/scintilla.rb', line 2784

def autoCGetCurrentText
  sendMessage(2610, 0, s)
end

#autoCGetDropRestOfWordObject

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



986
987
988
# File 'lib/fox16/scintilla.rb', line 986

def autoCGetDropRestOfWord
  sendMessage(2271, 0, 0) == 1 ? true : false
end

#autoCGetIgnoreCaseObject

Retrieve state of ignore case flag.



959
960
961
# File 'lib/fox16/scintilla.rb', line 959

def autoCGetIgnoreCase
  sendMessage(2116, 0, 0) == 1 ? true : false
end

#autoCGetMaxHeightObject

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



1029
1030
1031
# File 'lib/fox16/scintilla.rb', line 1029

def autoCGetMaxHeight
  sendMessage(2211, 0, 0)
end

#autoCGetMaxWidthObject

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



1018
1019
1020
# File 'lib/fox16/scintilla.rb', line 1018

def autoCGetMaxWidth
  sendMessage(2209, 0, 0)
end

#autoCGetMultiObject

Retrieve the effect of autocompleting when there are multiple selections..



2810
2811
2812
# File 'lib/fox16/scintilla.rb', line 2810

def autoCGetMulti
  sendMessage(2637, 0, 0)
end

#autoCGetOrderObject

Get the way autocompletion lists are ordered.



2824
2825
2826
# File 'lib/fox16/scintilla.rb', line 2824

def autoCGetOrder
  sendMessage(2661, 0, 0)
end

#autoCGetSeparatorObject

Retrieve the auto-completion list separator character.



917
918
919
# File 'lib/fox16/scintilla.rb', line 917

def autoCGetSeparator
  sendMessage(2107, 0, 0)
end

#autoCGetTypeSeparatorObject

Retrieve the auto-completion list type-separator character.



1001
1002
1003
# File 'lib/fox16/scintilla.rb', line 1001

def autoCGetTypeSeparator
  sendMessage(2285, 0, 0)
end

#autoCPosStartObject

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



896
897
898
# File 'lib/fox16/scintilla.rb', line 896

def autoCPosStart
  sendMessage(2103, 0, 0)
end

#autoCSelect(text) ⇒ Object

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



922
923
924
# File 'lib/fox16/scintilla.rb', line 922

def autoCSelect(text)
  sendMessage(2108, 0, text)
end

#autoCSetAutoHide(autoHide) ⇒ Object

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



969
970
971
# File 'lib/fox16/scintilla.rb', line 969

def autoCSetAutoHide(autoHide)
  sendMessage(2118, autoHide, 0)
end

#autoCSetCancelAtStart(cancel) ⇒ Object

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



928
929
930
# File 'lib/fox16/scintilla.rb', line 928

def autoCSetCancelAtStart(cancel)
  sendMessage(2110, cancel, 0)
end

#autoCSetCaseInsensitiveBehaviour(behaviour) ⇒ Object

Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.



2792
2793
2794
# File 'lib/fox16/scintilla.rb', line 2792

def autoCSetCaseInsensitiveBehaviour(behaviour)
  sendMessage(2634, behaviour, 0)
end

#autoCSetChooseSingle(chooseSingle) ⇒ Object

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



944
945
946
# File 'lib/fox16/scintilla.rb', line 944

def autoCSetChooseSingle(chooseSingle)
  sendMessage(2113, chooseSingle, 0)
end

#autoCSetDropRestOfWord(dropRestOfWord) ⇒ Object

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



980
981
982
# File 'lib/fox16/scintilla.rb', line 980

def autoCSetDropRestOfWord(dropRestOfWord)
  sendMessage(2270, dropRestOfWord, 0)
end

#autoCSetFillUps(characterSet) ⇒ Object

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



939
940
941
# File 'lib/fox16/scintilla.rb', line 939

def autoCSetFillUps(characterSet)
  sendMessage(2112, 0, characterSet)
end

#autoCSetIgnoreCase(ignoreCase) ⇒ Object

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



954
955
956
# File 'lib/fox16/scintilla.rb', line 954

def autoCSetIgnoreCase(ignoreCase)
  sendMessage(2115, ignoreCase, 0)
end

#autoCSetMaxHeight(rowCount) ⇒ Object

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



1024
1025
1026
# File 'lib/fox16/scintilla.rb', line 1024

def autoCSetMaxHeight(rowCount)
  sendMessage(2210, rowCount, 0)
end

#autoCSetMaxWidth(characterCount) ⇒ Object

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.



1013
1014
1015
# File 'lib/fox16/scintilla.rb', line 1013

def autoCSetMaxWidth(characterCount)
  sendMessage(2208, characterCount, 0)
end

#autoCSetMulti(multi) ⇒ Object

Change the effect of autocompleting when there are multiple selections.



2805
2806
2807
# File 'lib/fox16/scintilla.rb', line 2805

def autoCSetMulti(multi)
  sendMessage(2636, multi, 0)
end

#autoCSetOrder(order) ⇒ Object

Set the way autocompletion lists are ordered.



2819
2820
2821
# File 'lib/fox16/scintilla.rb', line 2819

def autoCSetOrder(order)
  sendMessage(2660, order, 0)
end

#autoCSetSeparator(separatorCharacter) ⇒ Object

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



912
913
914
# File 'lib/fox16/scintilla.rb', line 912

def autoCSetSeparator(separatorCharacter)
  sendMessage(2106, separatorCharacter, 0)
end

#autoCSetTypeSeparator(separatorCharacter) ⇒ Object

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



1007
1008
1009
# File 'lib/fox16/scintilla.rb', line 1007

def autoCSetTypeSeparator(separatorCharacter)
  sendMessage(2286, separatorCharacter, 0)
end

#autoCShow(lenEntered, itemList) ⇒ Object

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



881
882
883
# File 'lib/fox16/scintilla.rb', line 881

def autoCShow(lenEntered, itemList)
  sendMessage(2100, lenEntered, itemList)
end

#autoCStops(characterSet) ⇒ Object

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



906
907
908
# File 'lib/fox16/scintilla.rb', line 906

def autoCStops(characterSet)
  sendMessage(2105, 0, characterSet)
end

#backTabObject

Dedent the selected lines.



2090
2091
2092
# File 'lib/fox16/scintilla.rb', line 2090

def backTab
  sendMessage(2328, 0, 0)
end

#beginUndoActionObject

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



741
742
743
# File 'lib/fox16/scintilla.rb', line 741

def beginUndoAction
  sendMessage(2078, 0, 0)
end

#braceBadLight(pos) ⇒ Object

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



2259
2260
2261
# File 'lib/fox16/scintilla.rb', line 2259

def braceBadLight(pos)
  sendMessage(2352, pos, 0)
end

#braceBadLightIndicator(useBraceBadLightIndicator, indicator) ⇒ Object

Use specified indicator to highlight non matching brace instead of changing its style.



2264
2265
2266
# File 'lib/fox16/scintilla.rb', line 2264

def braceBadLightIndicator(useBraceBadLightIndicator, indicator)
  sendMessage(2499, useBraceBadLightIndicator, indicator)
end

#braceHighlight(pos1, pos2) ⇒ Object

Highlight the characters at two positions.



2249
2250
2251
# File 'lib/fox16/scintilla.rb', line 2249

def braceHighlight(pos1, pos2)
  sendMessage(2351, pos1, pos2)
end

#braceHighlightIndicator(useBraceHighlightIndicator, indicator) ⇒ Object

Use specified indicator to highlight matching braces instead of changing their style.



2254
2255
2256
# File 'lib/fox16/scintilla.rb', line 2254

def braceHighlightIndicator(useBraceHighlightIndicator, indicator)
  sendMessage(2498, useBraceHighlightIndicator, indicator)
end

#braceMatch(pos) ⇒ Object

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



2269
2270
2271
# File 'lib/fox16/scintilla.rb', line 2269

def braceMatch(pos)
  sendMessage(2353, pos, 0)
end

#callTipActiveObject

Is there an active call tip?



1485
1486
1487
# File 'lib/fox16/scintilla.rb', line 1485

def callTipActive
  sendMessage(2202, 0, 0) == 1 ? true : false
end

#callTipCancelObject

Remove the call tip from the screen.



1480
1481
1482
# File 'lib/fox16/scintilla.rb', line 1480

def callTipCancel
  sendMessage(2201, 0, 0)
end

#callTipPosStartObject

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



1490
1491
1492
# File 'lib/fox16/scintilla.rb', line 1490

def callTipPosStart
  sendMessage(2203, 0, 0)
end

#callTipSetBack(back) ⇒ Object

Set the background colour for the call tip.



1505
1506
1507
# File 'lib/fox16/scintilla.rb', line 1505

def callTipSetBack(back)
  sendMessage(2205, back & 0xffffff, 0)
end

#callTipSetFore(fore) ⇒ Object

Set the foreground colour for the call tip.



1510
1511
1512
# File 'lib/fox16/scintilla.rb', line 1510

def callTipSetFore(fore)
  sendMessage(2206, fore & 0xffffff, 0)
end

#callTipSetForeHlt(fore) ⇒ Object

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



1515
1516
1517
# File 'lib/fox16/scintilla.rb', line 1515

def callTipSetForeHlt(fore)
  sendMessage(2207, fore & 0xffffff, 0)
end

#callTipSetHlt(start, last) ⇒ Object

Highlight a segment of the definition.



1500
1501
1502
# File 'lib/fox16/scintilla.rb', line 1500

def callTipSetHlt(start, last)
  sendMessage(2204, start, last)
end

#callTipSetPosition(above) ⇒ Object

Set position of calltip, above or below text.



1525
1526
1527
# File 'lib/fox16/scintilla.rb', line 1525

def callTipSetPosition(above)
  sendMessage(2213, above, 0)
end

#callTipSetPosStart(posStart) ⇒ Object

Set the start position in order to change when backspacing removes the calltip.



1495
1496
1497
# File 'lib/fox16/scintilla.rb', line 1495

def callTipSetPosStart(posStart)
  sendMessage(2214, posStart, 0)
end

#callTipShow(pos, definition) ⇒ Object

Show a call tip containing a definition near position pos.



1475
1476
1477
# File 'lib/fox16/scintilla.rb', line 1475

def callTipShow(pos, definition)
  sendMessage(2200, pos, definition)
end

#callTipUseStyle(tabSize) ⇒ Object

Enable use of STYLE_CALLTIP and set call tip tab size in pixels.



1520
1521
1522
# File 'lib/fox16/scintilla.rb', line 1520

def callTipUseStyle(tabSize)
  sendMessage(2212, tabSize, 0)
end

#cancelObject

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



2074
2075
2076
# File 'lib/fox16/scintilla.rb', line 2074

def cancel
  sendMessage(2325, 0, 0)
end

#canPasteObject

Will a paste succeed?



1330
1331
1332
# File 'lib/fox16/scintilla.rb', line 1330

def canPaste
  sendMessage(2173, 0, 0) == 1 ? true : false
end

#canRedoObject

Are there any redoable actions in the undo history?



112
113
114
# File 'lib/fox16/scintilla.rb', line 112

def canRedo
  sendMessage(2016, 0, 0) == 1 ? true : false
end

#canUndoObject

Are there any undoable actions in the undo history?



1335
1336
1337
# File 'lib/fox16/scintilla.rb', line 1335

def canUndo
  sendMessage(2174, 0, 0) == 1 ? true : false
end

#changeInsertion(length, text) ⇒ Object

Change the text that is being inserted in response to SC_MOD_INSERTCHECK



39
40
41
# File 'lib/fox16/scintilla.rb', line 39

def changeInsertion(length, text)
  sendMessage(2672, length, text)
end

#changeLexerState(start, last) ⇒ Object

Indicate that the internal state of a lexer has changed over a range and therefore there may be a need to redraw.



3449
3450
3451
# File 'lib/fox16/scintilla.rb', line 3449

def changeLexerState(start, last)
  sendMessage(2617, start, last)
end

#charLeftObject

Move caret left one character.



1969
1970
1971
# File 'lib/fox16/scintilla.rb', line 1969

def charLeft
  sendMessage(2304, 0, 0)
end

#charLeftExtendObject

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



1974
1975
1976
# File 'lib/fox16/scintilla.rb', line 1974

def charLeftExtend
  sendMessage(2305, 0, 0)
end

#charLeftRectExtendObject

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



2672
2673
2674
# File 'lib/fox16/scintilla.rb', line 2672

def charLeftRectExtend
  sendMessage(2428, 0, 0)
end

#charPositionFromPoint(x, y) ⇒ Object

Find the position of a character from a point within the window.



3210
3211
3212
# File 'lib/fox16/scintilla.rb', line 3210

def charPositionFromPoint(x, y)
  sendMessage(2561, x, y)
end

#charPositionFromPointClose(x, y) ⇒ Object

Find the position of a character from a point within the window. Return INVALID_POSITION if not close to text.



3216
3217
3218
# File 'lib/fox16/scintilla.rb', line 3216

def charPositionFromPointClose(x, y)
  sendMessage(2562, x, y)
end

#charRightObject

Move caret right one character.



1979
1980
1981
# File 'lib/fox16/scintilla.rb', line 1979

def charRight
  sendMessage(2306, 0, 0)
end

#charRightExtendObject

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



1984
1985
1986
# File 'lib/fox16/scintilla.rb', line 1984

def charRightExtend
  sendMessage(2307, 0, 0)
end

#charRightRectExtendObject

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



2677
2678
2679
# File 'lib/fox16/scintilla.rb', line 2677

def charRightRectExtend
  sendMessage(2429, 0, 0)
end

#chooseCaretXObject

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



2499
2500
2501
# File 'lib/fox16/scintilla.rb', line 2499

def chooseCaretX
  sendMessage(2399, 0, 0)
end

#clearObject

Clear the selection.



1365
1366
1367
# File 'lib/fox16/scintilla.rb', line 1365

def clear
  sendMessage(2180, 0, 0)
end

#clearAllObject

Delete all text in the document.



44
45
46
# File 'lib/fox16/scintilla.rb', line 44

def clearAll
  sendMessage(2004, 0, 0)
end

#clearAllCmdKeysObject

Drop all key mappings.



703
704
705
# File 'lib/fox16/scintilla.rb', line 703

def clearAllCmdKeys
  sendMessage(2072, 0, 0)
end

#clearCmdKey(km) ⇒ Object

When key+modifier combination km is pressed do nothing.



698
699
700
# File 'lib/fox16/scintilla.rb', line 698

def clearCmdKey(km)
  sendMessage(2071, km, 0)
end

#clearDocumentStyleObject

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



54
55
56
# File 'lib/fox16/scintilla.rb', line 54

def clearDocumentStyle
  sendMessage(2005, 0, 0)
end

#clearRegisteredImagesObject

Clear all the registered XPM images.



996
997
998
# File 'lib/fox16/scintilla.rb', line 996

def clearRegisteredImages
  sendMessage(2408, 0, 0)
end

#clearRepresentation(encodedCharacter) ⇒ Object

Remove a character representation.



3611
3612
3613
# File 'lib/fox16/scintilla.rb', line 3611

def clearRepresentation(encodedCharacter)
  sendMessage(2667, encodedCharacter, 0)
end

#clearSelectionsObject

Clear selections to a single empty stream selection



3281
3282
3283
# File 'lib/fox16/scintilla.rb', line 3281

def clearSelections
  sendMessage(2571, 0, 0)
end

#clearTabStops(line) ⇒ Object

Clear explicit tabstops on a line.



239
240
241
# File 'lib/fox16/scintilla.rb', line 239

def clearTabStops(line)
  sendMessage(2675, line, 0)
end

#colourise(start, last) ⇒ Object

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



3636
3637
3638
# File 'lib/fox16/scintilla.rb', line 3636

def colourise(start, last)
  sendMessage(4003, start, last)
end

#contractedFoldNext(lineStart) ⇒ Object

Find the next line at or after lineStart that is a contracted fold header line. Return -1 when no more lines.



3455
3456
3457
# File 'lib/fox16/scintilla.rb', line 3455

def contractedFoldNext(lineStart)
  sendMessage(2618, lineStart, 0)
end

#convertEOLs(eolMode) ⇒ Object

Convert all line endings in the document to one mode.



191
192
193
# File 'lib/fox16/scintilla.rb', line 191

def convertEOLs(eolMode)
  sendMessage(2029, eolMode, 0)
end

#copyObject

Copy the selection to the clipboard.



1355
1356
1357
# File 'lib/fox16/scintilla.rb', line 1355

def copy
  sendMessage(2178, 0, 0)
end

#copyAllowLineObject

Copy the selection, if selection empty copy the line with the caret



2983
2984
2985
# File 'lib/fox16/scintilla.rb', line 2983

def copyAllowLine
  sendMessage(2519, 0, 0)
end

#copyRange(start, last) ⇒ Object

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



2626
2627
2628
# File 'lib/fox16/scintilla.rb', line 2626

def copyRange(start, last)
  sendMessage(2419, start, last)
end

#copyText(length, text) ⇒ Object

Copy argument text to the clipboard.



2631
2632
2633
# File 'lib/fox16/scintilla.rb', line 2631

def copyText(length, text)
  sendMessage(2420, length, text)
end

#countCharacters(startPos, endPos) ⇒ Object

Count characters between two positions.



1075
1076
1077
# File 'lib/fox16/scintilla.rb', line 1075

def countCharacters(startPos, endPos)
  sendMessage(2633, startPos, endPos)
end

#createDocumentObject

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



2379
2380
2381
# File 'lib/fox16/scintilla.rb', line 2379

def createDocument
  sendMessage(2375, 0, 0)
end

#createLoader(bytes) ⇒ Object

Create an ILoader*.



3537
3538
3539
# File 'lib/fox16/scintilla.rb', line 3537

def createLoader(bytes)
  sendMessage(2632, bytes, 0)
end

#cutObject

Cut the selection to the clipboard.



1350
1351
1352
# File 'lib/fox16/scintilla.rb', line 1350

def cut
  sendMessage(2177, 0, 0)
end

#deleteBackObject

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



2079
2080
2081
# File 'lib/fox16/scintilla.rb', line 2079

def deleteBack
  sendMessage(2326, 0, 0)
end

#deleteBackNotLineObject

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



2182
2183
2184
# File 'lib/fox16/scintilla.rb', line 2182

def deleteBackNotLine
  sendMessage(2344, 0, 0)
end

#deleteRange(pos, deleteLength) ⇒ Object

Delete a range of text in the document.



49
50
51
# File 'lib/fox16/scintilla.rb', line 49

def deleteRange(pos, deleteLength)
  sendMessage(2645, pos, deleteLength)
end

#delLineLeftObject

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



2481
2482
2483
# File 'lib/fox16/scintilla.rb', line 2481

def delLineLeft
  sendMessage(2395, 0, 0)
end

#delLineRightObject

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



2486
2487
2488
# File 'lib/fox16/scintilla.rb', line 2486

def delLineRight
  sendMessage(2396, 0, 0)
end

#delWordLeftObject

Delete the word to the left of the caret.



2126
2127
2128
# File 'lib/fox16/scintilla.rb', line 2126

def delWordLeft
  sendMessage(2335, 0, 0)
end

#delWordRightObject

Delete the word to the right of the caret.



2131
2132
2133
# File 'lib/fox16/scintilla.rb', line 2131

def delWordRight
  sendMessage(2336, 0, 0)
end

#delWordRightEndObject

Delete the word to the right of the caret, but not the trailing non-word characters.



2136
2137
2138
# File 'lib/fox16/scintilla.rb', line 2136

def delWordRightEnd
  sendMessage(2518, 0, 0)
end

#describeKeyWordSetsObject

Retrieve a ‘n’ separated list of descriptions of the keyword sets understood by the current lexer.



3722
3723
3724
# File 'lib/fox16/scintilla.rb', line 3722

def describeKeyWordSets
  sendMessage(4017, 0, descriptions)
end

#describeProperty(name) ⇒ Object

Describe a property.



3715
3716
3717
3718
3719
# File 'lib/fox16/scintilla.rb', line 3715

def describeProperty(name)
  buffer = "".ljust(name)
  sendMessage(4016, name, buffer)
  buffer
end

#distanceToSecondaryStylesObject

Where styles are duplicated by a feature such as active/inactive code return the distance between the two types.



3769
3770
3771
# File 'lib/fox16/scintilla.rb', line 3769

def distanceToSecondaryStyles
  sendMessage(4025, 0, 0)
end

#docLineFromVisible(lineDisplay) ⇒ Object

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



1535
1536
1537
# File 'lib/fox16/scintilla.rb', line 1535

def docLineFromVisible(lineDisplay)
  sendMessage(2221, lineDisplay, 0)
end

#documentEndObject

Move caret to last position in document.



2039
2040
2041
# File 'lib/fox16/scintilla.rb', line 2039

def documentEnd
  sendMessage(2318, 0, 0)
end

#documentEndExtendObject

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



2044
2045
2046
# File 'lib/fox16/scintilla.rb', line 2044

def documentEndExtend
  sendMessage(2319, 0, 0)
end

#documentStartObject

Move caret to first position in document.



2029
2030
2031
# File 'lib/fox16/scintilla.rb', line 2029

def documentStart
  sendMessage(2316, 0, 0)
end

#documentStartExtendObject

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



2034
2035
2036
# File 'lib/fox16/scintilla.rb', line 2034

def documentStartExtend
  sendMessage(2317, 0, 0)
end

#dropSelectionN(selection) ⇒ Object

Drop one selection



3296
3297
3298
# File 'lib/fox16/scintilla.rb', line 3296

def dropSelectionN(selection)
  sendMessage(2671, selection, 0)
end

#editToggleOvertypeObject

Switch from insert to overtype mode or the reverse.



2069
2070
2071
# File 'lib/fox16/scintilla.rb', line 2069

def editToggleOvertype
  sendMessage(2324, 0, 0)
end

#emptyUndoBufferObject

Delete the undo history.



1340
1341
1342
# File 'lib/fox16/scintilla.rb', line 1340

def emptyUndoBuffer
  sendMessage(2175, 0, 0)
end

#encodedFromUTF8(utf8) ⇒ Object

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



2848
2849
2850
2851
2852
# File 'lib/fox16/scintilla.rb', line 2848

def encodedFromUTF8(utf8)
  buffer = "".ljust(utf8)
  sendMessage(2449, utf8, buffer)
  buffer
end

#endUndoActionObject

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



746
747
748
# File 'lib/fox16/scintilla.rb', line 746

def endUndoAction
  sendMessage(2079, 0, 0)
end

#ensureVisible(line) ⇒ Object

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



1631
1632
1633
# File 'lib/fox16/scintilla.rb', line 1631

def ensureVisible(line)
  sendMessage(2232, line, 0)
end

#ensureVisibleEnforcePolicy(line) ⇒ Object

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.



1663
1664
1665
# File 'lib/fox16/scintilla.rb', line 1663

def ensureVisibleEnforcePolicy(line)
  sendMessage(2234, line, 0)
end

#expandChildren(line, level) ⇒ Object

Expand a fold header and all children. Use the level argument instead of the line’s current level.



1621
1622
1623
# File 'lib/fox16/scintilla.rb', line 1621

def expandChildren(line, level)
  sendMessage(2239, line, level)
end

#findColumn(line, column) ⇒ Object

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.



2856
2857
2858
# File 'lib/fox16/scintilla.rb', line 2856

def findColumn(line, column)
  sendMessage(2456, line, column)
end

#findIndicatorFlash(start, last) ⇒ Object

On OS X, flash a find indicator, then fade out.



3547
3548
3549
# File 'lib/fox16/scintilla.rb', line 3547

def findIndicatorFlash(start, last)
  sendMessage(2641, start, last)
end

#findIndicatorHideObject

On OS X, hide the find indicator.



3552
3553
3554
# File 'lib/fox16/scintilla.rb', line 3552

def findIndicatorHide
  sendMessage(2642, 0, 0)
end

#findIndicatorShow(start, last) ⇒ Object

On OS X, show a find indicator.



3542
3543
3544
# File 'lib/fox16/scintilla.rb', line 3542

def findIndicatorShow(start, last)
  sendMessage(2640, start, last)
end

#findText(flags, ft) ⇒ Object

Find some text in the document.



1203
1204
1205
# File 'lib/fox16/scintilla.rb', line 1203

def findText(flags, ft)
  sendMessage(2150, flags, ft)
end

#foldAll(action) ⇒ Object

Expand or contract all fold headers.



1626
1627
1628
# File 'lib/fox16/scintilla.rb', line 1626

def foldAll(action)
  sendMessage(2662, action, 0)
end

#foldChildren(line, action) ⇒ Object

Expand or contract a fold header and its children.



1616
1617
1618
# File 'lib/fox16/scintilla.rb', line 1616

def foldChildren(line, action)
  sendMessage(2238, line, action)
end

#foldLine(line, action) ⇒ Object

Expand or contract a fold header.



1611
1612
1613
# File 'lib/fox16/scintilla.rb', line 1611

def foldLine(line, action)
  sendMessage(2237, line, action)
end

#formatRange(draw, fr) ⇒ Object

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



1208
1209
1210
# File 'lib/fox16/scintilla.rb', line 1208

def formatRange(draw, fr)
  sendMessage(2151, draw, fr)
end

#formFeedObject

Insert a Form Feed character.



2100
2101
2102
# File 'lib/fox16/scintilla.rb', line 2100

def formFeed
  sendMessage(2330, 0, 0)
end

#freeSubStylesObject

Free allocated sub styles



3758
3759
3760
# File 'lib/fox16/scintilla.rb', line 3758

def freeSubStyles
  sendMessage(4023, 0, 0)
end

#getAdditionalCaretForeObject

Get the foreground colour of additional carets.



3433
3434
3435
# File 'lib/fox16/scintilla.rb', line 3433

def getAdditionalCaretFore
  sendMessage(2605, 0, 0)
end

Whether additional carets will blink



3256
3257
3258
# File 'lib/fox16/scintilla.rb', line 3256

def getAdditionalCaretsBlink
  sendMessage(2568, 0, 0) == 1 ? true : false
end

#getAdditionalCaretsVisibleObject

Whether additional carets are visible



3266
3267
3268
# File 'lib/fox16/scintilla.rb', line 3266

def getAdditionalCaretsVisible
  sendMessage(2609, 0, 0) == 1 ? true : false
end

#getAdditionalSelAlphaObject

Get the alpha of the selection.



3423
3424
3425
# File 'lib/fox16/scintilla.rb', line 3423

def getAdditionalSelAlpha
  sendMessage(2603, 0, 0)
end

#getAdditionalSelectionTypingObject

Whether typing can be performed into multiple selections



3246
3247
3248
# File 'lib/fox16/scintilla.rb', line 3246

def getAdditionalSelectionTyping
  sendMessage(2566, 0, 0) == 1 ? true : false
end

#getAllLinesVisibleObject

Are all lines visible?



1587
1588
1589
# File 'lib/fox16/scintilla.rb', line 1587

def getAllLinesVisible
  sendMessage(2236, 0, 0) == 1 ? true : false
end

#getAnchorObject

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



74
75
76
# File 'lib/fox16/scintilla.rb', line 74

def getAnchor
  sendMessage(2009, 0, 0)
end

#getAutomaticFoldObject

Get automatic folding behaviours.



1645
1646
1647
# File 'lib/fox16/scintilla.rb', line 1645

def getAutomaticFold
  sendMessage(2664, 0, 0)
end

#getBackSpaceUnIndentsObject

Does a backspace pressed when caret is within indentation unindent?



1683
1684
1685
# File 'lib/fox16/scintilla.rb', line 1683

def getBackSpaceUnIndents
  sendMessage(2263, 0, 0) == 1 ? true : false
end

#getBufferedDrawObject

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



218
219
220
# File 'lib/fox16/scintilla.rb', line 218

def getBufferedDraw
  sendMessage(2034, 0, 0) == 1 ? true : false
end

#getCaretForeObject

Get the foreground colour of the caret.



1125
1126
1127
# File 'lib/fox16/scintilla.rb', line 1125

def getCaretFore
  sendMessage(2138, 0, 0)
end

#getCaretLineBackObject

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



863
864
865
# File 'lib/fox16/scintilla.rb', line 863

def getCaretLineBack
  sendMessage(2097, 0, 0)
end

#getCaretLineBackAlphaObject

Get the background alpha of the caret line.



2904
2905
2906
# File 'lib/fox16/scintilla.rb', line 2904

def getCaretLineBackAlpha
  sendMessage(2471, 0, 0)
end

#getCaretLineVisibleObject

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



853
854
855
# File 'lib/fox16/scintilla.rb', line 853

def getCaretLineVisible
  sendMessage(2095, 0, 0) == 1 ? true : false
end

#getCaretLineVisibleAlwaysObject

Is the caret line always visible?



3568
3569
3570
# File 'lib/fox16/scintilla.rb', line 3568

def getCaretLineVisibleAlways
  sendMessage(2654, 0, 0) == 1 ? true : false
end

#getCaretPeriodObject

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



718
719
720
# File 'lib/fox16/scintilla.rb', line 718

def getCaretPeriod
  sendMessage(2075, 0, 0)
end

#getCaretStickyObject

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



2861
2862
2863
# File 'lib/fox16/scintilla.rb', line 2861

def getCaretSticky
  sendMessage(2457, 0, 0)
end

#getCaretStyleObject

Returns the current style of the caret.



2918
2919
2920
# File 'lib/fox16/scintilla.rb', line 2918

def getCaretStyle
  sendMessage(2513, 0, 0)
end

#getCaretWidthObject

Returns the width of the insert mode caret.



1414
1415
1416
# File 'lib/fox16/scintilla.rb', line 1414

def getCaretWidth
  sendMessage(2189, 0, 0)
end

#getCharacterPointerObject

Compact the document buffer and return a read-only pointer to the characters in the document.



2989
2990
2991
# File 'lib/fox16/scintilla.rb', line 2989

def getCharacterPointer
  sendMessage(2520, 0, 0)
end

#getCharAt(pos) ⇒ Object

Returns the character byte at the position.



64
65
66
# File 'lib/fox16/scintilla.rb', line 64

def getCharAt(pos)
  sendMessage(2007, pos, 0)
end

#getCodePageObject

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



1120
1121
1122
# File 'lib/fox16/scintilla.rb', line 1120

def getCodePage
  sendMessage(2137, 0, 0)
end

#getColumn(pos) ⇒ Object

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



1070
1071
1072
# File 'lib/fox16/scintilla.rb', line 1070

def getColumn(pos)
  sendMessage(2129, pos, 0)
end

#getControlCharSymbolObject

Get the way control characters are displayed.



2448
2449
2450
# File 'lib/fox16/scintilla.rb', line 2448

def getControlCharSymbol
  sendMessage(2389, 0, 0)
end

#getCurLine(length) ⇒ Object

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



175
176
177
178
179
# File 'lib/fox16/scintilla.rb', line 175

def getCurLine(length)
  buffer = "".ljust(length)
  sendMessage(2027, length, buffer)
  buffer
end

#getCurrentPosObject

Returns the position of the caret.



69
70
71
# File 'lib/fox16/scintilla.rb', line 69

def getCurrentPos
  sendMessage(2008, 0, 0)
end

#getCursorObject

Get cursor type.



2438
2439
2440
# File 'lib/fox16/scintilla.rb', line 2438

def getCursor
  sendMessage(2387, 0, 0)
end

#getDirectFunctionObject

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



1388
1389
1390
# File 'lib/fox16/scintilla.rb', line 1388

def getDirectFunction
  sendMessage(2184, 0, 0)
end

#getDirectPointerObject

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



1394
1395
1396
# File 'lib/fox16/scintilla.rb', line 1394

def getDirectPointer
  sendMessage(2185, 0, 0)
end

#getDocPointerObject

Retrieve a pointer to the document object.



2284
2285
2286
# File 'lib/fox16/scintilla.rb', line 2284

def getDocPointer
  sendMessage(2357, 0, 0)
end

#getEdgeColourObject

Retrieve the colour used in edge indication.



2325
2326
2327
# File 'lib/fox16/scintilla.rb', line 2325

def getEdgeColour
  sendMessage(2364, 0, 0)
end

#getEdgeColumnObject

Retrieve the column number which text should be kept within.



2303
2304
2305
# File 'lib/fox16/scintilla.rb', line 2303

def getEdgeColumn
  sendMessage(2360, 0, 0)
end

#getEdgeModeObject

Retrieve the edge highlight mode.



2314
2315
2316
# File 'lib/fox16/scintilla.rb', line 2314

def getEdgeMode
  sendMessage(2362, 0, 0)
end

#getEndAtLastLineObject

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



1828
1829
1830
# File 'lib/fox16/scintilla.rb', line 1828

def getEndAtLastLine
  sendMessage(2278, 0, 0) == 1 ? true : false
end

#getEndStyledObject

Retrieve the position of the last correctly styled character.



182
183
184
# File 'lib/fox16/scintilla.rb', line 182

def getEndStyled
  sendMessage(2028, 0, 0)
end

#getEOLModeObject

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



196
197
198
# File 'lib/fox16/scintilla.rb', line 196

def getEOLMode
  sendMessage(2030, 0, 0)
end

#getExtraAscentObject

Get extra ascent for each line



3042
3043
3044
# File 'lib/fox16/scintilla.rb', line 3042

def getExtraAscent
  sendMessage(2526, 0, 0)
end

#getExtraDescentObject

Get extra descent for each line



3052
3053
3054
# File 'lib/fox16/scintilla.rb', line 3052

def getExtraDescent
  sendMessage(2528, 0, 0)
end

#getFirstVisibleLineObject

Retrieve the display line at the top of the display.



1213
1214
1215
# File 'lib/fox16/scintilla.rb', line 1213

def getFirstVisibleLine
  sendMessage(2152, 0, 0)
end

#getFocusObject

Get internal focus flag.



2401
2402
2403
# File 'lib/fox16/scintilla.rb', line 2401

def getFocus
  sendMessage(2381, 0, 0) == 1 ? true : false
end

#getFoldExpanded(line) ⇒ Object

Is a header line expanded?



1597
1598
1599
# File 'lib/fox16/scintilla.rb', line 1597

def getFoldExpanded(line)
  sendMessage(2230, line, 0) == 1 ? true : false
end

#getFoldLevel(line) ⇒ Object

Retrieve the fold level of a line.



1557
1558
1559
# File 'lib/fox16/scintilla.rb', line 1557

def getFoldLevel(line)
  sendMessage(2223, line, 0)
end

#getFoldParent(line) ⇒ Object

Find the parent line of a child line.



1567
1568
1569
# File 'lib/fox16/scintilla.rb', line 1567

def getFoldParent(line)
  sendMessage(2225, line, 0)
end

#getFontQualityObject

Retrieve the quality level for text.



1894
1895
1896
# File 'lib/fox16/scintilla.rb', line 1894

def getFontQuality
  sendMessage(2612, 0, 0)
end

#getGapPositionObject

Return a position which, to avoid performance costs, should not be within the range of a call to GetRangePointer.



3002
3003
3004
# File 'lib/fox16/scintilla.rb', line 3002

def getGapPosition
  sendMessage(2644, 0, 0)
end

#getHighlightGuideObject

Get the highlighted indentation guide column.



1110
1111
1112
# File 'lib/fox16/scintilla.rb', line 1110

def getHighlightGuide
  sendMessage(2135, 0, 0)
end

#getHotspotActiveBackObject

Get the back colour for active hotspots.



2569
2570
2571
# File 'lib/fox16/scintilla.rb', line 2569

def getHotspotActiveBack
  sendMessage(2495, 0, 0)
end

#getHotspotActiveForeObject

Get the fore colour for active hotspots.



2559
2560
2561
# File 'lib/fox16/scintilla.rb', line 2559

def getHotspotActiveFore
  sendMessage(2494, 0, 0)
end

#getHotspotActiveUnderlineObject

Get whether underlining for active hotspots.



2579
2580
2581
# File 'lib/fox16/scintilla.rb', line 2579

def getHotspotActiveUnderline
  sendMessage(2496, 0, 0) == 1 ? true : false
end

#getHotspotSingleLineObject

Get the HotspotSingleLine property



2589
2590
2591
# File 'lib/fox16/scintilla.rb', line 2589

def getHotspotSingleLine
  sendMessage(2497, 0, 0) == 1 ? true : false
end

#getHScrollBarObject

Is the horizontal scroll bar visible?



1084
1085
1086
# File 'lib/fox16/scintilla.rb', line 1084

def getHScrollBar
  sendMessage(2131, 0, 0) == 1 ? true : false
end

#getIdentifierObject

Get the identifier.



3480
3481
3482
# File 'lib/fox16/scintilla.rb', line 3480

def getIdentifier
  sendMessage(2623, 0, 0)
end

#getIMEInteractionObject

Is the IME displayed in a winow or inline?



267
268
269
# File 'lib/fox16/scintilla.rb', line 267

def getIMEInteraction
  sendMessage(2678, 0, 0)
end

#getIndentObject

Retrieve indentation size.



1039
1040
1041
# File 'lib/fox16/scintilla.rb', line 1039

def getIndent
  sendMessage(2123, 0, 0)
end

#getIndentationGuidesObject

Are the indentation guides visible?



1099
1100
1101
# File 'lib/fox16/scintilla.rb', line 1099

def getIndentationGuides
  sendMessage(2133, 0, 0)
end

#getIndicatorCurrentObject

Get the current indicator



2928
2929
2930
# File 'lib/fox16/scintilla.rb', line 2928

def getIndicatorCurrent
  sendMessage(2501, 0, 0)
end

#getIndicatorValueObject

Get the current indicator value



2938
2939
2940
# File 'lib/fox16/scintilla.rb', line 2938

def getIndicatorValue
  sendMessage(2503, 0, 0)
end

#getKeysUnicodeObject

Are keys always interpreted as Unicode?



3012
3013
3014
# File 'lib/fox16/scintilla.rb', line 3012

def getKeysUnicode
  sendMessage(2522, 0, 0) == 1 ? true : false
end

#getLastChild(line, level) ⇒ Object

Find the last child line of a header line.



1562
1563
1564
# File 'lib/fox16/scintilla.rb', line 1562

def getLastChild(line, level)
  sendMessage(2224, line, level)
end

#getLayoutCacheObject

Retrieve the degree of caching of layout information.



1788
1789
1790
# File 'lib/fox16/scintilla.rb', line 1788

def getLayoutCache
  sendMessage(2273, 0, 0)
end

#getLengthObject

Returns the number of bytes in the document.



59
60
61
# File 'lib/fox16/scintilla.rb', line 59

def getLength
  sendMessage(2006, 0, 0)
end

#getLexerObject

Retrieve the lexing language of the document.



3631
3632
3633
# File 'lib/fox16/scintilla.rb', line 3631

def getLexer
  sendMessage(4002, 0, 0)
end

#getLexerLanguageObject

Retrieve the name of the lexer. Return the length of the text.



3691
3692
3693
# File 'lib/fox16/scintilla.rb', line 3691

def getLexerLanguage
  sendMessage(4012, 0, text)
end

#getLine(line) ⇒ Object

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



1219
1220
1221
1222
1223
# File 'lib/fox16/scintilla.rb', line 1219

def getLine(line)
  buffer = "".ljust(line)
  sendMessage(2153, line, buffer)
  buffer
end

#getLineCountObject

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



1226
1227
1228
# File 'lib/fox16/scintilla.rb', line 1226

def getLineCount
  sendMessage(2154, 0, 0)
end

#getLineEndPosition(line) ⇒ Object

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



1115
1116
1117
# File 'lib/fox16/scintilla.rb', line 1115

def getLineEndPosition(line)
  sendMessage(2136, line, 0)
end

#getLineEndTypesActiveObject

Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.



3594
3595
3596
# File 'lib/fox16/scintilla.rb', line 3594

def getLineEndTypesActive
  sendMessage(2658, 0, 0)
end

#getLineEndTypesAllowedObject

Get the line end types currently allowed.



3589
3590
3591
# File 'lib/fox16/scintilla.rb', line 3589

def getLineEndTypesAllowed
  sendMessage(2657, 0, 0)
end

#getLineEndTypesSupportedObject

Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer.



3728
3729
3730
# File 'lib/fox16/scintilla.rb', line 3728

def getLineEndTypesSupported
  sendMessage(4018, 0, 0)
end

#getLineIndentation(line) ⇒ Object

Retrieve the number of columns that a line is indented.



1060
1061
1062
# File 'lib/fox16/scintilla.rb', line 1060

def getLineIndentation(line)
  sendMessage(2127, line, 0)
end

#getLineIndentPosition(line) ⇒ Object

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



1065
1066
1067
# File 'lib/fox16/scintilla.rb', line 1065

def getLineIndentPosition(line)
  sendMessage(2128, line, 0)
end

#getLineSelEndPosition(line) ⇒ Object

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



2657
2658
2659
# File 'lib/fox16/scintilla.rb', line 2657

def getLineSelEndPosition(line)
  sendMessage(2425, line, 0)
end

#getLineSelStartPosition(line) ⇒ Object

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



2652
2653
2654
# File 'lib/fox16/scintilla.rb', line 2652

def getLineSelStartPosition(line)
  sendMessage(2424, line, 0)
end

#getLineState(line) ⇒ Object

Retrieve the extra styling information for a line.



843
844
845
# File 'lib/fox16/scintilla.rb', line 843

def getLineState(line)
  sendMessage(2093, line, 0)
end

#getLineVisible(line) ⇒ Object

Is a line visible?



1582
1583
1584
# File 'lib/fox16/scintilla.rb', line 1582

def getLineVisible(line)
  sendMessage(2228, line, 0) == 1 ? true : false
end

#getMainSelectionObject

Which selection is the main selection



3306
3307
3308
# File 'lib/fox16/scintilla.rb', line 3306

def getMainSelection
  sendMessage(2575, 0, 0)
end

#getMarginCursorN(margin) ⇒ Object

Retrieve the cursor shown in a margin.



453
454
455
# File 'lib/fox16/scintilla.rb', line 453

def getMarginCursorN(margin)
  sendMessage(2249, margin, 0)
end

#getMarginLeftObject

Returns the size in pixels of the left margin.



1236
1237
1238
# File 'lib/fox16/scintilla.rb', line 1236

def getMarginLeft
  sendMessage(2156, 0, 0)
end

#getMarginMaskN(margin) ⇒ Object

Retrieve the marker mask of a margin.



433
434
435
# File 'lib/fox16/scintilla.rb', line 433

def getMarginMaskN(margin)
  sendMessage(2245, margin, 0)
end

#getMarginOptionsObject

Get the margin options.



3119
3120
3121
# File 'lib/fox16/scintilla.rb', line 3119

def getMarginOptions
  sendMessage(2557, 0, 0)
end

#getMarginRightObject

Returns the size in pixels of the right margin.



1246
1247
1248
# File 'lib/fox16/scintilla.rb', line 1246

def getMarginRight
  sendMessage(2158, 0, 0)
end

#getMarginSensitiveN(margin) ⇒ Object

Retrieve the mouse click sensitivity of a margin.



443
444
445
# File 'lib/fox16/scintilla.rb', line 443

def getMarginSensitiveN(margin)
  sendMessage(2247, margin, 0) == 1 ? true : false
end

#getMarginTypeN(margin) ⇒ Object

Retrieve the type of a margin.



413
414
415
# File 'lib/fox16/scintilla.rb', line 413

def getMarginTypeN(margin)
  sendMessage(2241, margin, 0)
end

#getMarginWidthN(margin) ⇒ Object

Retrieve the width of a margin in pixels.



423
424
425
# File 'lib/fox16/scintilla.rb', line 423

def getMarginWidthN(margin)
  sendMessage(2243, margin, 0)
end

#getMaxLineStateObject

Retrieve the last line number that has line state.



848
849
850
# File 'lib/fox16/scintilla.rb', line 848

def getMaxLineState
  sendMessage(2094, 0, 0)
end

#getModEventMaskObject

Get which document modification events are sent to the container.



2392
2393
2394
# File 'lib/fox16/scintilla.rb', line 2392

def getModEventMask
  sendMessage(2378, 0, 0)
end

#getModifyObject

Is the document different from when it was last saved?



1251
1252
1253
# File 'lib/fox16/scintilla.rb', line 1251

def getModify
  sendMessage(2159, 0, 0) == 1 ? true : false
end

#getMouseDownCapturesObject

Get whether mouse gets captured.



2425
2426
2427
# File 'lib/fox16/scintilla.rb', line 2425

def getMouseDownCaptures
  sendMessage(2385, 0, 0) == 1 ? true : false
end

#getMouseDwellTimeObject

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



1695
1696
1697
# File 'lib/fox16/scintilla.rb', line 1695

def getMouseDwellTime
  sendMessage(2265, 0, 0)
end

#getMouseSelectionRectangularSwitchObject

Whether switching to rectangular mode while selecting with the mouse is allowed.



3226
3227
3228
# File 'lib/fox16/scintilla.rb', line 3226

def getMouseSelectionRectangularSwitch
  sendMessage(2669, 0, 0) == 1 ? true : false
end

#getMultiPasteObject

Retrieve the effect of pasting when there are multiple selections..



1912
1913
1914
# File 'lib/fox16/scintilla.rb', line 1912

def getMultiPaste
  sendMessage(2615, 0, 0)
end

#getMultipleSelectionObject

Whether multiple selections can be made



3236
3237
3238
# File 'lib/fox16/scintilla.rb', line 3236

def getMultipleSelection
  sendMessage(2564, 0, 0) == 1 ? true : false
end

#getNextTabStop(line, x) ⇒ Object

Find the next explicit tab stop position on a line after a position.



249
250
251
# File 'lib/fox16/scintilla.rb', line 249

def getNextTabStop(line, x)
  sendMessage(2677, line, x)
end

#getOvertypeObject

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



1404
1405
1406
# File 'lib/fox16/scintilla.rb', line 1404

def getOvertype
  sendMessage(2187, 0, 0) == 1 ? true : false
end

#getPasteConvertEndingsObject

Get convert-on-paste setting



2885
2886
2887
# File 'lib/fox16/scintilla.rb', line 2885

def getPasteConvertEndings
  sendMessage(2468, 0, 0) == 1 ? true : false
end

#getPhasesDrawObject

How many phases is drawing done in?



1868
1869
1870
# File 'lib/fox16/scintilla.rb', line 1868

def getPhasesDraw
  sendMessage(2673, 0, 0)
end

#getPositionCacheObject

How many entries are allocated to the position cache?



2978
2979
2980
# File 'lib/fox16/scintilla.rb', line 2978

def getPositionCache
  sendMessage(2515, 0, 0)
end

#getPrimaryStyleFromStyle(style) ⇒ Object

For a secondary style, return the primary style, else return the argument.



3753
3754
3755
# File 'lib/fox16/scintilla.rb', line 3753

def getPrimaryStyleFromStyle(style)
  sendMessage(4028, style, 0)
end

#getPrintColourModeObject

Returns the print colour mode.



1191
1192
1193
# File 'lib/fox16/scintilla.rb', line 1191

def getPrintColourMode
  sendMessage(2149, 0, 0)
end

#getPrintMagnificationObject

Returns the print magnification.



1170
1171
1172
# File 'lib/fox16/scintilla.rb', line 1170

def getPrintMagnification
  sendMessage(2147, 0, 0)
end

#getPrintWrapModeObject

Is printing line wrapped?



2549
2550
2551
# File 'lib/fox16/scintilla.rb', line 2549

def getPrintWrapMode
  sendMessage(2407, 0, 0)
end

#getProperty(key) ⇒ Object

Retrieve a “property” value previously set with SetProperty.



3664
3665
3666
3667
3668
# File 'lib/fox16/scintilla.rb', line 3664

def getProperty(key)
  buffer = "".ljust(key)
  sendMessage(4008, key, buffer)
  buffer
end

#getPropertyExpanded(key) ⇒ Object

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



3672
3673
3674
3675
3676
# File 'lib/fox16/scintilla.rb', line 3672

def getPropertyExpanded(key)
  buffer = "".ljust(key)
  sendMessage(4009, key, buffer)
  buffer
end

#getPropertyInt(key) ⇒ Object

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



3680
3681
3682
# File 'lib/fox16/scintilla.rb', line 3680

def getPropertyInt(key)
  sendMessage(4010, key, 0)
end

#getPunctuationCharsObject

Get the set of characters making up punctuation characters



2768
2769
2770
# File 'lib/fox16/scintilla.rb', line 2768

def getPunctuationChars
  sendMessage(2649, 0, characters)
end

#getRangePointer(position, rangeLength) ⇒ Object

Return a read-only pointer to a range of characters in the document. May move the gap so that the range is contiguous, but will only move up to rangeLength bytes.



2996
2997
2998
# File 'lib/fox16/scintilla.rb', line 2996

def getRangePointer(position, rangeLength)
  sendMessage(2643, position, rangeLength)
end

#getReadOnlyObject

In read-only mode?



1130
1131
1132
# File 'lib/fox16/scintilla.rb', line 1130

def getReadOnly
  sendMessage(2140, 0, 0) == 1 ? true : false
end

#getRectangularSelectionAnchorObject



3364
3365
3366
# File 'lib/fox16/scintilla.rb', line 3364

def getRectangularSelectionAnchor
  sendMessage(2591, 0, 0)
end

#getRectangularSelectionAnchorVirtualSpaceObject



3376
3377
3378
# File 'lib/fox16/scintilla.rb', line 3376

def getRectangularSelectionAnchorVirtualSpace
  sendMessage(2595, 0, 0)
end

#getRectangularSelectionCaretObject



3358
3359
3360
# File 'lib/fox16/scintilla.rb', line 3358

def getRectangularSelectionCaret
  sendMessage(2589, 0, 0)
end

#getRectangularSelectionCaretVirtualSpaceObject



3370
3371
3372
# File 'lib/fox16/scintilla.rb', line 3370

def getRectangularSelectionCaretVirtualSpace
  sendMessage(2593, 0, 0)
end

#getRectangularSelectionModifierObject

Get the modifier key used for rectangular selection.



3401
3402
3403
# File 'lib/fox16/scintilla.rb', line 3401

def getRectangularSelectionModifier
  sendMessage(2599, 0, 0)
end

#getRepresentation(encodedCharacter) ⇒ Object

Set the way a character is drawn.



3604
3605
3606
3607
3608
# File 'lib/fox16/scintilla.rb', line 3604

def getRepresentation(encodedCharacter)
  buffer = "".ljust(encodedCharacter)
  sendMessage(2666, encodedCharacter, buffer)
  buffer
end

#getScrollWidthObject

Retrieve the document width assumed for scrolling.



1798
1799
1800
# File 'lib/fox16/scintilla.rb', line 1798

def getScrollWidth
  sendMessage(2275, 0, 0)
end

#getScrollWidthTrackingObject

Retrieve whether the scroll width tracks wide lines.



1808
1809
1810
# File 'lib/fox16/scintilla.rb', line 1808

def getScrollWidthTracking
  sendMessage(2517, 0, 0) == 1 ? true : false
end

#getSearchFlagsObject

Get the search flags used by SearchInTarget.



1470
1471
1472
# File 'lib/fox16/scintilla.rb', line 1470

def getSearchFlags
  sendMessage(2199, 0, 0)
end

#getSelAlphaObject

Get the alpha of the selection.



668
669
670
# File 'lib/fox16/scintilla.rb', line 668

def getSelAlpha
  sendMessage(2477, 0, 0)
end

#getSelectionEmptyObject

Is every selected range empty?



3276
3277
3278
# File 'lib/fox16/scintilla.rb', line 3276

def getSelectionEmpty
  sendMessage(2650, 0, 0) == 1 ? true : false
end

#getSelectionEndObject

Returns the position at the end of the selection.



1155
1156
1157
# File 'lib/fox16/scintilla.rb', line 1155

def getSelectionEnd
  sendMessage(2145, 0, 0)
end

#getSelectionModeObject

Get the mode of the current selection.



2647
2648
2649
# File 'lib/fox16/scintilla.rb', line 2647

def getSelectionMode
  sendMessage(2423, 0, 0)
end

#getSelectionNAnchor(selection) ⇒ Object



3319
3320
3321
# File 'lib/fox16/scintilla.rb', line 3319

def getSelectionNAnchor(selection)
  sendMessage(2579, selection, 0)
end

#getSelectionNAnchorVirtualSpace(selection) ⇒ Object



3331
3332
3333
# File 'lib/fox16/scintilla.rb', line 3331

def getSelectionNAnchorVirtualSpace(selection)
  sendMessage(2583, selection, 0)
end

#getSelectionNCaret(selection) ⇒ Object



3313
3314
3315
# File 'lib/fox16/scintilla.rb', line 3313

def getSelectionNCaret(selection)
  sendMessage(2577, selection, 0)
end

#getSelectionNCaretVirtualSpace(selection) ⇒ Object



3325
3326
3327
# File 'lib/fox16/scintilla.rb', line 3325

def getSelectionNCaretVirtualSpace(selection)
  sendMessage(2581, selection, 0)
end

#getSelectionNEnd(selection) ⇒ Object

Returns the position at the end of the selection.



3351
3352
3353
# File 'lib/fox16/scintilla.rb', line 3351

def getSelectionNEnd(selection)
  sendMessage(2587, selection, 0)
end

#getSelectionNStart(selection) ⇒ Object

Returns the position at the start of the selection.



3341
3342
3343
# File 'lib/fox16/scintilla.rb', line 3341

def getSelectionNStart(selection)
  sendMessage(2585, selection, 0)
end

#getSelectionsObject

How many selections are there?



3271
3272
3273
# File 'lib/fox16/scintilla.rb', line 3271

def getSelections
  sendMessage(2570, 0, 0)
end

#getSelectionStartObject

Returns the position at the start of the selection.



1145
1146
1147
# File 'lib/fox16/scintilla.rb', line 1145

def getSelectionStart
  sendMessage(2143, 0, 0)
end

#getSelEOLFilledObject

Is the selection end of line filled?



678
679
680
# File 'lib/fox16/scintilla.rb', line 678

def getSelEOLFilled
  sendMessage(2479, 0, 0) == 1 ? true : false
end

#getSelTextObject

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



1262
1263
1264
# File 'lib/fox16/scintilla.rb', line 1262

def getSelText
  sendMessage(2161, 0, text)
end

#getStatusObject

Get error status.



2416
2417
2418
# File 'lib/fox16/scintilla.rb', line 2416

def getStatus
  sendMessage(2383, 0, 0)
end

#getStyleAt(pos) ⇒ Object

Returns the style byte at the position.



79
80
81
# File 'lib/fox16/scintilla.rb', line 79

def getStyleAt(pos)
  sendMessage(2010, pos, 0)
end

#getStyleBitsObject

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



833
834
835
# File 'lib/fox16/scintilla.rb', line 833

def getStyleBits
  sendMessage(2091, 0, 0)
end

#getStyleBitsNeededObject

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



3685
3686
3687
# File 'lib/fox16/scintilla.rb', line 3685

def getStyleBitsNeeded
  sendMessage(4011, 0, 0)
end

#getStyledText(tr) ⇒ Object

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



107
108
109
# File 'lib/fox16/scintilla.rb', line 107

def getStyledText(tr)
  sendMessage(2015, 0, tr)
end

#getStyleFromSubStyle(subStyle) ⇒ Object

For a sub style, return the base style, else return the argument.



3748
3749
3750
# File 'lib/fox16/scintilla.rb', line 3748

def getStyleFromSubStyle(subStyle)
  sendMessage(4027, subStyle, 0)
end

#getSubStyleBasesObject

Get the set of base styles that can be extended with sub styles



3774
3775
3776
# File 'lib/fox16/scintilla.rb', line 3774

def getSubStyleBases
  sendMessage(4026, 0, styles)
end

#getSubStylesLength(styleBase) ⇒ Object

The number of sub styles associated with a base style



3743
3744
3745
# File 'lib/fox16/scintilla.rb', line 3743

def getSubStylesLength(styleBase)
  sendMessage(4022, styleBase, 0)
end

#getSubStylesStart(styleBase) ⇒ Object

The starting style number for the sub styles associated with a base style



3738
3739
3740
# File 'lib/fox16/scintilla.rb', line 3738

def getSubStylesStart(styleBase)
  sendMessage(4021, styleBase, 0)
end

#getTabIndentsObject

Does a tab pressed when caret is within indentation indent?



1673
1674
1675
# File 'lib/fox16/scintilla.rb', line 1673

def getTabIndents
  sendMessage(2261, 0, 0) == 1 ? true : false
end

#getTabWidthObject

Retrieve the visible size of a tab.



234
235
236
# File 'lib/fox16/scintilla.rb', line 234

def getTabWidth
  sendMessage(2121, 0, 0)
end

#getTag(tagNumber) ⇒ Object

Retrieve the value of a tag from a regular expression search.



1917
1918
1919
1920
1921
# File 'lib/fox16/scintilla.rb', line 1917

def getTag(tagNumber)
  buffer = "".ljust(tagNumber)
  sendMessage(2616, tagNumber, buffer)
  buffer
end

#getTargetEndObject

Get the position that ends the target.



1436
1437
1438
# File 'lib/fox16/scintilla.rb', line 1436

def getTargetEnd
  sendMessage(2193, 0, 0)
end

#getTargetStartObject

Get the position that starts the target.



1425
1426
1427
# File 'lib/fox16/scintilla.rb', line 1425

def getTargetStart
  sendMessage(2191, 0, 0)
end

#getTechnologyObject

Get the tech.



3532
3533
3534
# File 'lib/fox16/scintilla.rb', line 3532

def getTechnology
  sendMessage(2631, 0, 0)
end

#getText(length) ⇒ Object

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



1376
1377
1378
1379
1380
# File 'lib/fox16/scintilla.rb', line 1376

def getText(length)
  buffer = "".ljust(length)
  sendMessage(2182, length, buffer)
  buffer
end

#getTextLengthObject

Retrieve the number of characters in the document.



1383
1384
1385
# File 'lib/fox16/scintilla.rb', line 1383

def getTextLength
  sendMessage(2183, 0, 0)
end

#getTextRange(tr) ⇒ Object

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



1268
1269
1270
# File 'lib/fox16/scintilla.rb', line 1268

def getTextRange(tr)
  sendMessage(2162, 0, tr)
end

#getTwoPhaseDrawObject

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



1853
1854
1855
# File 'lib/fox16/scintilla.rb', line 1853

def getTwoPhaseDraw
  sendMessage(2283, 0, 0) == 1 ? true : false
end

#getUndoCollectionObject

Is undo history being collected?



127
128
129
# File 'lib/fox16/scintilla.rb', line 127

def getUndoCollection
  sendMessage(2019, 0, 0) == 1 ? true : false
end

#getUsePaletteObject

In palette mode?



5735
5736
5737
# File 'lib/fox16/scintilla.rb', line 5735

def getUsePalette
  sendMessage(2139, 0, 0) == 1 ? true : false
end

#getUseTabsObject

Retrieve whether tabs will be used in indentation.



1050
1051
1052
# File 'lib/fox16/scintilla.rb', line 1050

def getUseTabs
  sendMessage(2125, 0, 0) == 1 ? true : false
end

#getViewEOLObject

Are the end of line characters visible?



2274
2275
2276
# File 'lib/fox16/scintilla.rb', line 2274

def getViewEOL
  sendMessage(2355, 0, 0) == 1 ? true : false
end

#getViewWSObject

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



137
138
139
# File 'lib/fox16/scintilla.rb', line 137

def getViewWS
  sendMessage(2020, 0, 0)
end

#getVirtualSpaceOptionsObject



3387
3388
3389
# File 'lib/fox16/scintilla.rb', line 3387

def getVirtualSpaceOptions
  sendMessage(2597, 0, 0)
end

#getVScrollBarObject

Is the vertical scroll bar visible?



1843
1844
1845
# File 'lib/fox16/scintilla.rb', line 1843

def getVScrollBar
  sendMessage(2281, 0, 0) == 1 ? true : false
end

#getWhitespaceCharsObject

Get the set of characters making up whitespace for when moving or selecting by word.



2757
2758
2759
# File 'lib/fox16/scintilla.rb', line 2757

def getWhitespaceChars
  sendMessage(2647, 0, characters)
end

#getWhitespaceSizeObject

Get the size of the dots used to mark space characters.



821
822
823
# File 'lib/fox16/scintilla.rb', line 821

def getWhitespaceSize
  sendMessage(2087, 0, 0)
end

#getWordCharsObject

Get the set of characters making up words for when moving or selecting by word. Retuns the number of characters



735
736
737
# File 'lib/fox16/scintilla.rb', line 735

def getWordChars
  sendMessage(2646, 0, characters)
end

#getWrapIndentModeObject

Retrieve how wrapped sublines are placed. Default is fixed.



1773
1774
1775
# File 'lib/fox16/scintilla.rb', line 1773

def getWrapIndentMode
  sendMessage(2473, 0, 0)
end

#getWrapModeObject

Retrieve whether text is word wrapped.



1720
1721
1722
# File 'lib/fox16/scintilla.rb', line 1720

def getWrapMode
  sendMessage(2269, 0, 0)
end

#getWrapStartIndentObject

Retrive the start indent for wrapped lines.



1759
1760
1761
# File 'lib/fox16/scintilla.rb', line 1759

def getWrapStartIndent
  sendMessage(2465, 0, 0)
end

#getWrapVisualFlagsObject

Retrive the display mode of visual flags for wrapped lines.



1735
1736
1737
# File 'lib/fox16/scintilla.rb', line 1735

def getWrapVisualFlags
  sendMessage(2461, 0, 0)
end

#getWrapVisualFlagsLocationObject

Retrive the location of visual flags for wrapped lines.



1749
1750
1751
# File 'lib/fox16/scintilla.rb', line 1749

def getWrapVisualFlagsLocation
  sendMessage(2463, 0, 0)
end

#getXOffsetObject



2494
2495
2496
# File 'lib/fox16/scintilla.rb', line 2494

def getXOffset
  sendMessage(2398, 0, 0)
end

#getZoomObject

Retrieve the zoom level.



2373
2374
2375
# File 'lib/fox16/scintilla.rb', line 2373

def getZoom
  sendMessage(2374, 0, 0)
end

#gotoLine(line) ⇒ Object

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



158
159
160
# File 'lib/fox16/scintilla.rb', line 158

def gotoLine(line)
  sendMessage(2024, line, 0)
end

#gotoPos(pos) ⇒ Object

Set caret to a position and ensure it is visible.



163
164
165
# File 'lib/fox16/scintilla.rb', line 163

def gotoPos(pos)
  sendMessage(2025, pos, 0)
end

#grabFocusObject

Set the focus to this Scintilla widget.



2504
2505
2506
# File 'lib/fox16/scintilla.rb', line 2504

def grabFocus
  sendMessage(2400, 0, 0)
end

#hideLines(lineStart, lineEnd) ⇒ Object

Make a range of lines invisible.



1577
1578
1579
# File 'lib/fox16/scintilla.rb', line 1577

def hideLines(lineStart, lineEnd)
  sendMessage(2227, lineStart, lineEnd)
end

#hideSelection(normal) ⇒ Object

Draw the selection in normal style or with selection highlighted.



1273
1274
1275
# File 'lib/fox16/scintilla.rb', line 1273

def hideSelection(normal)
  sendMessage(2163, normal, 0)
end

#homeObject

Move caret to first position on line.



2009
2010
2011
# File 'lib/fox16/scintilla.rb', line 2009

def home
  sendMessage(2312, 0, 0)
end

#homeDisplayObject

Move caret to first position on display line.



2187
2188
2189
# File 'lib/fox16/scintilla.rb', line 2187

def homeDisplay
  sendMessage(2345, 0, 0)
end

#homeDisplayExtendObject

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



2193
2194
2195
# File 'lib/fox16/scintilla.rb', line 2193

def homeDisplayExtend
  sendMessage(2346, 0, 0)
end

#homeExtendObject

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



2014
2015
2016
# File 'lib/fox16/scintilla.rb', line 2014

def homeExtend
  sendMessage(2313, 0, 0)
end

#homeRectExtendObject

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



2682
2683
2684
# File 'lib/fox16/scintilla.rb', line 2682

def homeRectExtend
  sendMessage(2430, 0, 0)
end

#homeWrapObject

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)?.



2214
2215
2216
# File 'lib/fox16/scintilla.rb', line 2214

def homeWrap
  sendMessage(2349, 0, 0)
end

#homeWrapExtendObject



2217
2218
2219
# File 'lib/fox16/scintilla.rb', line 2217

def homeWrapExtend
  sendMessage(2450, 0, 0)
end

#indicatorAllOnFor(position) ⇒ Object

Are any indicators present at position?



2953
2954
2955
# File 'lib/fox16/scintilla.rb', line 2953

def indicatorAllOnFor(position)
  sendMessage(2506, position, 0)
end

#indicatorClearRange(position, clearLength) ⇒ Object

Turn a indicator off over a range.



2948
2949
2950
# File 'lib/fox16/scintilla.rb', line 2948

def indicatorClearRange(position, clearLength)
  sendMessage(2505, position, clearLength)
end

#indicatorEnd(indicator, position) ⇒ Object

Where does a particular indicator end?



2968
2969
2970
# File 'lib/fox16/scintilla.rb', line 2968

def indicatorEnd(indicator, position)
  sendMessage(2509, indicator, position)
end

#indicatorFillRange(position, fillLength) ⇒ Object

Turn a indicator on over a range.



2943
2944
2945
# File 'lib/fox16/scintilla.rb', line 2943

def indicatorFillRange(position, fillLength)
  sendMessage(2504, position, fillLength)
end

#indicatorStart(indicator, position) ⇒ Object

Where does a particular indicator start?



2963
2964
2965
# File 'lib/fox16/scintilla.rb', line 2963

def indicatorStart(indicator, position)
  sendMessage(2508, indicator, position)
end

#indicatorValueAt(indicator, position) ⇒ Object

What value does a particular indicator have at at a position?



2958
2959
2960
# File 'lib/fox16/scintilla.rb', line 2958

def indicatorValueAt(indicator, position)
  sendMessage(2507, indicator, position)
end

#indicGetAlpha(indicator) ⇒ Object

Get the alpha fill colour of the given indicator.



3022
3023
3024
# File 'lib/fox16/scintilla.rb', line 3022

def indicGetAlpha(indicator)
  sendMessage(2524, indicator, 0)
end

#indicGetFore(indic) ⇒ Object

Retrieve the foreground colour of an indicator.



791
792
793
# File 'lib/fox16/scintilla.rb', line 791

def indicGetFore(indic)
  sendMessage(2083, indic, 0)
end

#indicGetOutlineAlpha(indicator) ⇒ Object

Get the alpha outline colour of the given indicator.



3032
3033
3034
# File 'lib/fox16/scintilla.rb', line 3032

def indicGetOutlineAlpha(indicator)
  sendMessage(2559, indicator, 0)
end

#indicGetStyle(indic) ⇒ Object

Retrieve the style of an indicator.



781
782
783
# File 'lib/fox16/scintilla.rb', line 781

def indicGetStyle(indic)
  sendMessage(2081, indic, 0)
end

#indicGetUnder(indic) ⇒ Object

Retrieve whether indicator drawn under or over text.



801
802
803
# File 'lib/fox16/scintilla.rb', line 801

def indicGetUnder(indic)
  sendMessage(2511, indic, 0) == 1 ? true : false
end

#indicSetAlpha(indicator, alpha) ⇒ Object

Set the alpha fill colour of the given indicator.



3017
3018
3019
# File 'lib/fox16/scintilla.rb', line 3017

def indicSetAlpha(indicator, alpha)
  sendMessage(2523, indicator, alpha)
end

#indicSetFore(indic, fore) ⇒ Object

Set the foreground colour of an indicator.



786
787
788
# File 'lib/fox16/scintilla.rb', line 786

def indicSetFore(indic, fore)
  sendMessage(2082, indic, fore & 0xffffff)
end

#indicSetOutlineAlpha(indicator, alpha) ⇒ Object

Set the alpha outline colour of the given indicator.



3027
3028
3029
# File 'lib/fox16/scintilla.rb', line 3027

def indicSetOutlineAlpha(indicator, alpha)
  sendMessage(2558, indicator, alpha)
end

#indicSetStyle(indic, style) ⇒ Object

Set an indicator to plain, squiggle or TT.



776
777
778
# File 'lib/fox16/scintilla.rb', line 776

def indicSetStyle(indic, style)
  sendMessage(2080, indic, style)
end

#indicSetUnder(indic, under) ⇒ Object

Set an indicator to draw under text or over(default).



796
797
798
# File 'lib/fox16/scintilla.rb', line 796

def indicSetUnder(indic, under)
  sendMessage(2510, indic, under)
end

#insertText(pos, text) ⇒ Object

Insert string at a position.



34
35
36
# File 'lib/fox16/scintilla.rb', line 34

def insertText(pos, text)
  sendMessage(2003, pos, text)
end

#lineCopyObject

Copy the line containing the caret.



2234
2235
2236
# File 'lib/fox16/scintilla.rb', line 2234

def lineCopy
  sendMessage(2455, 0, 0)
end

#lineCutObject

Cut the line containing the caret.



2141
2142
2143
# File 'lib/fox16/scintilla.rb', line 2141

def lineCut
  sendMessage(2337, 0, 0)
end

#lineDeleteObject

Delete the line containing the caret.



2146
2147
2148
# File 'lib/fox16/scintilla.rb', line 2146

def lineDelete
  sendMessage(2338, 0, 0)
end

#lineDownObject

Move caret down one line.



1949
1950
1951
# File 'lib/fox16/scintilla.rb', line 1949

def lineDown
  sendMessage(2300, 0, 0)
end

#lineDownExtendObject

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



1954
1955
1956
# File 'lib/fox16/scintilla.rb', line 1954

def lineDownExtend
  sendMessage(2301, 0, 0)
end

#lineDownRectExtendObject

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



2662
2663
2664
# File 'lib/fox16/scintilla.rb', line 2662

def lineDownRectExtend
  sendMessage(2426, 0, 0)
end

#lineDuplicateObject

Duplicate the current line.



2156
2157
2158
# File 'lib/fox16/scintilla.rb', line 2156

def lineDuplicate
  sendMessage(2404, 0, 0)
end

#lineEndObject

Move caret to last position on line.



2019
2020
2021
# File 'lib/fox16/scintilla.rb', line 2019

def lineEnd
  sendMessage(2314, 0, 0)
end

#lineEndDisplayObject

Move caret to last position on display line.



2198
2199
2200
# File 'lib/fox16/scintilla.rb', line 2198

def lineEndDisplay
  sendMessage(2347, 0, 0)
end

#lineEndDisplayExtendObject

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



2204
2205
2206
# File 'lib/fox16/scintilla.rb', line 2204

def lineEndDisplayExtend
  sendMessage(2348, 0, 0)
end

#lineEndExtendObject

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



2024
2025
2026
# File 'lib/fox16/scintilla.rb', line 2024

def lineEndExtend
  sendMessage(2315, 0, 0)
end

#lineEndRectExtendObject

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



2694
2695
2696
# File 'lib/fox16/scintilla.rb', line 2694

def lineEndRectExtend
  sendMessage(2432, 0, 0)
end

#lineEndWrapObject



2220
2221
2222
# File 'lib/fox16/scintilla.rb', line 2220

def lineEndWrap
  sendMessage(2451, 0, 0)
end

#lineEndWrapExtendObject



2223
2224
2225
# File 'lib/fox16/scintilla.rb', line 2223

def lineEndWrapExtend
  sendMessage(2452, 0, 0)
end

#lineFromPosition(pos) ⇒ Object

Retrieve the line containing a position.



1288
1289
1290
# File 'lib/fox16/scintilla.rb', line 1288

def lineFromPosition(pos)
  sendMessage(2166, pos, 0)
end

#lineLength(line) ⇒ Object

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



2244
2245
2246
# File 'lib/fox16/scintilla.rb', line 2244

def lineLength(line)
  sendMessage(2350, line, 0)
end

#lineScroll(columns, lines) ⇒ Object

Scroll horizontally and vertically.



1298
1299
1300
# File 'lib/fox16/scintilla.rb', line 1298

def lineScroll(columns, lines)
  sendMessage(2168, columns, lines)
end

#lineScrollDownObject

Scroll the document down, keeping the caret visible.



2171
2172
2173
# File 'lib/fox16/scintilla.rb', line 2171

def lineScrollDown
  sendMessage(2342, 0, 0)
end

#lineScrollUpObject

Scroll the document up, keeping the caret visible.



2176
2177
2178
# File 'lib/fox16/scintilla.rb', line 2176

def lineScrollUp
  sendMessage(2343, 0, 0)
end

#linesJoinObject

Join the lines in the target.



1929
1930
1931
# File 'lib/fox16/scintilla.rb', line 1929

def linesJoin
  sendMessage(2288, 0, 0)
end

#linesOnScreenObject

Retrieves the number of lines completely visible.



2352
2353
2354
# File 'lib/fox16/scintilla.rb', line 2352

def linesOnScreen
  sendMessage(2370, 0, 0)
end

#linesSplit(pixelWidth) ⇒ Object

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



1935
1936
1937
# File 'lib/fox16/scintilla.rb', line 1935

def linesSplit(pixelWidth)
  sendMessage(2289, pixelWidth, 0)
end

#lineTransposeObject

Switch the current line with the previous.



2151
2152
2153
# File 'lib/fox16/scintilla.rb', line 2151

def lineTranspose
  sendMessage(2339, 0, 0)
end

#lineUpObject

Move caret up one line.



1959
1960
1961
# File 'lib/fox16/scintilla.rb', line 1959

def lineUp
  sendMessage(2302, 0, 0)
end

#lineUpExtendObject

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



1964
1965
1966
# File 'lib/fox16/scintilla.rb', line 1964

def lineUpExtend
  sendMessage(2303, 0, 0)
end

#lineUpRectExtendObject

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



2667
2668
2669
# File 'lib/fox16/scintilla.rb', line 2667

def lineUpRectExtend
  sendMessage(2427, 0, 0)
end

#loadLexerLibrary(path) ⇒ Object

Load a lexer library (dll / so).



3659
3660
3661
# File 'lib/fox16/scintilla.rb', line 3659

def loadLexerLibrary(path)
  sendMessage(4007, 0, path)
end

#lowerCaseObject

Transform the selection to lower case.



2161
2162
2163
# File 'lib/fox16/scintilla.rb', line 2161

def lowerCase
  sendMessage(2340, 0, 0)
end

#marginGetStyle(line) ⇒ Object

Get the style number for the text margin for a line



3079
3080
3081
# File 'lib/fox16/scintilla.rb', line 3079

def marginGetStyle(line)
  sendMessage(2533, line, 0)
end

#marginGetStyleOffsetObject

Get the start of the range of style numbers used for margin text



3106
3107
3108
# File 'lib/fox16/scintilla.rb', line 3106

def marginGetStyleOffset
  sendMessage(2538, 0, 0)
end

#marginGetStyles(line) ⇒ Object

Get the styles in the text margin for a line



3089
3090
3091
3092
3093
# File 'lib/fox16/scintilla.rb', line 3089

def marginGetStyles(line)
  buffer = "".ljust(line)
  sendMessage(2535, line, buffer)
  buffer
end

#marginGetText(line) ⇒ Object

Get the text in the text margin for a line



3067
3068
3069
3070
3071
# File 'lib/fox16/scintilla.rb', line 3067

def marginGetText(line)
  buffer = "".ljust(line)
  sendMessage(2531, line, buffer)
  buffer
end

#marginSetStyle(line, style) ⇒ Object

Set the style number for the text margin for a line



3074
3075
3076
# File 'lib/fox16/scintilla.rb', line 3074

def marginSetStyle(line, style)
  sendMessage(2532, line, style)
end

#marginSetStyleOffset(style) ⇒ Object

Get the start of the range of style numbers used for margin text



3101
3102
3103
# File 'lib/fox16/scintilla.rb', line 3101

def marginSetStyleOffset(style)
  sendMessage(2537, style, 0)
end

#marginSetStyles(line, styles) ⇒ Object

Set the style in the text margin for a line



3084
3085
3086
# File 'lib/fox16/scintilla.rb', line 3084

def marginSetStyles(line, styles)
  sendMessage(2534, line, styles)
end

#marginSetText(line, text) ⇒ Object

Set the text in the text margin for a line



3062
3063
3064
# File 'lib/fox16/scintilla.rb', line 3062

def marginSetText(line, text)
  sendMessage(2530, line, text)
end

#marginTextClearAllObject

Clear the margin text on all lines



3096
3097
3098
# File 'lib/fox16/scintilla.rb', line 3096

def marginTextClearAll
  sendMessage(2536, 0, 0)
end

#markerAdd(line, markerNumber) ⇒ Object

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



353
354
355
# File 'lib/fox16/scintilla.rb', line 353

def markerAdd(line, markerNumber)
  sendMessage(2043, line, markerNumber)
end

#markerAddSet(line, set) ⇒ Object

Add a set of markers to a line.



389
390
391
# File 'lib/fox16/scintilla.rb', line 389

def markerAddSet(line, set)
  sendMessage(2466, line, set)
end

#markerDefine(markerNumber, markerSymbol) ⇒ Object

Set the symbol used for a particular marker number.



328
329
330
# File 'lib/fox16/scintilla.rb', line 328

def markerDefine(markerNumber, markerSymbol)
  sendMessage(2040, markerNumber, markerSymbol)
end

#markerDefinePixmap(markerNumber, pixmap) ⇒ Object

Define a marker from a pixmap.



384
385
386
# File 'lib/fox16/scintilla.rb', line 384

def markerDefinePixmap(markerNumber, pixmap)
  sendMessage(2049, markerNumber, pixmap)
end

#markerDefineRGBAImage(markerNumber, pixels) ⇒ Object

Define a marker from RGBA data. It has the width and height from RGBAImageSetWidth/Height



3501
3502
3503
# File 'lib/fox16/scintilla.rb', line 3501

def markerDefineRGBAImage(markerNumber, pixels)
  sendMessage(2626, markerNumber, pixels)
end

#markerDelete(line, markerNumber) ⇒ Object

Delete a marker from a line.



358
359
360
# File 'lib/fox16/scintilla.rb', line 358

def markerDelete(line, markerNumber)
  sendMessage(2044, line, markerNumber)
end

#markerDeleteAll(markerNumber) ⇒ Object

Delete all markers with a particular number from all lines.



363
364
365
# File 'lib/fox16/scintilla.rb', line 363

def markerDeleteAll(markerNumber)
  sendMessage(2045, markerNumber, 0)
end

#markerDeleteHandle(handle) ⇒ Object

Delete a marker.



122
123
124
# File 'lib/fox16/scintilla.rb', line 122

def markerDeleteHandle(handle)
  sendMessage(2018, handle, 0)
end

#markerEnableHighlight(enabled) ⇒ Object

Enable/disable highlight for current folding bloc (smallest one that contains the caret)



348
349
350
# File 'lib/fox16/scintilla.rb', line 348

def markerEnableHighlight(enabled)
  sendMessage(2293, enabled, 0)
end

#markerGet(line) ⇒ Object

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



368
369
370
# File 'lib/fox16/scintilla.rb', line 368

def markerGet(line)
  sendMessage(2046, line, 0)
end

#markerLineFromHandle(handle) ⇒ Object

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



117
118
119
# File 'lib/fox16/scintilla.rb', line 117

def markerLineFromHandle(handle)
  sendMessage(2017, handle, 0)
end

#markerNext(lineStart, markerMask) ⇒ Object

Find the next line at or after lineStart that includes a marker in mask. Return -1 when no more lines.



374
375
376
# File 'lib/fox16/scintilla.rb', line 374

def markerNext(lineStart, markerMask)
  sendMessage(2047, lineStart, markerMask)
end

#markerPrevious(lineStart, markerMask) ⇒ Object

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



379
380
381
# File 'lib/fox16/scintilla.rb', line 379

def markerPrevious(lineStart, markerMask)
  sendMessage(2048, lineStart, markerMask)
end

#markerSetAlpha(markerNumber, alpha) ⇒ Object

Set the alpha used for a marker that is drawn in the text area, not the margin.



394
395
396
# File 'lib/fox16/scintilla.rb', line 394

def markerSetAlpha(markerNumber, alpha)
  sendMessage(2476, markerNumber, alpha)
end

#markerSetBack(markerNumber, back) ⇒ Object

Set the background colour used for a particular marker number.



338
339
340
# File 'lib/fox16/scintilla.rb', line 338

def markerSetBack(markerNumber, back)
  sendMessage(2042, markerNumber, back & 0xffffff)
end

#markerSetBackSelected(markerNumber, back) ⇒ Object

Set the background colour used for a particular marker number when its folding block is selected.



343
344
345
# File 'lib/fox16/scintilla.rb', line 343

def markerSetBackSelected(markerNumber, back)
  sendMessage(2292, markerNumber, back & 0xffffff)
end

#markerSetFore(markerNumber, fore) ⇒ Object

Set the foreground colour used for a particular marker number.



333
334
335
# File 'lib/fox16/scintilla.rb', line 333

def markerSetFore(markerNumber, fore)
  sendMessage(2041, markerNumber, fore & 0xffffff)
end

#markerSymbolDefined(markerNumber) ⇒ Object

Which symbol was defined for markerNumber with MarkerDefine



3057
3058
3059
# File 'lib/fox16/scintilla.rb', line 3057

def markerSymbolDefined(markerNumber)
  sendMessage(2529, markerNumber, 0)
end

#moveCaretInsideViewObject

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



2239
2240
2241
# File 'lib/fox16/scintilla.rb', line 2239

def moveCaretInsideView
  sendMessage(2401, 0, 0)
end

#moveSelectedLinesDownObject

Move the selected lines down one line, shifting the line below before the selection



3470
3471
3472
# File 'lib/fox16/scintilla.rb', line 3470

def moveSelectedLinesDown
  sendMessage(2621, 0, 0)
end

#moveSelectedLinesUpObject

Move the selected lines up one line, shifting the line above after the selection



3465
3466
3467
# File 'lib/fox16/scintilla.rb', line 3465

def moveSelectedLinesUp
  sendMessage(2620, 0, 0)
end

#newLineObject

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



2095
2096
2097
# File 'lib/fox16/scintilla.rb', line 2095

def newLine
  sendMessage(2329, 0, 0)
end

#nullObject

Null operation.



1325
1326
1327
# File 'lib/fox16/scintilla.rb', line 1325

def null
  sendMessage(2172, 0, 0)
end

#pageDownObject

Move caret one page down.



2059
2060
2061
# File 'lib/fox16/scintilla.rb', line 2059

def pageDown
  sendMessage(2322, 0, 0)
end

#pageDownExtendObject

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



2064
2065
2066
# File 'lib/fox16/scintilla.rb', line 2064

def pageDownExtend
  sendMessage(2323, 0, 0)
end

#pageDownRectExtendObject

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



2704
2705
2706
# File 'lib/fox16/scintilla.rb', line 2704

def pageDownRectExtend
  sendMessage(2434, 0, 0)
end

#pageUpObject

Move caret one page up.



2049
2050
2051
# File 'lib/fox16/scintilla.rb', line 2049

def pageUp
  sendMessage(2320, 0, 0)
end

#pageUpExtendObject

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



2054
2055
2056
# File 'lib/fox16/scintilla.rb', line 2054

def pageUpExtend
  sendMessage(2321, 0, 0)
end

#pageUpRectExtendObject

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



2699
2700
2701
# File 'lib/fox16/scintilla.rb', line 2699

def pageUpRectExtend
  sendMessage(2433, 0, 0)
end

#paraDownObject

Move caret between paragraphs (delimited by empty lines).



2594
2595
2596
# File 'lib/fox16/scintilla.rb', line 2594

def paraDown
  sendMessage(2413, 0, 0)
end

#paraDownExtendObject



2597
2598
2599
# File 'lib/fox16/scintilla.rb', line 2597

def paraDownExtend
  sendMessage(2414, 0, 0)
end

#paraUpObject



2600
2601
2602
# File 'lib/fox16/scintilla.rb', line 2600

def paraUp
  sendMessage(2415, 0, 0)
end

#paraUpExtendObject



2603
2604
2605
# File 'lib/fox16/scintilla.rb', line 2603

def paraUpExtend
  sendMessage(2416, 0, 0)
end

#pasteObject

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



1360
1361
1362
# File 'lib/fox16/scintilla.rb', line 1360

def paste
  sendMessage(2179, 0, 0)
end

#pointXFromPosition(pos) ⇒ Object

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



1278
1279
1280
# File 'lib/fox16/scintilla.rb', line 1278

def pointXFromPosition(pos)
  sendMessage(2164, 0, pos)
end

#pointYFromPosition(pos) ⇒ Object

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



1283
1284
1285
# File 'lib/fox16/scintilla.rb', line 1283

def pointYFromPosition(pos)
  sendMessage(2165, 0, pos)
end

#positionAfter(pos) ⇒ Object

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



2615
2616
2617
# File 'lib/fox16/scintilla.rb', line 2615

def positionAfter(pos)
  sendMessage(2418, pos, 0)
end

#positionBefore(pos) ⇒ Object

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



2609
2610
2611
# File 'lib/fox16/scintilla.rb', line 2609

def positionBefore(pos)
  sendMessage(2417, pos, 0)
end

#positionFromLine(line) ⇒ Object

Retrieve the position at the start of a line.



1293
1294
1295
# File 'lib/fox16/scintilla.rb', line 1293

def positionFromLine(line)
  sendMessage(2167, line, 0)
end

#positionFromPoint(x, y) ⇒ Object

Find the position from a point within the window.



147
148
149
# File 'lib/fox16/scintilla.rb', line 147

def positionFromPoint(x, y)
  sendMessage(2022, x, y)
end

#positionFromPointClose(x, y) ⇒ Object

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



153
154
155
# File 'lib/fox16/scintilla.rb', line 153

def positionFromPointClose(x, y)
  sendMessage(2023, x, y)
end

#positionRelative(pos, relative) ⇒ Object

Given a valid document position, return a position that differs in a number of characters. Returned value is always between 0 and last position in document.



2621
2622
2623
# File 'lib/fox16/scintilla.rb', line 2621

def positionRelative(pos, relative)
  sendMessage(2670, pos, relative)
end

#privateLexerCall(operation, pointer) ⇒ Object

For private communication between an application and a known lexer.



3696
3697
3698
# File 'lib/fox16/scintilla.rb', line 3696

def privateLexerCall(operation, pointer)
  sendMessage(4013, operation, pointer)
end

#propertyNamesObject

Retrieve a ‘n’ separated list of properties understood by the current lexer.



3701
3702
3703
# File 'lib/fox16/scintilla.rb', line 3701

def propertyNames
  sendMessage(4014, 0, names)
end

#propertyType(name) ⇒ Object

Retrieve the type of a property.



3710
3711
3712
# File 'lib/fox16/scintilla.rb', line 3710

def propertyType(name)
  sendMessage(4015, name, 0)
end

#redoObject

Redoes the next action on the undo history.



84
85
86
# File 'lib/fox16/scintilla.rb', line 84

def redo
  sendMessage(2011, 0, 0)
end

#registerImage(type, xpmData) ⇒ Object

Register an XPM image for use in autocompletion lists.



991
992
993
# File 'lib/fox16/scintilla.rb', line 991

def registerImage(type, xpmData)
  sendMessage(2405, type, xpmData)
end

#registerRGBAImage(type, pixels) ⇒ Object

Register an RGBA image for use in autocompletion lists. It has the width and height from RGBAImageSetWidth/Height



3507
3508
3509
# File 'lib/fox16/scintilla.rb', line 3507

def registerRGBAImage(type, pixels)
  sendMessage(2627, type, pixels)
end

#releaseAllExtendedStylesObject

Release all extended (>255) style numbers



3193
3194
3195
# File 'lib/fox16/scintilla.rb', line 3193

def releaseAllExtendedStyles
  sendMessage(2552, 0, 0)
end

#releaseDocument(doc) ⇒ Object

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



2387
2388
2389
# File 'lib/fox16/scintilla.rb', line 2387

def releaseDocument(doc)
  sendMessage(2377, 0, doc)
end

#replaceSel(text) ⇒ Object

Replace the selected text with the argument text.



1315
1316
1317
# File 'lib/fox16/scintilla.rb', line 1315

def replaceSel(text)
  sendMessage(2170, 0, text)
end

#replaceTarget(length, text) ⇒ Object

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



1443
1444
1445
# File 'lib/fox16/scintilla.rb', line 1443

def replaceTarget(length, text)
  sendMessage(2194, length, text)
end

#replaceTargetRE(length, text) ⇒ Object

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.



1453
1454
1455
# File 'lib/fox16/scintilla.rb', line 1453

def replaceTargetRE(length, text)
  sendMessage(2195, length, text)
end

#rGBAImageSetHeight(height) ⇒ Object

Set the height for future RGBA image data.



3490
3491
3492
# File 'lib/fox16/scintilla.rb', line 3490

def rGBAImageSetHeight(height)
  sendMessage(2625, height, 0)
end

#rGBAImageSetScale(scalePercent) ⇒ Object

Set the scale factor in percent for future RGBA image data.



3495
3496
3497
# File 'lib/fox16/scintilla.rb', line 3495

def rGBAImageSetScale(scalePercent)
  sendMessage(2651, scalePercent, 0)
end

#rGBAImageSetWidth(width) ⇒ Object

Set the width for future RGBA image data.



3485
3486
3487
# File 'lib/fox16/scintilla.rb', line 3485

def rGBAImageSetWidth(width)
  sendMessage(2624, width, 0)
end

#rotateSelectionObject

Set the main selection to the next selection.



3438
3439
3440
# File 'lib/fox16/scintilla.rb', line 3438

def rotateSelection
  sendMessage(2606, 0, 0)
end

#scrollCaretObject

Ensure the caret is visible.



1303
1304
1305
# File 'lib/fox16/scintilla.rb', line 1303

def scrollCaret
  sendMessage(2169, 0, 0)
end

#scrollRange(secondary, primary) ⇒ Object

Scroll the argument positions and the range between them into view giving priority to the primary position then the secondary position. This may be used to make a search match visible.



1310
1311
1312
# File 'lib/fox16/scintilla.rb', line 1310

def scrollRange(secondary, primary)
  sendMessage(2569, secondary, primary)
end

#scrollToEndObject

Scroll to end of document.



3517
3518
3519
# File 'lib/fox16/scintilla.rb', line 3517

def scrollToEnd
  sendMessage(2629, 0, 0)
end

#scrollToStartObject

Scroll to start of document.



3512
3513
3514
# File 'lib/fox16/scintilla.rb', line 3512

def scrollToStart
  sendMessage(2628, 0, 0)
end

#searchAnchorObject

Sets the current caret position to be the search anchor.



2335
2336
2337
# File 'lib/fox16/scintilla.rb', line 2335

def searchAnchor
  sendMessage(2366, 0, 0)
end

#searchInTarget(length, text) ⇒ Object

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.



1460
1461
1462
# File 'lib/fox16/scintilla.rb', line 1460

def searchInTarget(length, text)
  sendMessage(2197, length, text)
end

#searchNext(flags, text) ⇒ Object

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



2341
2342
2343
# File 'lib/fox16/scintilla.rb', line 2341

def searchNext(flags, text)
  sendMessage(2367, flags, text)
end

#searchPrev(flags, text) ⇒ Object

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



2347
2348
2349
# File 'lib/fox16/scintilla.rb', line 2347

def searchPrev(flags, text)
  sendMessage(2368, flags, text)
end

#selectAllObject

Select all the text in the document.



95
96
97
# File 'lib/fox16/scintilla.rb', line 95

def selectAll
  sendMessage(2013, 0, 0)
end

#selectionDuplicateObject

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



2890
2891
2892
# File 'lib/fox16/scintilla.rb', line 2890

def selectionDuplicate
  sendMessage(2469, 0, 0)
end

#selectionIsRectangleObject

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



2363
2364
2365
# File 'lib/fox16/scintilla.rb', line 2363

def selectionIsRectangle
  sendMessage(2372, 0, 0) == 1 ? true : false
end

#sendMessage(iMsg, wParam = nil, lParam = nil) ⇒ Object

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.



118
# File 'rdoc-sources/FXScintilla.rb', line 118

def sendMessage(iMsg, wParam=nil, lParam=nil); end

#setAdditionalCaretFore(fore) ⇒ Object

Set the foreground colour of additional carets.



3428
3429
3430
# File 'lib/fox16/scintilla.rb', line 3428

def setAdditionalCaretFore(fore)
  sendMessage(2604, fore & 0xffffff, 0)
end

Set whether additional carets will blink



3251
3252
3253
# File 'lib/fox16/scintilla.rb', line 3251

def setAdditionalCaretsBlink(additionalCaretsBlink)
  sendMessage(2567, additionalCaretsBlink, 0)
end

#setAdditionalCaretsVisible(additionalCaretsBlink) ⇒ Object

Set whether additional carets are visible



3261
3262
3263
# File 'lib/fox16/scintilla.rb', line 3261

def setAdditionalCaretsVisible(additionalCaretsBlink)
  sendMessage(2608, additionalCaretsBlink, 0)
end

#setAdditionalSelAlpha(alpha) ⇒ Object

Set the alpha of the selection.



3418
3419
3420
# File 'lib/fox16/scintilla.rb', line 3418

def setAdditionalSelAlpha(alpha)
  sendMessage(2602, alpha, 0)
end

#setAdditionalSelBack(back) ⇒ Object

Set the background colour of additional selections. Must have previously called SetSelBack with non-zero first argument for this to have an effect.



3413
3414
3415
# File 'lib/fox16/scintilla.rb', line 3413

def setAdditionalSelBack(back)
  sendMessage(2601, back & 0xffffff, 0)
end

#setAdditionalSelectionTyping(additionalSelectionTyping) ⇒ Object

Set whether typing can be performed into multiple selections



3241
3242
3243
# File 'lib/fox16/scintilla.rb', line 3241

def setAdditionalSelectionTyping(additionalSelectionTyping)
  sendMessage(2565, additionalSelectionTyping, 0)
end

#setAdditionalSelFore(fore) ⇒ Object

Set the foreground colour of additional selections. Must have previously called SetSelFore with non-zero first argument for this to have an effect.



3407
3408
3409
# File 'lib/fox16/scintilla.rb', line 3407

def setAdditionalSelFore(fore)
  sendMessage(2600, fore & 0xffffff, 0)
end

#setAnchor(posAnchor) ⇒ Object

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



169
170
171
# File 'lib/fox16/scintilla.rb', line 169

def setAnchor(posAnchor)
  sendMessage(2026, posAnchor, 0)
end

#setAutomaticFold(automaticFold) ⇒ Object

Set automatic folding behaviours.



1640
1641
1642
# File 'lib/fox16/scintilla.rb', line 1640

def setAutomaticFold(automaticFold)
  sendMessage(2663, automaticFold, 0)
end

#setBackSpaceUnIndents(bsUnIndents) ⇒ Object

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



1678
1679
1680
# File 'lib/fox16/scintilla.rb', line 1678

def setBackSpaceUnIndents(bsUnIndents)
  sendMessage(2262, bsUnIndents, 0)
end

#setBufferedDraw(buffered) ⇒ Object

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



224
225
226
# File 'lib/fox16/scintilla.rb', line 224

def setBufferedDraw(buffered)
  sendMessage(2035, buffered, 0)
end

#setCaretFore(fore) ⇒ Object

Set the foreground colour of the caret.



688
689
690
# File 'lib/fox16/scintilla.rb', line 688

def setCaretFore(fore)
  sendMessage(2069, fore & 0xffffff, 0)
end

#setCaretLineBack(back) ⇒ Object

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



868
869
870
# File 'lib/fox16/scintilla.rb', line 868

def setCaretLineBack(back)
  sendMessage(2098, back & 0xffffff, 0)
end

#setCaretLineBackAlpha(alpha) ⇒ Object

Set background alpha of the caret line.



2899
2900
2901
# File 'lib/fox16/scintilla.rb', line 2899

def setCaretLineBackAlpha(alpha)
  sendMessage(2470, alpha, 0)
end

#setCaretLineVisible(show) ⇒ Object

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



858
859
860
# File 'lib/fox16/scintilla.rb', line 858

def setCaretLineVisible(show)
  sendMessage(2096, show, 0)
end

#setCaretLineVisibleAlways(alwaysVisible) ⇒ Object

Sets the caret line to always visible.



3573
3574
3575
# File 'lib/fox16/scintilla.rb', line 3573

def setCaretLineVisibleAlways(alwaysVisible)
  sendMessage(2655, alwaysVisible, 0)
end

#setCaretPeriod(periodMilliseconds) ⇒ Object

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



723
724
725
# File 'lib/fox16/scintilla.rb', line 723

def setCaretPeriod(periodMilliseconds)
  sendMessage(2076, periodMilliseconds, 0)
end

#setCaretSticky(useCaretStickyBehaviour) ⇒ Object

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



2866
2867
2868
# File 'lib/fox16/scintilla.rb', line 2866

def setCaretSticky(useCaretStickyBehaviour)
  sendMessage(2458, useCaretStickyBehaviour, 0)
end

#setCaretStyle(caretStyle) ⇒ Object

Set the style of the caret to be drawn.



2913
2914
2915
# File 'lib/fox16/scintilla.rb', line 2913

def setCaretStyle(caretStyle)
  sendMessage(2512, caretStyle, 0)
end

#setCaretWidth(pixelWidth) ⇒ Object

Set the width of the insert mode caret.



1409
1410
1411
# File 'lib/fox16/scintilla.rb', line 1409

def setCaretWidth(pixelWidth)
  sendMessage(2188, pixelWidth, 0)
end

#setCharsDefaultObject

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



2773
2774
2775
# File 'lib/fox16/scintilla.rb', line 2773

def setCharsDefault
  sendMessage(2444, 0, 0)
end

#setCodePage(codePage) ⇒ Object

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.



259
260
261
# File 'lib/fox16/scintilla.rb', line 259

def setCodePage(codePage)
  sendMessage(2037, codePage, 0)
end

#setControlCharSymbol(symbol) ⇒ Object

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



2444
2445
2446
# File 'lib/fox16/scintilla.rb', line 2444

def setControlCharSymbol(symbol)
  sendMessage(2388, symbol, 0)
end

#setCurrentPos(pos) ⇒ Object

Sets the position of the caret.



1135
1136
1137
# File 'lib/fox16/scintilla.rb', line 1135

def setCurrentPos(pos)
  sendMessage(2141, pos, 0)
end

#setCursor(cursorType) ⇒ Object

Sets the cursor to one of the SC_CURSOR* values.



2434
2435
2436
# File 'lib/fox16/scintilla.rb', line 2434

def setCursor(cursorType)
  sendMessage(2386, cursorType, 0)
end

#setDocPointer(pointer) ⇒ Object

Change the document object used.



2289
2290
2291
# File 'lib/fox16/scintilla.rb', line 2289

def setDocPointer(pointer)
  sendMessage(2358, 0, pointer)
end

#setEdgeColour(edgeColour) ⇒ Object

Change the colour used in edge indication.



2330
2331
2332
# File 'lib/fox16/scintilla.rb', line 2330

def setEdgeColour(edgeColour)
  sendMessage(2365, edgeColour & 0xffffff, 0)
end

#setEdgeColumn(column) ⇒ Object

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



2309
2310
2311
# File 'lib/fox16/scintilla.rb', line 2309

def setEdgeColumn(column)
  sendMessage(2361, column, 0)
end

#setEdgeMode(mode) ⇒ Object

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).



2320
2321
2322
# File 'lib/fox16/scintilla.rb', line 2320

def setEdgeMode(mode)
  sendMessage(2363, mode, 0)
end

#setEmptySelection(pos) ⇒ Object

Set caret to a position, while removing any existing selection.



1160
1161
1162
# File 'lib/fox16/scintilla.rb', line 1160

def setEmptySelection(pos)
  sendMessage(2556, pos, 0)
end

#setEndAtLastLine(endAtLastLine) ⇒ Object

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.



1822
1823
1824
# File 'lib/fox16/scintilla.rb', line 1822

def setEndAtLastLine(endAtLastLine)
  sendMessage(2277, endAtLastLine, 0)
end

#setEOLMode(eolMode) ⇒ Object

Set the current end of line mode.



201
202
203
# File 'lib/fox16/scintilla.rb', line 201

def setEOLMode(eolMode)
  sendMessage(2031, eolMode, 0)
end

#setExtraAscent(extraAscent) ⇒ Object

Set extra ascent for each line



3037
3038
3039
# File 'lib/fox16/scintilla.rb', line 3037

def setExtraAscent(extraAscent)
  sendMessage(2525, extraAscent, 0)
end

#setExtraDescent(extraDescent) ⇒ Object

Set extra descent for each line



3047
3048
3049
# File 'lib/fox16/scintilla.rb', line 3047

def setExtraDescent(extraDescent)
  sendMessage(2527, extraDescent, 0)
end

#setFirstVisibleLine(lineDisplay) ⇒ Object

Scroll so that a display line is at the top of the display.



1899
1900
1901
# File 'lib/fox16/scintilla.rb', line 1899

def setFirstVisibleLine(lineDisplay)
  sendMessage(2613, lineDisplay, 0)
end

#setFocusFlag(focus) ⇒ Object

Change internal focus flag.



2397
2398
2399
# File 'lib/fox16/scintilla.rb', line 2397

def setFocusFlag(focus)
  sendMessage(2380, focus, 0)
end

#setFoldExpanded(line, expanded) ⇒ Object

Show the children of a header line.



1592
1593
1594
# File 'lib/fox16/scintilla.rb', line 1592

def setFoldExpanded(line, expanded)
  sendMessage(2229, line, expanded)
end

#setFoldFlags(flags) ⇒ Object

Set some style options for folding.



1657
1658
1659
# File 'lib/fox16/scintilla.rb', line 1657

def setFoldFlags(flags)
  sendMessage(2233, flags, 0)
end

#setFoldLevel(line, level) ⇒ Object

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.



1552
1553
1554
# File 'lib/fox16/scintilla.rb', line 1552

def setFoldLevel(line, level)
  sendMessage(2222, line, level)
end

#setFoldMarginColour(useSetting, back) ⇒ Object

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



1940
1941
1942
# File 'lib/fox16/scintilla.rb', line 1940

def setFoldMarginColour(useSetting, back)
  sendMessage(2290, useSetting, back & 0xffffff)
end

#setFoldMarginHiColour(useSetting, fore) ⇒ Object



1943
1944
1945
# File 'lib/fox16/scintilla.rb', line 1943

def setFoldMarginHiColour(useSetting, fore)
  sendMessage(2291, useSetting, fore & 0xffffff)
end

#setFontQuality(fontQuality) ⇒ Object

Choose the quality level for text from the FontQuality enumeration.



1889
1890
1891
# File 'lib/fox16/scintilla.rb', line 1889

def setFontQuality(fontQuality)
  sendMessage(2611, fontQuality, 0)
end

#setHighlightGuide(column) ⇒ Object

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



1105
1106
1107
# File 'lib/fox16/scintilla.rb', line 1105

def setHighlightGuide(column)
  sendMessage(2134, column, 0)
end

#setHotspotActiveBack(useSetting, back) ⇒ Object

Set a back colour for active hotspots.



2564
2565
2566
# File 'lib/fox16/scintilla.rb', line 2564

def setHotspotActiveBack(useSetting, back)
  sendMessage(2411, useSetting, back & 0xffffff)
end

#setHotspotActiveFore(useSetting, fore) ⇒ Object

Set a fore colour for active hotspots.



2554
2555
2556
# File 'lib/fox16/scintilla.rb', line 2554

def setHotspotActiveFore(useSetting, fore)
  sendMessage(2410, useSetting, fore & 0xffffff)
end

#setHotspotActiveUnderline(underline) ⇒ Object

Enable / Disable underlining active hotspots.



2574
2575
2576
# File 'lib/fox16/scintilla.rb', line 2574

def setHotspotActiveUnderline(underline)
  sendMessage(2412, underline, 0)
end

#setHotspotSingleLine(singleLine) ⇒ Object

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



2584
2585
2586
# File 'lib/fox16/scintilla.rb', line 2584

def setHotspotSingleLine(singleLine)
  sendMessage(2421, singleLine, 0)
end

#setHScrollBar(show) ⇒ Object

Show or hide the horizontal scroll bar.



1080
1081
1082
# File 'lib/fox16/scintilla.rb', line 1080

def setHScrollBar(show)
  sendMessage(2130, show, 0)
end

#setIdentifier(identifier) ⇒ Object

Set the identifier reported as idFrom in notification messages.



3475
3476
3477
# File 'lib/fox16/scintilla.rb', line 3475

def setIdentifier(identifier)
  sendMessage(2622, identifier, 0)
end

#setIdentifiers(style, identifiers) ⇒ Object

Set the identifiers that are shown in a particular style



3763
3764
3765
# File 'lib/fox16/scintilla.rb', line 3763

def setIdentifiers(style, identifiers)
  sendMessage(4024, style, identifiers)
end

#setIMEInteraction(imeInteraction) ⇒ Object

Choose to display the the IME in a winow or inline.



272
273
274
# File 'lib/fox16/scintilla.rb', line 272

def setIMEInteraction(imeInteraction)
  sendMessage(2679, imeInteraction, 0)
end

#setIndent(indentSize) ⇒ Object

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



1034
1035
1036
# File 'lib/fox16/scintilla.rb', line 1034

def setIndent(indentSize)
  sendMessage(2122, indentSize, 0)
end

#setIndentationGuides(indentView) ⇒ Object

Show or hide indentation guides.



1094
1095
1096
# File 'lib/fox16/scintilla.rb', line 1094

def setIndentationGuides(indentView)
  sendMessage(2132, indentView, 0)
end

#setIndicatorCurrent(indicator) ⇒ Object

Set the indicator used for IndicatorFillRange and IndicatorClearRange



2923
2924
2925
# File 'lib/fox16/scintilla.rb', line 2923

def setIndicatorCurrent(indicator)
  sendMessage(2500, indicator, 0)
end

#setIndicatorValue(value) ⇒ Object

Set the value used for IndicatorFillRange



2933
2934
2935
# File 'lib/fox16/scintilla.rb', line 2933

def setIndicatorValue(value)
  sendMessage(2502, value, 0)
end

#setKeysUnicode(keysUnicode) ⇒ Object

Always interpret keyboard input as Unicode



3007
3008
3009
# File 'lib/fox16/scintilla.rb', line 3007

def setKeysUnicode(keysUnicode)
  sendMessage(2521, keysUnicode, 0)
end

#setKeyWords(keywordSet, keyWords) ⇒ Object

Set up the key words used by the lexer.



3649
3650
3651
# File 'lib/fox16/scintilla.rb', line 3649

def setKeyWords(keywordSet, keyWords)
  sendMessage(4005, keywordSet, keyWords)
end

#setLayoutCache(mode) ⇒ Object

Sets the degree of caching of layout information.



1783
1784
1785
# File 'lib/fox16/scintilla.rb', line 1783

def setLayoutCache(mode)
  sendMessage(2272, mode, 0)
end

#setLengthForEncode(bytes) ⇒ Object

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



2841
2842
2843
# File 'lib/fox16/scintilla.rb', line 2841

def setLengthForEncode(bytes)
  sendMessage(2448, bytes, 0)
end

#setLexer(lexer) ⇒ Object

Set the lexing language of the document.



3626
3627
3628
# File 'lib/fox16/scintilla.rb', line 3626

def setLexer(lexer)
  sendMessage(4001, lexer, 0)
end

#setLexerLanguage(language) ⇒ Object

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



3654
3655
3656
# File 'lib/fox16/scintilla.rb', line 3654

def setLexerLanguage(language)
  sendMessage(4006, 0, language)
end

#setLineEndTypesAllowed(lineEndBitSet) ⇒ Object

Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.



3584
3585
3586
# File 'lib/fox16/scintilla.rb', line 3584

def setLineEndTypesAllowed(lineEndBitSet)
  sendMessage(2656, lineEndBitSet, 0)
end

#setLineIndentation(line, indentSize) ⇒ Object

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



1055
1056
1057
# File 'lib/fox16/scintilla.rb', line 1055

def setLineIndentation(line, indentSize)
  sendMessage(2126, line, indentSize)
end

#setLineState(line, state) ⇒ Object

Used to hold extra styling information for each line.



838
839
840
# File 'lib/fox16/scintilla.rb', line 838

def setLineState(line, state)
  sendMessage(2092, line, state)
end

#setMainSelection(selection) ⇒ Object

Set the main selection



3301
3302
3303
# File 'lib/fox16/scintilla.rb', line 3301

def setMainSelection(selection)
  sendMessage(2574, selection, 0)
end

#setMarginCursorN(margin, cursor) ⇒ Object

Set the cursor shown when the mouse is inside a margin.



448
449
450
# File 'lib/fox16/scintilla.rb', line 448

def setMarginCursorN(margin, cursor)
  sendMessage(2248, margin, cursor)
end

#setMarginLeft(pixelWidth) ⇒ Object

Sets the size in pixels of the left margin.



1231
1232
1233
# File 'lib/fox16/scintilla.rb', line 1231

def setMarginLeft(pixelWidth)
  sendMessage(2155, 0, pixelWidth)
end

#setMarginMaskN(margin, mask) ⇒ Object

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



428
429
430
# File 'lib/fox16/scintilla.rb', line 428

def setMarginMaskN(margin, mask)
  sendMessage(2244, margin, mask)
end

#setMarginOptions(marginOptions) ⇒ Object

Set the margin options.



3114
3115
3116
# File 'lib/fox16/scintilla.rb', line 3114

def setMarginOptions(marginOptions)
  sendMessage(2539, marginOptions, 0)
end

#setMarginRight(pixelWidth) ⇒ Object

Sets the size in pixels of the right margin.



1241
1242
1243
# File 'lib/fox16/scintilla.rb', line 1241

def setMarginRight(pixelWidth)
  sendMessage(2157, 0, pixelWidth)
end

#setMarginSensitiveN(margin, sensitive) ⇒ Object

Make a margin sensitive or insensitive to mouse clicks.



438
439
440
# File 'lib/fox16/scintilla.rb', line 438

def setMarginSensitiveN(margin, sensitive)
  sendMessage(2246, margin, sensitive)
end

#setMarginTypeN(margin, marginType) ⇒ Object

Set a margin to be either numeric or symbolic.



408
409
410
# File 'lib/fox16/scintilla.rb', line 408

def setMarginTypeN(margin, marginType)
  sendMessage(2240, margin, marginType)
end

#setMarginWidthN(margin, pixelWidth) ⇒ Object

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



418
419
420
# File 'lib/fox16/scintilla.rb', line 418

def setMarginWidthN(margin, pixelWidth)
  sendMessage(2242, margin, pixelWidth)
end

#setModEventMask(mask) ⇒ Object

Set which document modification events are sent to the container.



2294
2295
2296
# File 'lib/fox16/scintilla.rb', line 2294

def setModEventMask(mask)
  sendMessage(2359, mask, 0)
end

#setMouseDownCaptures(captures) ⇒ Object

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



2421
2422
2423
# File 'lib/fox16/scintilla.rb', line 2421

def setMouseDownCaptures(captures)
  sendMessage(2384, captures, 0)
end

#setMouseDwellTime(periodMilliseconds) ⇒ Object

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



1690
1691
1692
# File 'lib/fox16/scintilla.rb', line 1690

def setMouseDwellTime(periodMilliseconds)
  sendMessage(2264, periodMilliseconds, 0)
end

#setMouseSelectionRectangularSwitch(mouseSelectionRectangularSwitch) ⇒ Object

Set whether switching to rectangular mode while selecting with the mouse is allowed.



3221
3222
3223
# File 'lib/fox16/scintilla.rb', line 3221

def setMouseSelectionRectangularSwitch(mouseSelectionRectangularSwitch)
  sendMessage(2668, mouseSelectionRectangularSwitch, 0)
end

#setMultiPaste(multiPaste) ⇒ Object

Change the effect of pasting when there are multiple selections.



1907
1908
1909
# File 'lib/fox16/scintilla.rb', line 1907

def setMultiPaste(multiPaste)
  sendMessage(2614, multiPaste, 0)
end

#setMultipleSelection(multipleSelection) ⇒ Object

Set whether multiple selections can be made



3231
3232
3233
# File 'lib/fox16/scintilla.rb', line 3231

def setMultipleSelection(multipleSelection)
  sendMessage(2563, multipleSelection, 0)
end

#setOvertype(overtype) ⇒ Object

Set to overtype (true) or insert mode.



1399
1400
1401
# File 'lib/fox16/scintilla.rb', line 1399

def setOvertype(overtype)
  sendMessage(2186, overtype, 0)
end

#setPasteConvertEndings(convert) ⇒ Object

Enable/Disable convert-on-paste for line endings



2880
2881
2882
# File 'lib/fox16/scintilla.rb', line 2880

def setPasteConvertEndings(convert)
  sendMessage(2467, convert, 0)
end

#setPhasesDraw(phases) ⇒ Object

In one phase draw, text is drawn in a series of rectangular blocks with no overlap. In two phase draw, text is drawn in a series of lines allowing runs to overlap horizontally. In multiple phase draw, each element is drawn over the whole drawing area, allowing text to overlap from one line to the next.



1876
1877
1878
# File 'lib/fox16/scintilla.rb', line 1876

def setPhasesDraw(phases)
  sendMessage(2674, phases, 0)
end

#setPositionCache(size) ⇒ Object

Set number of entries in position cache



2973
2974
2975
# File 'lib/fox16/scintilla.rb', line 2973

def setPositionCache(size)
  sendMessage(2514, size, 0)
end

#setPrintColourMode(mode) ⇒ Object

Modify colours when printing for clearer printed text.



1186
1187
1188
# File 'lib/fox16/scintilla.rb', line 1186

def setPrintColourMode(mode)
  sendMessage(2148, mode, 0)
end

#setPrintMagnification(magnification) ⇒ Object

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



1165
1166
1167
# File 'lib/fox16/scintilla.rb', line 1165

def setPrintMagnification(magnification)
  sendMessage(2146, magnification, 0)
end

#setPrintWrapMode(mode) ⇒ Object

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



2544
2545
2546
# File 'lib/fox16/scintilla.rb', line 2544

def setPrintWrapMode(mode)
  sendMessage(2406, mode, 0)
end

#setProperty(key, value) ⇒ Object

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



3641
3642
3643
# File 'lib/fox16/scintilla.rb', line 3641

def setProperty(key, value)
  sendMessage(4004, key, value)
end

#setPunctuationChars(characters) ⇒ Object

Set the set of characters making up punctuation characters Should be called after SetWordChars.



2763
2764
2765
# File 'lib/fox16/scintilla.rb', line 2763

def setPunctuationChars(characters)
  sendMessage(2648, 0, characters)
end

#setReadOnly(readOnly) ⇒ Object

Set to read only or read write.



1320
1321
1322
# File 'lib/fox16/scintilla.rb', line 1320

def setReadOnly(readOnly)
  sendMessage(2171, readOnly, 0)
end

#setRectangularSelectionAnchor(posAnchor) ⇒ Object



3361
3362
3363
# File 'lib/fox16/scintilla.rb', line 3361

def setRectangularSelectionAnchor(posAnchor)
  sendMessage(2590, posAnchor, 0)
end

#setRectangularSelectionAnchorVirtualSpace(space) ⇒ Object



3373
3374
3375
# File 'lib/fox16/scintilla.rb', line 3373

def setRectangularSelectionAnchorVirtualSpace(space)
  sendMessage(2594, space, 0)
end

#setRectangularSelectionCaret(pos) ⇒ Object



3355
3356
3357
# File 'lib/fox16/scintilla.rb', line 3355

def setRectangularSelectionCaret(pos)
  sendMessage(2588, pos, 0)
end

#setRectangularSelectionCaretVirtualSpace(space) ⇒ Object



3367
3368
3369
# File 'lib/fox16/scintilla.rb', line 3367

def setRectangularSelectionCaretVirtualSpace(space)
  sendMessage(2592, space, 0)
end

#setRectangularSelectionModifier(modifier) ⇒ Object

On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection. Often the window manager requires Alt+Mouse Drag for moving windows. Valid values are SCMOD_CTRL(default), SCMOD_ALT, or SCMOD_SUPER.



3396
3397
3398
# File 'lib/fox16/scintilla.rb', line 3396

def setRectangularSelectionModifier(modifier)
  sendMessage(2598, modifier, 0)
end

#setRepresentation(encodedCharacter, representation) ⇒ Object

Set the way a character is drawn.



3599
3600
3601
# File 'lib/fox16/scintilla.rb', line 3599

def setRepresentation(encodedCharacter, representation)
  sendMessage(2665, encodedCharacter, representation)
end

#setSavePointObject

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



101
102
103
# File 'lib/fox16/scintilla.rb', line 101

def setSavePoint
  sendMessage(2014, 0, 0)
end

#setScintillaID(id) ⇒ Object

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



111
# File 'rdoc-sources/FXScintilla.rb', line 111

def setScintillaID(id); end

#setScrollWidth(pixelWidth) ⇒ Object

Sets the document width assumed for scrolling.



1793
1794
1795
# File 'lib/fox16/scintilla.rb', line 1793

def setScrollWidth(pixelWidth)
  sendMessage(2274, pixelWidth, 0)
end

#setScrollWidthTracking(tracking) ⇒ Object

Sets whether the maximum width line displayed is used to set scroll width.



1803
1804
1805
# File 'lib/fox16/scintilla.rb', line 1803

def setScrollWidthTracking(tracking)
  sendMessage(2516, tracking, 0)
end

#setSearchFlags(flags) ⇒ Object

Set the search flags used by SearchInTarget.



1465
1466
1467
# File 'lib/fox16/scintilla.rb', line 1465

def setSearchFlags(flags)
  sendMessage(2198, flags, 0)
end

#setSel(start, last) ⇒ Object

Select a range of text.



1256
1257
1258
# File 'lib/fox16/scintilla.rb', line 1256

def setSel(start, last)
  sendMessage(2160, start, last)
end

#setSelAlpha(alpha) ⇒ Object

Set the alpha of the selection.



673
674
675
# File 'lib/fox16/scintilla.rb', line 673

def setSelAlpha(alpha)
  sendMessage(2478, alpha, 0)
end

#setSelBack(useSetting, back) ⇒ Object

Set the background colour of the main and additional selections and whether to use this setting.



663
664
665
# File 'lib/fox16/scintilla.rb', line 663

def setSelBack(useSetting, back)
  sendMessage(2068, useSetting, back & 0xffffff)
end

#setSelection(caret, anchor) ⇒ Object

Set a simple selection



3286
3287
3288
# File 'lib/fox16/scintilla.rb', line 3286

def setSelection(caret, anchor)
  sendMessage(2572, caret, anchor)
end

#setSelectionEnd(pos) ⇒ Object

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



1150
1151
1152
# File 'lib/fox16/scintilla.rb', line 1150

def setSelectionEnd(pos)
  sendMessage(2144, pos, 0)
end

#setSelectionMode(mode) ⇒ Object

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



2642
2643
2644
# File 'lib/fox16/scintilla.rb', line 2642

def setSelectionMode(mode)
  sendMessage(2422, mode, 0)
end

#setSelectionNAnchor(selection, posAnchor) ⇒ Object



3316
3317
3318
# File 'lib/fox16/scintilla.rb', line 3316

def setSelectionNAnchor(selection, posAnchor)
  sendMessage(2578, selection, posAnchor)
end

#setSelectionNAnchorVirtualSpace(selection, space) ⇒ Object



3328
3329
3330
# File 'lib/fox16/scintilla.rb', line 3328

def setSelectionNAnchorVirtualSpace(selection, space)
  sendMessage(2582, selection, space)
end

#setSelectionNCaret(selection, pos) ⇒ Object



3310
3311
3312
# File 'lib/fox16/scintilla.rb', line 3310

def setSelectionNCaret(selection, pos)
  sendMessage(2576, selection, pos)
end

#setSelectionNCaretVirtualSpace(selection, space) ⇒ Object



3322
3323
3324
# File 'lib/fox16/scintilla.rb', line 3322

def setSelectionNCaretVirtualSpace(selection, space)
  sendMessage(2580, selection, space)
end

#setSelectionNEnd(selection, pos) ⇒ Object

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



3346
3347
3348
# File 'lib/fox16/scintilla.rb', line 3346

def setSelectionNEnd(selection, pos)
  sendMessage(2586, selection, pos)
end

#setSelectionNStart(selection, pos) ⇒ Object

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



3336
3337
3338
# File 'lib/fox16/scintilla.rb', line 3336

def setSelectionNStart(selection, pos)
  sendMessage(2584, selection, pos)
end

#setSelectionStart(pos) ⇒ Object

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



1140
1141
1142
# File 'lib/fox16/scintilla.rb', line 1140

def setSelectionStart(pos)
  sendMessage(2142, pos, 0)
end

#setSelEOLFilled(filled) ⇒ Object

Set the selection to have its end of line filled or not.



683
684
685
# File 'lib/fox16/scintilla.rb', line 683

def setSelEOLFilled(filled)
  sendMessage(2480, filled, 0)
end

#setSelFore(useSetting, fore) ⇒ Object

Set the foreground colour of the main and additional selections and whether to use this setting.



658
659
660
# File 'lib/fox16/scintilla.rb', line 658

def setSelFore(useSetting, fore)
  sendMessage(2067, useSetting, fore & 0xffffff)
end

#setStatus(statusCode) ⇒ Object

Change error status - 0 = OK.



2412
2413
2414
# File 'lib/fox16/scintilla.rb', line 2412

def setStatus(statusCode)
  sendMessage(2382, statusCode, 0)
end

#setStyleBits(bits) ⇒ Object

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.



828
829
830
# File 'lib/fox16/scintilla.rb', line 828

def setStyleBits(bits)
  sendMessage(2090, bits, 0)
end

#setStyling(length, style) ⇒ Object

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



213
214
215
# File 'lib/fox16/scintilla.rb', line 213

def setStyling(length, style)
  sendMessage(2033, length, style)
end

#setStylingEx(length, styles) ⇒ Object

Set the styles for a segment of the document.



708
709
710
# File 'lib/fox16/scintilla.rb', line 708

def setStylingEx(length, styles)
  sendMessage(2073, length, styles)
end

#setTabIndents(tabIndents) ⇒ Object

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



1668
1669
1670
# File 'lib/fox16/scintilla.rb', line 1668

def setTabIndents(tabIndents)
  sendMessage(2260, tabIndents, 0)
end

#setTabWidth(tabWidth) ⇒ Object

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



229
230
231
# File 'lib/fox16/scintilla.rb', line 229

def setTabWidth(tabWidth)
  sendMessage(2036, tabWidth, 0)
end

#setTargetEnd(pos) ⇒ Object

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



1431
1432
1433
# File 'lib/fox16/scintilla.rb', line 1431

def setTargetEnd(pos)
  sendMessage(2192, pos, 0)
end

#setTargetStart(pos) ⇒ Object

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



1420
1421
1422
# File 'lib/fox16/scintilla.rb', line 1420

def setTargetStart(pos)
  sendMessage(2190, pos, 0)
end

#setTechnology(technology) ⇒ Object

Set the technology used.



3527
3528
3529
# File 'lib/fox16/scintilla.rb', line 3527

def setTechnology(technology)
  sendMessage(2630, technology, 0)
end

#setText(text) ⇒ Object

Replace the contents of the document with the argument text.



1370
1371
1372
# File 'lib/fox16/scintilla.rb', line 1370

def setText(text)
  sendMessage(2181, 0, text)
end

#setTwoPhaseDraw(twoPhase) ⇒ Object

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.



1859
1860
1861
# File 'lib/fox16/scintilla.rb', line 1859

def setTwoPhaseDraw(twoPhase)
  sendMessage(2284, twoPhase, 0)
end

#setUndoCollection(collectUndo) ⇒ Object

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



90
91
92
# File 'lib/fox16/scintilla.rb', line 90

def setUndoCollection(collectUndo)
  sendMessage(2012, collectUndo, 0)
end

#setUsePalette(usePalette) ⇒ Object

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



5741
5742
5743
# File 'lib/fox16/scintilla.rb', line 5741

def setUsePalette(usePalette)
  sendMessage(2039, usePalette, 0)
end

#setUseTabs(useTabs) ⇒ Object

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



1045
1046
1047
# File 'lib/fox16/scintilla.rb', line 1045

def setUseTabs(useTabs)
  sendMessage(2124, useTabs, 0)
end

#setViewEOL(visible) ⇒ Object

Make the end of line characters visible or invisible.



2279
2280
2281
# File 'lib/fox16/scintilla.rb', line 2279

def setViewEOL(visible)
  sendMessage(2356, visible, 0)
end

#setViewWS(viewWS) ⇒ Object

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



142
143
144
# File 'lib/fox16/scintilla.rb', line 142

def setViewWS(viewWS)
  sendMessage(2021, viewWS, 0)
end

#setVirtualSpaceOptions(virtualSpaceOptions) ⇒ Object



3384
3385
3386
# File 'lib/fox16/scintilla.rb', line 3384

def setVirtualSpaceOptions(virtualSpaceOptions)
  sendMessage(2596, virtualSpaceOptions, 0)
end

#setVisiblePolicy(visiblePolicy, visibleSlop) ⇒ Object

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



2476
2477
2478
# File 'lib/fox16/scintilla.rb', line 2476

def setVisiblePolicy(visiblePolicy, visibleSlop)
  sendMessage(2394, visiblePolicy, visibleSlop)
end

#setVScrollBar(show) ⇒ Object

Show or hide the vertical scroll bar.



1838
1839
1840
# File 'lib/fox16/scintilla.rb', line 1838

def setVScrollBar(show)
  sendMessage(2280, show, 0)
end

#setWhitespaceBack(useSetting, back) ⇒ Object

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



811
812
813
# File 'lib/fox16/scintilla.rb', line 811

def setWhitespaceBack(useSetting, back)
  sendMessage(2085, useSetting, back & 0xffffff)
end

#setWhitespaceChars(characters) ⇒ Object

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



2752
2753
2754
# File 'lib/fox16/scintilla.rb', line 2752

def setWhitespaceChars(characters)
  sendMessage(2443, 0, characters)
end

#setWhitespaceFore(useSetting, fore) ⇒ Object

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



806
807
808
# File 'lib/fox16/scintilla.rb', line 806

def setWhitespaceFore(useSetting, fore)
  sendMessage(2084, useSetting, fore & 0xffffff)
end

#setWhitespaceSize(size) ⇒ Object

Set the size of the dots used to mark space characters.



816
817
818
# File 'lib/fox16/scintilla.rb', line 816

def setWhitespaceSize(size)
  sendMessage(2086, size, 0)
end

#setWordChars(characters) ⇒ Object

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



729
730
731
# File 'lib/fox16/scintilla.rb', line 729

def setWordChars(characters)
  sendMessage(2077, 0, characters)
end

#setWrapIndentMode(mode) ⇒ Object

Sets how wrapped sublines are placed. Default is fixed.



1768
1769
1770
# File 'lib/fox16/scintilla.rb', line 1768

def setWrapIndentMode(mode)
  sendMessage(2472, mode, 0)
end

#setWrapMode(mode) ⇒ Object

Sets whether text is word wrapped.



1715
1716
1717
# File 'lib/fox16/scintilla.rb', line 1715

def setWrapMode(mode)
  sendMessage(2268, mode, 0)
end

#setWrapStartIndent(indent) ⇒ Object

Set the start indent for wrapped lines.



1754
1755
1756
# File 'lib/fox16/scintilla.rb', line 1754

def setWrapStartIndent(indent)
  sendMessage(2464, indent, 0)
end

#setWrapVisualFlags(wrapVisualFlags) ⇒ Object

Set the display mode of visual flags for wrapped lines.



1730
1731
1732
# File 'lib/fox16/scintilla.rb', line 1730

def setWrapVisualFlags(wrapVisualFlags)
  sendMessage(2460, wrapVisualFlags, 0)
end

#setWrapVisualFlagsLocation(wrapVisualFlagsLocation) ⇒ Object

Set the location of visual flags for wrapped lines.



1744
1745
1746
# File 'lib/fox16/scintilla.rb', line 1744

def setWrapVisualFlagsLocation(wrapVisualFlagsLocation)
  sendMessage(2462, wrapVisualFlagsLocation, 0)
end

#setXCaretPolicy(caretPolicy, caretSlop) ⇒ Object

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



2533
2534
2535
# File 'lib/fox16/scintilla.rb', line 2533

def setXCaretPolicy(caretPolicy, caretSlop)
  sendMessage(2402, caretPolicy, caretSlop)
end

#setXOffset(newOffset) ⇒ Object

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



2491
2492
2493
# File 'lib/fox16/scintilla.rb', line 2491

def setXOffset(newOffset)
  sendMessage(2397, newOffset, 0)
end

#setYCaretPolicy(caretPolicy, caretSlop) ⇒ Object

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



2539
2540
2541
# File 'lib/fox16/scintilla.rb', line 2539

def setYCaretPolicy(caretPolicy, caretSlop)
  sendMessage(2403, caretPolicy, caretSlop)
end

#setZoom(zoom) ⇒ Object

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.



2369
2370
2371
# File 'lib/fox16/scintilla.rb', line 2369

def setZoom(zoom)
  sendMessage(2373, zoom, 0)
end

#showLines(lineStart, lineEnd) ⇒ Object

Make a range of lines visible.



1572
1573
1574
# File 'lib/fox16/scintilla.rb', line 1572

def showLines(lineStart, lineEnd)
  sendMessage(2226, lineStart, lineEnd)
end

#startRecordObject

Start notifying the container of all key presses and commands.



3616
3617
3618
# File 'lib/fox16/scintilla.rb', line 3616

def startRecord
  sendMessage(3001, 0, 0)
end

#startStyling(pos, mask) ⇒ Object

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.



207
208
209
# File 'lib/fox16/scintilla.rb', line 207

def startStyling(pos, mask)
  sendMessage(2032, pos, mask)
end

#stopRecordObject

Stop notifying the container of all key presses and commands.



3621
3622
3623
# File 'lib/fox16/scintilla.rb', line 3621

def stopRecord
  sendMessage(3002, 0, 0)
end

#stutteredPageDownObject

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



2720
2721
2722
# File 'lib/fox16/scintilla.rb', line 2720

def stutteredPageDown
  sendMessage(2437, 0, 0)
end

#stutteredPageDownExtendObject

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



2725
2726
2727
# File 'lib/fox16/scintilla.rb', line 2725

def stutteredPageDownExtend
  sendMessage(2438, 0, 0)
end

#stutteredPageUpObject

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



2710
2711
2712
# File 'lib/fox16/scintilla.rb', line 2710

def stutteredPageUp
  sendMessage(2435, 0, 0)
end

#stutteredPageUpExtendObject

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



2715
2716
2717
# File 'lib/fox16/scintilla.rb', line 2715

def stutteredPageUpExtend
  sendMessage(2436, 0, 0)
end

#styleClearAllObject

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



494
495
496
# File 'lib/fox16/scintilla.rb', line 494

def styleClearAll
  sendMessage(2050, 0, 0)
end

#styleGetBack(style) ⇒ Object

Get the background colour of a style.



553
554
555
# File 'lib/fox16/scintilla.rb', line 553

def styleGetBack(style)
  sendMessage(2482, style, 0)
end

#styleGetBold(style) ⇒ Object

Get is a style bold or not.



558
559
560
# File 'lib/fox16/scintilla.rb', line 558

def styleGetBold(style)
  sendMessage(2483, style, 0) == 1 ? true : false
end

#styleGetCase(style) ⇒ Object

Get is a style mixed case, or to force upper or lower case.



591
592
593
# File 'lib/fox16/scintilla.rb', line 591

def styleGetCase(style)
  sendMessage(2489, style, 0)
end

#styleGetChangeable(style) ⇒ Object

Get is a style changeable or not (read only). Experimental feature, currently buggy.



607
608
609
# File 'lib/fox16/scintilla.rb', line 607

def styleGetChangeable(style)
  sendMessage(2492, style, 0) == 1 ? true : false
end

#styleGetCharacterSet(style) ⇒ Object

Get the character get of the font in a style.



596
597
598
# File 'lib/fox16/scintilla.rb', line 596

def styleGetCharacterSet(style)
  sendMessage(2490, style, 0)
end

#styleGetEOLFilled(style) ⇒ Object

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



581
582
583
# File 'lib/fox16/scintilla.rb', line 581

def styleGetEOLFilled(style)
  sendMessage(2487, style, 0) == 1 ? true : false
end

#styleGetFont(style) ⇒ Object

Get the font of a style. Returns the length of the fontName



574
575
576
577
578
# File 'lib/fox16/scintilla.rb', line 574

def styleGetFont(style)
  buffer = "".ljust(style)
  sendMessage(2486, style, buffer)
  buffer
end

#styleGetFore(style) ⇒ Object

Get the foreground colour of a style.



548
549
550
# File 'lib/fox16/scintilla.rb', line 548

def styleGetFore(style)
  sendMessage(2481, style, 0)
end

#styleGetHotSpot(style) ⇒ Object

Get is a style a hotspot or not.



612
613
614
# File 'lib/fox16/scintilla.rb', line 612

def styleGetHotSpot(style)
  sendMessage(2493, style, 0) == 1 ? true : false
end

#styleGetItalic(style) ⇒ Object

Get is a style italic or not.



563
564
565
# File 'lib/fox16/scintilla.rb', line 563

def styleGetItalic(style)
  sendMessage(2484, style, 0) == 1 ? true : false
end

#styleGetSize(style) ⇒ Object

Get the size of characters of a style.



568
569
570
# File 'lib/fox16/scintilla.rb', line 568

def styleGetSize(style)
  sendMessage(2485, style, 0)
end

#styleGetSizeFractional(style) ⇒ Object

Get the size of characters of a style in points multiplied by 100



629
630
631
# File 'lib/fox16/scintilla.rb', line 629

def styleGetSizeFractional(style)
  sendMessage(2062, style, 0)
end

#styleGetUnderline(style) ⇒ Object

Get is a style underlined or not.



586
587
588
# File 'lib/fox16/scintilla.rb', line 586

def styleGetUnderline(style)
  sendMessage(2488, style, 0) == 1 ? true : false
end

#styleGetVisible(style) ⇒ Object

Get is a style visible or not.



601
602
603
# File 'lib/fox16/scintilla.rb', line 601

def styleGetVisible(style)
  sendMessage(2491, style, 0) == 1 ? true : false
end

#styleGetWeight(style) ⇒ Object

Get the weight of characters of a style.



643
644
645
# File 'lib/fox16/scintilla.rb', line 643

def styleGetWeight(style)
  sendMessage(2064, style, 0)
end

#styleResetDefaultObject

Reset the default style to its state at startup



534
535
536
# File 'lib/fox16/scintilla.rb', line 534

def styleResetDefault
  sendMessage(2058, 0, 0)
end

#styleSetBack(style, back) ⇒ Object

Set the background colour of a style.



504
505
506
# File 'lib/fox16/scintilla.rb', line 504

def styleSetBack(style, back)
  sendMessage(2052, style, back & 0xffffff)
end

#styleSetBold(style, bold) ⇒ Object

Set a style to be bold or not.



509
510
511
# File 'lib/fox16/scintilla.rb', line 509

def styleSetBold(style, bold)
  sendMessage(2053, style, bold)
end

#styleSetCase(style, caseForce) ⇒ Object

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



617
618
619
# File 'lib/fox16/scintilla.rb', line 617

def styleSetCase(style, caseForce)
  sendMessage(2060, style, caseForce)
end

#styleSetChangeable(style, changeable) ⇒ Object

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



874
875
876
# File 'lib/fox16/scintilla.rb', line 874

def styleSetChangeable(style, changeable)
  sendMessage(2099, style, changeable)
end

#styleSetCharacterSet(style, characterSet) ⇒ Object

Set the character set of the font in a style.



648
649
650
# File 'lib/fox16/scintilla.rb', line 648

def styleSetCharacterSet(style, characterSet)
  sendMessage(2066, style, characterSet)
end

#styleSetEOLFilled(style, filled) ⇒ Object

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



529
530
531
# File 'lib/fox16/scintilla.rb', line 529

def styleSetEOLFilled(style, filled)
  sendMessage(2057, style, filled)
end

#styleSetFont(style, fontName) ⇒ Object

Set the font of a style.



524
525
526
# File 'lib/fox16/scintilla.rb', line 524

def styleSetFont(style, fontName)
  sendMessage(2056, style, fontName)
end

#styleSetFore(style, fore) ⇒ Object

Set the foreground colour of a style.



499
500
501
# File 'lib/fox16/scintilla.rb', line 499

def styleSetFore(style, fore)
  sendMessage(2051, style, fore & 0xffffff)
end

#styleSetHotSpot(style, hotspot) ⇒ Object

Set a style to be a hotspot or not.



653
654
655
# File 'lib/fox16/scintilla.rb', line 653

def styleSetHotSpot(style, hotspot)
  sendMessage(2409, style, hotspot)
end

#styleSetItalic(style, italic) ⇒ Object

Set a style to be italic or not.



514
515
516
# File 'lib/fox16/scintilla.rb', line 514

def styleSetItalic(style, italic)
  sendMessage(2054, style, italic)
end

#styleSetSize(style, sizePoints) ⇒ Object

Set the size of characters of a style.



519
520
521
# File 'lib/fox16/scintilla.rb', line 519

def styleSetSize(style, sizePoints)
  sendMessage(2055, style, sizePoints)
end

#styleSetSizeFractional(style, caseForce) ⇒ Object

Set the size of characters of a style. Size is in points multiplied by 100.



624
625
626
# File 'lib/fox16/scintilla.rb', line 624

def styleSetSizeFractional(style, caseForce)
  sendMessage(2061, style, caseForce)
end

#styleSetUnderline(style, underline) ⇒ Object

Set a style to be underlined or not.



539
540
541
# File 'lib/fox16/scintilla.rb', line 539

def styleSetUnderline(style, underline)
  sendMessage(2059, style, underline)
end

#styleSetVisible(style, visible) ⇒ Object

Set a style to be visible or not.



713
714
715
# File 'lib/fox16/scintilla.rb', line 713

def styleSetVisible(style, visible)
  sendMessage(2074, style, visible)
end

#styleSetWeight(style, weight) ⇒ Object

Set the weight of characters of a style.



638
639
640
# File 'lib/fox16/scintilla.rb', line 638

def styleSetWeight(style, weight)
  sendMessage(2063, style, weight)
end

#swapMainAnchorCaretObject

Swap that caret and anchor of the main selection.



3443
3444
3445
# File 'lib/fox16/scintilla.rb', line 3443

def swapMainAnchorCaret
  sendMessage(2607, 0, 0)
end

#tabObject

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.



2085
2086
2087
# File 'lib/fox16/scintilla.rb', line 2085

def tab
  sendMessage(2327, 0, 0)
end

#targetAsUTF8Object

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



2835
2836
2837
# File 'lib/fox16/scintilla.rb', line 2835

def targetAsUTF8
  sendMessage(2447, 0, s)
end

#targetFromSelectionObject

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



1924
1925
1926
# File 'lib/fox16/scintilla.rb', line 1924

def targetFromSelection
  sendMessage(2287, 0, 0)
end

#textHeight(line) ⇒ Object

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



1833
1834
1835
# File 'lib/fox16/scintilla.rb', line 1833

def textHeight(line)
  sendMessage(2279, line, 0)
end

#textWidth(style, text) ⇒ Object

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



1815
1816
1817
# File 'lib/fox16/scintilla.rb', line 1815

def textWidth(style, text)
  sendMessage(2276, style, text)
end

#toggleCaretStickyObject

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



2875
2876
2877
# File 'lib/fox16/scintilla.rb', line 2875

def toggleCaretSticky
  sendMessage(2459, 0, 0)
end

#toggleFold(line) ⇒ Object

Switch a header line between expanded and contracted.



1602
1603
1604
# File 'lib/fox16/scintilla.rb', line 1602

def toggleFold(line)
  sendMessage(2231, line, 0)
end

#undoObject

Undo one action in the undo history.



1345
1346
1347
# File 'lib/fox16/scintilla.rb', line 1345

def undo
  sendMessage(2176, 0, 0)
end

#upperCaseObject

Transform the selection to upper case.



2166
2167
2168
# File 'lib/fox16/scintilla.rb', line 2166

def upperCase
  sendMessage(2341, 0, 0)
end

#usePopUp(allowPopUp) ⇒ Object

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



2358
2359
2360
# File 'lib/fox16/scintilla.rb', line 2358

def usePopUp(allowPopUp)
  sendMessage(2371, allowPopUp, 0)
end

#userListShow(listType, itemList) ⇒ Object

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



964
965
966
# File 'lib/fox16/scintilla.rb', line 964

def userListShow(listType, itemList)
  sendMessage(2117, listType, itemList)
end

#vCHomeObject

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



2106
2107
2108
# File 'lib/fox16/scintilla.rb', line 2106

def vCHome
  sendMessage(2331, 0, 0)
end

#vCHomeDisplayObject

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



3558
3559
3560
# File 'lib/fox16/scintilla.rb', line 3558

def vCHomeDisplay
  sendMessage(2652, 0, 0)
end

#vCHomeDisplayExtendObject

Like VCHomeDisplay but extending selection to new caret position.



3563
3564
3565
# File 'lib/fox16/scintilla.rb', line 3563

def vCHomeDisplayExtend
  sendMessage(2653, 0, 0)
end

#vCHomeExtendObject

Like VCHome but extending selection to new caret position.



2111
2112
2113
# File 'lib/fox16/scintilla.rb', line 2111

def vCHomeExtend
  sendMessage(2332, 0, 0)
end

#vCHomeRectExtendObject

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.



2689
2690
2691
# File 'lib/fox16/scintilla.rb', line 2689

def vCHomeRectExtend
  sendMessage(2431, 0, 0)
end

#vCHomeWrapObject



2226
2227
2228
# File 'lib/fox16/scintilla.rb', line 2226

def vCHomeWrap
  sendMessage(2453, 0, 0)
end

#vCHomeWrapExtendObject



2229
2230
2231
# File 'lib/fox16/scintilla.rb', line 2229

def vCHomeWrapExtend
  sendMessage(2454, 0, 0)
end

#verticalCentreCaretObject

Centre current line in window.



3460
3461
3462
# File 'lib/fox16/scintilla.rb', line 3460

def verticalCentreCaret
  sendMessage(2619, 0, 0)
end

#visibleFromDocLine(line) ⇒ Object

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



1530
1531
1532
# File 'lib/fox16/scintilla.rb', line 1530

def visibleFromDocLine(line)
  sendMessage(2220, line, 0)
end

#wordEndPosition(pos, onlyWordCharacters) ⇒ Object

Get position of end of word.



1705
1706
1707
# File 'lib/fox16/scintilla.rb', line 1705

def wordEndPosition(pos, onlyWordCharacters)
  sendMessage(2267, pos, onlyWordCharacters)
end

#wordLeftObject

Move caret left one word.



1989
1990
1991
# File 'lib/fox16/scintilla.rb', line 1989

def wordLeft
  sendMessage(2308, 0, 0)
end

#wordLeftEndObject

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



2731
2732
2733
# File 'lib/fox16/scintilla.rb', line 2731

def wordLeftEnd
  sendMessage(2439, 0, 0)
end

#wordLeftEndExtendObject

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



2736
2737
2738
# File 'lib/fox16/scintilla.rb', line 2736

def wordLeftEndExtend
  sendMessage(2440, 0, 0)
end

#wordLeftExtendObject

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



1994
1995
1996
# File 'lib/fox16/scintilla.rb', line 1994

def wordLeftExtend
  sendMessage(2309, 0, 0)
end

#wordPartLeftObject

Move to the previous change in capitalisation.



2453
2454
2455
# File 'lib/fox16/scintilla.rb', line 2453

def wordPartLeft
  sendMessage(2390, 0, 0)
end

#wordPartLeftExtendObject

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



2458
2459
2460
# File 'lib/fox16/scintilla.rb', line 2458

def wordPartLeftExtend
  sendMessage(2391, 0, 0)
end

#wordPartRightObject

Move to the change next in capitalisation.



2462
2463
2464
# File 'lib/fox16/scintilla.rb', line 2462

def wordPartRight
  sendMessage(2392, 0, 0)
end

#wordPartRightExtendObject

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



2467
2468
2469
# File 'lib/fox16/scintilla.rb', line 2467

def wordPartRightExtend
  sendMessage(2393, 0, 0)
end

#wordRightObject

Move caret right one word.



1999
2000
2001
# File 'lib/fox16/scintilla.rb', line 1999

def wordRight
  sendMessage(2310, 0, 0)
end

#wordRightEndObject

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



2741
2742
2743
# File 'lib/fox16/scintilla.rb', line 2741

def wordRightEnd
  sendMessage(2441, 0, 0)
end

#wordRightEndExtendObject

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



2746
2747
2748
# File 'lib/fox16/scintilla.rb', line 2746

def wordRightEndExtend
  sendMessage(2442, 0, 0)
end

#wordRightExtendObject

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



2004
2005
2006
# File 'lib/fox16/scintilla.rb', line 2004

def wordRightExtend
  sendMessage(2311, 0, 0)
end

#wordStartPosition(pos, onlyWordCharacters) ⇒ Object

Get position of start of word.



1700
1701
1702
# File 'lib/fox16/scintilla.rb', line 1700

def wordStartPosition(pos, onlyWordCharacters)
  sendMessage(2266, pos, onlyWordCharacters)
end

#wrapCount(line) ⇒ Object

The number of display lines needed to wrap a document line



1540
1541
1542
# File 'lib/fox16/scintilla.rb', line 1540

def wrapCount(line)
  sendMessage(2235, line, 0)
end

#zoomInObject

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



2116
2117
2118
# File 'lib/fox16/scintilla.rb', line 2116

def zoomIn
  sendMessage(2333, 0, 0)
end

#zoomOutObject

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



2121
2122
2123
# File 'lib/fox16/scintilla.rb', line 2121

def zoomOut
  sendMessage(2334, 0, 0)
end