| Class | Fox::FXScintilla |
| In: |
rdoc-sources/FXScintilla.rb
lib/fox12/scintilla.rb |
| Parent: | FXScrollArea |
FXScintilla is a FOX widget, developed by Gilles Filippini, that provides an interface to Neil Hodgson’s Scintilla (www.scintilla.org) source code editing component. The Scintilla component is a very complicated beast, and for best results you should read the very fine documentation at www.scintilla.org/ScintillaDoc.html.
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. |
| INVALID_POSITION | = | -1 | Basics | |
| SCI_START | = | 2000 | Define start of Scintilla messages to be greater than all edit (EM_*) messages as many EM_ messages can be used although that use is deprecated. | |
| SCI_OPTIONAL_START | = | 3000 | ||
| SCI_LEXER_START | = | 4000 | ||
| SCWS_INVISIBLE | = | 0 | ||
| SCWS_VISIBLEALWAYS | = | 1 | ||
| SCWS_VISIBLEAFTERINDENT | = | 2 | ||
| SC_EOL_CRLF | = | 0 | ||
| SC_EOL_CR | = | 1 | ||
| SC_EOL_LF | = | 2 | ||
| SC_CP_UTF8 | = | 65001 | The SC_CP_UTF8 value can be used to enter Unicode mode. This is the same value as CP_UTF8 in Windows | |
| SC_CP_DBCS | = | 1 | The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+. | |
| MARKER_MAX | = | 31 | ||
| SC_MARK_CIRCLE | = | 0 | ||
| SC_MARK_ROUNDRECT | = | 1 | ||
| SC_MARK_ARROW | = | 2 | ||
| SC_MARK_SMALLRECT | = | 3 | ||
| SC_MARK_SHORTARROW | = | 4 | ||
| SC_MARK_EMPTY | = | 5 | ||
| SC_MARK_ARROWDOWN | = | 6 | ||
| SC_MARK_MINUS | = | 7 | ||
| SC_MARK_PLUS | = | 8 | ||
| SC_MARK_VLINE | = | 9 | Shapes used for outlining column. | |
| SC_MARK_LCORNER | = | 10 | ||
| SC_MARK_TCORNER | = | 11 | ||
| SC_MARK_BOXPLUS | = | 12 | ||
| SC_MARK_BOXPLUSCONNECTED | = | 13 | ||
| SC_MARK_BOXMINUS | = | 14 | ||
| SC_MARK_BOXMINUSCONNECTED | = | 15 | ||
| SC_MARK_LCORNERCURVE | = | 16 | ||
| SC_MARK_TCORNERCURVE | = | 17 | ||
| SC_MARK_CIRCLEPLUS | = | 18 | ||
| SC_MARK_CIRCLEPLUSCONNECTED | = | 19 | ||
| SC_MARK_CIRCLEMINUS | = | 20 | ||
| SC_MARK_CIRCLEMINUSCONNECTED | = | 21 | ||
| SC_MARK_BACKGROUND | = | 22 | Invisible mark that only sets the line background color. | |
| SC_MARK_DOTDOTDOT | = | 23 | ||
| SC_MARK_ARROWS | = | 24 | ||
| SC_MARK_PIXMAP | = | 25 | ||
| SC_MARK_CHARACTER | = | 10000 | ||
| SC_MARKNUM_FOLDEREND | = | 25 | Markers used for outlining column. | |
| SC_MARKNUM_FOLDEROPENMID | = | 26 | ||
| SC_MARKNUM_FOLDERMIDTAIL | = | 27 | ||
| SC_MARKNUM_FOLDERTAIL | = | 28 | ||
| SC_MARKNUM_FOLDERSUB | = | 29 | ||
| SC_MARKNUM_FOLDER | = | 30 | ||
| SC_MARKNUM_FOLDEROPEN | = | 31 | ||
| SC_MASK_FOLDERS | = | 0xFE000000 | ||
| SC_MARGIN_SYMBOL | = | 0 | ||
| SC_MARGIN_NUMBER | = | 1 | ||
| STYLE_DEFAULT | = | 32 | Styles in range 32..37 are predefined for parts of the UI and are not used as normal styles. Styles 38 and 39 are for future use. | |
| STYLE_LINENUMBER | = | 33 | ||
| STYLE_BRACELIGHT | = | 34 | ||
| STYLE_BRACEBAD | = | 35 | ||
| STYLE_CONTROLCHAR | = | 36 | ||
| STYLE_INDENTGUIDE | = | 37 | ||
| STYLE_LASTPREDEFINED | = | 39 | ||
| STYLE_MAX | = | 127 | ||
| SC_CHARSET_ANSI | = | 0 | Character set identifiers are used in StyleSetCharacterSet. The values are the same as the Windows *_CHARSET values. | |
| SC_CHARSET_DEFAULT | = | 1 | ||
| SC_CHARSET_BALTIC | = | 186 | ||
| SC_CHARSET_CHINESEBIG5 | = | 136 | ||
| SC_CHARSET_EASTEUROPE | = | 238 | ||
| SC_CHARSET_GB2312 | = | 134 | ||
| SC_CHARSET_GREEK | = | 161 | ||
| SC_CHARSET_HANGUL | = | 129 | ||
| SC_CHARSET_MAC | = | 77 | ||
| SC_CHARSET_OEM | = | 255 | ||
| SC_CHARSET_RUSSIAN | = | 204 | ||
| SC_CHARSET_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_CASE_MIXED | = | 0 | ||
| SC_CASE_UPPER | = | 1 | ||
| SC_CASE_LOWER | = | 2 | ||
| INDIC_MAX | = | 7 | ||
| INDIC_PLAIN | = | 0 | ||
| INDIC_SQUIGGLE | = | 1 | ||
| INDIC_TT | = | 2 | ||
| INDIC_DIAGONAL | = | 3 | ||
| INDIC_STRIKE | = | 4 | ||
| INDIC0_MASK | = | 0x20 | ||
| INDIC1_MASK | = | 0x40 | ||
| INDIC2_MASK | = | 0x80 | ||
| INDICS_MASK | = | 0xE0 | ||
| SC_PRINT_NORMAL | = | 0 | PrintColourMode - use same colours as screen. | |
| SC_PRINT_INVERTLIGHT | = | 1 | PrintColourMode - invert the light value of each style for printing. | |
| SC_PRINT_BLACKONWHITE | = | 2 | PrintColourMode - force black text on white background for printing. | |
| SC_PRINT_COLOURONWHITE | = | 3 | PrintColourMode - text stays coloured, but all background is forced to be white for printing. | |
| SC_PRINT_COLOURONWHITEDEFAULTBG | = | 4 | PrintColourMode - only the default-background is forced to be white for printing. | |
| SCFIND_WHOLEWORD | = | 2 | ||
| SCFIND_MATCHCASE | = | 4 | ||
| SCFIND_WORDSTART | = | 0x00100000 | ||
| SCFIND_REGEXP | = | 0x00200000 | ||
| SC_FOLDLEVELBASE | = | 0x400 | ||
| SC_FOLDLEVELWHITEFLAG | = | 0x1000 | ||
| SC_FOLDLEVELHEADERFLAG | = | 0x2000 | ||
| SC_FOLDLEVELBOXHEADERFLAG | = | 0x4000 | ||
| SC_FOLDLEVELBOXFOOTERFLAG | = | 0x8000 | ||
| SC_FOLDLEVELCONTRACTED | = | 0x10000 | ||
| SC_FOLDLEVELUNINDENT | = | 0x20000 | ||
| SC_FOLDLEVELNUMBERMASK | = | 0x0FFF | ||
| SC_FOLDFLAG_LINEBEFORE_EXPANDED | = | 0x0002 | ||
| SC_FOLDFLAG_LINEBEFORE_CONTRACTED | = | 0x0004 | ||
| SC_FOLDFLAG_LINEAFTER_EXPANDED | = | 0x0008 | ||
| SC_FOLDFLAG_LINEAFTER_CONTRACTED | = | 0x0010 | ||
| SC_FOLDFLAG_LEVELNUMBERS | = | 0x0040 | ||
| SC_FOLDFLAG_BOX | = | 0x0001 | ||
| SC_TIME_FOREVER | = | 10000000 | ||
| SC_WRAP_NONE | = | 0 | ||
| SC_WRAP_WORD | = | 1 | ||
| SC_CACHE_NONE | = | 0 | ||
| SC_CACHE_CARET | = | 1 | ||
| SC_CACHE_PAGE | = | 2 | ||
| SC_CACHE_DOCUMENT | = | 3 | ||
| EDGE_NONE | = | 0 | ||
| EDGE_LINE | = | 1 | ||
| EDGE_BACKGROUND | = | 2 | ||
| SC_CURSORNORMAL | = | -1 | ||
| SC_CURSORWAIT | = | 4 | ||
| VISIBLE_SLOP | = | 0x01 | Constants for use with SetVisiblePolicy, similar to SetCaretPolicy. | |
| VISIBLE_STRICT | = | 0x04 | ||
| CARET_SLOP | = | 0x01 | Caret policy, used by SetXCaretPolicy and SetYCaretPolicy. If CARET_SLOP is set, we can define a slop value: caretSlop. This value defines an unwanted zone (UZ) where the caret is… unwanted. This zone is defined as a number of pixels near the vertical margins, and as a number of lines near the horizontal margins. By keeping the caret away from the edges, it is seen within its context, so it is likely that the identifier that the caret is on can be completely seen, and that the current line is seen with some of the lines following it which are often dependent on that line. | |
| CARET_STRICT | = | 0x04 | If CARET_STRICT is set, the policy is enforced… strictly. The caret is centred on the display if slop is not set, and cannot go in the UZ if slop is set. | |
| CARET_JUMPS | = | 0x10 | If CARET_JUMPS is set, the display is moved more energetically so the caret can move in the same direction longer before the policy is applied again. | |
| CARET_EVEN | = | 0x08 | If CARET_EVEN is not set, instead of having symmetrical UZs, the left and bottom UZs are extended up to right and top UZs respectively. This way, we favour the displaying of useful information: the begining of lines, where most code reside, and the lines after the caret, eg. the body of a function. | |
| SC_MOD_INSERTTEXT | = | 0x1 | Notifications Type of modification and the action which caused the modification. These are defined as a bit mask to make it easy to specify which notifications are wanted. One bit is set from each of SC_MOD_* and SC_PERFORMED_*. | |
| SC_MOD_DELETETEXT | = | 0x2 | ||
| SC_MOD_CHANGESTYLE | = | 0x4 | ||
| SC_MOD_CHANGEFOLD | = | 0x8 | ||
| SC_PERFORMED_USER | = | 0x10 | ||
| SC_PERFORMED_UNDO | = | 0x20 | ||
| SC_PERFORMED_REDO | = | 0x40 | ||
| SC_LASTSTEPINUNDOREDO | = | 0x100 | ||
| SC_MOD_CHANGEMARKER | = | 0x200 | ||
| SC_MOD_BEFOREINSERT | = | 0x400 | ||
| SC_MOD_BEFOREDELETE | = | 0x800 | ||
| SC_MODEVENTMASKALL | = | 0xF77 | ||
| SCEN_CHANGE | = | 768 | For compatibility, these go through the COMMAND notification rather than NOTIFY and should have had exactly the same values as the EN_* constants. Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_* As clients depend on these constants, this will not be changed. | |
| SCEN_SETFOCUS | = | 512 | ||
| SCEN_KILLFOCUS | = | 256 | ||
| SCK_DOWN | = | 300 | Symbolic key codes and modifier flags. ASCII and other printable characters below 256. Extended keys above 300. | |
| SCK_UP | = | 301 | ||
| SCK_LEFT | = | 302 | ||
| SCK_RIGHT | = | 303 | ||
| SCK_HOME | = | 304 | ||
| SCK_END | = | 305 | ||
| SCK_PRIOR | = | 306 | ||
| SCK_NEXT | = | 307 | ||
| SCK_DELETE | = | 308 | ||
| SCK_INSERT | = | 309 | ||
| SCK_ESCAPE | = | 7 | ||
| SCK_BACK | = | 8 | ||
| SCK_TAB | = | 9 | ||
| SCK_RETURN | = | 13 | ||
| SCK_ADD | = | 310 | ||
| SCK_SUBTRACT | = | 311 | ||
| SCK_DIVIDE | = | 312 | ||
| SCMOD_SHIFT | = | 1 | ||
| SCMOD_CTRL | = | 2 | ||
| SCMOD_ALT | = | 4 | ||
| SCLEX_CONTAINER | = | 0 | For SciLexer.h | |
| SCLEX_NULL | = | 1 | ||
| SCLEX_PYTHON | = | 2 | ||
| SCLEX_CPP | = | 3 | ||
| SCLEX_HTML | = | 4 | ||
| SCLEX_XML | = | 5 | ||
| SCLEX_PERL | = | 6 | ||
| SCLEX_SQL | = | 7 | ||
| SCLEX_VB | = | 8 | ||
| SCLEX_PROPERTIES | = | 9 | ||
| SCLEX_ERRORLIST | = | 10 | ||
| SCLEX_MAKEFILE | = | 11 | ||
| SCLEX_BATCH | = | 12 | ||
| SCLEX_XCODE | = | 13 | ||
| SCLEX_LATEX | = | 14 | ||
| SCLEX_LUA | = | 15 | ||
| SCLEX_DIFF | = | 16 | ||
| SCLEX_CONF | = | 17 | ||
| SCLEX_PASCAL | = | 18 | ||
| SCLEX_AVE | = | 19 | ||
| SCLEX_ADA | = | 20 | ||
| SCLEX_LISP | = | 21 | ||
| SCLEX_RUBY | = | 22 | ||
| SCLEX_EIFFEL | = | 23 | ||
| SCLEX_EIFFELKW | = | 24 | ||
| SCLEX_TCL | = | 25 | ||
| SCLEX_NNCRONTAB | = | 26 | ||
| SCLEX_BULLANT | = | 27 | ||
| SCLEX_VBSCRIPT | = | 28 | ||
| SCLEX_ASP | = | 29 | ||
| SCLEX_PHP | = | 30 | ||
| 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_AUTOMATIC | = | 1000 | When a lexer specifies its language as SCLEX_AUTOMATIC it receives a value assigned in sequence from SCLEX_AUTOMATIC+1. | |
| SCE_P_DEFAULT | = | 0 | Lexical states for SCLEX_PYTHON | |
| SCE_P_COMMENTLINE | = | 1 | ||
| SCE_P_NUMBER | = | 2 | ||
| SCE_P_STRING | = | 3 | ||
| SCE_P_CHARACTER | = | 4 | ||
| SCE_P_WORD | = | 5 | ||
| SCE_P_TRIPLE | = | 6 | ||
| SCE_P_TRIPLEDOUBLE | = | 7 | ||
| SCE_P_CLASSNAME | = | 8 | ||
| SCE_P_DEFNAME | = | 9 | ||
| SCE_P_OPERATOR | = | 10 | ||
| SCE_P_IDENTIFIER | = | 11 | ||
| SCE_P_COMMENTBLOCK | = | 12 | ||
| SCE_P_STRINGEOL | = | 13 | ||
| SCE_C_DEFAULT | = | 0 | Lexical states for SCLEX_CPP | |
| SCE_C_COMMENT | = | 1 | ||
| SCE_C_COMMENTLINE | = | 2 | ||
| SCE_C_COMMENTDOC | = | 3 | ||
| SCE_C_NUMBER | = | 4 | ||
| SCE_C_WORD | = | 5 | ||
| SCE_C_STRING | = | 6 | ||
| SCE_C_CHARACTER | = | 7 | ||
| SCE_C_UUID | = | 8 | ||
| SCE_C_PREPROCESSOR | = | 9 | ||
| SCE_C_OPERATOR | = | 10 | ||
| SCE_C_IDENTIFIER | = | 11 | ||
| SCE_C_STRINGEOL | = | 12 | ||
| SCE_C_VERBATIM | = | 13 | ||
| SCE_C_REGEX | = | 14 | ||
| SCE_C_COMMENTLINEDOC | = | 15 | ||
| SCE_C_WORD2 | = | 16 | ||
| SCE_C_COMMENTDOCKEYWORD | = | 17 | ||
| SCE_C_COMMENTDOCKEYWORDERROR | = | 18 | ||
| SCE_H_DEFAULT | = | 0 | Lexical states for SCLEX_HTML, SCLEX_XML | |
| SCE_H_TAG | = | 1 | ||
| SCE_H_TAGUNKNOWN | = | 2 | ||
| SCE_H_ATTRIBUTE | = | 3 | ||
| SCE_H_ATTRIBUTEUNKNOWN | = | 4 | ||
| SCE_H_NUMBER | = | 5 | ||
| SCE_H_DOUBLESTRING | = | 6 | ||
| SCE_H_SINGLESTRING | = | 7 | ||
| SCE_H_OTHER | = | 8 | ||
| SCE_H_COMMENT | = | 9 | ||
| SCE_H_ENTITY | = | 10 | ||
| SCE_H_TAGEND | = | 11 | XML and ASP | |
| SCE_H_XMLSTART | = | 12 | ||
| SCE_H_XMLEND | = | 13 | ||
| SCE_H_SCRIPT | = | 14 | ||
| SCE_H_ASP | = | 15 | ||
| SCE_H_ASPAT | = | 16 | ||
| SCE_H_CDATA | = | 17 | ||
| SCE_H_QUESTION | = | 18 | ||
| SCE_H_VALUE | = | 19 | More HTML | |
| SCE_H_XCCOMMENT | = | 20 | X-Code | |
| SCE_H_SGML_DEFAULT | = | 21 | SGML | |
| SCE_H_SGML_COMMAND | = | 22 | ||
| SCE_H_SGML_1ST_PARAM | = | 23 | ||
| SCE_H_SGML_DOUBLESTRING | = | 24 | ||
| SCE_H_SGML_SIMPLESTRING | = | 25 | ||
| SCE_H_SGML_ERROR | = | 26 | ||
| SCE_H_SGML_SPECIAL | = | 27 | ||
| SCE_H_SGML_ENTITY | = | 28 | ||
| SCE_H_SGML_COMMENT | = | 29 | ||
| SCE_H_SGML_1ST_PARAM_COMMENT | = | 30 | ||
| SCE_H_SGML_BLOCK_DEFAULT | = | 31 | ||
| SCE_HJ_START | = | 40 | Embedded Javascript | |
| SCE_HJ_DEFAULT | = | 41 | ||
| SCE_HJ_COMMENT | = | 42 | ||
| SCE_HJ_COMMENTLINE | = | 43 | ||
| SCE_HJ_COMMENTDOC | = | 44 | ||
| SCE_HJ_NUMBER | = | 45 | ||
| SCE_HJ_WORD | = | 46 | ||
| SCE_HJ_KEYWORD | = | 47 | ||
| SCE_HJ_DOUBLESTRING | = | 48 | ||
| SCE_HJ_SINGLESTRING | = | 49 | ||
| SCE_HJ_SYMBOLS | = | 50 | ||
| SCE_HJ_STRINGEOL | = | 51 | ||
| SCE_HJ_REGEX | = | 52 | ||
| SCE_HJA_START | = | 55 | ASP Javascript | |
| SCE_HJA_DEFAULT | = | 56 | ||
| SCE_HJA_COMMENT | = | 57 | ||
| SCE_HJA_COMMENTLINE | = | 58 | ||
| SCE_HJA_COMMENTDOC | = | 59 | ||
| SCE_HJA_NUMBER | = | 60 | ||
| SCE_HJA_WORD | = | 61 | ||
| SCE_HJA_KEYWORD | = | 62 | ||
| SCE_HJA_DOUBLESTRING | = | 63 | ||
| SCE_HJA_SINGLESTRING | = | 64 | ||
| SCE_HJA_SYMBOLS | = | 65 | ||
| SCE_HJA_STRINGEOL | = | 66 | ||
| SCE_HJA_REGEX | = | 67 | ||
| SCE_HB_START | = | 70 | Embedded VBScript | |
| SCE_HB_DEFAULT | = | 71 | ||
| SCE_HB_COMMENTLINE | = | 72 | ||
| SCE_HB_NUMBER | = | 73 | ||
| SCE_HB_WORD | = | 74 | ||
| SCE_HB_STRING | = | 75 | ||
| SCE_HB_IDENTIFIER | = | 76 | ||
| SCE_HB_STRINGEOL | = | 77 | ||
| SCE_HBA_START | = | 80 | ASP VBScript | |
| SCE_HBA_DEFAULT | = | 81 | ||
| SCE_HBA_COMMENTLINE | = | 82 | ||
| SCE_HBA_NUMBER | = | 83 | ||
| SCE_HBA_WORD | = | 84 | ||
| SCE_HBA_STRING | = | 85 | ||
| SCE_HBA_IDENTIFIER | = | 86 | ||
| SCE_HBA_STRINGEOL | = | 87 | ||
| SCE_HP_START | = | 90 | Embedded Python | |
| SCE_HP_DEFAULT | = | 91 | ||
| SCE_HP_COMMENTLINE | = | 92 | ||
| SCE_HP_NUMBER | = | 93 | ||
| SCE_HP_STRING | = | 94 | ||
| SCE_HP_CHARACTER | = | 95 | ||
| SCE_HP_WORD | = | 96 | ||
| SCE_HP_TRIPLE | = | 97 | ||
| SCE_HP_TRIPLEDOUBLE | = | 98 | ||
| SCE_HP_CLASSNAME | = | 99 | ||
| SCE_HP_DEFNAME | = | 100 | ||
| SCE_HP_OPERATOR | = | 101 | ||
| SCE_HP_IDENTIFIER | = | 102 | ||
| SCE_HPA_START | = | 105 | ASP Python | |
| SCE_HPA_DEFAULT | = | 106 | ||
| SCE_HPA_COMMENTLINE | = | 107 | ||
| SCE_HPA_NUMBER | = | 108 | ||
| SCE_HPA_STRING | = | 109 | ||
| SCE_HPA_CHARACTER | = | 110 | ||
| SCE_HPA_WORD | = | 111 | ||
| SCE_HPA_TRIPLE | = | 112 | ||
| SCE_HPA_TRIPLEDOUBLE | = | 113 | ||
| SCE_HPA_CLASSNAME | = | 114 | ||
| SCE_HPA_DEFNAME | = | 115 | ||
| SCE_HPA_OPERATOR | = | 116 | ||
| SCE_HPA_IDENTIFIER | = | 117 | ||
| SCE_HPHP_DEFAULT | = | 118 | PHP | |
| SCE_HPHP_HSTRING | = | 119 | ||
| SCE_HPHP_SIMPLESTRING | = | 120 | ||
| SCE_HPHP_WORD | = | 121 | ||
| SCE_HPHP_NUMBER | = | 122 | ||
| SCE_HPHP_VARIABLE | = | 123 | ||
| SCE_HPHP_COMMENT | = | 124 | ||
| SCE_HPHP_COMMENTLINE | = | 125 | ||
| SCE_HPHP_HSTRING_VARIABLE | = | 126 | ||
| SCE_HPHP_OPERATOR | = | 127 | ||
| SCE_PL_DEFAULT | = | 0 | Lexical states for SCLEX_PERL | |
| SCE_PL_ERROR | = | 1 | ||
| SCE_PL_COMMENTLINE | = | 2 | ||
| SCE_PL_POD | = | 3 | ||
| SCE_PL_NUMBER | = | 4 | ||
| SCE_PL_WORD | = | 5 | ||
| SCE_PL_STRING | = | 6 | ||
| SCE_PL_CHARACTER | = | 7 | ||
| SCE_PL_PUNCTUATION | = | 8 | ||
| SCE_PL_PREPROCESSOR | = | 9 | ||
| SCE_PL_OPERATOR | = | 10 | ||
| SCE_PL_IDENTIFIER | = | 11 | ||
| SCE_PL_SCALAR | = | 12 | ||
| SCE_PL_ARRAY | = | 13 | ||
| SCE_PL_HASH | = | 14 | ||
| SCE_PL_SYMBOLTABLE | = | 15 | ||
| SCE_PL_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_B_DEFAULT | = | 0 | Lexical states for SCLEX_VB, SCLEX_VBSCRIPT | |
| 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_PROPS_DEFAULT | = | 0 | Lexical states for SCLEX_PROPERTIES | |
| SCE_PROPS_COMMENT | = | 1 | ||
| SCE_PROPS_SECTION | = | 2 | ||
| SCE_PROPS_ASSIGNMENT | = | 3 | ||
| SCE_PROPS_DEFVAL | = | 4 | ||
| SCE_L_DEFAULT | = | 0 | Lexical states for SCLEX_LATEX | |
| SCE_L_COMMAND | = | 1 | ||
| SCE_L_TAG | = | 2 | ||
| SCE_L_MATH | = | 3 | ||
| SCE_L_COMMENT | = | 4 | ||
| SCE_LUA_DEFAULT | = | 0 | Lexical states for SCLEX_LUA | |
| SCE_LUA_COMMENT | = | 1 | ||
| SCE_LUA_COMMENTLINE | = | 2 | ||
| SCE_LUA_COMMENTDOC | = | 3 | ||
| SCE_LUA_NUMBER | = | 4 | ||
| SCE_LUA_WORD | = | 5 | ||
| SCE_LUA_STRING | = | 6 | ||
| SCE_LUA_CHARACTER | = | 7 | ||
| SCE_LUA_LITERALSTRING | = | 8 | ||
| SCE_LUA_PREPROCESSOR | = | 9 | ||
| SCE_LUA_OPERATOR | = | 10 | ||
| SCE_LUA_IDENTIFIER | = | 11 | ||
| SCE_LUA_STRINGEOL | = | 12 | ||
| SCE_LUA_WORD2 | = | 13 | ||
| SCE_LUA_WORD3 | = | 14 | ||
| SCE_LUA_WORD4 | = | 15 | ||
| SCE_LUA_WORD5 | = | 16 | ||
| SCE_LUA_WORD6 | = | 17 | ||
| SCE_ERR_DEFAULT | = | 0 | Lexical states for SCLEX_ERRORLIST | |
| SCE_ERR_PYTHON | = | 1 | ||
| SCE_ERR_GCC | = | 2 | ||
| SCE_ERR_MS | = | 3 | ||
| SCE_ERR_CMD | = | 4 | ||
| SCE_ERR_BORLAND | = | 5 | ||
| SCE_ERR_PERL | = | 6 | ||
| SCE_ERR_NET | = | 7 | ||
| SCE_ERR_LUA | = | 8 | ||
| SCE_ERR_CTAG | = | 9 | ||
| SCE_ERR_DIFF_CHANGED | = | 10 | ||
| SCE_ERR_DIFF_ADDITION | = | 11 | ||
| SCE_ERR_DIFF_DELETION | = | 12 | ||
| SCE_ERR_DIFF_MESSAGE | = | 13 | ||
| SCE_ERR_PHP | = | 14 | ||
| SCE_BAT_DEFAULT | = | 0 | Lexical states for SCLEX_BATCH | |
| SCE_BAT_COMMENT | = | 1 | ||
| SCE_BAT_WORD | = | 2 | ||
| SCE_BAT_LABEL | = | 3 | ||
| SCE_BAT_HIDE | = | 4 | ||
| SCE_BAT_COMMAND | = | 5 | ||
| SCE_BAT_IDENTIFIER | = | 6 | ||
| SCE_BAT_OPERATOR | = | 7 | ||
| SCE_MAKE_DEFAULT | = | 0 | Lexical states for SCLEX_MAKEFILE | |
| SCE_MAKE_COMMENT | = | 1 | ||
| SCE_MAKE_PREPROCESSOR | = | 2 | ||
| SCE_MAKE_IDENTIFIER | = | 3 | ||
| SCE_MAKE_OPERATOR | = | 4 | ||
| SCE_MAKE_TARGET | = | 5 | ||
| SCE_MAKE_IDEOL | = | 9 | ||
| SCE_DIFF_DEFAULT | = | 0 | Lexical states for SCLEX_DIFF | |
| SCE_DIFF_COMMENT | = | 1 | ||
| SCE_DIFF_COMMAND | = | 2 | ||
| SCE_DIFF_HEADER | = | 3 | ||
| SCE_DIFF_POSITION | = | 4 | ||
| SCE_DIFF_DELETED | = | 5 | ||
| SCE_DIFF_ADDED | = | 6 | ||
| SCE_CONF_DEFAULT | = | 0 | Lexical states for SCLEX_CONF (Apache Configuration Files Lexer) | |
| SCE_CONF_COMMENT | = | 1 | ||
| SCE_CONF_NUMBER | = | 2 | ||
| SCE_CONF_IDENTIFIER | = | 3 | ||
| SCE_CONF_EXTENSION | = | 4 | ||
| SCE_CONF_PARAMETER | = | 5 | ||
| SCE_CONF_STRING | = | 6 | ||
| SCE_CONF_OPERATOR | = | 7 | ||
| SCE_CONF_IP | = | 8 | ||
| SCE_CONF_DIRECTIVE | = | 9 | ||
| SCE_AVE_DEFAULT | = | 0 | Lexical states for SCLEX_AVE, Avenue | |
| SCE_AVE_COMMENT | = | 1 | ||
| SCE_AVE_NUMBER | = | 2 | ||
| SCE_AVE_WORD | = | 3 | ||
| SCE_AVE_STRING | = | 6 | ||
| SCE_AVE_ENUM | = | 7 | ||
| SCE_AVE_STRINGEOL | = | 8 | ||
| SCE_AVE_IDENTIFIER | = | 9 | ||
| SCE_AVE_OPERATOR | = | 10 | ||
| SCE_AVE_WORD1 | = | 11 | ||
| SCE_AVE_WORD2 | = | 12 | ||
| SCE_AVE_WORD3 | = | 13 | ||
| SCE_AVE_WORD4 | = | 14 | ||
| SCE_AVE_WORD5 | = | 15 | ||
| SCE_AVE_WORD6 | = | 16 | ||
| SCE_ADA_DEFAULT | = | 0 | Lexical states for SCLEX_ADA | |
| SCE_ADA_WORD | = | 1 | ||
| SCE_ADA_IDENTIFIER | = | 2 | ||
| SCE_ADA_NUMBER | = | 3 | ||
| SCE_ADA_DELIMITER | = | 4 | ||
| SCE_ADA_CHARACTER | = | 5 | ||
| SCE_ADA_CHARACTEREOL | = | 6 | ||
| SCE_ADA_STRING | = | 7 | ||
| SCE_ADA_STRINGEOL | = | 8 | ||
| SCE_ADA_LABEL | = | 9 | ||
| SCE_ADA_COMMENTLINE | = | 10 | ||
| SCE_ADA_ILLEGAL | = | 11 | ||
| SCE_BAAN_DEFAULT | = | 0 | Lexical states for SCLEX_BAAN | |
| SCE_BAAN_COMMENT | = | 1 | ||
| SCE_BAAN_COMMENTDOC | = | 2 | ||
| SCE_BAAN_NUMBER | = | 3 | ||
| SCE_BAAN_WORD | = | 4 | ||
| SCE_BAAN_STRING | = | 5 | ||
| SCE_BAAN_PREPROCESSOR | = | 6 | ||
| SCE_BAAN_OPERATOR | = | 7 | ||
| SCE_BAAN_IDENTIFIER | = | 8 | ||
| SCE_BAAN_STRINGEOL | = | 9 | ||
| SCE_BAAN_WORD2 | = | 10 | ||
| SCE_LISP_DEFAULT | = | 0 | Lexical states for SCLEX_LISP | |
| SCE_LISP_COMMENT | = | 1 | ||
| SCE_LISP_NUMBER | = | 2 | ||
| SCE_LISP_KEYWORD | = | 3 | ||
| SCE_LISP_STRING | = | 6 | ||
| SCE_LISP_STRINGEOL | = | 8 | ||
| SCE_LISP_IDENTIFIER | = | 9 | ||
| SCE_LISP_OPERATOR | = | 10 | ||
| SCE_EIFFEL_DEFAULT | = | 0 | Lexical states for SCLEX_EIFFEL and SCLEX_EIFFELKW | |
| SCE_EIFFEL_COMMENTLINE | = | 1 | ||
| SCE_EIFFEL_NUMBER | = | 2 | ||
| SCE_EIFFEL_WORD | = | 3 | ||
| SCE_EIFFEL_STRING | = | 4 | ||
| SCE_EIFFEL_CHARACTER | = | 5 | ||
| SCE_EIFFEL_OPERATOR | = | 6 | ||
| SCE_EIFFEL_IDENTIFIER | = | 7 | ||
| SCE_EIFFEL_STRINGEOL | = | 8 | ||
| SCE_NNCRONTAB_DEFAULT | = | 0 | Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer) | |
| SCE_NNCRONTAB_COMMENT | = | 1 | ||
| SCE_NNCRONTAB_TASK | = | 2 | ||
| SCE_NNCRONTAB_SECTION | = | 3 | ||
| SCE_NNCRONTAB_KEYWORD | = | 4 | ||
| SCE_NNCRONTAB_MODIFIER | = | 5 | ||
| SCE_NNCRONTAB_ASTERISK | = | 6 | ||
| SCE_NNCRONTAB_NUMBER | = | 7 | ||
| SCE_NNCRONTAB_STRING | = | 8 | ||
| SCE_NNCRONTAB_ENVIRONMENT | = | 9 | ||
| SCE_NNCRONTAB_IDENTIFIER | = | 10 | ||
| SCE_MATLAB_DEFAULT | = | 0 | Lexical states for SCLEX_MATLAB | |
| SCE_MATLAB_COMMENT | = | 1 | ||
| SCE_MATLAB_COMMAND | = | 2 | ||
| SCE_MATLAB_NUMBER | = | 3 | ||
| SCE_MATLAB_KEYWORD | = | 4 | ||
| SCE_MATLAB_STRING | = | 5 | ||
| SCE_MATLAB_OPERATOR | = | 6 | ||
| SCE_MATLAB_IDENTIFIER | = | 7 | ||
| SCE_SCRIPTOL_DEFAULT | = | 0 | Lexical states for SCLEX_SCRIPTOL | |
| SCE_SCRIPTOL_COMMENT | = | 1 | ||
| SCE_SCRIPTOL_COMMENTLINE | = | 2 | ||
| SCE_SCRIPTOL_COMMENTDOC | = | 3 | ||
| SCE_SCRIPTOL_NUMBER | = | 4 | ||
| SCE_SCRIPTOL_WORD | = | 5 | ||
| SCE_SCRIPTOL_STRING | = | 6 | ||
| SCE_SCRIPTOL_CHARACTER | = | 7 | ||
| SCE_SCRIPTOL_UUID | = | 8 | ||
| SCE_SCRIPTOL_PREPROCESSOR | = | 9 | ||
| SCE_SCRIPTOL_OPERATOR | = | 10 | ||
| SCE_SCRIPTOL_IDENTIFIER | = | 11 | ||
| SCE_SCRIPTOL_STRINGEOL | = | 12 | ||
| SCE_SCRIPTOL_VERBATIM | = | 13 | ||
| SCE_SCRIPTOL_REGEX | = | 14 | ||
| SCE_SCRIPTOL_COMMENTLINEDOC | = | 15 | ||
| SCE_SCRIPTOL_WORD2 | = | 16 | ||
| SCE_SCRIPTOL_COMMENTDOCKEYWORD | = | 17 | ||
| SCE_SCRIPTOL_COMMENTDOCKEYWORDERROR | = | 18 | ||
| SCE_SCRIPTOL_COMMENTBASIC | = | 19 | ||
| SCE_ASM_DEFAULT | = | 0 | Lexical states for SCLEX_ASM | |
| SCE_ASM_COMMENT | = | 1 | ||
| SCE_ASM_NUMBER | = | 2 | ||
| SCE_ASM_STRING | = | 3 | ||
| SCE_ASM_OPERATOR | = | 4 | ||
| SCE_ASM_IDENTIFIER | = | 5 | ||
| SCE_ASM_CPUINSTRUCTION | = | 6 | ||
| SCE_ASM_MATHINSTRUCTION | = | 7 | ||
| SCE_ASM_REGISTER | = | 8 | ||
| SCE_ASM_DIRECTIVE | = | 9 | ||
| SCE_ASM_DIRECTIVEOPERAND | = | 10 | ||
| SCE_F_DEFAULT | = | 0 | Lexical states for SCLEX_FORTRAN | |
| SCE_F_COMMENT | = | 1 | ||
| SCE_F_NUMBER | = | 2 | ||
| SCE_F_STRING1 | = | 3 | ||
| SCE_F_STRING2 | = | 4 | ||
| SCE_F_STRINGEOL | = | 5 | ||
| SCE_F_OPERATOR | = | 6 | ||
| SCE_F_IDENTIFIER | = | 7 | ||
| SCE_F_WORD | = | 8 | ||
| SCE_F_WORD2 | = | 9 | ||
| SCE_F_WORD3 | = | 10 | ||
| SCE_F_PREPROCESSOR | = | 11 | ||
| SCE_F_OPERATOR2 | = | 12 | ||
| SCE_F_LABEL | = | 13 | ||
| SCE_F_CONTINUATION | = | 14 | ||
| SCE_CSS_DEFAULT | = | 0 | Lexical states for SCLEX_CSS | |
| SCE_CSS_TAG | = | 1 | ||
| SCE_CSS_CLASS | = | 2 | ||
| SCE_CSS_PSEUDOCLASS | = | 3 | ||
| SCE_CSS_UNKNOWN_PSEUDOCLASS | = | 4 | ||
| SCE_CSS_OPERATOR | = | 5 | ||
| SCE_CSS_IDENTIFIER | = | 6 | ||
| SCE_CSS_UNKNOWN_IDENTIFIER | = | 7 | ||
| SCE_CSS_VALUE | = | 8 | ||
| SCE_CSS_COMMENT | = | 9 | ||
| SCE_CSS_ID | = | 10 | ||
| SCE_CSS_IMPORTANT | = | 11 | ||
| SCE_CSS_DIRECTIVE | = | 12 | ||
| SCN_STYLENEEDED | = | 2000 | Events | |
| SCN_CHARADDED | = | 2001 | ||
| SCN_SAVEPOINTREACHED | = | 2002 | ||
| SCN_SAVEPOINTLEFT | = | 2003 | ||
| SCN_MODIFYATTEMPTRO | = | 2004 | ||
| SCN_KEY | = | 2005 | GTK+ Specific to work around focus and accelerator problems: | |
| SCN_DOUBLECLICK | = | 2006 | ||
| SCN_UPDATEUI | = | 2007 | ||
| SCN_MODIFIED | = | 2008 | ||
| SCN_MACRORECORD | = | 2009 | ||
| SCN_MARGINCLICK | = | 2010 | ||
| SCN_NEEDSHOWN | = | 2011 | ||
| SCN_PAINTED | = | 2013 | ||
| SCN_USERLISTSELECTION | = | 2014 | ||
| SCN_URIDROPPED | = | 2015 | ||
| SCN_DWELLSTART | = | 2016 | ||
| SCN_DWELLEND | = | 2017 | ||
| SCN_ZOOM | = | 2018 | ||
| CARET_CENTER | = | 0x02 | ||
| CARET_XEVEN | = | 0x08 | ||
| CARET_XJUMPS | = | 0x10 | ||
| SCN_CHECKBRACE | = | 2007 | The old name for SCN_UPDATEUI | |
| SCN_POSCHANGED | = | 2012 |
Return an initialized FXScintilla instance.
Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.
Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.
Set whether or not autocompletion deletes any word characters after the inserted text upon completion.
Define a set of characters that when typed will cause the autocompletion to choose the selected item.
Change the separator character in the string setting up an auto-completion list. Default is space but can be changed if items contain space.
Change the type-separator character in the string setting up an auto-completion list. Default is ’?’ but can be changed if items contain ’?’.
Display a auto-completion list. The lenEntered parameter indicates how many characters before the caret should be used to provide context.
Delete the selection or if no selection, the character before the caret. Will not delete the character before at the start of a line.
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.
Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction.
Retrieve a buffer of cells. Returns the number of bytes in the buffer not including terminating nulls.
Replace the target text with the argument text. Text is counted so it can contain nulls. Returns the length of the replacement text.
Replace the target text with the argument text after \d processing. Text is counted so it can contain nulls. Looks for \d where d is between 1 and 9 and replaces these with the strings matched in the last search operation which were surrounded by \( and \). Returns the length of the replacement text including any change caused by processing the \d patterns.
Search for a counted string in the target and set the target to the found range. Text is counted so it can contain nulls. Returns length of range or -1 for failure in which case target is not moved.
Find some text starting at the search anchor and moving backwards. Does not ensure the selection is visible.
Send a message (iMsg) to the Scintilla control, with optional wParam and lParam values. Note that in most cases, it will be easier to use one of the convenience methods defined in the ‘scintilla’ library module.
Set the selection anchor to a position. The anchor is the opposite end of the selection from the caret.
If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker.
Set the code page used to interpret the bytes of the document as characters. The SC_CP_UTF8 value can be used to enter Unicode mode.
Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.
The edge may be displayed by a line (EDGE_LINE) or by highlighting text that goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).
Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default). Setting this to false allows scrolling one page below the last line.
Set the fold level of a line. This encodes an integer level along with flags indicating whether the line is a header and whether it is effectively white space.
Divide each styling byte into lexical class bits (default: 5) and indicator bits (default: 3). If a lexer requires more than 32 lexical states, then this is used to expand the possible states.
Change style from current styling position for length characters to a style and move the current styling position to after this newly styled segment.
Sets the position that ends the target which is used for updating the document without affecting the scroll position.
Sets the position that starts the target which is used for updating the document without affecting the scroll position.
In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground. This avoids chopping off characters that overlap the next run.
In palette mode, Scintilla uses the environment’s palette calls to display more colours. This may lead to ugly displays.
Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.
Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.
Set the zoom level. This number of points is added to the size of all fonts. It may be positive to magnify or negative to reduce.
Set the current styling position to pos and the styling mask to mask. The styling mask can be used to protect some bits in each styling byte from modification.
If selection is empty or all on one line replace the selection with a tab character. If more than one line selected, indent the lines.
Measure the pixel width of some text in a particular style. Nul terminated text argument. Does not handle tab or control characters.
Move caret to before first visible character on line. If already there move to first character on line.