Class: Fox::FXScintilla
- Inherits:
-
FXScrollArea
- Object
- FXObject
- FXId
- FXDrawable
- FXWindow
- FXComposite
- FXScrollArea
- Fox::FXScintilla
- 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
- SCE_MARKDOWN_LINK =
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
- SCE_TXT2TAGS_LINK =
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
Attributes inherited from FXId
Instance Method Summary collapse
-
#addRefDocument(doc) ⇒ Object
Extend life of document.
-
#addSelection(caret, anchor) ⇒ Object
Add a selection.
-
#addStyledText(length, c) ⇒ Object
Add array of cells to document.
-
#addText(length, text) ⇒ Object
Add text to the document at current position.
-
#addUndoAction(token, flags) ⇒ Object
Add a container action to the undo stack.
-
#allocate(bytes) ⇒ Object
Enlarge the document to a particular size of text bytes.
-
#annotationClearAll ⇒ Object
Clear the annotations from all lines.
-
#annotationGetLines(line) ⇒ Object
Get the number of annotation lines for a line.
-
#annotationGetStyle(line) ⇒ Object
Get the style number for the annotations for a line.
-
#annotationGetStyleOffset ⇒ Object
Get the start of the range of style numbers used for annotations.
-
#annotationGetStyles(line) ⇒ Object
Get the annotation styles for a line.
-
#annotationGetText(line) ⇒ Object
Get the annotation text for a line.
-
#annotationGetVisible ⇒ Object
Get the visibility for the annotations for a view.
-
#annotationSetStyle(line, style) ⇒ Object
Set the style number for the annotations for a line.
-
#annotationSetStyleOffset(style) ⇒ Object
Get the start of the range of style numbers used for annotations.
-
#annotationSetStyles(line, styles) ⇒ Object
Set the annotation styles for a line.
-
#annotationSetText(line, text) ⇒ Object
Set the annotation text for a line.
-
#annotationSetVisible(visible) ⇒ Object
Set the visibility for the annotations for a view.
-
#appendText(length, text) ⇒ Object
Append a string to the end of the document without changing the selection.
-
#assignCmdKey(km, msg) ⇒ Object
When key+modifier combination km is pressed perform msg.
-
#autoCActive ⇒ Object
Is there an auto-completion list visible?.
-
#autoCCancel ⇒ Object
Remove the auto-completion list from the screen.
-
#autoCComplete ⇒ Object
User has selected an item so remove the list and insert the selection.
-
#autoCGetAutoHide ⇒ Object
Retrieve whether or not autocompletion is hidden automatically when nothing matches.
-
#autoCGetCancelAtStart ⇒ Object
Retrieve whether auto-completion cancelled by backspacing before start.
-
#autoCGetChooseSingle ⇒ Object
Retrieve whether a single item auto-completion list automatically choose the item.
-
#autoCGetCurrent ⇒ Object
Get currently selected item position in the auto-completion list.
-
#autoCGetCurrentText ⇒ Object
Get currently selected item text in the auto-completion list Returns the length of the item text.
-
#autoCGetDropRestOfWord ⇒ Object
Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.
-
#autoCGetIgnoreCase ⇒ Object
Retrieve state of ignore case flag.
-
#autoCGetMaxHeight ⇒ Object
Set the maximum height, in rows, of auto-completion and user lists.
-
#autoCGetMaxWidth ⇒ Object
Get the maximum width, in characters, of auto-completion and user lists.
-
#autoCGetSeparator ⇒ Object
Retrieve the auto-completion list separator character.
-
#autoCGetTypeSeparator ⇒ Object
Retrieve the auto-completion list type-separator character.
-
#autoCPosStart ⇒ Object
Retrieve the position of the caret when the auto-completion list was displayed.
-
#autoCSelect(text) ⇒ Object
Select the item in the auto-completion list that starts with a string.
-
#autoCSetAutoHide(autoHide) ⇒ Object
Set whether or not autocompletion is hidden automatically when nothing matches.
-
#autoCSetCancelAtStart(cancel) ⇒ Object
Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.
-
#autoCSetChooseSingle(chooseSingle) ⇒ Object
Should a single item auto-completion list automatically choose the item.
-
#autoCSetDropRestOfWord(dropRestOfWord) ⇒ Object
Set whether or not autocompletion deletes any word characters after the inserted text upon completion.
-
#autoCSetFillUps(characterSet) ⇒ Object
Define a set of characters that when typed will cause the autocompletion to choose the selected item.
-
#autoCSetIgnoreCase(ignoreCase) ⇒ Object
Set whether case is significant when performing auto-completion searches.
-
#autoCSetMaxHeight(rowCount) ⇒ Object
Set the maximum height, in rows, of auto-completion and user lists.
-
#autoCSetMaxWidth(characterCount) ⇒ Object
Set the maximum width, in characters, of auto-completion and user lists.
-
#autoCSetSeparator(separatorCharacter) ⇒ Object
Change the separator character in the string setting up an auto-completion list.
-
#autoCSetTypeSeparator(separatorCharacter) ⇒ Object
Change the type-separator character in the string setting up an auto-completion list.
-
#autoCShow(lenEntered, itemList) ⇒ Object
Display a auto-completion list.
-
#autoCStops(characterSet) ⇒ Object
Define a set of character that when typed cancel the auto-completion list.
-
#backTab ⇒ Object
Dedent the selected lines.
-
#beginUndoAction ⇒ Object
Start a sequence of actions that is undone and redone as a unit.
-
#braceBadLight(pos) ⇒ Object
Highlight the character at a position indicating there is no matching brace.
-
#braceBadLightIndicator(useBraceBadLightIndicator, indicator) ⇒ Object
Use specified indicator to highlight non matching brace instead of changing its style.
-
#braceHighlight(pos1, pos2) ⇒ Object
Highlight the characters at two positions.
-
#braceHighlightIndicator(useBraceHighlightIndicator, indicator) ⇒ Object
Use specified indicator to highlight matching braces instead of changing their style.
-
#braceMatch(pos) ⇒ Object
Find the position of a matching brace or INVALID_POSITION if no match.
-
#callTipActive ⇒ Object
Is there an active call tip?.
-
#callTipCancel ⇒ Object
Remove the call tip from the screen.
-
#callTipPosStart ⇒ Object
Retrieve the position where the caret was before displaying the call tip.
-
#callTipSetBack(back) ⇒ Object
Set the background colour for the call tip.
-
#callTipSetFore(fore) ⇒ Object
Set the foreground colour for the call tip.
-
#callTipSetForeHlt(fore) ⇒ Object
Set the foreground colour for the highlighted part of the call tip.
-
#callTipSetHlt(start, last) ⇒ Object
Highlight a segment of the definition.
-
#callTipShow(pos, definition) ⇒ Object
Show a call tip containing a definition near position pos.
-
#callTipUseStyle(tabSize) ⇒ Object
Enable use of STYLE_CALLTIP and set call tip tab size in pixels.
-
#cancel ⇒ Object
Cancel any modes such as call tip or auto-completion list display.
-
#canPaste ⇒ Object
Will a paste succeed?.
-
#canRedo ⇒ Object
Are there any redoable actions in the undo history?.
-
#canUndo ⇒ Object
Are there any undoable actions in the undo history?.
-
#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.
-
#charLeft ⇒ Object
Move caret left one character.
-
#charLeftExtend ⇒ Object
Move caret left one character extending selection to new caret position.
-
#charLeftRectExtend ⇒ Object
Move caret left one character, extending rectangular selection to new caret position.
-
#charPositionFromPoint(x, y) ⇒ Object
Find the position of a character from a point within the window.
-
#charPositionFromPointClose(x, y) ⇒ Object
Find the position of a character from a point within the window.
-
#charRight ⇒ Object
Move caret right one character.
-
#charRightExtend ⇒ Object
Move caret right one character extending selection to new caret position.
-
#charRightRectExtend ⇒ Object
Move caret right one character, extending rectangular selection to new caret position.
-
#chooseCaretX ⇒ Object
Set the last x chosen value to be the caret x position.
-
#clear ⇒ Object
Clear the selection.
-
#clearAll ⇒ Object
Delete all text in the document.
-
#clearAllCmdKeys ⇒ Object
Drop all key mappings.
-
#clearCmdKey(km) ⇒ Object
When key+modifier combination km is pressed do nothing.
-
#clearDocumentStyle ⇒ Object
Set all style bytes to 0, remove all folding information.
-
#clearRegisteredImages ⇒ Object
Clear all the registered XPM images.
-
#clearSelections ⇒ Object
Clear selections to a single empty stream selection.
-
#colourise(start, last) ⇒ Object
Colourise a segment of the document using the current lexing language.
-
#contractedFoldNext(lineStart) ⇒ Object
Find the next line at or after lineStart that is a contracted fold header line.
-
#convertEOLs(eolMode) ⇒ Object
Convert all line endings in the document to one mode.
-
#copy ⇒ Object
Copy the selection to the clipboard.
-
#copyAllowLine ⇒ Object
Copy the selection, if selection empty copy the line with the caret.
-
#copyRange(start, last) ⇒ Object
Copy a range of text to the clipboard.
-
#copyText(length, text) ⇒ Object
Copy argument text to the clipboard.
-
#createDocument ⇒ Object
Create a new document object.
-
#cut ⇒ Object
Cut the selection to the clipboard.
-
#deleteBack ⇒ Object
Delete the selection or if no selection, the character before the caret.
-
#deleteBackNotLine ⇒ Object
Delete the selection or if no selection, the character before the caret.
-
#delLineLeft ⇒ Object
Delete back from the current position to the start of the line.
-
#delLineRight ⇒ Object
Delete forwards from the current position to the end of the line.
-
#delWordLeft ⇒ Object
Delete the word to the left of the caret.
-
#delWordRight ⇒ Object
Delete the word to the right of the caret.
-
#delWordRightEnd ⇒ Object
Delete the word to the right of the caret, but not the trailing non-word characters.
-
#describeKeyWordSets ⇒ Object
Retrieve a ‘n’ separated list of descriptions of the keyword sets understood by the current lexer.
-
#describeProperty(name) ⇒ Object
Describe a property.
-
#docLineFromVisible(lineDisplay) ⇒ Object
Find the document line of a display line taking hidden lines into account.
-
#documentEnd ⇒ Object
Move caret to last position in document.
-
#documentEndExtend ⇒ Object
Move caret to last position in document extending selection to new caret position.
-
#documentStart ⇒ Object
Move caret to first position in document.
-
#documentStartExtend ⇒ Object
Move caret to first position in document extending selection to new caret position.
-
#editToggleOvertype ⇒ Object
Switch from insert to overtype mode or the reverse.
-
#emptyUndoBuffer ⇒ Object
Delete the undo history.
-
#encodedFromUTF8(utf8) ⇒ Object
Translates a UTF8 string into the document encoding.
-
#endUndoAction ⇒ Object
End a sequence of actions that is undone and redone as a unit.
-
#ensureVisible(line) ⇒ Object
Ensure a particular line is visible by expanding any header line hiding it.
-
#ensureVisibleEnforcePolicy(line) ⇒ Object
Ensure a particular line is visible by expanding any header line hiding it.
-
#findColumn(line, column) ⇒ Object
Find the position of a column on a line taking into account tabs and multi-byte characters.
-
#findText(flags, ft) ⇒ Object
Find some text in the document.
-
#formatRange(draw, fr) ⇒ Object
On Windows, will draw the document into a display context such as a printer.
-
#formFeed ⇒ Object
Insert a Form Feed character.
-
#getAdditionalCaretFore ⇒ Object
Get the foreground colour of additional carets.
-
#getAdditionalCaretsBlink ⇒ Object
Whether additional carets will blink.
-
#getAdditionalCaretsVisible ⇒ Object
Whether additional carets are visible.
-
#getAdditionalSelAlpha ⇒ Object
Get the alpha of the selection.
-
#getAdditionalSelectionTyping ⇒ Object
Whether typing can be performed into multiple selections.
-
#getAnchor ⇒ Object
Returns the position of the opposite end of the selection to the caret.
-
#getBackSpaceUnIndents ⇒ Object
Does a backspace pressed when caret is within indentation unindent?.
-
#getBufferedDraw ⇒ Object
Is drawing done first into a buffer or direct to the screen?.
-
#getCaretFore ⇒ Object
Get the foreground colour of the caret.
-
#getCaretLineBack ⇒ Object
Get the colour of the background of the line containing the caret.
-
#getCaretLineBackAlpha ⇒ Object
Get the background alpha of the caret line.
-
#getCaretLineVisible ⇒ Object
Is the background of the line containing the caret in a different colour?.
-
#getCaretPeriod ⇒ Object
Get the time in milliseconds that the caret is on and off.
-
#getCaretSticky ⇒ Object
Can the caret preferred x position only be changed by explicit movement commands?.
-
#getCaretStyle ⇒ Object
Returns the current style of the caret.
-
#getCaretWidth ⇒ Object
Returns the width of the insert mode caret.
-
#getCharacterPointer ⇒ Object
Compact the document buffer and return a read-only pointer to the characters in the document.
-
#getCharAt(pos) ⇒ Object
Returns the character byte at the position.
-
#getCodePage ⇒ Object
Get the code page used to interpret the bytes of the document as characters.
-
#getColumn(pos) ⇒ Object
Retrieve the column number of a position, taking tab width into account.
-
#getControlCharSymbol ⇒ Object
Get the way control characters are displayed.
-
#getCurLine(length) ⇒ Object
Retrieve the text of the line containing the caret.
-
#getCurrentPos ⇒ Object
Returns the position of the caret.
-
#getCursor ⇒ Object
Get cursor type.
-
#getDirectFunction ⇒ Object
Retrieve a pointer to a function that processes messages for this Scintilla.
-
#getDirectPointer ⇒ Object
Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction.
-
#getDocPointer ⇒ Object
Retrieve a pointer to the document object.
-
#getEdgeColour ⇒ Object
Retrieve the colour used in edge indication.
-
#getEdgeColumn ⇒ Object
Retrieve the column number which text should be kept within.
-
#getEdgeMode ⇒ Object
Retrieve the edge highlight mode.
-
#getEndAtLastLine ⇒ Object
Retrieve whether the maximum scroll position has the last line at the bottom of the view.
-
#getEndStyled ⇒ Object
Retrieve the position of the last correctly styled character.
-
#getEOLMode ⇒ Object
Retrieve the current end of line mode - one of CRLF, CR, or LF.
-
#getExtraAscent ⇒ Object
Get extra ascent for each line.
-
#getExtraDescent ⇒ Object
Get extra descent for each line.
-
#getFirstVisibleLine ⇒ Object
Retrieve the display line at the top of the display.
-
#getFocus ⇒ Object
Get internal focus flag.
-
#getFoldExpanded(line) ⇒ Object
Is a header line expanded?.
-
#getFoldLevel(line) ⇒ Object
Retrieve the fold level of a line.
-
#getFoldParent(line) ⇒ Object
Find the parent line of a child line.
-
#getFontQuality ⇒ Object
Retrieve the quality level for text.
-
#getHighlightGuide ⇒ Object
Get the highlighted indentation guide column.
-
#getHotspotActiveBack ⇒ Object
Get the back colour for active hotspots.
-
#getHotspotActiveFore ⇒ Object
Get the fore colour for active hotspots.
-
#getHotspotActiveUnderline ⇒ Object
Get whether underlining for active hotspots.
-
#getHotspotSingleLine ⇒ Object
Get the HotspotSingleLine property.
-
#getHScrollBar ⇒ Object
Is the horizontal scroll bar visible?.
-
#getIdentifier ⇒ Object
Get the identifier.
-
#getIndent ⇒ Object
Retrieve indentation size.
-
#getIndentationGuides ⇒ Object
Are the indentation guides visible?.
-
#getIndicatorCurrent ⇒ Object
Get the current indicator.
-
#getIndicatorValue ⇒ Object
Get the current indicator vaue.
-
#getKeysUnicode ⇒ Object
Are keys always interpreted as Unicode?.
-
#getLastChild(line, level) ⇒ Object
Find the last child line of a header line.
-
#getLayoutCache ⇒ Object
Retrieve the degree of caching of layout information.
-
#getLength ⇒ Object
Returns the number of bytes in the document.
-
#getLexer ⇒ Object
Retrieve the lexing language of the document.
-
#getLexerLanguage ⇒ Object
Retrieve the name of the lexer.
-
#getLine(line) ⇒ Object
Retrieve the contents of a line.
-
#getLineCount ⇒ Object
Returns the number of lines in the document.
-
#getLineEndPosition(line) ⇒ Object
Get the position after the last visible characters on a line.
-
#getLineIndentation(line) ⇒ Object
Retrieve the number of columns that a line is indented.
-
#getLineIndentPosition(line) ⇒ Object
Retrieve the position before the first non indentation character on a line.
-
#getLineSelEndPosition(line) ⇒ Object
Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
-
#getLineSelStartPosition(line) ⇒ Object
Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
-
#getLineState(line) ⇒ Object
Retrieve the extra styling information for a line.
-
#getLineVisible(line) ⇒ Object
Is a line visible?.
-
#getMainSelection ⇒ Object
Which selection is the main selection.
-
#getMarginCursorN(margin) ⇒ Object
Retrieve the cursor shown in a margin.
-
#getMarginLeft ⇒ Object
Returns the size in pixels of the left margin.
-
#getMarginMaskN(margin) ⇒ Object
Retrieve the marker mask of a margin.
-
#getMarginOptions ⇒ Object
Get the margin options.
-
#getMarginRight ⇒ Object
Returns the size in pixels of the right margin.
-
#getMarginSensitiveN(margin) ⇒ Object
Retrieve the mouse click sensitivity of a margin.
-
#getMarginTypeN(margin) ⇒ Object
Retrieve the type of a margin.
-
#getMarginWidthN(margin) ⇒ Object
Retrieve the width of a margin in pixels.
-
#getMaxLineState ⇒ Object
Retrieve the last line number that has line state.
-
#getModEventMask ⇒ Object
Get which document modification events are sent to the container.
-
#getModify ⇒ Object
Is the document different from when it was last saved?.
-
#getMouseDownCaptures ⇒ Object
Get whether mouse gets captured.
-
#getMouseDwellTime ⇒ Object
Retrieve the time the mouse must sit still to generate a mouse dwell event.
-
#getMultiPaste ⇒ Object
Retrieve the effect of pasting when there are multiple selections..
-
#getMultipleSelection ⇒ Object
Whether multiple selections can be made.
-
#getOvertype ⇒ Object
Returns true if overtype mode is active otherwise false is returned.
-
#getPasteConvertEndings ⇒ Object
Get convert-on-paste setting.
-
#getPositionCache ⇒ Object
How many entries are allocated to the position cache?.
-
#getPrintColourMode ⇒ Object
Returns the print colour mode.
-
#getPrintMagnification ⇒ Object
Returns the print magnification.
-
#getPrintWrapMode ⇒ Object
Is printing line wrapped?.
-
#getProperty(key) ⇒ Object
Retrieve a “property” value previously set with SetProperty.
-
#getPropertyExpanded(key) ⇒ Object
Retrieve a “property” value previously set with SetProperty, with “$()” variable replacement on returned buffer.
-
#getPropertyInt(key) ⇒ Object
Retrieve a “property” value previously set with SetProperty, interpreted as an int AFTER any “$()” variable replacement.
-
#getReadOnly ⇒ Object
In read-only mode?.
- #getRectangularSelectionAnchor ⇒ Object
- #getRectangularSelectionAnchorVirtualSpace ⇒ Object
- #getRectangularSelectionCaret ⇒ Object
- #getRectangularSelectionCaretVirtualSpace ⇒ Object
-
#getRectangularSelectionModifier ⇒ Object
Get the modifier key used for rectangular selection.
-
#getScrollWidth ⇒ Object
Retrieve the document width assumed for scrolling.
-
#getScrollWidthTracking ⇒ Object
Retrieve whether the scroll width tracks wide lines.
-
#getSearchFlags ⇒ Object
Get the search flags used by SearchInTarget.
-
#getSelAlpha ⇒ Object
Get the alpha of the selection.
-
#getSelectionEnd ⇒ Object
Returns the position at the end of the selection.
-
#getSelectionMode ⇒ Object
Get the mode of the current selection.
- #getSelectionNAnchor(selection) ⇒ Object
- #getSelectionNAnchorVirtualSpace(selection) ⇒ Object
- #getSelectionNCaret(selection) ⇒ Object
- #getSelectionNCaretVirtualSpace(selection) ⇒ Object
-
#getSelectionNEnd(selection) ⇒ Object
Returns the position at the end of the selection.
-
#getSelectionNStart(selection) ⇒ Object
Returns the position at the start of the selection.
-
#getSelections ⇒ Object
How many selections are there?.
-
#getSelectionStart ⇒ Object
Returns the position at the start of the selection.
-
#getSelEOLFilled ⇒ Object
Is the selection end of line filled?.
-
#getSelText ⇒ Object
Retrieve the selected text.
-
#getStatus ⇒ Object
Get error status.
-
#getStyleAt(pos) ⇒ Object
Returns the style byte at the position.
-
#getStyleBits ⇒ Object
Retrieve number of bits in style bytes used to hold the lexical state.
-
#getStyleBitsNeeded ⇒ Object
Retrieve the number of bits the current lexer needs for styling.
-
#getStyledText(tr) ⇒ Object
Retrieve a buffer of cells.
-
#getTabIndents ⇒ Object
Does a tab pressed when caret is within indentation indent?.
-
#getTabWidth ⇒ Object
Retrieve the visible size of a tab.
-
#getTag(tagNumber) ⇒ Object
Retrieve the value of a tag from a regular expression search.
-
#getTargetEnd ⇒ Object
Get the position that ends the target.
-
#getTargetStart ⇒ Object
Get the position that starts the target.
-
#getText(length) ⇒ Object
Retrieve all the text in the document.
-
#getTextLength ⇒ Object
Retrieve the number of characters in the document.
-
#getTextRange(tr) ⇒ Object
Retrieve a range of text.
-
#getTwoPhaseDraw ⇒ Object
Is drawing done in two phases with backgrounds drawn before faoregrounds?.
-
#getUndoCollection ⇒ Object
Is undo history being collected?.
-
#getUsePalette ⇒ Object
In palette mode?.
-
#getUseTabs ⇒ Object
Retrieve whether tabs will be used in indentation.
-
#getViewEOL ⇒ Object
Are the end of line characters visible?.
-
#getViewWS ⇒ Object
Are white space characters currently visible? Returns one of SCWS_* constants.
- #getVirtualSpaceOptions ⇒ Object
-
#getVScrollBar ⇒ Object
Is the vertical scroll bar visible?.
-
#getWhitespaceSize ⇒ Object
Get the size of the dots used to mark space characters.
-
#getWrapIndentMode ⇒ Object
Retrieve how wrapped sublines are placed.
-
#getWrapMode ⇒ Object
Retrieve whether text is word wrapped.
-
#getWrapStartIndent ⇒ Object
Retrive the start indent for wrapped lines.
-
#getWrapVisualFlags ⇒ Object
Retrive the display mode of visual flags for wrapped lines.
-
#getWrapVisualFlagsLocation ⇒ Object
Retrive the location of visual flags for wrapped lines.
- #getXOffset ⇒ Object
-
#getZoom ⇒ Object
Retrieve the zoom level.
-
#gotoLine(line) ⇒ Object
Set caret to start of a line and ensure it is visible.
-
#gotoPos(pos) ⇒ Object
Set caret to a position and ensure it is visible.
-
#grabFocus ⇒ Object
Set the focus to this Scintilla widget.
-
#hideLines(lineStart, lineEnd) ⇒ Object
Make a range of lines invisible.
-
#hideSelection(normal) ⇒ Object
Draw the selection in normal style or with selection highlighted.
-
#home ⇒ Object
Move caret to first position on line.
-
#homeDisplay ⇒ Object
Move caret to first position on display line.
-
#homeDisplayExtend ⇒ Object
Move caret to first position on display line extending selection to new caret position.
-
#homeExtend ⇒ Object
Move caret to first position on line extending selection to new caret position.
-
#homeRectExtend ⇒ Object
Move caret to first position on line, extending rectangular selection to new caret position.
-
#homeWrap ⇒ Object
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)?.
- #homeWrapExtend ⇒ Object
-
#indicatorAllOnFor(position) ⇒ Object
Are any indicators present at position?.
-
#indicatorClearRange(position, clearLength) ⇒ Object
Turn a indicator off over a range.
-
#indicatorEnd(indicator, position) ⇒ Object
Where does a particular indicator end?.
-
#indicatorFillRange(position, fillLength) ⇒ Object
Turn a indicator on over a range.
-
#indicatorStart(indicator, position) ⇒ Object
Where does a particular indicator start?.
-
#indicatorValueAt(indicator, position) ⇒ Object
What value does a particular indicator have at at a position?.
-
#indicGetAlpha(indicator) ⇒ Object
Get the alpha fill colour of the given indicator.
-
#indicGetFore(indic) ⇒ Object
Retrieve the foreground colour of an indicator.
-
#indicGetOutlineAlpha(indicator) ⇒ Object
Get the alpha outline colour of the given indicator.
-
#indicGetStyle(indic) ⇒ Object
Retrieve the style of an indicator.
-
#indicGetUnder(indic) ⇒ Object
Retrieve whether indicator drawn under or over text.
-
#indicSetAlpha(indicator, alpha) ⇒ Object
Set the alpha fill colour of the given indicator.
-
#indicSetFore(indic, fore) ⇒ Object
Set the foreground colour of an indicator.
-
#indicSetOutlineAlpha(indicator, alpha) ⇒ Object
Set the alpha outline colour of the given indicator.
-
#indicSetStyle(indic, style) ⇒ Object
Set an indicator to plain, squiggle or TT.
-
#indicSetUnder(indic, under) ⇒ Object
Set an indicator to draw under text or over(default).
-
#initialize(p, target = nil, selector = 0, opts = 0, x = 0, y = 0, width = 0, height = 0) ⇒ FXScintilla
constructor
Return an initialized FXScintilla instance.
-
#insertText(pos, text) ⇒ Object
Insert string at a position.
-
#lineCopy ⇒ Object
Copy the line containing the caret.
-
#lineCut ⇒ Object
Cut the line containing the caret.
-
#lineDelete ⇒ Object
Delete the line containing the caret.
-
#lineDown ⇒ Object
Move caret down one line.
-
#lineDownExtend ⇒ Object
Move caret down one line extending selection to new caret position.
-
#lineDownRectExtend ⇒ Object
Move caret down one line, extending rectangular selection to new caret position.
-
#lineDuplicate ⇒ Object
Duplicate the current line.
-
#lineEnd ⇒ Object
Move caret to last position on line.
-
#lineEndDisplay ⇒ Object
Move caret to last position on display line.
-
#lineEndDisplayExtend ⇒ Object
Move caret to last position on display line extending selection to new caret position.
-
#lineEndExtend ⇒ Object
Move caret to last position on line extending selection to new caret position.
-
#lineEndRectExtend ⇒ Object
Move caret to last position on line, extending rectangular selection to new caret position.
- #lineEndWrap ⇒ Object
- #lineEndWrapExtend ⇒ Object
-
#lineFromPosition(pos) ⇒ Object
Retrieve the line containing a position.
-
#lineLength(line) ⇒ Object
How many characters are on a line, including end of line characters?.
-
#lineScroll(columns, lines) ⇒ Object
Scroll horizontally and vertically.
-
#lineScrollDown ⇒ Object
Scroll the document down, keeping the caret visible.
-
#lineScrollUp ⇒ Object
Scroll the document up, keeping the caret visible.
-
#linesJoin ⇒ Object
Join the lines in the target.
-
#linesOnScreen ⇒ Object
Retrieves the number of lines completely visible.
-
#linesSplit(pixelWidth) ⇒ Object
Split the lines in the target into lines that are less wide than pixelWidth where possible.
-
#lineTranspose ⇒ Object
Switch the current line with the previous.
-
#lineUp ⇒ Object
Move caret up one line.
-
#lineUpExtend ⇒ Object
Move caret up one line extending selection to new caret position.
-
#lineUpRectExtend ⇒ Object
Move caret up one line, extending rectangular selection to new caret position.
-
#loadLexerLibrary(path) ⇒ Object
Load a lexer library (dll / so).
-
#lowerCase ⇒ Object
Transform the selection to lower case.
-
#marginGetStyle(line) ⇒ Object
Get the style number for the text margin for a line.
-
#marginGetStyleOffset ⇒ Object
Get the start of the range of style numbers used for margin text.
-
#marginGetStyles(line) ⇒ Object
Get the styles in the text margin for a line.
-
#marginGetText(line) ⇒ Object
Get the text in the text margin for a line.
-
#marginSetStyle(line, style) ⇒ Object
Set the style number for the text margin for a line.
-
#marginSetStyleOffset(style) ⇒ Object
Get the start of the range of style numbers used for margin text.
-
#marginSetStyles(line, styles) ⇒ Object
Set the style in the text margin for a line.
-
#marginSetText(line, text) ⇒ Object
Set the text in the text margin for a line.
-
#marginTextClearAll ⇒ Object
Clear the margin text on all lines.
-
#markerAdd(line, markerNumber) ⇒ Object
Add a marker to a line, returning an ID which can be used to find or delete the marker.
-
#markerAddSet(line, set) ⇒ Object
Add a set of markers to a line.
-
#markerDefine(markerNumber, markerSymbol) ⇒ Object
Set the symbol used for a particular marker number.
-
#markerDefinePixmap(markerNumber, pixmap) ⇒ Object
Define a marker from a pixmap.
-
#markerDefineRGBAImage(markerNumber, pixels) ⇒ Object
Define a marker from RGBA data.
-
#markerDelete(line, markerNumber) ⇒ Object
Delete a marker from a line.
-
#markerDeleteAll(markerNumber) ⇒ Object
Delete all markers with a particular number from all lines.
-
#markerDeleteHandle(handle) ⇒ Object
Delete a marker.
-
#markerEnableHighlight(enabled) ⇒ Object
Enable/disable highlight for current folding bloc (smallest one that contains the caret).
-
#markerGet(line) ⇒ Object
Get a bit mask of all the markers set on a line.
-
#markerLineFromHandle(handle) ⇒ Object
Retrieve the line number at which a particular marker is located.
-
#markerNext(lineStart, markerMask) ⇒ Object
Find the next line at or after lineStart that includes a marker in mask.
-
#markerPrevious(lineStart, markerMask) ⇒ Object
Find the previous line before lineStart that includes a marker in mask.
-
#markerSetAlpha(markerNumber, alpha) ⇒ Object
Set the alpha used for a marker that is drawn in the text area, not the margin.
-
#markerSetBack(markerNumber, back) ⇒ Object
Set the background colour used for a particular marker number.
-
#markerSetBackSelected(markerNumber, back) ⇒ Object
Set the background colour used for a particular marker number when its folding block is selected.
-
#markerSetFore(markerNumber, fore) ⇒ Object
Set the foreground colour used for a particular marker number.
-
#markerSymbolDefined(markerNumber) ⇒ Object
Which symbol was defined for markerNumber with MarkerDefine.
-
#moveCaretInsideView ⇒ Object
Move the caret inside current view if it’s not there already.
-
#moveSelectedLinesDown ⇒ Object
Move the selected lines down one line, shifting the line below before the selection.
-
#moveSelectedLinesUp ⇒ Object
Move the selected lines up one line, shifting the line above after the selection.
-
#newLine ⇒ Object
Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
-
#null ⇒ Object
Null operation.
-
#pageDown ⇒ Object
Move caret one page down.
-
#pageDownExtend ⇒ Object
Move caret one page down extending selection to new caret position.
-
#pageDownRectExtend ⇒ Object
Move caret one page down, extending rectangular selection to new caret position.
-
#pageUp ⇒ Object
Move caret one page up.
-
#pageUpExtend ⇒ Object
Move caret one page up extending selection to new caret position.
-
#pageUpRectExtend ⇒ Object
Move caret one page up, extending rectangular selection to new caret position.
-
#paraDown ⇒ Object
Move caret between paragraphs (delimited by empty lines).
- #paraDownExtend ⇒ Object
- #paraUp ⇒ Object
- #paraUpExtend ⇒ Object
-
#paste ⇒ Object
Paste the contents of the clipboard into the document replacing the selection.
-
#pointXFromPosition(pos) ⇒ Object
Retrieve the x value of the point in the window where a position is displayed.
-
#pointYFromPosition(pos) ⇒ Object
Retrieve the y value of the point in the window where a position is displayed.
-
#positionAfter(pos) ⇒ Object
Given a valid document position, return the next position taking code page into account.
-
#positionBefore(pos) ⇒ Object
Given a valid document position, return the previous position taking code page into account.
-
#positionFromLine(line) ⇒ Object
Retrieve the position at the start of a line.
-
#positionFromPoint(x, y) ⇒ Object
Find the position from a point within the window.
-
#positionFromPointClose(x, y) ⇒ Object
Find the position from a point within the window but return INVALID_POSITION if not close to text.
-
#privateLexerCall(operation, pointer) ⇒ Object
For private communication between an application and a known lexer.
-
#propertyNames ⇒ Object
Retrieve a ‘n’ separated list of properties understood by the current lexer.
-
#propertyType(name) ⇒ Object
Retrieve the type of a property.
-
#redo ⇒ Object
Redoes the next action on the undo history.
-
#registerImage(type, xpmData) ⇒ Object
Register an XPM image for use in autocompletion lists.
-
#registerRGBAImage(type, pixels) ⇒ Object
Register an RGBA image for use in autocompletion lists.
-
#releaseDocument(doc) ⇒ Object
Release a reference to the document, deleting document if it fades to black.
-
#replaceSel(text) ⇒ Object
Replace the selected text with the argument text.
-
#replaceTarget(length, text) ⇒ Object
Replace the target text with the argument text.
-
#replaceTargetRE(length, text) ⇒ Object
Replace the target text with the argument text after d processing.
-
#rGBAImageSetHeight(height) ⇒ Object
Set the height for future RGBA image data.
-
#rGBAImageSetWidth(width) ⇒ Object
Set the width for future RGBA image data.
-
#rotateSelection ⇒ Object
Set the main selection to the next selection.
-
#scrollCaret ⇒ Object
Ensure the caret is visible.
-
#scrollToEnd ⇒ Object
Scroll to end of document.
-
#scrollToStart ⇒ Object
Scroll to start of document.
-
#searchAnchor ⇒ Object
Sets the current caret position to be the search anchor.
-
#searchInTarget(length, text) ⇒ Object
Search for a counted string in the target and set the target to the found range.
-
#searchNext(flags, text) ⇒ Object
Find some text starting at the search anchor.
-
#searchPrev(flags, text) ⇒ Object
Find some text starting at the search anchor and moving backwards.
-
#selectAll ⇒ Object
Select all the text in the document.
-
#selectionDuplicate ⇒ Object
Duplicate the selection.
-
#selectionIsRectangle ⇒ Object
Is the selection rectangular? The alternative is the more common stream selection.
-
#sendMessage(iMsg, wParam = nil, lParam = nil) ⇒ Object
Send a message (iMsg) to the Scintilla control, with optional wParam and lParam values.
-
#setAdditionalCaretFore(fore) ⇒ Object
Set the foreground colour of additional carets.
-
#setAdditionalCaretsBlink(additionalCaretsBlink) ⇒ Object
Set whether additional carets will blink.
-
#setAdditionalCaretsVisible(additionalCaretsBlink) ⇒ Object
Set whether additional carets are visible.
-
#setAdditionalSelAlpha(alpha) ⇒ Object
Set the alpha of the selection.
-
#setAdditionalSelBack(back) ⇒ Object
Set the background colour of additional selections.
-
#setAdditionalSelectionTyping(additionalSelectionTyping) ⇒ Object
Set whether typing can be performed into multiple selections.
-
#setAdditionalSelFore(fore) ⇒ Object
Set the foreground colour of additional selections.
-
#setAnchor(posAnchor) ⇒ Object
Set the selection anchor to a position.
-
#setBackSpaceUnIndents(bsUnIndents) ⇒ Object
Sets whether a backspace pressed when caret is within indentation unindents.
-
#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.
-
#setCaretFore(fore) ⇒ Object
Set the foreground colour of the caret.
-
#setCaretLineBack(back) ⇒ Object
Set the colour of the background of the line containing the caret.
-
#setCaretLineBackAlpha(alpha) ⇒ Object
Set background alpha of the caret line.
-
#setCaretLineVisible(show) ⇒ Object
Display the background of the line containing the caret in a different colour.
-
#setCaretPeriod(periodMilliseconds) ⇒ Object
Get the time in milliseconds that the caret is on and off.
-
#setCaretSticky(useCaretStickyBehaviour) ⇒ Object
Stop the caret preferred x position changing when the user types.
-
#setCaretStyle(caretStyle) ⇒ Object
Set the style of the caret to be drawn.
-
#setCaretWidth(pixelWidth) ⇒ Object
Set the width of the insert mode caret.
-
#setCharsDefault ⇒ Object
Reset the set of characters for whitespace and word characters to the defaults.
-
#setCodePage(codePage) ⇒ Object
Set the code page used to interpret the bytes of the document as characters.
-
#setControlCharSymbol(symbol) ⇒ Object
Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.
-
#setCurrentPos(pos) ⇒ Object
Sets the position of the caret.
-
#setCursor(cursorType) ⇒ Object
Sets the cursor to one of the SC_CURSOR* values.
-
#setDocPointer(pointer) ⇒ Object
Change the document object used.
-
#setEdgeColour(edgeColour) ⇒ Object
Change the colour used in edge indication.
-
#setEdgeColumn(column) ⇒ Object
Set the column number of the edge.
-
#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).
-
#setEmptySelection(pos) ⇒ Object
Set caret to a position, while removing any existing selection.
-
#setEndAtLastLine(endAtLastLine) ⇒ Object
Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default).
-
#setEOLMode(eolMode) ⇒ Object
Set the current end of line mode.
-
#setExtraAscent(extraAscent) ⇒ Object
Set extra ascent for each line.
-
#setExtraDescent(extraDescent) ⇒ Object
Set extra descent for each line.
-
#setFirstVisibleLine(lineDisplay) ⇒ Object
Scroll so that a display line is at the top of the display.
-
#setFocusFlag(focus) ⇒ Object
Change internal focus flag.
-
#setFoldExpanded(line, expanded) ⇒ Object
Show the children of a header line.
-
#setFoldFlags(flags) ⇒ Object
Set some style options for folding.
-
#setFoldLevel(line, level) ⇒ Object
Set the fold level of a line.
-
#setFoldMarginColour(useSetting, back) ⇒ Object
Set the colours used as a chequerboard pattern in the fold margin.
- #setFoldMarginHiColour(useSetting, fore) ⇒ Object
-
#setFontQuality(fontQuality) ⇒ Object
Choose the quality level for text from the FontQuality enumeration.
-
#setHighlightGuide(column) ⇒ Object
Set the highlighted indentation guide column.
-
#setHotspotActiveBack(useSetting, back) ⇒ Object
Set a back colour for active hotspots.
-
#setHotspotActiveFore(useSetting, fore) ⇒ Object
Set a fore colour for active hotspots.
-
#setHotspotActiveUnderline(underline) ⇒ Object
Enable / Disable underlining active hotspots.
-
#setHotspotSingleLine(singleLine) ⇒ Object
Limit hotspots to single line so hotspots on two lines don’t merge.
-
#setHScrollBar(show) ⇒ Object
Show or hide the horizontal scroll bar.
-
#setIdentifier(identifier) ⇒ Object
Set the identifier reported as idFrom in notification messages.
-
#setIndent(indentSize) ⇒ Object
Set the number of spaces used for one level of indentation.
-
#setIndentationGuides(indentView) ⇒ Object
Show or hide indentation guides.
-
#setIndicatorCurrent(indicator) ⇒ Object
Set the indicator used for IndicatorFillRange and IndicatorClearRange.
-
#setIndicatorValue(value) ⇒ Object
Set the value used for IndicatorFillRange.
-
#setKeysUnicode(keysUnicode) ⇒ Object
Always interpret keyboard input as Unicode.
-
#setKeyWords(keywordSet, keyWords) ⇒ Object
Set up the key words used by the lexer.
-
#setLayoutCache(mode) ⇒ Object
Sets the degree of caching of layout information.
-
#setLengthForEncode(bytes) ⇒ Object
Set the length of the utf8 argument for calling EncodedFromUTF8.
-
#setLexer(lexer) ⇒ Object
Set the lexing language of the document.
-
#setLexerLanguage(language) ⇒ Object
Set the lexing language of the document based on string name.
-
#setLineIndentation(line, indentSize) ⇒ Object
Change the indentation of a line to a number of columns.
-
#setLineState(line, state) ⇒ Object
Used to hold extra styling information for each line.
-
#setMainSelection(selection) ⇒ Object
Set the main selection.
-
#setMarginCursorN(margin, cursor) ⇒ Object
Set the cursor shown when the mouse is inside a margin.
-
#setMarginLeft(pixelWidth) ⇒ Object
Sets the size in pixels of the left margin.
-
#setMarginMaskN(margin, mask) ⇒ Object
Set a mask that determines which markers are displayed in a margin.
-
#setMarginOptions(marginOptions) ⇒ Object
Set the margin options.
-
#setMarginRight(pixelWidth) ⇒ Object
Sets the size in pixels of the right margin.
-
#setMarginSensitiveN(margin, sensitive) ⇒ Object
Make a margin sensitive or insensitive to mouse clicks.
-
#setMarginTypeN(margin, marginType) ⇒ Object
Set a margin to be either numeric or symbolic.
-
#setMarginWidthN(margin, pixelWidth) ⇒ Object
Set the width of a margin to a width expressed in pixels.
-
#setModEventMask(mask) ⇒ Object
Set which document modification events are sent to the container.
-
#setMouseDownCaptures(captures) ⇒ Object
Set whether the mouse is captured when its button is pressed.
-
#setMouseDwellTime(periodMilliseconds) ⇒ Object
Sets the time the mouse must sit still to generate a mouse dwell event.
-
#setMultiPaste(multiPaste) ⇒ Object
Change the effect of pasting when there are multiple selections.
-
#setMultipleSelection(multipleSelection) ⇒ Object
Set whether multiple selections can be made.
-
#setOvertype(overtype) ⇒ Object
Set to overtype (true) or insert mode.
-
#setPasteConvertEndings(convert) ⇒ Object
Enable/Disable convert-on-paste for line endings.
-
#setPositionCache(size) ⇒ Object
Set number of entries in position cache.
-
#setPrintColourMode(mode) ⇒ Object
Modify colours when printing for clearer printed text.
-
#setPrintMagnification(magnification) ⇒ Object
Sets the print magnification added to the point size of each style for printing.
-
#setPrintWrapMode(mode) ⇒ Object
Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
-
#setProperty(key, value) ⇒ Object
Set up a value that may be used by a lexer for some optional feature.
-
#setReadOnly(readOnly) ⇒ Object
Set to read only or read write.
- #setRectangularSelectionAnchor(posAnchor) ⇒ Object
- #setRectangularSelectionAnchorVirtualSpace(space) ⇒ Object
- #setRectangularSelectionCaret(pos) ⇒ Object
- #setRectangularSelectionCaretVirtualSpace(space) ⇒ Object
-
#setRectangularSelectionModifier(modifier) ⇒ Object
On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection.
-
#setSavePoint ⇒ Object
Remember the current position in the undo history as the position at which the document was saved.
-
#setScintillaID(id) ⇒ Object
Set the identifier for this widget’s embedded Scintilla component.
-
#setScrollWidth(pixelWidth) ⇒ Object
Sets the document width assumed for scrolling.
-
#setScrollWidthTracking(tracking) ⇒ Object
Sets whether the maximum width line displayed is used to set scroll width.
-
#setSearchFlags(flags) ⇒ Object
Set the search flags used by SearchInTarget.
-
#setSel(start, last) ⇒ Object
Select a range of text.
-
#setSelAlpha(alpha) ⇒ Object
Set the alpha of the selection.
-
#setSelBack(useSetting, back) ⇒ Object
Set the background colour of the main and additional selections and whether to use this setting.
-
#setSelection(caret, anchor) ⇒ Object
Set a simple selection.
-
#setSelectionEnd(pos) ⇒ Object
Sets the position that ends the selection - this becomes the currentPosition.
-
#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).
- #setSelectionNAnchor(selection, posAnchor) ⇒ Object
- #setSelectionNAnchorVirtualSpace(selection, space) ⇒ Object
- #setSelectionNCaret(selection, pos) ⇒ Object
- #setSelectionNCaretVirtualSpace(selection, space) ⇒ Object
-
#setSelectionNEnd(selection, pos) ⇒ Object
Sets the position that ends the selection - this becomes the currentPosition.
-
#setSelectionNStart(selection, pos) ⇒ Object
Sets the position that starts the selection - this becomes the anchor.
-
#setSelectionStart(pos) ⇒ Object
Sets the position that starts the selection - this becomes the anchor.
-
#setSelEOLFilled(filled) ⇒ Object
Set the selection to have its end of line filled or not.
-
#setSelFore(useSetting, fore) ⇒ Object
Set the foreground colour of the main and additional selections and whether to use this setting.
-
#setStatus(statusCode) ⇒ Object
Change error status - 0 = OK.
-
#setStyleBits(bits) ⇒ Object
Divide each styling byte into lexical class bits (default: 5) and indicator bits (default: 3).
-
#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.
-
#setStylingEx(length, styles) ⇒ Object
Set the styles for a segment of the document.
-
#setTabIndents(tabIndents) ⇒ Object
Sets whether a tab pressed when caret is within indentation indents.
-
#setTabWidth(tabWidth) ⇒ Object
Change the visible size of a tab to be a multiple of the width of a space character.
-
#setTargetEnd(pos) ⇒ Object
Sets the position that ends the target which is used for updating the document without affecting the scroll position.
-
#setTargetStart(pos) ⇒ Object
Sets the position that starts the target which is used for updating the document without affecting the scroll position.
-
#setText(text) ⇒ Object
Replace the contents of the document with the argument text.
-
#setTwoPhaseDraw(twoPhase) ⇒ Object
In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground.
-
#setUndoCollection(collectUndo) ⇒ Object
Choose between collecting actions into the undo history and discarding them.
-
#setUsePalette(usePalette) ⇒ Object
In palette mode, Scintilla uses the environment’s palette calls to display more colours.
-
#setUseTabs(useTabs) ⇒ Object
Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.
-
#setViewEOL(visible) ⇒ Object
Make the end of line characters visible or invisible.
-
#setViewWS(viewWS) ⇒ Object
Make white space characters invisible, always visible or visible outside indentation.
- #setVirtualSpaceOptions(virtualSpaceOptions) ⇒ Object
-
#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.
-
#setVScrollBar(show) ⇒ Object
Show or hide the vertical scroll bar.
-
#setWhitespaceBack(useSetting, back) ⇒ Object
Set the background colour of all whitespace and whether to use this setting.
-
#setWhitespaceChars(characters) ⇒ Object
Set the set of characters making up whitespace for when moving or selecting by word.
-
#setWhitespaceFore(useSetting, fore) ⇒ Object
Set the foreground colour of all whitespace and whether to use this setting.
-
#setWhitespaceSize(size) ⇒ Object
Set the size of the dots used to mark space characters.
-
#setWordChars(characters) ⇒ Object
Set the set of characters making up words for when moving or selecting by word.
-
#setWrapIndentMode(mode) ⇒ Object
Sets how wrapped sublines are placed.
-
#setWrapMode(mode) ⇒ Object
Sets whether text is word wrapped.
-
#setWrapStartIndent(indent) ⇒ Object
Set the start indent for wrapped lines.
-
#setWrapVisualFlags(wrapVisualFlags) ⇒ Object
Set the display mode of visual flags for wrapped lines.
-
#setWrapVisualFlagsLocation(wrapVisualFlagsLocation) ⇒ Object
Set the location of visual flags for wrapped lines.
-
#setXCaretPolicy(caretPolicy, caretSlop) ⇒ Object
Set the way the caret is kept visible when going sideway.
-
#setXOffset(newOffset) ⇒ Object
Get and Set the xOffset (ie, horizonal scroll position).
-
#setYCaretPolicy(caretPolicy, caretSlop) ⇒ Object
Set the way the line the caret is on is kept visible.
-
#setZoom(zoom) ⇒ Object
Set the zoom level.
-
#showLines(lineStart, lineEnd) ⇒ Object
Make a range of lines visible.
-
#startRecord ⇒ Object
Start notifying the container of all key presses and commands.
-
#startStyling(pos, mask) ⇒ Object
Set the current styling position to pos and the styling mask to mask.
-
#stopRecord ⇒ Object
Stop notifying the container of all key presses and commands.
-
#stutteredPageDown ⇒ Object
Move caret to bottom of page, or one page down if already at bottom of page.
-
#stutteredPageDownExtend ⇒ Object
Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
-
#stutteredPageUp ⇒ Object
Move caret to top of page, or one page up if already at top of page.
-
#stutteredPageUpExtend ⇒ Object
Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
-
#styleClearAll ⇒ Object
Clear all the styles and make equivalent to the global default style.
-
#styleGetBack(style) ⇒ Object
Get the background colour of a style.
-
#styleGetBold(style) ⇒ Object
Get is a style bold or not.
-
#styleGetCase(style) ⇒ Object
Get is a style mixed case, or to force upper or lower case.
-
#styleGetChangeable(style) ⇒ Object
Get is a style changeable or not (read only).
-
#styleGetCharacterSet(style) ⇒ Object
Get the character get of the font in a style.
-
#styleGetEOLFilled(style) ⇒ Object
Get is a style to have its end of line filled or not.
-
#styleGetFont(style) ⇒ Object
Get the font of a style.
-
#styleGetFore(style) ⇒ Object
Get the foreground colour of a style.
-
#styleGetHotSpot(style) ⇒ Object
Get is a style a hotspot or not.
-
#styleGetItalic(style) ⇒ Object
Get is a style italic or not.
-
#styleGetSize(style) ⇒ Object
Get the size of characters of a style.
-
#styleGetUnderline(style) ⇒ Object
Get is a style underlined or not.
-
#styleGetVisible(style) ⇒ Object
Get is a style visible or not.
-
#styleResetDefault ⇒ Object
Reset the default style to its state at startup.
-
#styleSetBack(style, back) ⇒ Object
Set the background colour of a style.
-
#styleSetBold(style, bold) ⇒ Object
Set a style to be bold or not.
-
#styleSetCase(style, caseForce) ⇒ Object
Set a style to be mixed case, or to force upper or lower case.
-
#styleSetChangeable(style, changeable) ⇒ Object
Set a style to be changeable or not (read only).
-
#styleSetCharacterSet(style, characterSet) ⇒ Object
Set the character set of the font in a style.
-
#styleSetEOLFilled(style, filled) ⇒ Object
Set a style to have its end of line filled or not.
-
#styleSetFont(style, fontName) ⇒ Object
Set the font of a style.
-
#styleSetFore(style, fore) ⇒ Object
Set the foreground colour of a style.
-
#styleSetHotSpot(style, hotspot) ⇒ Object
Set a style to be a hotspot or not.
-
#styleSetItalic(style, italic) ⇒ Object
Set a style to be italic or not.
-
#styleSetSize(style, sizePoints) ⇒ Object
Set the size of characters of a style.
-
#styleSetUnderline(style, underline) ⇒ Object
Set a style to be underlined or not.
-
#styleSetVisible(style, visible) ⇒ Object
Set a style to be visible or not.
-
#swapMainAnchorCaret ⇒ Object
Swap that caret and anchor of the main selection.
-
#tab ⇒ Object
If selection is empty or all on one line replace the selection with a tab character.
-
#targetAsUTF8 ⇒ Object
Returns the target converted to UTF8.
-
#targetFromSelection ⇒ Object
Make the target range start and end be the same as the selection range start and end.
-
#textHeight(line) ⇒ Object
Retrieve the height of a particular line of text in pixels.
-
#textWidth(style, text) ⇒ Object
Measure the pixel width of some text in a particular style.
-
#toggleCaretSticky ⇒ Object
Switch between sticky and non-sticky: meant to be bound to a key.
-
#toggleFold(line) ⇒ Object
Switch a header line between expanded and contracted.
-
#undo ⇒ Object
Undo one action in the undo history.
-
#upperCase ⇒ Object
Transform the selection to upper case.
-
#usePopUp(allowPopUp) ⇒ Object
Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button.
-
#userListShow(listType, itemList) ⇒ Object
Display a list of strings and send notification when user chooses one.
-
#vCHome ⇒ Object
Move caret to before first visible character on line.
-
#vCHomeExtend ⇒ Object
Like VCHome but extending selection to new caret position.
-
#vCHomeRectExtend ⇒ Object
Move caret to before first visible character on line.
- #vCHomeWrap ⇒ Object
- #vCHomeWrapExtend ⇒ Object
-
#verticalCentreCaret ⇒ Object
Centre current line in window.
-
#visibleFromDocLine(line) ⇒ Object
Find the display line of a document line taking hidden lines into account.
-
#wordEndPosition(pos, onlyWordCharacters) ⇒ Object
Get position of end of word.
-
#wordLeft ⇒ Object
Move caret left one word.
-
#wordLeftEnd ⇒ Object
Move caret left one word, position cursor at end of word.
-
#wordLeftEndExtend ⇒ Object
Move caret left one word, position cursor at end of word, extending selection to new caret position.
-
#wordLeftExtend ⇒ Object
Move caret left one word extending selection to new caret position.
-
#wordPartLeft ⇒ Object
Move to the previous change in capitalisation.
-
#wordPartLeftExtend ⇒ Object
Move to the previous change in capitalisation extending selection to new caret position.
-
#wordPartRight ⇒ Object
Move to the change next in capitalisation.
-
#wordPartRightExtend ⇒ Object
Move to the next change in capitalisation extending selection to new caret position.
-
#wordRight ⇒ Object
Move caret right one word.
-
#wordRightEnd ⇒ Object
Move caret right one word, position cursor at end of word.
-
#wordRightEndExtend ⇒ Object
Move caret right one word, position cursor at end of word, extending selection to new caret position.
-
#wordRightExtend ⇒ Object
Move caret right one word extending selection to new caret position.
-
#wordStartPosition(pos, onlyWordCharacters) ⇒ Object
Get position of start of word.
-
#wrapCount(line) ⇒ Object
The number of display lines needed to wrap a document line.
-
#zoomIn ⇒ Object
Magnify the displayed text by increasing the sizes by 1 point.
-
#zoomOut ⇒ Object
Make the displayed text smaller by decreasing the sizes by 1 point.
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
Methods inherited from FXDrawable
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 |
#annotationClearAll ⇒ Object
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 |
#annotationGetStyleOffset ⇒ Object
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 |
#annotationGetVisible ⇒ Object
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 |
#autoCActive ⇒ Object
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 |
#autoCCancel ⇒ Object
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 |
#autoCComplete ⇒ Object
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 |
#autoCGetAutoHide ⇒ Object
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 |
#autoCGetCancelAtStart ⇒ Object
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 |
#autoCGetChooseSingle ⇒ Object
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 |
#autoCGetCurrent ⇒ Object
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 |
#autoCGetCurrentText ⇒ Object
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 |
#autoCGetDropRestOfWord ⇒ Object
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 |
#autoCGetIgnoreCase ⇒ Object
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 |
#autoCGetMaxHeight ⇒ Object
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 |
#autoCGetMaxWidth ⇒ Object
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 |
#autoCGetSeparator ⇒ Object
Retrieve the auto-completion list separator character.
846 847 848 |
# File 'lib/fox16/scintilla.rb', line 846 def autoCGetSeparator sendMessage(2107, 0, 0) end |
#autoCGetTypeSeparator ⇒ Object
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 |
#autoCPosStart ⇒ Object
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 |
#backTab ⇒ Object
Dedent the selected lines.
1939 1940 1941 |
# File 'lib/fox16/scintilla.rb', line 1939 def backTab sendMessage(2328, 0, 0) end |
#beginUndoAction ⇒ Object
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 |
#callTipActive ⇒ Object
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 |
#callTipCancel ⇒ Object
Remove the call tip from the screen.
1402 1403 1404 |
# File 'lib/fox16/scintilla.rb', line 1402 def callTipCancel sendMessage(2201, 0, 0) end |
#callTipPosStart ⇒ Object
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 |
#cancel ⇒ Object
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 |
#canPaste ⇒ Object
Will a paste succeed?
1252 1253 1254 |
# File 'lib/fox16/scintilla.rb', line 1252 def canPaste sendMessage(2173, 0, 0) == 1 ? true : false end |
#canRedo ⇒ Object
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 |
#canUndo ⇒ Object
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 |
#charLeft ⇒ Object
Move caret left one character.
1818 1819 1820 |
# File 'lib/fox16/scintilla.rb', line 1818 def charLeft sendMessage(2304, 0, 0) end |
#charLeftExtend ⇒ Object
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 |
#charLeftRectExtend ⇒ Object
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 |
#charRight ⇒ Object
Move caret right one character.
1828 1829 1830 |
# File 'lib/fox16/scintilla.rb', line 1828 def charRight sendMessage(2306, 0, 0) end |
#charRightExtend ⇒ Object
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 |
#charRightRectExtend ⇒ Object
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 |
#chooseCaretX ⇒ Object
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 |
#clear ⇒ Object
Clear the selection.
1287 1288 1289 |
# File 'lib/fox16/scintilla.rb', line 1287 def clear sendMessage(2180, 0, 0) end |
#clearAll ⇒ Object
Delete all text in the document.
39 40 41 |
# File 'lib/fox16/scintilla.rb', line 39 def clearAll sendMessage(2004, 0, 0) end |
#clearAllCmdKeys ⇒ Object
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 |
#clearDocumentStyle ⇒ Object
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 |
#clearRegisteredImages ⇒ Object
Clear all the registered XPM images.
925 926 927 |
# File 'lib/fox16/scintilla.rb', line 925 def clearRegisteredImages sendMessage(2408, 0, 0) end |
#clearSelections ⇒ Object
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 |
#copy ⇒ Object
Copy the selection to the clipboard.
1277 1278 1279 |
# File 'lib/fox16/scintilla.rb', line 1277 def copy sendMessage(2178, 0, 0) end |
#copyAllowLine ⇒ Object
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 |
#createDocument ⇒ Object
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 |
#cut ⇒ Object
Cut the selection to the clipboard.
1272 1273 1274 |
# File 'lib/fox16/scintilla.rb', line 1272 def cut sendMessage(2177, 0, 0) end |
#deleteBack ⇒ Object
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 |
#deleteBackNotLine ⇒ Object
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 |
#delLineLeft ⇒ Object
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 |
#delLineRight ⇒ Object
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 |
#delWordLeft ⇒ Object
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 |
#delWordRight ⇒ Object
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 |
#delWordRightEnd ⇒ Object
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 |
#describeKeyWordSets ⇒ Object
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 |
#documentEnd ⇒ Object
Move caret to last position in document.
1888 1889 1890 |
# File 'lib/fox16/scintilla.rb', line 1888 def documentEnd sendMessage(2318, 0, 0) end |
#documentEndExtend ⇒ Object
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 |
#documentStart ⇒ Object
Move caret to first position in document.
1878 1879 1880 |
# File 'lib/fox16/scintilla.rb', line 1878 def documentStart sendMessage(2316, 0, 0) end |
#documentStartExtend ⇒ Object
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 |
#editToggleOvertype ⇒ Object
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 |
#emptyUndoBuffer ⇒ Object
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 |
#endUndoAction ⇒ Object
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 |
#formFeed ⇒ Object
Insert a Form Feed character.
1949 1950 1951 |
# File 'lib/fox16/scintilla.rb', line 1949 def formFeed sendMessage(2330, 0, 0) end |
#getAdditionalCaretFore ⇒ Object
Get the foreground colour of additional carets.
3174 3175 3176 |
# File 'lib/fox16/scintilla.rb', line 3174 def getAdditionalCaretFore sendMessage(2605, 0, 0) end |
#getAdditionalCaretsBlink ⇒ Object
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 |
#getAdditionalCaretsVisible ⇒ Object
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 |
#getAdditionalSelAlpha ⇒ Object
Get the alpha of the selection.
3164 3165 3166 |
# File 'lib/fox16/scintilla.rb', line 3164 def getAdditionalSelAlpha sendMessage(2603, 0, 0) end |
#getAdditionalSelectionTyping ⇒ Object
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 |
#getAnchor ⇒ Object
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 |
#getBackSpaceUnIndents ⇒ Object
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 |
#getBufferedDraw ⇒ Object
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 |
#getCaretFore ⇒ Object
Get the foreground colour of the caret.
1050 1051 1052 |
# File 'lib/fox16/scintilla.rb', line 1050 def getCaretFore sendMessage(2138, 0, 0) end |
#getCaretLineBack ⇒ Object
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 |
#getCaretLineBackAlpha ⇒ Object
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 |
#getCaretLineVisible ⇒ Object
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 |
#getCaretPeriod ⇒ Object
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 |
#getCaretSticky ⇒ Object
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 |
#getCaretStyle ⇒ Object
Returns the current style of the caret.
2703 2704 2705 |
# File 'lib/fox16/scintilla.rb', line 2703 def getCaretStyle sendMessage(2513, 0, 0) end |
#getCaretWidth ⇒ Object
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 |
#getCharacterPointer ⇒ Object
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 |
#getCodePage ⇒ Object
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 |
#getControlCharSymbol ⇒ Object
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 |
#getCurrentPos ⇒ Object
Returns the position of the caret.
59 60 61 |
# File 'lib/fox16/scintilla.rb', line 59 def getCurrentPos sendMessage(2008, 0, 0) end |
#getCursor ⇒ Object
Get cursor type.
2285 2286 2287 |
# File 'lib/fox16/scintilla.rb', line 2285 def getCursor sendMessage(2387, 0, 0) end |
#getDirectFunction ⇒ Object
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 |
#getDirectPointer ⇒ Object
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 |
#getDocPointer ⇒ Object
Retrieve a pointer to the document object.
2133 2134 2135 |
# File 'lib/fox16/scintilla.rb', line 2133 def getDocPointer sendMessage(2357, 0, 0) end |
#getEdgeColour ⇒ Object
Retrieve the colour used in edge indication.
2174 2175 2176 |
# File 'lib/fox16/scintilla.rb', line 2174 def getEdgeColour sendMessage(2364, 0, 0) end |
#getEdgeColumn ⇒ Object
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 |
#getEdgeMode ⇒ Object
Retrieve the edge highlight mode.
2163 2164 2165 |
# File 'lib/fox16/scintilla.rb', line 2163 def getEdgeMode sendMessage(2362, 0, 0) end |
#getEndAtLastLine ⇒ Object
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 |
#getEndStyled ⇒ Object
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 |
#getEOLMode ⇒ Object
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 |
#getExtraAscent ⇒ Object
Get extra ascent for each line
2814 2815 2816 |
# File 'lib/fox16/scintilla.rb', line 2814 def getExtraAscent sendMessage(2526, 0, 0) end |
#getExtraDescent ⇒ Object
Get extra descent for each line
2824 2825 2826 |
# File 'lib/fox16/scintilla.rb', line 2824 def getExtraDescent sendMessage(2528, 0, 0) end |
#getFirstVisibleLine ⇒ Object
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 |
#getFocus ⇒ Object
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 |
#getFontQuality ⇒ Object
Retrieve the quality level for text.
1743 1744 1745 |
# File 'lib/fox16/scintilla.rb', line 1743 def getFontQuality sendMessage(2612, 0, 0) end |
#getHighlightGuide ⇒ Object
Get the highlighted indentation guide column.
1035 1036 1037 |
# File 'lib/fox16/scintilla.rb', line 1035 def getHighlightGuide sendMessage(2135, 0, 0) end |
#getHotspotActiveBack ⇒ Object
Get the back colour for active hotspots.
2416 2417 2418 |
# File 'lib/fox16/scintilla.rb', line 2416 def getHotspotActiveBack sendMessage(2495, 0, 0) end |
#getHotspotActiveFore ⇒ Object
Get the fore colour for active hotspots.
2406 2407 2408 |
# File 'lib/fox16/scintilla.rb', line 2406 def getHotspotActiveFore sendMessage(2494, 0, 0) end |
#getHotspotActiveUnderline ⇒ Object
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 |
#getHotspotSingleLine ⇒ Object
Get the HotspotSingleLine property
2436 2437 2438 |
# File 'lib/fox16/scintilla.rb', line 2436 def getHotspotSingleLine sendMessage(2497, 0, 0) == 1 ? true : false end |
#getHScrollBar ⇒ Object
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 |
#getIdentifier ⇒ Object
Get the identifier.
3221 3222 3223 |
# File 'lib/fox16/scintilla.rb', line 3221 def getIdentifier sendMessage(2623, 0, 0) end |
#getIndent ⇒ Object
Retrieve indentation size.
968 969 970 |
# File 'lib/fox16/scintilla.rb', line 968 def getIndent sendMessage(2123, 0, 0) end |
#getIndentationGuides ⇒ Object
Are the indentation guides visible?
1024 1025 1026 |
# File 'lib/fox16/scintilla.rb', line 1024 def getIndentationGuides sendMessage(2133, 0, 0) end |
#getIndicatorCurrent ⇒ Object
Get the current indicator
2713 2714 2715 |
# File 'lib/fox16/scintilla.rb', line 2713 def getIndicatorCurrent sendMessage(2501, 0, 0) end |
#getIndicatorValue ⇒ Object
Get the current indicator vaue
2723 2724 2725 |
# File 'lib/fox16/scintilla.rb', line 2723 def getIndicatorValue sendMessage(2503, 0, 0) end |
#getKeysUnicode ⇒ Object
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 |
#getLayoutCache ⇒ Object
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 |
#getLength ⇒ Object
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 |
#getLexer ⇒ Object
Retrieve the lexing language of the document.
3273 3274 3275 |
# File 'lib/fox16/scintilla.rb', line 3273 def getLexer sendMessage(4002, 0, 0) end |
#getLexerLanguage ⇒ Object
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 |
#getLineCount ⇒ Object
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 |
#getMainSelection ⇒ Object
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 |
#getMarginLeft ⇒ Object
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 |
#getMarginOptions ⇒ Object
Get the margin options.
2891 2892 2893 |
# File 'lib/fox16/scintilla.rb', line 2891 def getMarginOptions sendMessage(2557, 0, 0) end |
#getMarginRight ⇒ Object
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 |
#getMaxLineState ⇒ Object
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 |
#getModEventMask ⇒ Object
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 |
#getModify ⇒ Object
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 |
#getMouseDownCaptures ⇒ Object
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 |
#getMouseDwellTime ⇒ Object
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 |
#getMultiPaste ⇒ Object
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 |
#getMultipleSelection ⇒ Object
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 |
#getOvertype ⇒ Object
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 |
#getPasteConvertEndings ⇒ Object
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 |
#getPositionCache ⇒ Object
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 |
#getPrintColourMode ⇒ Object
Returns the print colour mode.
1121 1122 1123 |
# File 'lib/fox16/scintilla.rb', line 1121 def getPrintColourMode sendMessage(2149, 0, 0) end |
#getPrintMagnification ⇒ Object
Returns the print magnification.
1100 1101 1102 |
# File 'lib/fox16/scintilla.rb', line 1100 def getPrintMagnification sendMessage(2147, 0, 0) end |
#getPrintWrapMode ⇒ Object
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 |
#getReadOnly ⇒ Object
In read-only mode?
1060 1061 1062 |
# File 'lib/fox16/scintilla.rb', line 1060 def getReadOnly sendMessage(2140, 0, 0) == 1 ? true : false end |
#getRectangularSelectionAnchor ⇒ Object
3105 3106 3107 |
# File 'lib/fox16/scintilla.rb', line 3105 def getRectangularSelectionAnchor sendMessage(2591, 0, 0) end |
#getRectangularSelectionAnchorVirtualSpace ⇒ Object
3117 3118 3119 |
# File 'lib/fox16/scintilla.rb', line 3117 def getRectangularSelectionAnchorVirtualSpace sendMessage(2595, 0, 0) end |
#getRectangularSelectionCaret ⇒ Object
3099 3100 3101 |
# File 'lib/fox16/scintilla.rb', line 3099 def getRectangularSelectionCaret sendMessage(2589, 0, 0) end |
#getRectangularSelectionCaretVirtualSpace ⇒ Object
3111 3112 3113 |
# File 'lib/fox16/scintilla.rb', line 3111 def getRectangularSelectionCaretVirtualSpace sendMessage(2593, 0, 0) end |
#getRectangularSelectionModifier ⇒ Object
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 |
#getScrollWidth ⇒ Object
Retrieve the document width assumed for scrolling.
1664 1665 1666 |
# File 'lib/fox16/scintilla.rb', line 1664 def getScrollWidth sendMessage(2275, 0, 0) end |
#getScrollWidthTracking ⇒ Object
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 |
#getSearchFlags ⇒ Object
Get the search flags used by SearchInTarget.
1392 1393 1394 |
# File 'lib/fox16/scintilla.rb', line 1392 def getSearchFlags sendMessage(2199, 0, 0) end |
#getSelAlpha ⇒ Object
Get the alpha of the selection.
607 608 609 |
# File 'lib/fox16/scintilla.rb', line 607 def getSelAlpha sendMessage(2477, 0, 0) end |
#getSelectionEnd ⇒ Object
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 |
#getSelectionMode ⇒ Object
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 |
#getSelections ⇒ Object
How many selections are there?
3022 3023 3024 |
# File 'lib/fox16/scintilla.rb', line 3022 def getSelections sendMessage(2570, 0, 0) end |
#getSelectionStart ⇒ Object
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 |
#getSelEOLFilled ⇒ Object
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 |
#getSelText ⇒ Object
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 |
#getStatus ⇒ Object
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 |
#getStyleBits ⇒ Object
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 |
#getStyleBitsNeeded ⇒ Object
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 |
#getTabIndents ⇒ Object
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 |
#getTabWidth ⇒ Object
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 |
#getTargetEnd ⇒ Object
Get the position that ends the target.
1358 1359 1360 |
# File 'lib/fox16/scintilla.rb', line 1358 def getTargetEnd sendMessage(2193, 0, 0) end |
#getTargetStart ⇒ Object
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 |
#getTextLength ⇒ Object
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 |
#getTwoPhaseDraw ⇒ Object
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 |
#getUndoCollection ⇒ Object
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 |
#getUsePalette ⇒ Object
In palette mode?
1055 1056 1057 |
# File 'lib/fox16/scintilla.rb', line 1055 def getUsePalette sendMessage(2139, 0, 0) == 1 ? true : false end |
#getUseTabs ⇒ Object
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 |
#getViewEOL ⇒ Object
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 |
#getViewWS ⇒ Object
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 |
#getVirtualSpaceOptions ⇒ Object
3128 3129 3130 |
# File 'lib/fox16/scintilla.rb', line 3128 def getVirtualSpaceOptions sendMessage(2597, 0, 0) end |
#getVScrollBar ⇒ Object
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 |
#getWhitespaceSize ⇒ Object
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 |
#getWrapIndentMode ⇒ Object
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 |
#getWrapMode ⇒ Object
Retrieve whether text is word wrapped.
1587 1588 1589 |
# File 'lib/fox16/scintilla.rb', line 1587 def getWrapMode sendMessage(2269, 0, 0) end |
#getWrapStartIndent ⇒ Object
Retrive the start indent for wrapped lines.
1625 1626 1627 |
# File 'lib/fox16/scintilla.rb', line 1625 def getWrapStartIndent sendMessage(2465, 0, 0) end |
#getWrapVisualFlags ⇒ Object
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 |
#getWrapVisualFlagsLocation ⇒ Object
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 |
#getXOffset ⇒ Object
2341 2342 2343 |
# File 'lib/fox16/scintilla.rb', line 2341 def getXOffset sendMessage(2398, 0, 0) end |
#getZoom ⇒ Object
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 |
#grabFocus ⇒ Object
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 |
#home ⇒ Object
Move caret to first position on line.
1858 1859 1860 |
# File 'lib/fox16/scintilla.rb', line 1858 def home sendMessage(2312, 0, 0) end |
#homeDisplay ⇒ Object
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 |
#homeDisplayExtend ⇒ Object
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 |
#homeExtend ⇒ Object
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 |
#homeRectExtend ⇒ Object
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 |
#homeWrap ⇒ Object
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 |
#homeWrapExtend ⇒ Object
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 |
#lineCopy ⇒ Object
Copy the line containing the caret.
2083 2084 2085 |
# File 'lib/fox16/scintilla.rb', line 2083 def lineCopy sendMessage(2455, 0, 0) end |
#lineCut ⇒ Object
Cut the line containing the caret.
1990 1991 1992 |
# File 'lib/fox16/scintilla.rb', line 1990 def lineCut sendMessage(2337, 0, 0) end |
#lineDelete ⇒ Object
Delete the line containing the caret.
1995 1996 1997 |
# File 'lib/fox16/scintilla.rb', line 1995 def lineDelete sendMessage(2338, 0, 0) end |
#lineDown ⇒ Object
Move caret down one line.
1798 1799 1800 |
# File 'lib/fox16/scintilla.rb', line 1798 def lineDown sendMessage(2300, 0, 0) end |
#lineDownExtend ⇒ Object
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 |
#lineDownRectExtend ⇒ Object
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 |
#lineDuplicate ⇒ Object
Duplicate the current line.
2005 2006 2007 |
# File 'lib/fox16/scintilla.rb', line 2005 def lineDuplicate sendMessage(2404, 0, 0) end |
#lineEnd ⇒ Object
Move caret to last position on line.
1868 1869 1870 |
# File 'lib/fox16/scintilla.rb', line 1868 def lineEnd sendMessage(2314, 0, 0) end |
#lineEndDisplay ⇒ Object
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 |
#lineEndDisplayExtend ⇒ Object
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 |
#lineEndExtend ⇒ Object
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 |
#lineEndRectExtend ⇒ Object
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 |
#lineEndWrap ⇒ Object
2069 2070 2071 |
# File 'lib/fox16/scintilla.rb', line 2069 def lineEndWrap sendMessage(2451, 0, 0) end |
#lineEndWrapExtend ⇒ Object
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 |
#lineScrollDown ⇒ Object
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 |
#lineScrollUp ⇒ Object
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 |
#linesJoin ⇒ Object
Join the lines in the target.
1778 1779 1780 |
# File 'lib/fox16/scintilla.rb', line 1778 def linesJoin sendMessage(2288, 0, 0) end |
#linesOnScreen ⇒ Object
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 |
#lineTranspose ⇒ Object
Switch the current line with the previous.
2000 2001 2002 |
# File 'lib/fox16/scintilla.rb', line 2000 def lineTranspose sendMessage(2339, 0, 0) end |
#lineUp ⇒ Object
Move caret up one line.
1808 1809 1810 |
# File 'lib/fox16/scintilla.rb', line 1808 def lineUp sendMessage(2302, 0, 0) end |
#lineUpExtend ⇒ Object
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 |
#lineUpRectExtend ⇒ Object
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 |
#lowerCase ⇒ Object
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 |
#marginGetStyleOffset ⇒ Object
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 |
#marginTextClearAll ⇒ Object
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( |