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
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_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_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
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_MAX =
31
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 =
2
SCFIND_MATCHCASE =
4
SCFIND_WORDSTART =
0x00100000
SCFIND_REGEXP =
0x00200000
SCFIND_POSIX =
0x00400000
SC_FOLDLEVELBASE =
0x400
SC_FOLDLEVELWHITEFLAG =
0x1000
SC_FOLDLEVELHEADERFLAG =
0x2000
SC_FOLDLEVELNUMBERMASK =
0x0FFF
SC_FOLDFLAG_LINEBEFORE_EXPANDED =
0x0002
SC_FOLDFLAG_LINEBEFORE_CONTRACTED =
0x0004
SC_FOLDFLAG_LINEAFTER_EXPANDED =
0x0008
SC_FOLDFLAG_LINEAFTER_CONTRACTED =
0x0010
SC_FOLDFLAG_LEVELNUMBERS =
0x0040
SC_TIME_FOREVER =
10000000
SC_WRAP_NONE =
0
SC_WRAP_WORD =
1
SC_WRAP_CHAR =
2
SC_WRAPVISUALFLAG_NONE =
0x0000
SC_WRAPVISUALFLAG_END =
0x0001
SC_WRAPVISUALFLAG_START =
0x0002
SC_WRAPVISUALFLAGLOC_DEFAULT =
0x0000
SC_WRAPVISUALFLAGLOC_END_BY_TEXT =
0x0001
SC_WRAPVISUALFLAGLOC_START_BY_TEXT =
0x0002
SC_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_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_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_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
UNDO_MAY_COALESCE =
1
SCVS_NONE =
0
SCVS_RECTANGULARSELECTION =
1
SCVS_USERACCESSIBLE =
2
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_MODEVENTMASKALL =
0xFFFFF
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_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_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_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_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_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_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_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_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

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_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_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_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_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_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_MAGIKSF

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



2232
2233
2234
# File 'lib/fox16/scintilla.rb', line 2232

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

#addSelection(caret, anchor) ⇒ Object

Add a selection



3037
3038
3039
# File 'lib/fox16/scintilla.rb', line 3037

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

#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



2966
2967
2968
# File 'lib/fox16/scintilla.rb', line 2966

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

#allocate(bytes) ⇒ Object

Enlarge the document to a particular size of text bytes.



2614
2615
2616
# File 'lib/fox16/scintilla.rb', line 2614

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

#annotationClearAllObject

Clear the annotations from all lines



2935
2936
2937
# File 'lib/fox16/scintilla.rb', line 2935

def annotationClearAll
  sendMessage(2547, 0, 0)
end

#annotationGetLines(line) ⇒ Object

Get the number of annotation lines for a line



2930
2931
2932
# File 'lib/fox16/scintilla.rb', line 2930

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

#annotationGetStyle(line) ⇒ Object

Get the style number for the annotations for a line



2913
2914
2915
# File 'lib/fox16/scintilla.rb', line 2913

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

#annotationGetStyleOffsetObject

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



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

def annotationGetStyleOffset
  sendMessage(2551, 0, 0)
end

#annotationGetStyles(line) ⇒ Object

Get the annotation styles for a line



2923
2924
2925
2926
2927
# File 'lib/fox16/scintilla.rb', line 2923

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

#annotationGetText(line) ⇒ Object

Get the annotation text for a line



2901
2902
2903
2904
2905
# File 'lib/fox16/scintilla.rb', line 2901

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

#annotationGetVisibleObject

Get the visibility for the annotations for a view



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

def annotationGetVisible
  sendMessage(2549, 0, 0)
end

#annotationSetStyle(line, style) ⇒ Object

Set the style number for the annotations for a line



2908
2909
2910
# File 'lib/fox16/scintilla.rb', line 2908

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

#annotationSetStyleOffset(style) ⇒ Object

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



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

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

#annotationSetStyles(line, styles) ⇒ Object

Set the annotation styles for a line



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

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

#annotationSetText(line, text) ⇒ Object

Set the annotation text for a line



2896
2897
2898
# File 'lib/fox16/scintilla.rb', line 2896

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

#annotationSetVisible(visible) ⇒ Object

Set the visibility for the annotations for a view



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

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.



1714
1715
1716
# File 'lib/fox16/scintilla.rb', line 1714

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

#assignCmdKey(km, msg) ⇒ Object

When key+modifier combination km is pressed perform msg.



632
633
634
# File 'lib/fox16/scintilla.rb', line 632

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

#autoCActiveObject

Is there an auto-completion list visible?



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

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

#autoCCancelObject

Remove the auto-completion list from the screen.



815
816
817
# File 'lib/fox16/scintilla.rb', line 815

def autoCCancel
  sendMessage(2101, 0, 0)
end

#autoCCompleteObject

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



830
831
832
# File 'lib/fox16/scintilla.rb', line 830

def autoCComplete
  sendMessage(2104, 0, 0)
end

#autoCGetAutoHideObject

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



903
904
905
# File 'lib/fox16/scintilla.rb', line 903

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

#autoCGetCancelAtStartObject

Retrieve whether auto-completion cancelled by backspacing before start.



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

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

#autoCGetChooseSingleObject

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



878
879
880
# File 'lib/fox16/scintilla.rb', line 878

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

#autoCGetCurrentObject

Get currently selected item position in the auto-completion list



2603
2604
2605
# File 'lib/fox16/scintilla.rb', line 2603

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



2609
2610
2611
# File 'lib/fox16/scintilla.rb', line 2609

def autoCGetCurrentText
  sendMessage(2610, 0, s)
end

#autoCGetDropRestOfWordObject

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



915
916
917
# File 'lib/fox16/scintilla.rb', line 915

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

#autoCGetIgnoreCaseObject

Retrieve state of ignore case flag.



888
889
890
# File 'lib/fox16/scintilla.rb', line 888

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

#autoCGetMaxHeightObject

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



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

def autoCGetMaxHeight
  sendMessage(2211, 0, 0)
end

#autoCGetMaxWidthObject

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



947
948
949
# File 'lib/fox16/scintilla.rb', line 947

def autoCGetMaxWidth
  sendMessage(2209, 0, 0)
end

#autoCGetSeparatorObject

Retrieve the auto-completion list separator character.



846
847
848
# File 'lib/fox16/scintilla.rb', line 846

def autoCGetSeparator
  sendMessage(2107, 0, 0)
end

#autoCGetTypeSeparatorObject

Retrieve the auto-completion list type-separator character.



930
931
932
# File 'lib/fox16/scintilla.rb', line 930

def autoCGetTypeSeparator
  sendMessage(2285, 0, 0)
end

#autoCPosStartObject

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



825
826
827
# File 'lib/fox16/scintilla.rb', line 825

def autoCPosStart
  sendMessage(2103, 0, 0)
end

#autoCSelect(text) ⇒ Object

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



851
852
853
# File 'lib/fox16/scintilla.rb', line 851

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

#autoCSetAutoHide(autoHide) ⇒ Object

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



898
899
900
# File 'lib/fox16/scintilla.rb', line 898

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.



857
858
859
# File 'lib/fox16/scintilla.rb', line 857

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

#autoCSetChooseSingle(chooseSingle) ⇒ Object

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



873
874
875
# File 'lib/fox16/scintilla.rb', line 873

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.



909
910
911
# File 'lib/fox16/scintilla.rb', line 909

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.



868
869
870
# File 'lib/fox16/scintilla.rb', line 868

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

#autoCSetIgnoreCase(ignoreCase) ⇒ Object

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



883
884
885
# File 'lib/fox16/scintilla.rb', line 883

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.



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

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.



942
943
944
# File 'lib/fox16/scintilla.rb', line 942

def autoCSetMaxWidth(characterCount)
  sendMessage(2208, characterCount, 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.



841
842
843
# File 'lib/fox16/scintilla.rb', line 841

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 ‘?’.



936
937
938
# File 'lib/fox16/scintilla.rb', line 936

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.



810
811
812
# File 'lib/fox16/scintilla.rb', line 810

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.



835
836
837
# File 'lib/fox16/scintilla.rb', line 835

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

#backTabObject

Dedent the selected lines.



1939
1940
1941
# File 'lib/fox16/scintilla.rb', line 1939

def backTab
  sendMessage(2328, 0, 0)
end

#beginUndoActionObject

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



674
675
676
# File 'lib/fox16/scintilla.rb', line 674

def beginUndoAction
  sendMessage(2078, 0, 0)
end

#braceBadLight(pos) ⇒ Object

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



2108
2109
2110
# File 'lib/fox16/scintilla.rb', line 2108

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.



2113
2114
2115
# File 'lib/fox16/scintilla.rb', line 2113

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

#braceHighlight(pos1, pos2) ⇒ Object

Highlight the characters at two positions.



2098
2099
2100
# File 'lib/fox16/scintilla.rb', line 2098

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.



2103
2104
2105
# File 'lib/fox16/scintilla.rb', line 2103

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.



2118
2119
2120
# File 'lib/fox16/scintilla.rb', line 2118

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

#callTipActiveObject

Is there an active call tip?



1407
1408
1409
# File 'lib/fox16/scintilla.rb', line 1407

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

#callTipCancelObject

Remove the call tip from the screen.



1402
1403
1404
# File 'lib/fox16/scintilla.rb', line 1402

def callTipCancel
  sendMessage(2201, 0, 0)
end

#callTipPosStartObject

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



1412
1413
1414
# File 'lib/fox16/scintilla.rb', line 1412

def callTipPosStart
  sendMessage(2203, 0, 0)
end

#callTipSetBack(back) ⇒ Object

Set the background colour for the call tip.



1422
1423
1424
# File 'lib/fox16/scintilla.rb', line 1422

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

#callTipSetFore(fore) ⇒ Object

Set the foreground colour for the call tip.



1427
1428
1429
# File 'lib/fox16/scintilla.rb', line 1427

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

#callTipSetForeHlt(fore) ⇒ Object

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



1432
1433
1434
# File 'lib/fox16/scintilla.rb', line 1432

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

#callTipSetHlt(start, last) ⇒ Object

Highlight a segment of the definition.



1417
1418
1419
# File 'lib/fox16/scintilla.rb', line 1417

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

#callTipShow(pos, definition) ⇒ Object

Show a call tip containing a definition near position pos.



1397
1398
1399
# File 'lib/fox16/scintilla.rb', line 1397

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.



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

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

#cancelObject

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



1923
1924
1925
# File 'lib/fox16/scintilla.rb', line 1923

def cancel
  sendMessage(2325, 0, 0)
end

#canPasteObject

Will a paste succeed?



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

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

#canRedoObject

Are there any redoable actions in the undo history?



102
103
104
# File 'lib/fox16/scintilla.rb', line 102

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

#canUndoObject

Are there any undoable actions in the undo history?



1257
1258
1259
# File 'lib/fox16/scintilla.rb', line 1257

def canUndo
  sendMessage(2174, 0, 0) == 1 ? true : false
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.



3190
3191
3192
# File 'lib/fox16/scintilla.rb', line 3190

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

#charLeftObject

Move caret left one character.



1818
1819
1820
# File 'lib/fox16/scintilla.rb', line 1818

def charLeft
  sendMessage(2304, 0, 0)
end

#charLeftExtendObject

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



1823
1824
1825
# File 'lib/fox16/scintilla.rb', line 1823

def charLeftExtend
  sendMessage(2305, 0, 0)
end

#charLeftRectExtendObject

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



2513
2514
2515
# File 'lib/fox16/scintilla.rb', line 2513

def charLeftRectExtend
  sendMessage(2428, 0, 0)
end

#charPositionFromPoint(x, y) ⇒ Object

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



2971
2972
2973
# File 'lib/fox16/scintilla.rb', line 2971

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.



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

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

#charRightObject

Move caret right one character.



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

def charRight
  sendMessage(2306, 0, 0)
end

#charRightExtendObject

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



1833
1834
1835
# File 'lib/fox16/scintilla.rb', line 1833

def charRightExtend
  sendMessage(2307, 0, 0)
end

#charRightRectExtendObject

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



2518
2519
2520
# File 'lib/fox16/scintilla.rb', line 2518

def charRightRectExtend
  sendMessage(2429, 0, 0)
end

#chooseCaretXObject

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



2346
2347
2348
# File 'lib/fox16/scintilla.rb', line 2346

def chooseCaretX
  sendMessage(2399, 0, 0)
end

#clearObject

Clear the selection.



1287
1288
1289
# File 'lib/fox16/scintilla.rb', line 1287

def clear
  sendMessage(2180, 0, 0)
end

#clearAllObject

Delete all text in the document.



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

def clearAll
  sendMessage(2004, 0, 0)
end

#clearAllCmdKeysObject

Drop all key mappings.



642
643
644
# File 'lib/fox16/scintilla.rb', line 642

def clearAllCmdKeys
  sendMessage(2072, 0, 0)
end

#clearCmdKey(km) ⇒ Object

When key+modifier combination km is pressed do nothing.



637
638
639
# File 'lib/fox16/scintilla.rb', line 637

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

#clearDocumentStyleObject

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



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

def clearDocumentStyle
  sendMessage(2005, 0, 0)
end

#clearRegisteredImagesObject

Clear all the registered XPM images.



925
926
927
# File 'lib/fox16/scintilla.rb', line 925

def clearRegisteredImages
  sendMessage(2408, 0, 0)
end

#clearSelectionsObject

Clear selections to a single empty stream selection



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

def clearSelections
  sendMessage(2571, 0, 0)
end

#colourise(start, last) ⇒ Object

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



3278
3279
3280
# File 'lib/fox16/scintilla.rb', line 3278

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.



3196
3197
3198
# File 'lib/fox16/scintilla.rb', line 3196

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

#convertEOLs(eolMode) ⇒ Object

Convert all line endings in the document to one mode.



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

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

#copyObject

Copy the selection to the clipboard.



1277
1278
1279
# File 'lib/fox16/scintilla.rb', line 1277

def copy
  sendMessage(2178, 0, 0)
end

#copyAllowLineObject

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



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

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.



2467
2468
2469
# File 'lib/fox16/scintilla.rb', line 2467

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

#copyText(length, text) ⇒ Object

Copy argument text to the clipboard.



2472
2473
2474
# File 'lib/fox16/scintilla.rb', line 2472

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

#createDocumentObject

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



2228
2229
2230
# File 'lib/fox16/scintilla.rb', line 2228

def createDocument
  sendMessage(2375, 0, 0)
end

#cutObject

Cut the selection to the clipboard.



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

def cut
  sendMessage(2177, 0, 0)
end

#deleteBackObject

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



1928
1929
1930
# File 'lib/fox16/scintilla.rb', line 1928

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.



2031
2032
2033
# File 'lib/fox16/scintilla.rb', line 2031

def deleteBackNotLine
  sendMessage(2344, 0, 0)
end

#delLineLeftObject

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



2328
2329
2330
# File 'lib/fox16/scintilla.rb', line 2328

def delLineLeft
  sendMessage(2395, 0, 0)
end

#delLineRightObject

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



2333
2334
2335
# File 'lib/fox16/scintilla.rb', line 2333

def delLineRight
  sendMessage(2396, 0, 0)
end

#delWordLeftObject

Delete the word to the left of the caret.



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

def delWordLeft
  sendMessage(2335, 0, 0)
end

#delWordRightObject

Delete the word to the right of the caret.



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

def delWordRight
  sendMessage(2336, 0, 0)
end

#delWordRightEndObject

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



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

def delWordRightEnd
  sendMessage(2518, 0, 0)
end

#describeKeyWordSetsObject

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



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

def describeKeyWordSets
  sendMessage(4017, 0, descriptions)
end

#describeProperty(name) ⇒ Object

Describe a property.



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

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

#docLineFromVisible(lineDisplay) ⇒ Object

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



1447
1448
1449
# File 'lib/fox16/scintilla.rb', line 1447

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

#documentEndObject

Move caret to last position in document.



1888
1889
1890
# File 'lib/fox16/scintilla.rb', line 1888

def documentEnd
  sendMessage(2318, 0, 0)
end

#documentEndExtendObject

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



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

def documentEndExtend
  sendMessage(2319, 0, 0)
end

#documentStartObject

Move caret to first position in document.



1878
1879
1880
# File 'lib/fox16/scintilla.rb', line 1878

def documentStart
  sendMessage(2316, 0, 0)
end

#documentStartExtendObject

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



1883
1884
1885
# File 'lib/fox16/scintilla.rb', line 1883

def documentStartExtend
  sendMessage(2317, 0, 0)
end

#editToggleOvertypeObject

Switch from insert to overtype mode or the reverse.



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

def editToggleOvertype
  sendMessage(2324, 0, 0)
end

#emptyUndoBufferObject

Delete the undo history.



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

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.



2633
2634
2635
2636
2637
# File 'lib/fox16/scintilla.rb', line 2633

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.



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

def endUndoAction
  sendMessage(2079, 0, 0)
end

#ensureVisible(line) ⇒ Object

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



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

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.



1531
1532
1533
# File 'lib/fox16/scintilla.rb', line 1531

def ensureVisibleEnforcePolicy(line)
  sendMessage(2234, line, 0)
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.



2641
2642
2643
# File 'lib/fox16/scintilla.rb', line 2641

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

#findText(flags, ft) ⇒ Object

Find some text in the document.



1132
1133
1134
# File 'lib/fox16/scintilla.rb', line 1132

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

#formatRange(draw, fr) ⇒ Object

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



1137
1138
1139
# File 'lib/fox16/scintilla.rb', line 1137

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

#formFeedObject

Insert a Form Feed character.



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

def formFeed
  sendMessage(2330, 0, 0)
end

#getAdditionalCaretForeObject

Get the foreground colour of additional carets.



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

def getAdditionalCaretFore
  sendMessage(2605, 0, 0)
end

Whether additional carets will blink



3007
3008
3009
# File 'lib/fox16/scintilla.rb', line 3007

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

#getAdditionalCaretsVisibleObject

Whether additional carets are visible



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

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

#getAdditionalSelAlphaObject

Get the alpha of the selection.



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

def getAdditionalSelAlpha
  sendMessage(2603, 0, 0)
end

#getAdditionalSelectionTypingObject

Whether typing can be performed into multiple selections



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

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

#getAnchorObject

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



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

def getAnchor
  sendMessage(2009, 0, 0)
end

#getBackSpaceUnIndentsObject

Does a backspace pressed when caret is within indentation unindent?



1551
1552
1553
# File 'lib/fox16/scintilla.rb', line 1551

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

#getBufferedDrawObject

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



208
209
210
# File 'lib/fox16/scintilla.rb', line 208

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

#getCaretForeObject

Get the foreground colour of the caret.



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

def getCaretFore
  sendMessage(2138, 0, 0)
end

#getCaretLineBackObject

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



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

def getCaretLineBack
  sendMessage(2097, 0, 0)
end

#getCaretLineBackAlphaObject

Get the background alpha of the caret line.



2689
2690
2691
# File 'lib/fox16/scintilla.rb', line 2689

def getCaretLineBackAlpha
  sendMessage(2471, 0, 0)
end

#getCaretLineVisibleObject

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



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

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

#getCaretPeriodObject

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



657
658
659
# File 'lib/fox16/scintilla.rb', line 657

def getCaretPeriod
  sendMessage(2075, 0, 0)
end

#getCaretStickyObject

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



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

def getCaretSticky
  sendMessage(2457, 0, 0)
end

#getCaretStyleObject

Returns the current style of the caret.



2703
2704
2705
# File 'lib/fox16/scintilla.rb', line 2703

def getCaretStyle
  sendMessage(2513, 0, 0)
end

#getCaretWidthObject

Returns the width of the insert mode caret.



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

def getCaretWidth
  sendMessage(2189, 0, 0)
end

#getCharacterPointerObject

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



2774
2775
2776
# File 'lib/fox16/scintilla.rb', line 2774

def getCharacterPointer
  sendMessage(2520, 0, 0)
end

#getCharAt(pos) ⇒ Object

Returns the character byte at the position.



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

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

#getCodePageObject

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



1045
1046
1047
# File 'lib/fox16/scintilla.rb', line 1045

def getCodePage
  sendMessage(2137, 0, 0)
end

#getColumn(pos) ⇒ Object

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



999
1000
1001
# File 'lib/fox16/scintilla.rb', line 999

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

#getControlCharSymbolObject

Get the way control characters are displayed.



2295
2296
2297
# File 'lib/fox16/scintilla.rb', line 2295

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.



165
166
167
168
169
# File 'lib/fox16/scintilla.rb', line 165

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

#getCurrentPosObject

Returns the position of the caret.



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

def getCurrentPos
  sendMessage(2008, 0, 0)
end

#getCursorObject

Get cursor type.



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

def getCursor
  sendMessage(2387, 0, 0)
end

#getDirectFunctionObject

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



1310
1311
1312
# File 'lib/fox16/scintilla.rb', line 1310

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.



1316
1317
1318
# File 'lib/fox16/scintilla.rb', line 1316

def getDirectPointer
  sendMessage(2185, 0, 0)
end

#getDocPointerObject

Retrieve a pointer to the document object.



2133
2134
2135
# File 'lib/fox16/scintilla.rb', line 2133

def getDocPointer
  sendMessage(2357, 0, 0)
end

#getEdgeColourObject

Retrieve the colour used in edge indication.



2174
2175
2176
# File 'lib/fox16/scintilla.rb', line 2174

def getEdgeColour
  sendMessage(2364, 0, 0)
end

#getEdgeColumnObject

Retrieve the column number which text should be kept within.



2152
2153
2154
# File 'lib/fox16/scintilla.rb', line 2152

def getEdgeColumn
  sendMessage(2360, 0, 0)
end

#getEdgeModeObject

Retrieve the edge highlight mode.



2163
2164
2165
# File 'lib/fox16/scintilla.rb', line 2163

def getEdgeMode
  sendMessage(2362, 0, 0)
end

#getEndAtLastLineObject

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



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

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

#getEndStyledObject

Retrieve the position of the last correctly styled character.



172
173
174
# File 'lib/fox16/scintilla.rb', line 172

def getEndStyled
  sendMessage(2028, 0, 0)
end

#getEOLModeObject

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



186
187
188
# File 'lib/fox16/scintilla.rb', line 186

def getEOLMode
  sendMessage(2030, 0, 0)
end

#getExtraAscentObject

Get extra ascent for each line



2814
2815
2816
# File 'lib/fox16/scintilla.rb', line 2814

def getExtraAscent
  sendMessage(2526, 0, 0)
end

#getExtraDescentObject

Get extra descent for each line



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

def getExtraDescent
  sendMessage(2528, 0, 0)
end

#getFirstVisibleLineObject

Retrieve the display line at the top of the display.



1142
1143
1144
# File 'lib/fox16/scintilla.rb', line 1142

def getFirstVisibleLine
  sendMessage(2152, 0, 0)
end

#getFocusObject

Get internal focus flag.



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

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

#getFoldExpanded(line) ⇒ Object

Is a header line expanded?



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

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

#getFoldLevel(line) ⇒ Object

Retrieve the fold level of a line.



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

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

#getFoldParent(line) ⇒ Object

Find the parent line of a child line.



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

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

#getFontQualityObject

Retrieve the quality level for text.



1743
1744
1745
# File 'lib/fox16/scintilla.rb', line 1743

def getFontQuality
  sendMessage(2612, 0, 0)
end

#getHighlightGuideObject

Get the highlighted indentation guide column.



1035
1036
1037
# File 'lib/fox16/scintilla.rb', line 1035

def getHighlightGuide
  sendMessage(2135, 0, 0)
end

#getHotspotActiveBackObject

Get the back colour for active hotspots.



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

def getHotspotActiveBack
  sendMessage(2495, 0, 0)
end

#getHotspotActiveForeObject

Get the fore colour for active hotspots.



2406
2407
2408
# File 'lib/fox16/scintilla.rb', line 2406

def getHotspotActiveFore
  sendMessage(2494, 0, 0)
end

#getHotspotActiveUnderlineObject

Get whether underlining for active hotspots.



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

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

#getHotspotSingleLineObject

Get the HotspotSingleLine property



2436
2437
2438
# File 'lib/fox16/scintilla.rb', line 2436

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

#getHScrollBarObject

Is the horizontal scroll bar visible?



1009
1010
1011
# File 'lib/fox16/scintilla.rb', line 1009

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

#getIdentifierObject

Get the identifier.



3221
3222
3223
# File 'lib/fox16/scintilla.rb', line 3221

def getIdentifier
  sendMessage(2623, 0, 0)
end

#getIndentObject

Retrieve indentation size.



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

def getIndent
  sendMessage(2123, 0, 0)
end

#getIndentationGuidesObject

Are the indentation guides visible?



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

def getIndentationGuides
  sendMessage(2133, 0, 0)
end

#getIndicatorCurrentObject

Get the current indicator



2713
2714
2715
# File 'lib/fox16/scintilla.rb', line 2713

def getIndicatorCurrent
  sendMessage(2501, 0, 0)
end

#getIndicatorValueObject

Get the current indicator vaue



2723
2724
2725
# File 'lib/fox16/scintilla.rb', line 2723

def getIndicatorValue
  sendMessage(2503, 0, 0)
end

#getKeysUnicodeObject

Are keys always interpreted as Unicode?



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

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

#getLastChild(line, level) ⇒ Object

Find the last child line of a header line.



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

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

#getLayoutCacheObject

Retrieve the degree of caching of layout information.



1654
1655
1656
# File 'lib/fox16/scintilla.rb', line 1654

def getLayoutCache
  sendMessage(2273, 0, 0)
end

#getLengthObject

Returns the number of bytes in the document.



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

def getLength
  sendMessage(2006, 0, 0)
end

#getLexerObject

Retrieve the lexing language of the document.



3273
3274
3275
# File 'lib/fox16/scintilla.rb', line 3273

def getLexer
  sendMessage(4002, 0, 0)
end

#getLexerLanguageObject

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



3333
3334
3335
# File 'lib/fox16/scintilla.rb', line 3333

def getLexerLanguage
  sendMessage(4012, 0, text)
end

#getLine(line) ⇒ Object

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



1148
1149
1150
1151
1152
# File 'lib/fox16/scintilla.rb', line 1148

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.



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

def getLineCount
  sendMessage(2154, 0, 0)
end

#getLineEndPosition(line) ⇒ Object

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



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

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

#getLineIndentation(line) ⇒ Object

Retrieve the number of columns that a line is indented.



989
990
991
# File 'lib/fox16/scintilla.rb', line 989

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

#getLineIndentPosition(line) ⇒ Object

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



994
995
996
# File 'lib/fox16/scintilla.rb', line 994

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



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

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



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

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

#getLineState(line) ⇒ Object

Retrieve the extra styling information for a line.



772
773
774
# File 'lib/fox16/scintilla.rb', line 772

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

#getLineVisible(line) ⇒ Object

Is a line visible?



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

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

#getMainSelectionObject

Which selection is the main selection



3047
3048
3049
# File 'lib/fox16/scintilla.rb', line 3047

def getMainSelection
  sendMessage(2575, 0, 0)
end

#getMarginCursorN(margin) ⇒ Object

Retrieve the cursor shown in a margin.



418
419
420
# File 'lib/fox16/scintilla.rb', line 418

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

#getMarginLeftObject

Returns the size in pixels of the left margin.



1165
1166
1167
# File 'lib/fox16/scintilla.rb', line 1165

def getMarginLeft
  sendMessage(2156, 0, 0)
end

#getMarginMaskN(margin) ⇒ Object

Retrieve the marker mask of a margin.



398
399
400
# File 'lib/fox16/scintilla.rb', line 398

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

#getMarginOptionsObject

Get the margin options.



2891
2892
2893
# File 'lib/fox16/scintilla.rb', line 2891

def getMarginOptions
  sendMessage(2557, 0, 0)
end

#getMarginRightObject

Returns the size in pixels of the right margin.



1175
1176
1177
# File 'lib/fox16/scintilla.rb', line 1175

def getMarginRight
  sendMessage(2158, 0, 0)
end

#getMarginSensitiveN(margin) ⇒ Object

Retrieve the mouse click sensitivity of a margin.



408
409
410
# File 'lib/fox16/scintilla.rb', line 408

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

#getMarginTypeN(margin) ⇒ Object

Retrieve the type of a margin.



378
379
380
# File 'lib/fox16/scintilla.rb', line 378

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

#getMarginWidthN(margin) ⇒ Object

Retrieve the width of a margin in pixels.



388
389
390
# File 'lib/fox16/scintilla.rb', line 388

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

#getMaxLineStateObject

Retrieve the last line number that has line state.



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

def getMaxLineState
  sendMessage(2094, 0, 0)
end

#getModEventMaskObject

Get which document modification events are sent to the container.



2241
2242
2243
# File 'lib/fox16/scintilla.rb', line 2241

def getModEventMask
  sendMessage(2378, 0, 0)
end

#getModifyObject

Is the document different from when it was last saved?



1180
1181
1182
# File 'lib/fox16/scintilla.rb', line 1180

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

#getMouseDownCapturesObject

Get whether mouse gets captured.



2272
2273
2274
# File 'lib/fox16/scintilla.rb', line 2272

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.



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

def getMouseDwellTime
  sendMessage(2265, 0, 0)
end

#getMultiPasteObject

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



1761
1762
1763
# File 'lib/fox16/scintilla.rb', line 1761

def getMultiPaste
  sendMessage(2615, 0, 0)
end

#getMultipleSelectionObject

Whether multiple selections can be made



2987
2988
2989
# File 'lib/fox16/scintilla.rb', line 2987

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

#getOvertypeObject

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



1326
1327
1328
# File 'lib/fox16/scintilla.rb', line 1326

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

#getPasteConvertEndingsObject

Get convert-on-paste setting



2670
2671
2672
# File 'lib/fox16/scintilla.rb', line 2670

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

#getPositionCacheObject

How many entries are allocated to the position cache?



2763
2764
2765
# File 'lib/fox16/scintilla.rb', line 2763

def getPositionCache
  sendMessage(2515, 0, 0)
end

#getPrintColourModeObject

Returns the print colour mode.



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

def getPrintColourMode
  sendMessage(2149, 0, 0)
end

#getPrintMagnificationObject

Returns the print magnification.



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

def getPrintMagnification
  sendMessage(2147, 0, 0)
end

#getPrintWrapModeObject

Is printing line wrapped?



2396
2397
2398
# File 'lib/fox16/scintilla.rb', line 2396

def getPrintWrapMode
  sendMessage(2407, 0, 0)
end

#getProperty(key) ⇒ Object

Retrieve a “property” value previously set with SetProperty.



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

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.



3314
3315
3316
3317
3318
# File 'lib/fox16/scintilla.rb', line 3314

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.



3322
3323
3324
# File 'lib/fox16/scintilla.rb', line 3322

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

#getReadOnlyObject

In read-only mode?



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

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

#getRectangularSelectionAnchorObject



3105
3106
3107
# File 'lib/fox16/scintilla.rb', line 3105

def getRectangularSelectionAnchor
  sendMessage(2591, 0, 0)
end

#getRectangularSelectionAnchorVirtualSpaceObject



3117
3118
3119
# File 'lib/fox16/scintilla.rb', line 3117

def getRectangularSelectionAnchorVirtualSpace
  sendMessage(2595, 0, 0)
end

#getRectangularSelectionCaretObject



3099
3100
3101
# File 'lib/fox16/scintilla.rb', line 3099

def getRectangularSelectionCaret
  sendMessage(2589, 0, 0)
end

#getRectangularSelectionCaretVirtualSpaceObject



3111
3112
3113
# File 'lib/fox16/scintilla.rb', line 3111

def getRectangularSelectionCaretVirtualSpace
  sendMessage(2593, 0, 0)
end

#getRectangularSelectionModifierObject

Get the modifier key used for rectangular selection.



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

def getRectangularSelectionModifier
  sendMessage(2599, 0, 0)
end

#getScrollWidthObject

Retrieve the document width assumed for scrolling.



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

def getScrollWidth
  sendMessage(2275, 0, 0)
end

#getScrollWidthTrackingObject

Retrieve whether the scroll width tracks wide lines.



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

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

#getSearchFlagsObject

Get the search flags used by SearchInTarget.



1392
1393
1394
# File 'lib/fox16/scintilla.rb', line 1392

def getSearchFlags
  sendMessage(2199, 0, 0)
end

#getSelAlphaObject

Get the alpha of the selection.



607
608
609
# File 'lib/fox16/scintilla.rb', line 607

def getSelAlpha
  sendMessage(2477, 0, 0)
end

#getSelectionEndObject

Returns the position at the end of the selection.



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

def getSelectionEnd
  sendMessage(2145, 0, 0)
end

#getSelectionModeObject

Get the mode of the current selection.



2488
2489
2490
# File 'lib/fox16/scintilla.rb', line 2488

def getSelectionMode
  sendMessage(2423, 0, 0)
end

#getSelectionNAnchor(selection) ⇒ Object



3060
3061
3062
# File 'lib/fox16/scintilla.rb', line 3060

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

#getSelectionNAnchorVirtualSpace(selection) ⇒ Object



3072
3073
3074
# File 'lib/fox16/scintilla.rb', line 3072

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

#getSelectionNCaret(selection) ⇒ Object



3054
3055
3056
# File 'lib/fox16/scintilla.rb', line 3054

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

#getSelectionNCaretVirtualSpace(selection) ⇒ Object



3066
3067
3068
# File 'lib/fox16/scintilla.rb', line 3066

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

#getSelectionNEnd(selection) ⇒ Object

Returns the position at the end of the selection.



3092
3093
3094
# File 'lib/fox16/scintilla.rb', line 3092

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

#getSelectionNStart(selection) ⇒ Object

Returns the position at the start of the selection.



3082
3083
3084
# File 'lib/fox16/scintilla.rb', line 3082

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

#getSelectionsObject

How many selections are there?



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

def getSelections
  sendMessage(2570, 0, 0)
end

#getSelectionStartObject

Returns the position at the start of the selection.



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

def getSelectionStart
  sendMessage(2143, 0, 0)
end

#getSelEOLFilledObject

Is the selection end of line filled?



617
618
619
# File 'lib/fox16/scintilla.rb', line 617

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

#getSelTextObject

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



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

def getSelText
  sendMessage(2161, 0, text)
end

#getStatusObject

Get error status.



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

def getStatus
  sendMessage(2383, 0, 0)
end

#getStyleAt(pos) ⇒ Object

Returns the style byte at the position.



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

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

#getStyleBitsObject

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



762
763
764
# File 'lib/fox16/scintilla.rb', line 762

def getStyleBits
  sendMessage(2091, 0, 0)
end

#getStyleBitsNeededObject

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



3327
3328
3329
# File 'lib/fox16/scintilla.rb', line 3327

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.



97
98
99
# File 'lib/fox16/scintilla.rb', line 97

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

#getTabIndentsObject

Does a tab pressed when caret is within indentation indent?



1541
1542
1543
# File 'lib/fox16/scintilla.rb', line 1541

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

#getTabWidthObject

Retrieve the visible size of a tab.



224
225
226
# File 'lib/fox16/scintilla.rb', line 224

def getTabWidth
  sendMessage(2121, 0, 0)
end

#getTag(tagNumber) ⇒ Object

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



1766
1767
1768
1769
1770
# File 'lib/fox16/scintilla.rb', line 1766

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

#getTargetEndObject

Get the position that ends the target.



1358
1359
1360
# File 'lib/fox16/scintilla.rb', line 1358

def getTargetEnd
  sendMessage(2193, 0, 0)
end

#getTargetStartObject

Get the position that starts the target.



1347
1348
1349
# File 'lib/fox16/scintilla.rb', line 1347

def getTargetStart
  sendMessage(2191, 0, 0)
end

#getText(length) ⇒ Object

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



1298
1299
1300
1301
1302
# File 'lib/fox16/scintilla.rb', line 1298

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

#getTextLengthObject

Retrieve the number of characters in the document.



1305
1306
1307
# File 'lib/fox16/scintilla.rb', line 1305

def getTextLength
  sendMessage(2183, 0, 0)
end

#getTextRange(tr) ⇒ Object

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



1197
1198
1199
# File 'lib/fox16/scintilla.rb', line 1197

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

#getTwoPhaseDrawObject

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



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

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

#getUndoCollectionObject

Is undo history being collected?



117
118
119
# File 'lib/fox16/scintilla.rb', line 117

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

#getUsePaletteObject

In palette mode?



1055
1056
1057
# File 'lib/fox16/scintilla.rb', line 1055

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

#getUseTabsObject

Retrieve whether tabs will be used in indentation.



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

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

#getViewEOLObject

Are the end of line characters visible?



2123
2124
2125
# File 'lib/fox16/scintilla.rb', line 2123

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

#getViewWSObject

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



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

def getViewWS
  sendMessage(2020, 0, 0)
end

#getVirtualSpaceOptionsObject



3128
3129
3130
# File 'lib/fox16/scintilla.rb', line 3128

def getVirtualSpaceOptions
  sendMessage(2597, 0, 0)
end

#getVScrollBarObject

Is the vertical scroll bar visible?



1709
1710
1711
# File 'lib/fox16/scintilla.rb', line 1709

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

#getWhitespaceSizeObject

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



750
751
752
# File 'lib/fox16/scintilla.rb', line 750

def getWhitespaceSize
  sendMessage(2087, 0, 0)
end

#getWrapIndentModeObject

Retrieve how wrapped sublines are placed. Default is fixed.



1639
1640
1641
# File 'lib/fox16/scintilla.rb', line 1639

def getWrapIndentMode
  sendMessage(2473, 0, 0)
end

#getWrapModeObject

Retrieve whether text is word wrapped.



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

def getWrapMode
  sendMessage(2269, 0, 0)
end

#getWrapStartIndentObject

Retrive the start indent for wrapped lines.



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

def getWrapStartIndent
  sendMessage(2465, 0, 0)
end

#getWrapVisualFlagsObject

Retrive the display mode of visual flags for wrapped lines.



1601
1602
1603
# File 'lib/fox16/scintilla.rb', line 1601

def getWrapVisualFlags
  sendMessage(2461, 0, 0)
end

#getWrapVisualFlagsLocationObject

Retrive the location of visual flags for wrapped lines.



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

def getWrapVisualFlagsLocation
  sendMessage(2463, 0, 0)
end

#getXOffsetObject



2341
2342
2343
# File 'lib/fox16/scintilla.rb', line 2341

def getXOffset
  sendMessage(2398, 0, 0)
end

#getZoomObject

Retrieve the zoom level.



2222
2223
2224
# File 'lib/fox16/scintilla.rb', line 2222

def getZoom
  sendMessage(2374, 0, 0)
end

#gotoLine(line) ⇒ Object

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



148
149
150
# File 'lib/fox16/scintilla.rb', line 148

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

#gotoPos(pos) ⇒ Object

Set caret to a position and ensure it is visible.



153
154
155
# File 'lib/fox16/scintilla.rb', line 153

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

#grabFocusObject

Set the focus to this Scintilla widget.



2351
2352
2353
# File 'lib/fox16/scintilla.rb', line 2351

def grabFocus
  sendMessage(2400, 0, 0)
end

#hideLines(lineStart, lineEnd) ⇒ Object

Make a range of lines invisible.



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

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

#hideSelection(normal) ⇒ Object

Draw the selection in normal style or with selection highlighted.



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

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

#homeObject

Move caret to first position on line.



1858
1859
1860
# File 'lib/fox16/scintilla.rb', line 1858

def home
  sendMessage(2312, 0, 0)
end

#homeDisplayObject

Move caret to first position on display line.



2036
2037
2038
# File 'lib/fox16/scintilla.rb', line 2036

def homeDisplay
  sendMessage(2345, 0, 0)
end

#homeDisplayExtendObject

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



2042
2043
2044
# File 'lib/fox16/scintilla.rb', line 2042

def homeDisplayExtend
  sendMessage(2346, 0, 0)
end

#homeExtendObject

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



1863
1864
1865
# File 'lib/fox16/scintilla.rb', line 1863

def homeExtend
  sendMessage(2313, 0, 0)
end

#homeRectExtendObject

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



2523
2524
2525
# File 'lib/fox16/scintilla.rb', line 2523

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



2063
2064
2065
# File 'lib/fox16/scintilla.rb', line 2063

def homeWrap
  sendMessage(2349, 0, 0)
end

#homeWrapExtendObject



2066
2067
2068
# File 'lib/fox16/scintilla.rb', line 2066

def homeWrapExtend
  sendMessage(2450, 0, 0)
end

#indicatorAllOnFor(position) ⇒ Object

Are any indicators present at position?



2738
2739
2740
# File 'lib/fox16/scintilla.rb', line 2738

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

#indicatorClearRange(position, clearLength) ⇒ Object

Turn a indicator off over a range.



2733
2734
2735
# File 'lib/fox16/scintilla.rb', line 2733

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

#indicatorEnd(indicator, position) ⇒ Object

Where does a particular indicator end?



2753
2754
2755
# File 'lib/fox16/scintilla.rb', line 2753

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

#indicatorFillRange(position, fillLength) ⇒ Object

Turn a indicator on over a range.



2728
2729
2730
# File 'lib/fox16/scintilla.rb', line 2728

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

#indicatorStart(indicator, position) ⇒ Object

Where does a particular indicator start?



2748
2749
2750
# File 'lib/fox16/scintilla.rb', line 2748

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

#indicatorValueAt(indicator, position) ⇒ Object

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



2743
2744
2745
# File 'lib/fox16/scintilla.rb', line 2743

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

#indicGetAlpha(indicator) ⇒ Object

Get the alpha fill colour of the given indicator.



2794
2795
2796
# File 'lib/fox16/scintilla.rb', line 2794

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

#indicGetFore(indic) ⇒ Object

Retrieve the foreground colour of an indicator.



720
721
722
# File 'lib/fox16/scintilla.rb', line 720

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

#indicGetOutlineAlpha(indicator) ⇒ Object

Get the alpha outline colour of the given indicator.



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

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

#indicGetStyle(indic) ⇒ Object

Retrieve the style of an indicator.



710
711
712
# File 'lib/fox16/scintilla.rb', line 710

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

#indicGetUnder(indic) ⇒ Object

Retrieve whether indicator drawn under or over text.



730
731
732
# File 'lib/fox16/scintilla.rb', line 730

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

#indicSetAlpha(indicator, alpha) ⇒ Object

Set the alpha fill colour of the given indicator.



2789
2790
2791
# File 'lib/fox16/scintilla.rb', line 2789

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

#indicSetFore(indic, fore) ⇒ Object

Set the foreground colour of an indicator.



715
716
717
# File 'lib/fox16/scintilla.rb', line 715

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

#indicSetOutlineAlpha(indicator, alpha) ⇒ Object

Set the alpha outline colour of the given indicator.



2799
2800
2801
# File 'lib/fox16/scintilla.rb', line 2799

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

#indicSetStyle(indic, style) ⇒ Object

Set an indicator to plain, squiggle or TT.



705
706
707
# File 'lib/fox16/scintilla.rb', line 705

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

#indicSetUnder(indic, under) ⇒ Object

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



725
726
727
# File 'lib/fox16/scintilla.rb', line 725

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.



2083
2084
2085
# File 'lib/fox16/scintilla.rb', line 2083

def lineCopy
  sendMessage(2455, 0, 0)
end

#lineCutObject

Cut the line containing the caret.



1990
1991
1992
# File 'lib/fox16/scintilla.rb', line 1990

def lineCut
  sendMessage(2337, 0, 0)
end

#lineDeleteObject

Delete the line containing the caret.



1995
1996
1997
# File 'lib/fox16/scintilla.rb', line 1995

def lineDelete
  sendMessage(2338, 0, 0)
end

#lineDownObject

Move caret down one line.



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

def lineDown
  sendMessage(2300, 0, 0)
end

#lineDownExtendObject

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



1803
1804
1805
# File 'lib/fox16/scintilla.rb', line 1803

def lineDownExtend
  sendMessage(2301, 0, 0)
end

#lineDownRectExtendObject

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



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

def lineDownRectExtend
  sendMessage(2426, 0, 0)
end

#lineDuplicateObject

Duplicate the current line.



2005
2006
2007
# File 'lib/fox16/scintilla.rb', line 2005

def lineDuplicate
  sendMessage(2404, 0, 0)
end

#lineEndObject

Move caret to last position on line.



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

def lineEnd
  sendMessage(2314, 0, 0)
end

#lineEndDisplayObject

Move caret to last position on display line.



2047
2048
2049
# File 'lib/fox16/scintilla.rb', line 2047

def lineEndDisplay
  sendMessage(2347, 0, 0)
end

#lineEndDisplayExtendObject

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



2053
2054
2055
# File 'lib/fox16/scintilla.rb', line 2053

def lineEndDisplayExtend
  sendMessage(2348, 0, 0)
end

#lineEndExtendObject

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



1873
1874
1875
# File 'lib/fox16/scintilla.rb', line 1873

def lineEndExtend
  sendMessage(2315, 0, 0)
end

#lineEndRectExtendObject

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



2535
2536
2537
# File 'lib/fox16/scintilla.rb', line 2535

def lineEndRectExtend
  sendMessage(2432, 0, 0)
end

#lineEndWrapObject



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

def lineEndWrap
  sendMessage(2451, 0, 0)
end

#lineEndWrapExtendObject



2072
2073
2074
# File 'lib/fox16/scintilla.rb', line 2072

def lineEndWrapExtend
  sendMessage(2452, 0, 0)
end

#lineFromPosition(pos) ⇒ Object

Retrieve the line containing a position.



1217
1218
1219
# File 'lib/fox16/scintilla.rb', line 1217

def lineFromPosition(pos)
  sendMessage(2166, pos, 0)
end

#lineLength(line) ⇒ Object

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



2093
2094
2095
# File 'lib/fox16/scintilla.rb', line 2093

def lineLength(line)
  sendMessage(2350, line, 0)
end

#lineScroll(columns, lines) ⇒ Object

Scroll horizontally and vertically.



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

def lineScroll(columns, lines)
  sendMessage(2168, columns, lines)
end

#lineScrollDownObject

Scroll the document down, keeping the caret visible.



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

def lineScrollDown
  sendMessage(2342, 0, 0)
end

#lineScrollUpObject

Scroll the document up, keeping the caret visible.



2025
2026
2027
# File 'lib/fox16/scintilla.rb', line 2025

def lineScrollUp
  sendMessage(2343, 0, 0)
end

#linesJoinObject

Join the lines in the target.



1778
1779
1780
# File 'lib/fox16/scintilla.rb', line 1778

def linesJoin
  sendMessage(2288, 0, 0)
end

#linesOnScreenObject

Retrieves the number of lines completely visible.



2201
2202
2203
# File 'lib/fox16/scintilla.rb', line 2201

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.



1784
1785
1786
# File 'lib/fox16/scintilla.rb', line 1784

def linesSplit(pixelWidth)
  sendMessage(2289, pixelWidth, 0)
end

#lineTransposeObject

Switch the current line with the previous.



2000
2001
2002
# File 'lib/fox16/scintilla.rb', line 2000

def lineTranspose
  sendMessage(2339, 0, 0)
end

#lineUpObject

Move caret up one line.



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

def lineUp
  sendMessage(2302, 0, 0)
end

#lineUpExtendObject

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



1813
1814
1815
# File 'lib/fox16/scintilla.rb', line 1813

def lineUpExtend
  sendMessage(2303, 0, 0)
end

#lineUpRectExtendObject

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



2508
2509
2510
# File 'lib/fox16/scintilla.rb', line 2508

def lineUpRectExtend
  sendMessage(2427, 0, 0)
end

#loadLexerLibrary(path) ⇒ Object

Load a lexer library (dll / so).



3301
3302
3303
# File 'lib/fox16/scintilla.rb', line 3301

def loadLexerLibrary(path)
  sendMessage(4007, 0, path)
end

#lowerCaseObject

Transform the selection to lower case.



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

def lowerCase
  sendMessage(2340, 0, 0)
end

#marginGetStyle(line) ⇒ Object

Get the style number for the text margin for a line



2851
2852
2853
# File 'lib/fox16/scintilla.rb', line 2851

def marginGetStyle(line)
  sendMessage(2533, line, 0)
end

#marginGetStyleOffsetObject

Get the start of the range of style numbers used for margin text



2878
2879
2880
# File 'lib/fox16/scintilla.rb', line 2878

def marginGetStyleOffset
  sendMessage(2538, 0, 0)
end

#marginGetStyles(line) ⇒ Object

Get the styles in the text margin for a line



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

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



2839
2840
2841
2842
2843
# File 'lib/fox16/scintilla.rb', line 2839

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



2846
2847
2848
# File 'lib/fox16/scintilla.rb', line 2846

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



2873
2874
2875
# File 'lib/fox16/scintilla.rb', line 2873

def marginSetStyleOffset(style)
  sendMessage(2537, style, 0)
end

#marginSetStyles(line, styles) ⇒ Object

Set the style in the text margin for a line



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

def marginSetStyles(line, styles)
  sendMessage(2534, line, styles)
end

#marginSetText(line, text) ⇒ Object

Set the text in the text margin for a line



2834
2835
2836
# File 'lib/fox16/scintilla.rb', line 2834

def marginSetText(line, text)
  sendMessage(2530, line, text)
end

#marginTextClearAllObject

Clear the margin text on all lines



2868
2869
2870
# File 'lib/fox16/scintilla.rb', line 2868

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.



320
321
322
# File 'lib/fox16/scintilla.rb', line 320

def markerAdd(line, markerNumber)
  sendMessage(2043, line, markerNumber)
end

#markerAddSet(line, set) ⇒ Object

Add a set of markers to a line.



356
357
358
# File 'lib/fox16/scintilla.rb', line 356

def markerAddSet(line, set)
  sendMessage(2466, line, set)
end

#markerDefine(markerNumber, markerSymbol) ⇒ Object

Set the symbol used for a particular marker number.



295
296
297
# File 'lib/fox16/scintilla.rb', line 295

def markerDefine(markerNumber, markerSymbol)
  sendMessage(2040, markerNumber, markerSymbol)
end

#markerDefinePixmap(markerNumber, pixmap) ⇒ Object

Define a marker from a pixmap.



351
352
353
# File 'lib/fox16/scintilla.rb', line 351

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



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

def markerDefineRGBAImage(markerNumber, pixels)
  sendMessage(2626, markerNumber, pixels)
end

#markerDelete(line, markerNumber) ⇒ Object

Delete a marker from a line.



325
326
327
# File 'lib/fox16/scintilla.rb', line 325

def markerDelete(line, markerNumber)
  sendMessage(2044, line, markerNumber)
end

#markerDeleteAll(markerNumber) ⇒ Object

Delete all markers with a particular number from all lines.



330
331
332
# File 'lib/fox16/scintilla.rb', line 330

def markerDeleteAll(markerNumber)
  sendMessage(2045, markerNumber, 0)
end

#markerDeleteHandle(handle) ⇒ Object

Delete a marker.



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

def markerDeleteHandle(handle)
  sendMessage(2018, handle, 0)
end

#markerEnableHighlight(enabled) ⇒ Object

Enable/disable highlight for current folding bloc (smallest one that contains the caret)



315
316
317
# File 'lib/fox16/scintilla.rb', line 315

def markerEnableHighlight(enabled)
  sendMessage(2293, enabled, 0)
end

#markerGet(line) ⇒ Object

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



335
336
337
# File 'lib/fox16/scintilla.rb', line 335

def markerGet(line)
  sendMessage(2046, line, 0)
end

#markerLineFromHandle(handle) ⇒ Object

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



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

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.



341
342
343
# File 'lib/fox16/scintilla.rb', line 341

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.



346
347
348
# File 'lib/fox16/scintilla.rb', line 346

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.



361
362
363
# File 'lib/fox16/scintilla.rb', line 361

def markerSetAlpha(markerNumber, alpha)
  sendMessage(2476, markerNumber, alpha)
end

#markerSetBack(markerNumber, back) ⇒ Object

Set the background colour used for a particular marker number.



305
306
307
# File 'lib/fox16/scintilla.rb', line 305

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.



310
311
312
# File 'lib/fox16/scintilla.rb', line 310

def markerSetBackSelected(markerNumber, back)
  sendMessage(2292, markerNumber, back & 0xffffff)
end

#markerSetFore(markerNumber, fore) ⇒ Object

Set the foreground colour used for a particular marker number.



300
301
302
# File 'lib/fox16/scintilla.rb', line 300

def markerSetFore(markerNumber, fore)
  sendMessage(2041, markerNumber, fore & 0xffffff)
end

#markerSymbolDefined(markerNumber) ⇒ Object

Which symbol was defined for markerNumber with MarkerDefine



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

def markerSymbolDefined(markerNumber)
  sendMessage(2529, markerNumber, 0)
end

#moveCaretInsideViewObject

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



2088
2089
2090
# File 'lib/fox16/scintilla.rb', line 2088

def moveCaretInsideView
  sendMessage(2401, 0, 0)
end

#moveSelectedLinesDownObject

Move the selected lines down one line, shifting the line below before the selection



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

def moveSelectedLinesDown
  sendMessage(2621, 0, 0)
end

#moveSelectedLinesUpObject

Move the selected lines up one line, shifting the line above after the selection



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

def moveSelectedLinesUp
  sendMessage(2620, 0, 0)
end

#newLineObject

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



1944
1945
1946
# File 'lib/fox16/scintilla.rb', line 1944

def newLine
  sendMessage(2329, 0, 0)
end

#nullObject

Null operation.



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

def null
  sendMessage(2172, 0, 0)
end

#pageDownObject

Move caret one page down.



1908
1909
1910
# File 'lib/fox16/scintilla.rb', line 1908

def pageDown
  sendMessage(2322, 0, 0)
end

#pageDownExtendObject

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



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

def pageDownExtend
  sendMessage(2323, 0, 0)
end

#pageDownRectExtendObject

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



2545
2546
2547
# File 'lib/fox16/scintilla.rb', line 2545

def pageDownRectExtend
  sendMessage(2434, 0, 0)
end

#pageUpObject

Move caret one page up.



1898
1899
1900
# File 'lib/fox16/scintilla.rb', line 1898

def pageUp
  sendMessage(2320, 0, 0)
end

#pageUpExtendObject

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



1903
1904
1905
# File 'lib/fox16/scintilla.rb', line 1903

def pageUpExtend
  sendMessage(2321, 0, 0)
end

#pageUpRectExtendObject

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



2540
2541
2542
# File 'lib/fox16/scintilla.rb', line 2540

def pageUpRectExtend
  sendMessage(2433, 0, 0)
end

#paraDownObject

Move caret between paragraphs (delimited by empty lines).



2441
2442
2443
# File 'lib/fox16/scintilla.rb', line 2441

def paraDown
  sendMessage(2413, 0, 0)
end

#paraDownExtendObject



2444
2445
2446
# File 'lib/fox16/scintilla.rb', line 2444

def paraDownExtend
  sendMessage(2414, 0, 0)
end

#paraUpObject



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

def paraUp
  sendMessage(2415, 0, 0)
end

#paraUpExtendObject



2450
2451
2452
# File 'lib/fox16/scintilla.rb', line 2450

def paraUpExtend
  sendMessage(2416, 0, 0)
end

#pasteObject

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



1282
1283
1284
# File 'lib/fox16/scintilla.rb', line 1282

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.



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

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.



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

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.



2462
2463
2464
# File 'lib/fox16/scintilla.rb', line 2462

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.



2456
2457
2458
# File 'lib/fox16/scintilla.rb', line 2456

def positionBefore(pos)
  sendMessage(2417, pos, 0)
end

#positionFromLine(line) ⇒ Object

Retrieve the position at the start of a line.



1222
1223
1224
# File 'lib/fox16/scintilla.rb', line 1222

def positionFromLine(line)
  sendMessage(2167, line, 0)
end

#positionFromPoint(x, y) ⇒ Object

Find the position from a point within the window.



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

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.



143
144
145
# File 'lib/fox16/scintilla.rb', line 143

def positionFromPointClose(x, y)
  sendMessage(2023, x, y)
end

#privateLexerCall(operation, pointer) ⇒ Object

For private communication between an application and a known lexer.



3338
3339
3340
# File 'lib/fox16/scintilla.rb', line 3338

def privateLexerCall(operation, pointer)
  sendMessage(4013, operation, pointer)
end

#propertyNamesObject

Retrieve a ‘n’ separated list of properties understood by the current lexer.



3343
3344
3345
# File 'lib/fox16/scintilla.rb', line 3343

def propertyNames
  sendMessage(4014, 0, names)
end

#propertyType(name) ⇒ Object

Retrieve the type of a property.



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

def propertyType(name)
  sendMessage(4015, name, 0)
end

#redoObject

Redoes the next action on the undo history.



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

def redo
  sendMessage(2011, 0, 0)
end

#registerImage(type, xpmData) ⇒ Object

Register an XPM image for use in autocompletion lists.



920
921
922
# File 'lib/fox16/scintilla.rb', line 920

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



3243
3244
3245
# File 'lib/fox16/scintilla.rb', line 3243

def registerRGBAImage(type, pixels)
  sendMessage(2627, type, pixels)
end

#releaseDocument(doc) ⇒ Object

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



2236
2237
2238
# File 'lib/fox16/scintilla.rb', line 2236

def releaseDocument(doc)
  sendMessage(2377, 0, doc)
end

#replaceSel(text) ⇒ Object

Replace the selected text with the argument text.



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

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.



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

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.



1375
1376
1377
# File 'lib/fox16/scintilla.rb', line 1375

def replaceTargetRE(length, text)
  sendMessage(2195, length, text)
end

#rGBAImageSetHeight(height) ⇒ Object

Set the height for future RGBA image data.



3231
3232
3233
# File 'lib/fox16/scintilla.rb', line 3231

def rGBAImageSetHeight(height)
  sendMessage(2625, height, 0)
end

#rGBAImageSetWidth(width) ⇒ Object

Set the width for future RGBA image data.



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

def rGBAImageSetWidth(width)
  sendMessage(2624, width, 0)
end

#rotateSelectionObject

Set the main selection to the next selection.



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

def rotateSelection
  sendMessage(2606, 0, 0)
end

#scrollCaretObject

Ensure the caret is visible.



1232
1233
1234
# File 'lib/fox16/scintilla.rb', line 1232

def scrollCaret
  sendMessage(2169, 0, 0)
end

#scrollToEndObject

Scroll to end of document.



3253
3254
3255
# File 'lib/fox16/scintilla.rb', line 3253

def scrollToEnd
  sendMessage(2629, 0, 0)
end

#scrollToStartObject

Scroll to start of document.



3248
3249
3250
# File 'lib/fox16/scintilla.rb', line 3248

def scrollToStart
  sendMessage(2628, 0, 0)
end

#searchAnchorObject

Sets the current caret position to be the search anchor.



2184
2185
2186
# File 'lib/fox16/scintilla.rb', line 2184

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.



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

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.



2190
2191
2192
# File 'lib/fox16/scintilla.rb', line 2190

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.



2196
2197
2198
# File 'lib/fox16/scintilla.rb', line 2196

def searchPrev(flags, text)
  sendMessage(2368, flags, text)
end

#selectAllObject

Select all the text in the document.



85
86
87
# File 'lib/fox16/scintilla.rb', line 85

def selectAll
  sendMessage(2013, 0, 0)
end

#selectionDuplicateObject

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



2675
2676
2677
# File 'lib/fox16/scintilla.rb', line 2675

def selectionDuplicate
  sendMessage(2469, 0, 0)
end

#selectionIsRectangleObject

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



2212
2213
2214
# File 'lib/fox16/scintilla.rb', line 2212

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.



3169
3170
3171
# File 'lib/fox16/scintilla.rb', line 3169

def setAdditionalCaretFore(fore)
  sendMessage(2604, fore & 0xffffff, 0)
end

Set whether additional carets will blink



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

def setAdditionalCaretsBlink(additionalCaretsBlink)
  sendMessage(2567, additionalCaretsBlink, 0)
end

#setAdditionalCaretsVisible(additionalCaretsBlink) ⇒ Object

Set whether additional carets are visible



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

def setAdditionalCaretsVisible(additionalCaretsBlink)
  sendMessage(2608, additionalCaretsBlink, 0)
end

#setAdditionalSelAlpha(alpha) ⇒ Object

Set the alpha of the selection.



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

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.



3154
3155
3156
# File 'lib/fox16/scintilla.rb', line 3154

def setAdditionalSelBack(back)
  sendMessage(2601, back & 0xffffff, 0)
end

#setAdditionalSelectionTyping(additionalSelectionTyping) ⇒ Object

Set whether typing can be performed into multiple selections



2992
2993
2994
# File 'lib/fox16/scintilla.rb', line 2992

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.



3148
3149
3150
# File 'lib/fox16/scintilla.rb', line 3148

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.



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

def setAnchor(posAnchor)
  sendMessage(2026, posAnchor, 0)
end

#setBackSpaceUnIndents(bsUnIndents) ⇒ Object

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



1546
1547
1548
# File 'lib/fox16/scintilla.rb', line 1546

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.



214
215
216
# File 'lib/fox16/scintilla.rb', line 214

def setBufferedDraw(buffered)
  sendMessage(2035, buffered, 0)
end

#setCaretFore(fore) ⇒ Object

Set the foreground colour of the caret.



627
628
629
# File 'lib/fox16/scintilla.rb', line 627

def setCaretFore(fore)
  sendMessage(2069, fore & 0xffffff, 0)
end

#setCaretLineBack(back) ⇒ Object

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



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

def setCaretLineBack(back)
  sendMessage(2098, back & 0xffffff, 0)
end

#setCaretLineBackAlpha(alpha) ⇒ Object

Set background alpha of the caret line.



2684
2685
2686
# File 'lib/fox16/scintilla.rb', line 2684

def setCaretLineBackAlpha(alpha)
  sendMessage(2470, alpha, 0)
end

#setCaretLineVisible(show) ⇒ Object

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



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

def setCaretLineVisible(show)
  sendMessage(2096, show, 0)
end

#setCaretPeriod(periodMilliseconds) ⇒ Object

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



662
663
664
# File 'lib/fox16/scintilla.rb', line 662

def setCaretPeriod(periodMilliseconds)
  sendMessage(2076, periodMilliseconds, 0)
end

#setCaretSticky(useCaretStickyBehaviour) ⇒ Object

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



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

def setCaretSticky(useCaretStickyBehaviour)
  sendMessage(2458, useCaretStickyBehaviour, 0)
end

#setCaretStyle(caretStyle) ⇒ Object

Set the style of the caret to be drawn.



2698
2699
2700
# File 'lib/fox16/scintilla.rb', line 2698

def setCaretStyle(caretStyle)
  sendMessage(2512, caretStyle, 0)
end

#setCaretWidth(pixelWidth) ⇒ Object

Set the width of the insert mode caret.



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

def setCaretWidth(pixelWidth)
  sendMessage(2188, pixelWidth, 0)
end

#setCharsDefaultObject

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



2598
2599
2600
# File 'lib/fox16/scintilla.rb', line 2598

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.



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

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.



2291
2292
2293
# File 'lib/fox16/scintilla.rb', line 2291

def setControlCharSymbol(symbol)
  sendMessage(2388, symbol, 0)
end

#setCurrentPos(pos) ⇒ Object

Sets the position of the caret.



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

def setCurrentPos(pos)
  sendMessage(2141, pos, 0)
end

#setCursor(cursorType) ⇒ Object

Sets the cursor to one of the SC_CURSOR* values.



2281
2282
2283
# File 'lib/fox16/scintilla.rb', line 2281

def setCursor(cursorType)
  sendMessage(2386, cursorType, 0)
end

#setDocPointer(pointer) ⇒ Object

Change the document object used.



2138
2139
2140
# File 'lib/fox16/scintilla.rb', line 2138

def setDocPointer(pointer)
  sendMessage(2358, 0, pointer)
end

#setEdgeColour(edgeColour) ⇒ Object

Change the colour used in edge indication.



2179
2180
2181
# File 'lib/fox16/scintilla.rb', line 2179

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.



2158
2159
2160
# File 'lib/fox16/scintilla.rb', line 2158

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



2169
2170
2171
# File 'lib/fox16/scintilla.rb', line 2169

def setEdgeMode(mode)
  sendMessage(2363, mode, 0)
end

#setEmptySelection(pos) ⇒ Object

Set caret to a position, while removing any existing selection.



1090
1091
1092
# File 'lib/fox16/scintilla.rb', line 1090

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.



1688
1689
1690
# File 'lib/fox16/scintilla.rb', line 1688

def setEndAtLastLine(endAtLastLine)
  sendMessage(2277, endAtLastLine, 0)
end

#setEOLMode(eolMode) ⇒ Object

Set the current end of line mode.



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

def setEOLMode(eolMode)
  sendMessage(2031, eolMode, 0)
end

#setExtraAscent(extraAscent) ⇒ Object

Set extra ascent for each line



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

def setExtraAscent(extraAscent)
  sendMessage(2525, extraAscent, 0)
end

#setExtraDescent(extraDescent) ⇒ Object

Set extra descent for each line



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

def setExtraDescent(extraDescent)
  sendMessage(2527, extraDescent, 0)
end

#setFirstVisibleLine(lineDisplay) ⇒ Object

Scroll so that a display line is at the top of the display.



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

def setFirstVisibleLine(lineDisplay)
  sendMessage(2613, lineDisplay, 0)
end

#setFocusFlag(focus) ⇒ Object

Change internal focus flag.



2246
2247
2248
# File 'lib/fox16/scintilla.rb', line 2246

def setFocusFlag(focus)
  sendMessage(2380, focus, 0)
end

#setFoldExpanded(line, expanded) ⇒ Object

Show the children of a header line.



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

def setFoldExpanded(line, expanded)
  sendMessage(2229, line, expanded)
end

#setFoldFlags(flags) ⇒ Object

Set some style options for folding.



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

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.



1464
1465
1466
# File 'lib/fox16/scintilla.rb', line 1464

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



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

def setFoldMarginColour(useSetting, back)
  sendMessage(2290, useSetting, back & 0xffffff)
end

#setFoldMarginHiColour(useSetting, fore) ⇒ Object



1792
1793
1794
# File 'lib/fox16/scintilla.rb', line 1792

def setFoldMarginHiColour(useSetting, fore)
  sendMessage(2291, useSetting, fore & 0xffffff)
end

#setFontQuality(fontQuality) ⇒ Object

Choose the quality level for text from the FontQuality enumeration.



1738
1739
1740
# File 'lib/fox16/scintilla.rb', line 1738

def setFontQuality(fontQuality)
  sendMessage(2611, fontQuality, 0)
end

#setHighlightGuide(column) ⇒ Object

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



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

def setHighlightGuide(column)
  sendMessage(2134, column, 0)
end

#setHotspotActiveBack(useSetting, back) ⇒ Object

Set a back colour for active hotspots.



2411
2412
2413
# File 'lib/fox16/scintilla.rb', line 2411

def setHotspotActiveBack(useSetting, back)
  sendMessage(2411, useSetting, back & 0xffffff)
end

#setHotspotActiveFore(useSetting, fore) ⇒ Object

Set a fore colour for active hotspots.



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

def setHotspotActiveFore(useSetting, fore)
  sendMessage(2410, useSetting, fore & 0xffffff)
end

#setHotspotActiveUnderline(underline) ⇒ Object

Enable / Disable underlining active hotspots.



2421
2422
2423
# File 'lib/fox16/scintilla.rb', line 2421

def setHotspotActiveUnderline(underline)
  sendMessage(2412, underline, 0)
end

#setHotspotSingleLine(singleLine) ⇒ Object

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



2431
2432
2433
# File 'lib/fox16/scintilla.rb', line 2431

def setHotspotSingleLine(singleLine)
  sendMessage(2421, singleLine, 0)
end

#setHScrollBar(show) ⇒ Object

Show or hide the horizontal scroll bar.



1004
1005
1006
# File 'lib/fox16/scintilla.rb', line 1004

def setHScrollBar(show)
  sendMessage(2130, show, 0)
end

#setIdentifier(identifier) ⇒ Object

Set the identifier reported as idFrom in notification messages.



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

def setIdentifier(identifier)
  sendMessage(2622, identifier, 0)
end

#setIndent(indentSize) ⇒ Object

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



963
964
965
# File 'lib/fox16/scintilla.rb', line 963

def setIndent(indentSize)
  sendMessage(2122, indentSize, 0)
end

#setIndentationGuides(indentView) ⇒ Object

Show or hide indentation guides.



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

def setIndentationGuides(indentView)
  sendMessage(2132, indentView, 0)
end

#setIndicatorCurrent(indicator) ⇒ Object

Set the indicator used for IndicatorFillRange and IndicatorClearRange



2708
2709
2710
# File 'lib/fox16/scintilla.rb', line 2708

def setIndicatorCurrent(indicator)
  sendMessage(2500, indicator, 0)
end

#setIndicatorValue(value) ⇒ Object

Set the value used for IndicatorFillRange



2718
2719
2720
# File 'lib/fox16/scintilla.rb', line 2718

def setIndicatorValue(value)
  sendMessage(2502, value, 0)
end

#setKeysUnicode(keysUnicode) ⇒ Object

Always interpret keyboard input as Unicode



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

def setKeysUnicode(keysUnicode)
  sendMessage(2521, keysUnicode, 0)
end

#setKeyWords(keywordSet, keyWords) ⇒ Object

Set up the key words used by the lexer.



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

def setKeyWords(keywordSet, keyWords)
  sendMessage(4005, keywordSet, keyWords)
end

#setLayoutCache(mode) ⇒ Object

Sets the degree of caching of layout information.



1649
1650
1651
# File 'lib/fox16/scintilla.rb', line 1649

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.



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

def setLengthForEncode(bytes)
  sendMessage(2448, bytes, 0)
end

#setLexer(lexer) ⇒ Object

Set the lexing language of the document.



3268
3269
3270
# File 'lib/fox16/scintilla.rb', line 3268

def setLexer(lexer)
  sendMessage(4001, lexer, 0)
end

#setLexerLanguage(language) ⇒ Object

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



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

def setLexerLanguage(language)
  sendMessage(4006, 0, language)
end

#setLineIndentation(line, indentSize) ⇒ Object

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



984
985
986
# File 'lib/fox16/scintilla.rb', line 984

def setLineIndentation(line, indentSize)
  sendMessage(2126, line, indentSize)
end

#setLineState(line, state) ⇒ Object

Used to hold extra styling information for each line.



767
768
769
# File 'lib/fox16/scintilla.rb', line 767

def setLineState(line, state)
  sendMessage(2092, line, state)
end

#setMainSelection(selection) ⇒ Object

Set the main selection



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

def setMainSelection(selection)
  sendMessage(2574, selection, 0)
end

#setMarginCursorN(margin, cursor) ⇒ Object

Set the cursor shown when the mouse is inside a margin.



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

def setMarginCursorN(margin, cursor)
  sendMessage(2248, margin, cursor)
end

#setMarginLeft(pixelWidth) ⇒ Object

Sets the size in pixels of the left margin.



1160
1161
1162
# File 'lib/fox16/scintilla.rb', line 1160

def setMarginLeft(pixelWidth)
  sendMessage(2155, 0, pixelWidth)
end

#setMarginMaskN(margin, mask) ⇒ Object

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



393
394
395
# File 'lib/fox16/scintilla.rb', line 393

def setMarginMaskN(margin, mask)
  sendMessage(2244, margin, mask)
end

#setMarginOptions(marginOptions) ⇒ Object

Set the margin options.



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

def setMarginOptions(marginOptions)
  sendMessage(2539, marginOptions, 0)
end

#setMarginRight(pixelWidth) ⇒ Object

Sets the size in pixels of the right margin.



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

def setMarginRight(pixelWidth)
  sendMessage(2157, 0, pixelWidth)
end

#setMarginSensitiveN(margin, sensitive) ⇒ Object

Make a margin sensitive or insensitive to mouse clicks.



403
404
405
# File 'lib/fox16/scintilla.rb', line 403

def setMarginSensitiveN(margin, sensitive)
  sendMessage(2246, margin, sensitive)
end

#setMarginTypeN(margin, marginType) ⇒ Object

Set a margin to be either numeric or symbolic.



373
374
375
# File 'lib/fox16/scintilla.rb', line 373

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.



383
384
385
# File 'lib/fox16/scintilla.rb', line 383

def setMarginWidthN(margin, pixelWidth)
  sendMessage(2242, margin, pixelWidth)
end

#setModEventMask(mask) ⇒ Object

Set which document modification events are sent to the container.



2143
2144
2145
# File 'lib/fox16/scintilla.rb', line 2143

def setModEventMask(mask)
  sendMessage(2359, mask, 0)
end

#setMouseDownCaptures(captures) ⇒ Object

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



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

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.



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

def setMouseDwellTime(periodMilliseconds)
  sendMessage(2264, periodMilliseconds, 0)
end

#setMultiPaste(multiPaste) ⇒ Object

Change the effect of pasting when there are multiple selections.



1756
1757
1758
# File 'lib/fox16/scintilla.rb', line 1756

def setMultiPaste(multiPaste)
  sendMessage(2614, multiPaste, 0)
end

#setMultipleSelection(multipleSelection) ⇒ Object

Set whether multiple selections can be made



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

def setMultipleSelection(multipleSelection)
  sendMessage(2563, multipleSelection, 0)
end

#setOvertype(overtype) ⇒ Object

Set to overtype (true) or insert mode.



1321
1322
1323
# File 'lib/fox16/scintilla.rb', line 1321

def setOvertype(overtype)
  sendMessage(2186, overtype, 0)
end

#setPasteConvertEndings(convert) ⇒ Object

Enable/Disable convert-on-paste for line endings



2665
2666
2667
# File 'lib/fox16/scintilla.rb', line 2665

def setPasteConvertEndings(convert)
  sendMessage(2467, convert, 0)
end

#setPositionCache(size) ⇒ Object

Set number of entries in position cache



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

def setPositionCache(size)
  sendMessage(2514, size, 0)
end

#setPrintColourMode(mode) ⇒ Object

Modify colours when printing for clearer printed text.



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

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.



1095
1096
1097
# File 'lib/fox16/scintilla.rb', line 1095

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



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

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.



3283
3284
3285
# File 'lib/fox16/scintilla.rb', line 3283

def setProperty(key, value)
  sendMessage(4004, key, value)
end

#setReadOnly(readOnly) ⇒ Object

Set to read only or read write.



1242
1243
1244
# File 'lib/fox16/scintilla.rb', line 1242

def setReadOnly(readOnly)
  sendMessage(2171, readOnly, 0)
end

#setRectangularSelectionAnchor(posAnchor) ⇒ Object



3102
3103
3104
# File 'lib/fox16/scintilla.rb', line 3102

def setRectangularSelectionAnchor(posAnchor)
  sendMessage(2590, posAnchor, 0)
end

#setRectangularSelectionAnchorVirtualSpace(space) ⇒ Object



3114
3115
3116
# File 'lib/fox16/scintilla.rb', line 3114

def setRectangularSelectionAnchorVirtualSpace(space)
  sendMessage(2594, space, 0)
end

#setRectangularSelectionCaret(pos) ⇒ Object



3096
3097
3098
# File 'lib/fox16/scintilla.rb', line 3096

def setRectangularSelectionCaret(pos)
  sendMessage(2588, pos, 0)
end

#setRectangularSelectionCaretVirtualSpace(space) ⇒ Object



3108
3109
3110
# File 'lib/fox16/scintilla.rb', line 3108

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.



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

def setRectangularSelectionModifier(modifier)
  sendMessage(2598, modifier, 0)
end

#setSavePointObject

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



91
92
93
# File 'lib/fox16/scintilla.rb', line 91

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.



1659
1660
1661
# File 'lib/fox16/scintilla.rb', line 1659

def setScrollWidth(pixelWidth)
  sendMessage(2274, pixelWidth, 0)
end

#setScrollWidthTracking(tracking) ⇒ Object

Sets whether the maximum width line displayed is used to set scroll width.



1669
1670
1671
# File 'lib/fox16/scintilla.rb', line 1669

def setScrollWidthTracking(tracking)
  sendMessage(2516, tracking, 0)
end

#setSearchFlags(flags) ⇒ Object

Set the search flags used by SearchInTarget.



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

def setSearchFlags(flags)
  sendMessage(2198, flags, 0)
end

#setSel(start, last) ⇒ Object

Select a range of text.



1185
1186
1187
# File 'lib/fox16/scintilla.rb', line 1185

def setSel(start, last)
  sendMessage(2160, start, last)
end

#setSelAlpha(alpha) ⇒ Object

Set the alpha of the selection.



612
613
614
# File 'lib/fox16/scintilla.rb', line 612

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.



602
603
604
# File 'lib/fox16/scintilla.rb', line 602

def setSelBack(useSetting, back)
  sendMessage(2068, useSetting, back & 0xffffff)
end

#setSelection(caret, anchor) ⇒ Object

Set a simple selection



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

def setSelection(caret, anchor)
  sendMessage(2572, caret, anchor)
end

#setSelectionEnd(pos) ⇒ Object

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



1080
1081
1082
# File 'lib/fox16/scintilla.rb', line 1080

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



2483
2484
2485
# File 'lib/fox16/scintilla.rb', line 2483

def setSelectionMode(mode)
  sendMessage(2422, mode, 0)
end

#setSelectionNAnchor(selection, posAnchor) ⇒ Object



3057
3058
3059
# File 'lib/fox16/scintilla.rb', line 3057

def setSelectionNAnchor(selection, posAnchor)
  sendMessage(2578, selection, posAnchor)
end

#setSelectionNAnchorVirtualSpace(selection, space) ⇒ Object



3069
3070
3071
# File 'lib/fox16/scintilla.rb', line 3069

def setSelectionNAnchorVirtualSpace(selection, space)
  sendMessage(2582, selection, space)
end

#setSelectionNCaret(selection, pos) ⇒ Object



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

def setSelectionNCaret(selection, pos)
  sendMessage(2576, selection, pos)
end

#setSelectionNCaretVirtualSpace(selection, space) ⇒ Object



3063
3064
3065
# File 'lib/fox16/scintilla.rb', line 3063

def setSelectionNCaretVirtualSpace(selection, space)
  sendMessage(2580, selection, space)
end

#setSelectionNEnd(selection, pos) ⇒ Object

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



3087
3088
3089
# File 'lib/fox16/scintilla.rb', line 3087

def setSelectionNEnd(selection, pos)
  sendMessage(2586, selection, pos, 0)
end

#setSelectionNStart(selection, pos) ⇒ Object

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



3077
3078
3079
# File 'lib/fox16/scintilla.rb', line 3077

def setSelectionNStart(selection, pos)
  sendMessage(2584, selection, pos)
end

#setSelectionStart(pos) ⇒ Object

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



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

def setSelectionStart(pos)
  sendMessage(2142, pos, 0)
end

#setSelEOLFilled(filled) ⇒ Object

Set the selection to have its end of line filled or not.



622
623
624
# File 'lib/fox16/scintilla.rb', line 622

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.



597
598
599
# File 'lib/fox16/scintilla.rb', line 597

def setSelFore(useSetting, fore)
  sendMessage(2067, useSetting, fore & 0xffffff)
end

#setStatus(statusCode) ⇒ Object

Change error status - 0 = OK.



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

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.



757
758
759
# File 'lib/fox16/scintilla.rb', line 757

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.



203
204
205
# File 'lib/fox16/scintilla.rb', line 203

def setStyling(length, style)
  sendMessage(2033, length, style)
end

#setStylingEx(length, styles) ⇒ Object

Set the styles for a segment of the document.



647
648
649
# File 'lib/fox16/scintilla.rb', line 647

def setStylingEx(length, styles)
  sendMessage(2073, length, styles)
end

#setTabIndents(tabIndents) ⇒ Object

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



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

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.



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

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.



1353
1354
1355
# File 'lib/fox16/scintilla.rb', line 1353

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.



1342
1343
1344
# File 'lib/fox16/scintilla.rb', line 1342

def setTargetStart(pos)
  sendMessage(2190, pos, 0)
end

#setText(text) ⇒ Object

Replace the contents of the document with the argument text.



1292
1293
1294
# File 'lib/fox16/scintilla.rb', line 1292

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.



1725
1726
1727
# File 'lib/fox16/scintilla.rb', line 1725

def setTwoPhaseDraw(twoPhase)
  sendMessage(2284, twoPhase, 0)
end

#setUndoCollection(collectUndo) ⇒ Object

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



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

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.



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

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.



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

def setUseTabs(useTabs)
  sendMessage(2124, useTabs, 0)
end

#setViewEOL(visible) ⇒ Object

Make the end of line characters visible or invisible.



2128
2129
2130
# File 'lib/fox16/scintilla.rb', line 2128

def setViewEOL(visible)
  sendMessage(2356, visible, 0)
end

#setViewWS(viewWS) ⇒ Object

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



132
133
134
# File 'lib/fox16/scintilla.rb', line 132

def setViewWS(viewWS)
  sendMessage(2021, viewWS, 0)
end

#setVirtualSpaceOptions(virtualSpaceOptions) ⇒ Object



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

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.



2323
2324
2325
# File 'lib/fox16/scintilla.rb', line 2323

def setVisiblePolicy(visiblePolicy, visibleSlop)
  sendMessage(2394, visiblePolicy, visibleSlop)
end

#setVScrollBar(show) ⇒ Object

Show or hide the vertical scroll bar.



1704
1705
1706
# File 'lib/fox16/scintilla.rb', line 1704

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.



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

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.



2593
2594
2595
# File 'lib/fox16/scintilla.rb', line 2593

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.



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

def setWhitespaceFore(useSetting, fore)
  sendMessage(2084, useSetting, fore & 0xffffff)
end

#setWhitespaceSize(size) ⇒ Object

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



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

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.



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

def setWordChars(characters)
  sendMessage(2077, 0, characters)
end

#setWrapIndentMode(mode) ⇒ Object

Sets how wrapped sublines are placed. Default is fixed.



1634
1635
1636
# File 'lib/fox16/scintilla.rb', line 1634

def setWrapIndentMode(mode)
  sendMessage(2472, mode, 0)
end

#setWrapMode(mode) ⇒ Object

Sets whether text is word wrapped.



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

def setWrapMode(mode)
  sendMessage(2268, mode, 0)
end

#setWrapStartIndent(indent) ⇒ Object

Set the start indent for wrapped lines.



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

def setWrapStartIndent(indent)
  sendMessage(2464, indent, 0)
end

#setWrapVisualFlags(wrapVisualFlags) ⇒ Object

Set the display mode of visual flags for wrapped lines.



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

def setWrapVisualFlags(wrapVisualFlags)
  sendMessage(2460, wrapVisualFlags, 0)
end

#setWrapVisualFlagsLocation(wrapVisualFlagsLocation) ⇒ Object

Set the location of visual flags for wrapped lines.



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

def setWrapVisualFlagsLocation(wrapVisualFlagsLocation)
  sendMessage(2462, wrapVisualFlagsLocation, 0)
end

#setXCaretPolicy(caretPolicy, caretSlop) ⇒ Object

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



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

def setXCaretPolicy(caretPolicy, caretSlop)
  sendMessage(2402, caretPolicy, caretSlop)
end

#setXOffset(newOffset) ⇒ Object

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



2338
2339
2340
# File 'lib/fox16/scintilla.rb', line 2338

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.



2386
2387
2388
# File 'lib/fox16/scintilla.rb', line 2386

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.



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

def setZoom(zoom)
  sendMessage(2373, zoom, 0)
end

#showLines(lineStart, lineEnd) ⇒ Object

Make a range of lines visible.



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

def showLines(lineStart, lineEnd)
  sendMessage(2226, lineStart, lineEnd)
end

#startRecordObject

Start notifying the container of all key presses and commands.



3258
3259
3260
# File 'lib/fox16/scintilla.rb', line 3258

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.



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

def startStyling(pos, mask)
  sendMessage(2032, pos, mask)
end

#stopRecordObject

Stop notifying the container of all key presses and commands.



3263
3264
3265
# File 'lib/fox16/scintilla.rb', line 3263

def stopRecord
  sendMessage(3002, 0, 0)
end

#stutteredPageDownObject

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



2561
2562
2563
# File 'lib/fox16/scintilla.rb', line 2561

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.



2566
2567
2568
# File 'lib/fox16/scintilla.rb', line 2566

def stutteredPageDownExtend
  sendMessage(2438, 0, 0)
end

#stutteredPageUpObject

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



2551
2552
2553
# File 'lib/fox16/scintilla.rb', line 2551

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.



2556
2557
2558
# File 'lib/fox16/scintilla.rb', line 2556

def stutteredPageUpExtend
  sendMessage(2436, 0, 0)
end

#styleClearAllObject

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



459
460
461
# File 'lib/fox16/scintilla.rb', line 459

def styleClearAll
  sendMessage(2050, 0, 0)
end

#styleGetBack(style) ⇒ Object

Get the background colour of a style.



518
519
520
# File 'lib/fox16/scintilla.rb', line 518

def styleGetBack(style)
  sendMessage(2482, style, 0)
end

#styleGetBold(style) ⇒ Object

Get is a style bold or not.



523
524
525
# File 'lib/fox16/scintilla.rb', line 523

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.



556
557
558
# File 'lib/fox16/scintilla.rb', line 556

def styleGetCase(style)
  sendMessage(2489, style, 0)
end

#styleGetChangeable(style) ⇒ Object

Get is a style changeable or not (read only). Experimental feature, currently buggy.



572
573
574
# File 'lib/fox16/scintilla.rb', line 572

def styleGetChangeable(style)
  sendMessage(2492, style, 0) == 1 ? true : false
end

#styleGetCharacterSet(style) ⇒ Object

Get the character get of the font in a style.



561
562
563
# File 'lib/fox16/scintilla.rb', line 561

def styleGetCharacterSet(style)
  sendMessage(2490, style, 0)
end

#styleGetEOLFilled(style) ⇒ Object

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



546
547
548
# File 'lib/fox16/scintilla.rb', line 546

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



539
540
541
542
543
# File 'lib/fox16/scintilla.rb', line 539

def styleGetFont(style)
  buffer = "".ljust(style)
  sendMessage(2486, style, buffer)
  buffer
end

#styleGetFore(style) ⇒ Object

Get the foreground colour of a style.



513
514
515
# File 'lib/fox16/scintilla.rb', line 513

def styleGetFore(style)
  sendMessage(2481, style, 0)
end

#styleGetHotSpot(style) ⇒ Object

Get is a style a hotspot or not.



577
578
579
# File 'lib/fox16/scintilla.rb', line 577

def styleGetHotSpot(style)
  sendMessage(2493, style, 0) == 1 ? true : false
end

#styleGetItalic(style) ⇒ Object

Get is a style italic or not.



528
529
530
# File 'lib/fox16/scintilla.rb', line 528

def styleGetItalic(style)
  sendMessage(2484, style, 0) == 1 ? true : false
end

#styleGetSize(style) ⇒ Object

Get the size of characters of a style.



533
534
535
# File 'lib/fox16/scintilla.rb', line 533

def styleGetSize(style)
  sendMessage(2485, style, 0)
end

#styleGetUnderline(style) ⇒ Object

Get is a style underlined or not.



551
552
553
# File 'lib/fox16/scintilla.rb', line 551

def styleGetUnderline(style)
  sendMessage(2488, style, 0) == 1 ? true : false
end

#styleGetVisible(style) ⇒ Object

Get is a style visible or not.



566
567
568
# File 'lib/fox16/scintilla.rb', line 566

def styleGetVisible(style)
  sendMessage(2491, style, 0) == 1 ? true : false
end

#styleResetDefaultObject

Reset the default style to its state at startup



499
500
501
# File 'lib/fox16/scintilla.rb', line 499

def styleResetDefault
  sendMessage(2058, 0, 0)
end

#styleSetBack(style, back) ⇒ Object

Set the background colour of a style.



469
470
471
# File 'lib/fox16/scintilla.rb', line 469

def styleSetBack(style, back)
  sendMessage(2052, style, back & 0xffffff)
end

#styleSetBold(style, bold) ⇒ Object

Set a style to be bold or not.



474
475
476
# File 'lib/fox16/scintilla.rb', line 474

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.



582
583
584
# File 'lib/fox16/scintilla.rb', line 582

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.



803
804
805
# File 'lib/fox16/scintilla.rb', line 803

def styleSetChangeable(style, changeable)
  sendMessage(2099, style, changeable)
end

#styleSetCharacterSet(style, characterSet) ⇒ Object

Set the character set of the font in a style.



587
588
589
# File 'lib/fox16/scintilla.rb', line 587

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.



494
495
496
# File 'lib/fox16/scintilla.rb', line 494

def styleSetEOLFilled(style, filled)
  sendMessage(2057, style, filled)
end

#styleSetFont(style, fontName) ⇒ Object

Set the font of a style.



489
490
491
# File 'lib/fox16/scintilla.rb', line 489

def styleSetFont(style, fontName)
  sendMessage(2056, style, fontName)
end

#styleSetFore(style, fore) ⇒ Object

Set the foreground colour of a style.



464
465
466
# File 'lib/fox16/scintilla.rb', line 464

def styleSetFore(style, fore)
  sendMessage(2051, style, fore & 0xffffff)
end

#styleSetHotSpot(style, hotspot) ⇒ Object

Set a style to be a hotspot or not.



592
593
594
# File 'lib/fox16/scintilla.rb', line 592

def styleSetHotSpot(style, hotspot)
  sendMessage(2409, style, hotspot)
end

#styleSetItalic(style, italic) ⇒ Object

Set a style to be italic or not.



479
480
481
# File 'lib/fox16/scintilla.rb', line 479

def styleSetItalic(style, italic)
  sendMessage(2054, style, italic)
end

#styleSetSize(style, sizePoints) ⇒ Object

Set the size of characters of a style.



484
485
486
# File 'lib/fox16/scintilla.rb', line 484

def styleSetSize(style, sizePoints)
  sendMessage(2055, style, sizePoints)
end

#styleSetUnderline(style, underline) ⇒ Object

Set a style to be underlined or not.



504
505
506
# File 'lib/fox16/scintilla.rb', line 504

def styleSetUnderline(style, underline)
  sendMessage(2059, style, underline)
end

#styleSetVisible(style, visible) ⇒ Object

Set a style to be visible or not.



652
653
654
# File 'lib/fox16/scintilla.rb', line 652

def styleSetVisible(style, visible)
  sendMessage(2074, style, visible)
end

#swapMainAnchorCaretObject

Swap that caret and anchor of the main selection.



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

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.



1934
1935
1936
# File 'lib/fox16/scintilla.rb', line 1934

def tab
  sendMessage(2327, 0, 0)
end

#targetAsUTF8Object

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



2620
2621
2622
# File 'lib/fox16/scintilla.rb', line 2620

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.



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

def targetFromSelection
  sendMessage(2287, 0, 0)
end

#textHeight(line) ⇒ Object

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



1699
1700
1701
# File 'lib/fox16/scintilla.rb', line 1699

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.



1681
1682
1683
# File 'lib/fox16/scintilla.rb', line 1681

def textWidth(style, text)
  sendMessage(2276, style, text)
end

#toggleCaretStickyObject

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



2660
2661
2662
# File 'lib/fox16/scintilla.rb', line 2660

def toggleCaretSticky
  sendMessage(2459, 0, 0)
end

#toggleFold(line) ⇒ Object

Switch a header line between expanded and contracted.



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

def toggleFold(line)
  sendMessage(2231, line, 0)
end

#undoObject

Undo one action in the undo history.



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

def undo
  sendMessage(2176, 0, 0)
end

#upperCaseObject

Transform the selection to upper case.



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

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.



2207
2208
2209
# File 'lib/fox16/scintilla.rb', line 2207

def usePopUp(allowPopUp)
  sendMessage(2371, allowPopUp, 0)
end

#userListShow(listType, itemList) ⇒ Object

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



893
894
895
# File 'lib/fox16/scintilla.rb', line 893

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.



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

def vCHome
  sendMessage(2331, 0, 0)
end

#vCHomeExtendObject

Like VCHome but extending selection to new caret position.



1960
1961
1962
# File 'lib/fox16/scintilla.rb', line 1960

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.



2530
2531
2532
# File 'lib/fox16/scintilla.rb', line 2530

def vCHomeRectExtend
  sendMessage(2431, 0, 0)
end

#vCHomeWrapObject



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

def vCHomeWrap
  sendMessage(2453, 0, 0)
end

#vCHomeWrapExtendObject



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

def vCHomeWrapExtend
  sendMessage(2454, 0, 0)
end

#verticalCentreCaretObject

Centre current line in window.



3201
3202
3203
# File 'lib/fox16/scintilla.rb', line 3201

def verticalCentreCaret
  sendMessage(2619, 0, 0)
end

#visibleFromDocLine(line) ⇒ Object

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



1442
1443
1444
# File 'lib/fox16/scintilla.rb', line 1442

def visibleFromDocLine(line)
  sendMessage(2220, line, 0)
end

#wordEndPosition(pos, onlyWordCharacters) ⇒ Object

Get position of end of word.



1573
1574
1575
# File 'lib/fox16/scintilla.rb', line 1573

def wordEndPosition(pos, onlyWordCharacters)
  sendMessage(2267, pos, onlyWordCharacters)
end

#wordLeftObject

Move caret left one word.



1838
1839
1840
# File 'lib/fox16/scintilla.rb', line 1838

def wordLeft
  sendMessage(2308, 0, 0)
end

#wordLeftEndObject

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



2572
2573
2574
# File 'lib/fox16/scintilla.rb', line 2572

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.



2577
2578
2579
# File 'lib/fox16/scintilla.rb', line 2577

def wordLeftEndExtend
  sendMessage(2440, 0, 0)
end

#wordLeftExtendObject

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



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

def wordLeftExtend
  sendMessage(2309, 0, 0)
end

#wordPartLeftObject

Move to the previous change in capitalisation.



2300
2301
2302
# File 'lib/fox16/scintilla.rb', line 2300

def wordPartLeft
  sendMessage(2390, 0, 0)
end

#wordPartLeftExtendObject

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



2305
2306
2307
# File 'lib/fox16/scintilla.rb', line 2305

def wordPartLeftExtend
  sendMessage(2391, 0, 0)
end

#wordPartRightObject

Move to the change next in capitalisation.



2309
2310
2311
# File 'lib/fox16/scintilla.rb', line 2309

def wordPartRight
  sendMessage(2392, 0, 0)
end

#wordPartRightExtendObject

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



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

def wordPartRightExtend
  sendMessage(2393, 0, 0)
end

#wordRightObject

Move caret right one word.



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

def wordRight
  sendMessage(2310, 0, 0)
end

#wordRightEndObject

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



2582
2583
2584
# File 'lib/fox16/scintilla.rb', line 2582

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.



2587
2588
2589
# File 'lib/fox16/scintilla.rb', line 2587

def wordRightEndExtend
  sendMessage(2442, 0, 0)
end

#wordRightExtendObject

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



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

def wordRightExtend
  sendMessage(2311, 0, 0)
end

#wordStartPosition(pos, onlyWordCharacters) ⇒ Object

Get position of start of word.



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

def wordStartPosition(pos, onlyWordCharacters)
  sendMessage(2266, pos, onlyWordCharacters)
end

#wrapCount(line) ⇒ Object

The number of display lines needed to wrap a document line



1452
1453
1454
# File 'lib/fox16/scintilla.rb', line 1452

def wrapCount(line)
  sendMessage(2235, line, 0)
end

#zoomInObject

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



1965
1966
1967
# File 'lib/fox16/scintilla.rb', line 1965

def zoomIn
  sendMessage(2333, 0, 0)
end

#zoomOutObject

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



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

def zoomOut
  sendMessage(2334, 0, 0)
end