'// Scintilla source code edit control v. 3.5.4
'/** @file Scintilla.h
' ** Interface to the edit control.
' **/
'// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
'// The License.txt file describes the conditions under which this software may be distributed.
'// Most of this file is automatically generated from the Scintilla.iface interface definition
'// file which contains any comments about the definitions. HFacer.py does the generation.
#IF NOT %DEF(PBX_Scintilla_PBI)
#DEFINE PBX_Scintilla_PBI
%EQUATE `SCINTILLA_INC = 1
#INCLUDE ONCE "Core/Windows.inc"
#INCLUDE ONCE "Legacy/System/SciLexer.inc"
'#if defined(_WIN32)
'/* Return false on failure: */
'int Scintilla_RegisterClasses(void *hInstance);
'int Scintilla_ReleaseResources(void);
'#endif
'int Scintilla_LinkLexers(void);
'#ifdef __cplusplus
'}
'#endif
'/* Here should be placed typedefs for uptr_t, an unsigned integer type large enough to
' * hold a pointer and sptr_t, a signed integer large enough to hold a pointer.
' * May need to be changed for 64 bit platforms. */
'#if defined(_WIN32)
'#include <basetsd.h>
'#endif
'#ifdef MAXULONG_PTR
'typedef ULONG_PTR uptr_t;
'typedef LONG_PTR sptr_t;
'#else
'typedef unsigned long uptr_t;
'typedef long sptr_t;
'#endif
'typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam);
' ========================================================================================
' Declaration of the only function exported by SciLexer.dll.
' All the comunication with the control is done sending messages.
' Note: Since no function is provided to register the classes, the only way is to load the
' library with LoadLibrary (the attach process automatically register the classes) and free
' it with FreeLibrary (the detach process unregisters the classes).
' ========================================================================================
DECLARE FUNCTION Scintilla_DirectFunction LIB "scilexer.dll" ALIAS "Scintilla_DirectFunction" ( BYVAL ptr AS QUAD , BYVAL iMessage AS QUAD , BYVAL wParam AS QUAD , BYVAL lParam AS LONG ) AS LONG ' sptr_t
' Alias name for easier use.
DECLARE FUNCTION SciMsg LIB "scilexer.dll" ALIAS "Scintilla_DirectFunction" ( BYVAL ptr AS QUAD , BYVAL iMessage AS QUAD , BYVAL wParam AS QUAD , BYVAL lParam AS LONG ) AS LONG ' sptr_t
'//++Autogenerated -- start of section automatically generated from Scintilla.iface
%EQUATE `INVALID_POSITION = -1
%EQUATE `SCI_START = 2000
%EQUATE `SCI_OPTIONAL_START = 3000
%EQUATE `SCI_LEXER_START = 4000
%EQUATE `SCI_ADDTEXT = 2001
%EQUATE `SCI_ADDSTYLEDTEXT = 2002
%EQUATE `SCI_INSERTTEXT = 2003
%EQUATE `SCI_CHANGEINSERTION = 2672
%EQUATE `SCI_CLEARALL = 2004
%EQUATE `SCI_DELETERANGE = 2645
%EQUATE `SCI_CLEARDOCUMENTSTYLE = 2005
%EQUATE `SCI_GETLENGTH = 2006
%EQUATE `SCI_GETCHARAT = 2007
%EQUATE `SCI_GETCURRENTPOS = 2008
%EQUATE `SCI_GETANCHOR = 2009
%EQUATE `SCI_GETSTYLEAT = 2010
%EQUATE `SCI_REDO = 2011
%EQUATE `SCI_SETUNDOCOLLECTION = 2012
%EQUATE `SCI_SELECTALL = 2013
%EQUATE `SCI_SETSAVEPOINT = 2014
%EQUATE `SCI_GETSTYLEDTEXT = 2015
%EQUATE `SCI_CANREDO = 2016
%EQUATE `SCI_MARKERLINEFROMHANDLE = 2017
%EQUATE `SCI_MARKERDELETEHANDLE = 2018
%EQUATE `SCI_GETUNDOCOLLECTION = 2019
%EQUATE `SCWS_INVISIBLE = 0
%EQUATE `SCWS_VISIBLEALWAYS = 1
%EQUATE `SCWS_VISIBLEAFTERINDENT = 2
%EQUATE `SCI_GETVIEWWS = 2020
%EQUATE `SCI_SETVIEWWS = 2021
%EQUATE `SCI_POSITIONFROMPOINT = 2022
%EQUATE `SCI_POSITIONFROMPOINTCLOSE = 2023
%EQUATE `SCI_GOTOLINE = 2024
%EQUATE `SCI_GOTOPOS = 2025
%EQUATE `SCI_SETANCHOR = 2026
%EQUATE `SCI_GETCURLINE = 2027
%EQUATE `SCI_GETENDSTYLED = 2028
%EQUATE `SC_EOL_CRLF = 0
%EQUATE `SC_EOL_CR = 1
%EQUATE `SC_EOL_LF = 2
%EQUATE `SCI_CONVERTEOLS = 2029
%EQUATE `SCI_GETEOLMODE = 2030
%EQUATE `SCI_SETEOLMODE = 2031
%EQUATE `SCI_STARTSTYLING = 2032
%EQUATE `SCI_SETSTYLING = 2033
%EQUATE `SCI_GETBUFFEREDDRAW = 2034
%EQUATE `SCI_SETBUFFEREDDRAW = 2035
%EQUATE `SCI_SETTABWIDTH = 2036
%EQUATE `SCI_GETTABWIDTH = 2121
%EQUATE `SCI_CLEARTABSTOPS = 2675
%EQUATE `SCI_ADDTABSTOP = 2676
%EQUATE `SCI_GETNEXTTABSTOP = 2677
%EQUATE `SC_CP_UTF8 = 65001
%EQUATE `SCI_SETCODEPAGE = 2037
%EQUATE `SC_IME_WINDOWED = 0
%EQUATE `SC_IME_INLINE = 1
%EQUATE `SCI_GETIMEINTERACTION = 2678
%EQUATE `SCI_SETIMEINTERACTION = 2679
%EQUATE `MARKER_MAX = 31
%EQUATE `SC_MARK_CIRCLE = 0
%EQUATE `SC_MARK_ROUNDRECT = 1
%EQUATE `SC_MARK_ARROW = 2
%EQUATE `SC_MARK_SMALLRECT = 3
%EQUATE `SC_MARK_SHORTARROW = 4
%EQUATE `SC_MARK_EMPTY = 5
%EQUATE `SC_MARK_ARROWDOWN = 6
%EQUATE `SC_MARK_MINUS = 7
%EQUATE `SC_MARK_PLUS = 8
%EQUATE `SC_MARK_VLINE = 9
%EQUATE `SC_MARK_LCORNER = 10
%EQUATE `SC_MARK_TCORNER = 11
%EQUATE `SC_MARK_BOXPLUS = 12
%EQUATE `SC_MARK_BOXPLUSCONNECTED = 13
%EQUATE `SC_MARK_BOXMINUS = 14
%EQUATE `SC_MARK_BOXMINUSCONNECTED = 15
%EQUATE `SC_MARK_LCORNERCURVE = 16
%EQUATE `SC_MARK_TCORNERCURVE = 17
%EQUATE `SC_MARK_CIRCLEPLUS = 18
%EQUATE `SC_MARK_CIRCLEPLUSCONNECTED = 19
%EQUATE `SC_MARK_CIRCLEMINUS = 20
%EQUATE `SC_MARK_CIRCLEMINUSCONNECTED = 21
%EQUATE `SC_MARK_BACKGROUND = 22
%EQUATE `SC_MARK_DOTDOTDOT = 23
%EQUATE `SC_MARK_ARROWS = 24
%EQUATE `SC_MARK_PIXMAP = 25
%EQUATE `SC_MARK_FULLRECT = 26
%EQUATE `SC_MARK_LEFTRECT = 27
%EQUATE `SC_MARK_AVAILABLE = 28
%EQUATE `SC_MARK_UNDERLINE = 29
%EQUATE `SC_MARK_RGBAIMAGE = 30
%EQUATE `SC_MARK_BOOKMARK = 31
%EQUATE `SC_MARK_CHARACTER = 10000
%EQUATE `SC_MARKNUM_FOLDEREND = 25
%EQUATE `SC_MARKNUM_FOLDEROPENMID = 26
%EQUATE `SC_MARKNUM_FOLDERMIDTAIL = 27
%EQUATE `SC_MARKNUM_FOLDERTAIL = 28
%EQUATE `SC_MARKNUM_FOLDERSUB = 29
%EQUATE `SC_MARKNUM_FOLDER = 30
%EQUATE `SC_MARKNUM_FOLDEROPEN = 31
%EQUATE `SC_MASK_FOLDERS = &HFE000000
%EQUATE `SCI_MARKERDEFINE = 2040
%EQUATE `SCI_MARKERSETFORE = 2041
%EQUATE `SCI_MARKERSETBACK = 2042
%EQUATE `SCI_MARKERSETBACKSELECTED = 2292
%EQUATE `SCI_MARKERENABLEHIGHLIGHT = 2293
%EQUATE `SCI_MARKERADD = 2043
%EQUATE `SCI_MARKERDELETE = 2044
%EQUATE `SCI_MARKERDELETEALL = 2045
%EQUATE `SCI_MARKERGET = 2046
%EQUATE `SCI_MARKERNEXT = 2047
%EQUATE `SCI_MARKERPREVIOUS = 2048
%EQUATE `SCI_MARKERDEFINEPIXMAP = 2049
%EQUATE `SCI_MARKERADDSET = 2466
%EQUATE `SCI_MARKERSETALPHA = 2476
%EQUATE `SC_MAX_MARGIN = 4
%EQUATE `SC_MARGIN_SYMBOL = 0
%EQUATE `SC_MARGIN_NUMBER = 1
%EQUATE `SC_MARGIN_BACK = 2
%EQUATE `SC_MARGIN_FORE = 3
%EQUATE `SC_MARGIN_TEXT = 4
%EQUATE `SC_MARGIN_RTEXT = 5
%EQUATE `SCI_SETMARGINTYPEN = 2240
%EQUATE `SCI_GETMARGINTYPEN = 2241
%EQUATE `SCI_SETMARGINWIDTHN = 2242
%EQUATE `SCI_GETMARGINWIDTHN = 2243
%EQUATE `SCI_SETMARGINMASKN = 2244
%EQUATE `SCI_GETMARGINMASKN = 2245
%EQUATE `SCI_SETMARGINSENSITIVEN = 2246
%EQUATE `SCI_GETMARGINSENSITIVEN = 2247
%EQUATE `SCI_SETMARGINCURSORN = 2248
%EQUATE `SCI_GETMARGINCURSORN = 2249
%EQUATE `STYLE_DEFAULT = 32
%EQUATE `STYLE_LINENUMBER = 33
%EQUATE `STYLE_BRACELIGHT = 34
%EQUATE `STYLE_BRACEBAD = 35
%EQUATE `STYLE_CONTROLCHAR = 36
%EQUATE `STYLE_INDENTGUIDE = 37
%EQUATE `STYLE_CALLTIP = 38
%EQUATE `STYLE_LASTPREDEFINED = 39
%EQUATE `STYLE_MAX = 255
%EQUATE `SC_CHARSET_ANSI = 0
%EQUATE `SC_CHARSET_DEFAULT = 1
%EQUATE `SC_CHARSET_BALTIC = 186
%EQUATE `SC_CHARSET_CHINESEBIG5 = 136
%EQUATE `SC_CHARSET_EASTEUROPE = 238
%EQUATE `SC_CHARSET_GB2312 = 134
%EQUATE `SC_CHARSET_GREEK = 161
%EQUATE `SC_CHARSET_HANGUL = 129
%EQUATE `SC_CHARSET_MAC = 77
%EQUATE `SC_CHARSET_OEM = 255
%EQUATE `SC_CHARSET_RUSSIAN = 204
%EQUATE `SC_CHARSET_CYRILLIC = 1251
%EQUATE `SC_CHARSET_SHIFTJIS = 128
%EQUATE `SC_CHARSET_SYMBOL = 2
%EQUATE `SC_CHARSET_TURKISH = 162
%EQUATE `SC_CHARSET_JOHAB = 130
%EQUATE `SC_CHARSET_HEBREW = 177
%EQUATE `SC_CHARSET_ARABIC = 178
%EQUATE `SC_CHARSET_VIETNAMESE = 163
%EQUATE `SC_CHARSET_THAI = 222
%EQUATE `SC_CHARSET_8859_15 = 1000
%EQUATE `SCI_STYLECLEARALL = 2050
%EQUATE `SCI_STYLESETFORE = 2051
%EQUATE `SCI_STYLESETBACK = 2052
%EQUATE `SCI_STYLESETBOLD = 2053
%EQUATE `SCI_STYLESETITALIC = 2054
%EQUATE `SCI_STYLESETSIZE = 2055
%EQUATE `SCI_STYLESETFONT = 2056
%EQUATE `SCI_STYLESETEOLFILLED = 2057
%EQUATE `SCI_STYLERESETDEFAULT = 2058
%EQUATE `SCI_STYLESETUNDERLINE = 2059
%EQUATE `SC_CASE_MIXED = 0
%EQUATE `SC_CASE_UPPER = 1
%EQUATE `SC_CASE_LOWER = 2
%EQUATE `SCI_STYLEGETFORE = 2481
%EQUATE `SCI_STYLEGETBACK = 2482
%EQUATE `SCI_STYLEGETBOLD = 2483
%EQUATE `SCI_STYLEGETITALIC = 2484
%EQUATE `SCI_STYLEGETSIZE = 2485
%EQUATE `SCI_STYLEGETFONT = 2486
%EQUATE `SCI_STYLEGETEOLFILLED = 2487
%EQUATE `SCI_STYLEGETUNDERLINE = 2488
%EQUATE `SCI_STYLEGETCASE = 2489
%EQUATE `SCI_STYLEGETCHARACTERSET = 2490
%EQUATE `SCI_STYLEGETVISIBLE = 2491
%EQUATE `SCI_STYLEGETCHANGEABLE = 2492
%EQUATE `SCI_STYLEGETHOTSPOT = 2493
%EQUATE `SCI_STYLESETCASE = 2060
%EQUATE `SC_FONT_SIZE_MULTIPLIER = 100
%EQUATE `SCI_STYLESETSIZEFRACTIONAL = 2061
%EQUATE `SCI_STYLEGETSIZEFRACTIONAL = 2062
%EQUATE `SC_WEIGHT_NORMAL = 400
%EQUATE `SC_WEIGHT_SEMIBOLD = 600
%EQUATE `SC_WEIGHT_BOLD = 700
%EQUATE `SCI_STYLESETWEIGHT = 2063
%EQUATE `SCI_STYLEGETWEIGHT = 2064
%EQUATE `SCI_STYLESETCHARACTERSET = 2066
%EQUATE `SCI_STYLESETHOTSPOT = 2409
%EQUATE `SCI_SETSELFORE = 2067
%EQUATE `SCI_SETSELBACK = 2068
%EQUATE `SCI_GETSELALPHA = 2477
%EQUATE `SCI_SETSELALPHA = 2478
%EQUATE `SCI_GETSELEOLFILLED = 2479
%EQUATE `SCI_SETSELEOLFILLED = 2480
%EQUATE `SCI_SETCARETFORE = 2069
%EQUATE `SCI_ASSIGNCMDKEY = 2070
%EQUATE `SCI_CLEARCMDKEY = 2071
%EQUATE `SCI_CLEARALLCMDKEYS = 2072
%EQUATE `SCI_SETSTYLINGEX = 2073
%EQUATE `SCI_STYLESETVISIBLE = 2074
%EQUATE `SCI_GETCARETPERIOD = 2075
%EQUATE `SCI_SETCARETPERIOD = 2076
%EQUATE `SCI_SETWORDCHARS = 2077
%EQUATE `SCI_GETWORDCHARS = 2646
%EQUATE `SCI_BEGINUNDOACTION = 2078
%EQUATE `SCI_ENDUNDOACTION = 2079
%EQUATE `INDIC_PLAIN = 0
%EQUATE `INDIC_SQUIGGLE = 1
%EQUATE `INDIC_TT = 2
%EQUATE `INDIC_DIAGONAL = 3
%EQUATE `INDIC_STRIKE = 4
%EQUATE `INDIC_HIDDEN = 5
%EQUATE `INDIC_BOX = 6
%EQUATE `INDIC_ROUNDBOX = 7
%EQUATE `INDIC_STRAIGHTBOX = 8
%EQUATE `INDIC_DASH = 9
%EQUATE `INDIC_DOTS = 10
%EQUATE `INDIC_SQUIGGLELOW = 11
%EQUATE `INDIC_DOTBOX = 12
%EQUATE `INDIC_SQUIGGLEPIXMAP = 13
%EQUATE `INDIC_COMPOSITIONTHICK = 14
%EQUATE `INDIC_COMPOSITIONTHIN = 15
%EQUATE `INDIC_FULLBOX = 16
%EQUATE `INDIC_TEXTFORE = 17
%EQUATE `INDIC_IME = 32
%EQUATE `INDIC_IME_MAX = 35
%EQUATE `INDIC_MAX = 35
%EQUATE `INDIC_CONTAINER = 8
%EQUATE `INDIC0_MASK = &H20
%EQUATE `INDIC1_MASK = &H40
%EQUATE `INDIC2_MASK = &H80
%EQUATE `INDICS_MASK = &HE0
%EQUATE `SCI_INDICSETSTYLE = 2080
%EQUATE `SCI_INDICGETSTYLE = 2081
%EQUATE `SCI_INDICSETFORE = 2082
%EQUATE `SCI_INDICGETFORE = 2083
%EQUATE `SCI_INDICSETUNDER = 2510
%EQUATE `SCI_INDICGETUNDER = 2511
%EQUATE `SCI_INDICSETHOVERSTYLE = 2680
%EQUATE `SCI_INDICGETHOVERSTYLE = 2681
%EQUATE `SCI_INDICSETHOVERFORE = 2682
%EQUATE `SCI_INDICGETHOVERFORE = 2683
%EQUATE `SC_INDICVALUEBIT = &H1000000
%EQUATE `SC_INDICVALUEMASK = &HFFFFFF
%EQUATE `SC_INDICFLAG_VALUEFORE = 1
%EQUATE `SCI_INDICSETFLAGS = 2684
%EQUATE `SCI_INDICGETFLAGS = 2685
%EQUATE `SCI_SETWHITESPACEFORE = 2084
%EQUATE `SCI_SETWHITESPACEBACK = 2085
%EQUATE `SCI_SETWHITESPACESIZE = 2086
%EQUATE `SCI_GETWHITESPACESIZE = 2087
%EQUATE `SCI_SETSTYLEBITS = 2090
%EQUATE `SCI_GETSTYLEBITS = 2091
%EQUATE `SCI_SETLINESTATE = 2092
%EQUATE `SCI_GETLINESTATE = 2093
%EQUATE `SCI_GETMAXLINESTATE = 2094
%EQUATE `SCI_GETCARETLINEVISIBLE = 2095
%EQUATE `SCI_SETCARETLINEVISIBLE = 2096
%EQUATE `SCI_GETCARETLINEBACK = 2097
%EQUATE `SCI_SETCARETLINEBACK = 2098
%EQUATE `SCI_STYLESETCHANGEABLE = 2099
%EQUATE `SCI_AUTOCSHOW = 2100
%EQUATE `SCI_AUTOCCANCEL = 2101
%EQUATE `SCI_AUTOCACTIVE = 2102
%EQUATE `SCI_AUTOCPOSSTART = 2103
%EQUATE `SCI_AUTOCCOMPLETE = 2104
%EQUATE `SCI_AUTOCSTOPS = 2105
%EQUATE `SCI_AUTOCSETSEPARATOR = 2106
%EQUATE `SCI_AUTOCGETSEPARATOR = 2107
%EQUATE `SCI_AUTOCSELECT = 2108
%EQUATE `SCI_AUTOCSETCANCELATSTART = 2110
%EQUATE `SCI_AUTOCGETCANCELATSTART = 2111
%EQUATE `SCI_AUTOCSETFILLUPS = 2112
%EQUATE `SCI_AUTOCSETCHOOSESINGLE = 2113
%EQUATE `SCI_AUTOCGETCHOOSESINGLE = 2114
%EQUATE `SCI_AUTOCSETIGNORECASE = 2115
%EQUATE `SCI_AUTOCGETIGNORECASE = 2116
%EQUATE `SCI_USERLISTSHOW = 2117
%EQUATE `SCI_AUTOCSETAUTOHIDE = 2118
%EQUATE `SCI_AUTOCGETAUTOHIDE = 2119
%EQUATE `SCI_AUTOCSETDROPRESTOFWORD = 2270
%EQUATE `SCI_AUTOCGETDROPRESTOFWORD = 2271
%EQUATE `SCI_REGISTERIMAGE = 2405
%EQUATE `SCI_CLEARREGISTEREDIMAGES = 2408
%EQUATE `SCI_AUTOCGETTYPESEPARATOR = 2285
%EQUATE `SCI_AUTOCSETTYPESEPARATOR = 2286
%EQUATE `SCI_AUTOCSETMAXWIDTH = 2208
%EQUATE `SCI_AUTOCGETMAXWIDTH = 2209
%EQUATE `SCI_AUTOCSETMAXHEIGHT = 2210
%EQUATE `SCI_AUTOCGETMAXHEIGHT = 2211
%EQUATE `SCI_SETINDENT = 2122
%EQUATE `SCI_GETINDENT = 2123
%EQUATE `SCI_SETUSETABS = 2124
%EQUATE `SCI_GETUSETABS = 2125
%EQUATE `SCI_SETLINEINDENTATION = 2126
%EQUATE `SCI_GETLINEINDENTATION = 2127
%EQUATE `SCI_GETLINEINDENTPOSITION = 2128
%EQUATE `SCI_GETCOLUMN = 2129
%EQUATE `SCI_COUNTCHARACTERS = 2633
%EQUATE `SCI_SETHSCROLLBAR = 2130
%EQUATE `SCI_GETHSCROLLBAR = 2131
%EQUATE `SC_IV_NONE = 0
%EQUATE `SC_IV_REAL = 1
%EQUATE `SC_IV_LOOKFORWARD = 2
%EQUATE `SC_IV_LOOKBOTH = 3
%EQUATE `SCI_SETINDENTATIONGUIDES = 2132
%EQUATE `SCI_GETINDENTATIONGUIDES = 2133
%EQUATE `SCI_SETHIGHLIGHTGUIDE = 2134
%EQUATE `SCI_GETHIGHLIGHTGUIDE = 2135
%EQUATE `SCI_GETLINEENDPOSITION = 2136
%EQUATE `SCI_GETCODEPAGE = 2137
%EQUATE `SCI_GETCARETFORE = 2138
%EQUATE `SCI_GETREADONLY = 2140
%EQUATE `SCI_SETCURRENTPOS = 2141
%EQUATE `SCI_SETSELECTIONSTART = 2142
%EQUATE `SCI_GETSELECTIONSTART = 2143
%EQUATE `SCI_SETSELECTIONEND = 2144
%EQUATE `SCI_GETSELECTIONEND = 2145
%EQUATE `SCI_SETEMPTYSELECTION = 2556
%EQUATE `SCI_SETPRINTMAGNIFICATION = 2146
%EQUATE `SCI_GETPRINTMAGNIFICATION = 2147
%EQUATE `SC_PRINT_NORMAL = 0
%EQUATE `SC_PRINT_INVERTLIGHT = 1
%EQUATE `SC_PRINT_BLACKONWHITE = 2
%EQUATE `SC_PRINT_COLOURONWHITE = 3
%EQUATE `SC_PRINT_COLOURONWHITEDEFAULTBG = 4
%EQUATE `SCI_SETPRINTCOLOURMODE = 2148
%EQUATE `SCI_GETPRINTCOLOURMODE = 2149
%EQUATE `SCFIND_WHOLEWORD = &H2
%EQUATE `SCFIND_MATCHCASE = &H4
%EQUATE `SCFIND_WORDSTART = &H00100000
%EQUATE `SCFIND_REGEXP = &H00200000
%EQUATE `SCFIND_POSIX = &H00400000
%EQUATE `SCFIND_CXX11REGEX = &H00800000
%EQUATE `SCI_FINDTEXT = 2150
%EQUATE `SCI_FORMATRANGE = 2151
%EQUATE `SCI_GETFIRSTVISIBLELINE = 2152
%EQUATE `SCI_GETLINE = 2153
%EQUATE `SCI_GETLINECOUNT = 2154
%EQUATE `SCI_SETMARGINLEFT = 2155
%EQUATE `SCI_GETMARGINLEFT = 2156
%EQUATE `SCI_SETMARGINRIGHT = 2157
%EQUATE `SCI_GETMARGINRIGHT = 2158
%EQUATE `SCI_GETMODIFY = 2159
%EQUATE `SCI_SETSEL = 2160
%EQUATE `SCI_GETSELTEXT = 2161
%EQUATE `SCI_GETTEXTRANGE = 2162
%EQUATE `SCI_HIDESELECTION = 2163
%EQUATE `SCI_POINTXFROMPOSITION = 2164
%EQUATE `SCI_POINTYFROMPOSITION = 2165
%EQUATE `SCI_LINEFROMPOSITION = 2166
%EQUATE `SCI_POSITIONFROMLINE = 2167
%EQUATE `SCI_LINESCROLL = 2168
%EQUATE `SCI_SCROLLCARET = 2169
%EQUATE `SCI_SCROLLRANGE = 2569
%EQUATE `SCI_REPLACESEL = 2170
%EQUATE `SCI_SETREADONLY = 2171
%EQUATE `SCI_NULL = 2172
%EQUATE `SCI_CANPASTE = 2173
%EQUATE `SCI_CANUNDO = 2174
%EQUATE `SCI_EMPTYUNDOBUFFER = 2175
%EQUATE `SCI_UNDO = 2176
%EQUATE `SCI_CUT = 2177
%EQUATE `SCI_COPY = 2178
%EQUATE `SCI_PASTE = 2179
%EQUATE `SCI_CLEAR = 2180
%EQUATE `SCI_SETTEXT = 2181
%EQUATE `SCI_GETTEXT = 2182
%EQUATE `SCI_GETTEXTLENGTH = 2183
%EQUATE `SCI_GETDIRECTFUNCTION = 2184
%EQUATE `SCI_GETDIRECTPOINTER = 2185
%EQUATE `SCI_SETOVERTYPE = 2186
%EQUATE `SCI_GETOVERTYPE = 2187
%EQUATE `SCI_SETCARETWIDTH = 2188
%EQUATE `SCI_GETCARETWIDTH = 2189
%EQUATE `SCI_SETTARGETSTART = 2190
%EQUATE `SCI_GETTARGETSTART = 2191
%EQUATE `SCI_SETTARGETEND = 2192
%EQUATE `SCI_GETTARGETEND = 2193
%EQUATE `SCI_SETTARGETRANGE = 2686
%EQUATE `SCI_GETTARGETTEXT = 2687
%EQUATE `SCI_REPLACETARGET = 2194
%EQUATE `SCI_REPLACETARGETRE = 2195
%EQUATE `SCI_SEARCHINTARGET = 2197
%EQUATE `SCI_SETSEARCHFLAGS = 2198
%EQUATE `SCI_GETSEARCHFLAGS = 2199
%EQUATE `SCI_CALLTIPSHOW = 2200
%EQUATE `SCI_CALLTIPCANCEL = 2201
%EQUATE `SCI_CALLTIPACTIVE = 2202
%EQUATE `SCI_CALLTIPPOSSTART = 2203
%EQUATE `SCI_CALLTIPSETPOSSTART = 2214
%EQUATE `SCI_CALLTIPSETHLT = 2204
%EQUATE `SCI_CALLTIPSETBACK = 2205
%EQUATE `SCI_CALLTIPSETFORE = 2206
%EQUATE `SCI_CALLTIPSETFOREHLT = 2207
%EQUATE `SCI_CALLTIPUSESTYLE = 2212
%EQUATE `SCI_CALLTIPSETPOSITION = 2213
%EQUATE `SCI_VISIBLEFROMDOCLINE = 2220
%EQUATE `SCI_DOCLINEFROMVISIBLE = 2221
%EQUATE `SCI_WRAPCOUNT = 2235
%EQUATE `SC_FOLDLEVELBASE = &H400
%EQUATE `SC_FOLDLEVELWHITEFLAG = &H1000
%EQUATE `SC_FOLDLEVELHEADERFLAG = &H2000
%EQUATE `SC_FOLDLEVELNUMBERMASK = &H0FFF
%EQUATE `SCI_SETFOLDLEVEL = 2222
%EQUATE `SCI_GETFOLDLEVEL = 2223
%EQUATE `SCI_GETLASTCHILD = 2224
%EQUATE `SCI_GETFOLDPARENT = 2225
%EQUATE `SCI_SHOWLINES = 2226
%EQUATE `SCI_HIDELINES = 2227
%EQUATE `SCI_GETLINEVISIBLE = 2228
%EQUATE `SCI_GETALLLINESVISIBLE = 2236
%EQUATE `SCI_SETFOLDEXPANDED = 2229
%EQUATE `SCI_GETFOLDEXPANDED = 2230
%EQUATE `SCI_TOGGLEFOLD = 2231
%EQUATE `SC_FOLDACTION_CONTRACT = 0
%EQUATE `SC_FOLDACTION_EXPAND = 1
%EQUATE `SC_FOLDACTION_TOGGLE = 2
%EQUATE `SCI_FOLDLINE = 2237
%EQUATE `SCI_FOLDCHILDREN = 2238
%EQUATE `SCI_EXPANDCHILDREN = 2239
%EQUATE `SCI_FOLDALL = 2662
%EQUATE `SCI_ENSUREVISIBLE = 2232
%EQUATE `SC_AUTOMATICFOLD_SHOW = &H0001
%EQUATE `SC_AUTOMATICFOLD_CLICK = &H0002
%EQUATE `SC_AUTOMATICFOLD_CHANGE = &H0004
%EQUATE `SCI_SETAUTOMATICFOLD = 2663
%EQUATE `SCI_GETAUTOMATICFOLD = 2664
%EQUATE `SC_FOLDFLAG_LINEBEFORE_EXPANDED = &H0002
%EQUATE `SC_FOLDFLAG_LINEBEFORE_CONTRACTED = &H0004
%EQUATE `SC_FOLDFLAG_LINEAFTER_EXPANDED = &H0008
%EQUATE `SC_FOLDFLAG_LINEAFTER_CONTRACTED = &H0010
%EQUATE `SC_FOLDFLAG_LEVELNUMBERS = &H0040
%EQUATE `SC_FOLDFLAG_LINESTATE = &H0080
%EQUATE `SCI_SETFOLDFLAGS = 2233
%EQUATE `SCI_ENSUREVISIBLEENFORCEPOLICY = 2234
%EQUATE `SCI_SETTABINDENTS = 2260
%EQUATE `SCI_GETTABINDENTS = 2261
%EQUATE `SCI_SETBACKSPACEUNINDENTS = 2262
%EQUATE `SCI_GETBACKSPACEUNINDENTS = 2263
%EQUATE `SC_TIME_FOREVER = 10000000
%EQUATE `SCI_SETMOUSEDWELLTIME = 2264
%EQUATE `SCI_GETMOUSEDWELLTIME = 2265
%EQUATE `SCI_WORDSTARTPOSITION = 2266
%EQUATE `SCI_WORDENDPOSITION = 2267
%EQUATE `SC_WRAP_NONE = 0
%EQUATE `SC_WRAP_WORD = 1
%EQUATE `SC_WRAP_CHAR = 2
%EQUATE `SC_WRAP_WHITESPACE = 3
%EQUATE `SCI_SETWRAPMODE = 2268
%EQUATE `SCI_GETWRAPMODE = 2269
%EQUATE `SC_WRAPVISUALFLAG_NONE = &H0000
%EQUATE `SC_WRAPVISUALFLAG_END = &H0001
%EQUATE `SC_WRAPVISUALFLAG_START = &H0002
%EQUATE `SC_WRAPVISUALFLAG_MARGIN = &H0004
%EQUATE `SCI_SETWRAPVISUALFLAGS = 2460
%EQUATE `SCI_GETWRAPVISUALFLAGS = 2461
%EQUATE `SC_WRAPVISUALFLAGLOC_DEFAULT = &H0000
%EQUATE `SC_WRAPVISUALFLAGLOC_END_BY_TEXT = &H0001
%EQUATE `SC_WRAPVISUALFLAGLOC_START_BY_TEXT = &H0002
%EQUATE `SCI_SETWRAPVISUALFLAGSLOCATION = 2462
%EQUATE `SCI_GETWRAPVISUALFLAGSLOCATION = 2463
%EQUATE `SCI_SETWRAPSTARTINDENT = 2464
%EQUATE `SCI_GETWRAPSTARTINDENT = 2465
%EQUATE `SC_WRAPINDENT_FIXED = 0
%EQUATE `SC_WRAPINDENT_SAME = 1
%EQUATE `SC_WRAPINDENT_INDENT = 2
%EQUATE `SCI_SETWRAPINDENTMODE = 2472
%EQUATE `SCI_GETWRAPINDENTMODE = 2473
%EQUATE `SC_CACHE_NONE = 0
%EQUATE `SC_CACHE_CARET = 1
%EQUATE `SC_CACHE_PAGE = 2
%EQUATE `SC_CACHE_DOCUMENT = 3
%EQUATE `SCI_SETLAYOUTCACHE = 2272
%EQUATE `SCI_GETLAYOUTCACHE = 2273
%EQUATE `SCI_SETSCROLLWIDTH = 2274
%EQUATE `SCI_GETSCROLLWIDTH = 2275
%EQUATE `SCI_SETSCROLLWIDTHTRACKING = 2516
%EQUATE `SCI_GETSCROLLWIDTHTRACKING = 2517
%EQUATE `SCI_TEXTWIDTH = 2276
%EQUATE `SCI_SETENDATLASTLINE = 2277
%EQUATE `SCI_GETENDATLASTLINE = 2278
%EQUATE `SCI_TEXTHEIGHT = 2279
%EQUATE `SCI_SETVSCROLLBAR = 2280
%EQUATE `SCI_GETVSCROLLBAR = 2281
%EQUATE `SCI_APPENDTEXT = 2282
%EQUATE `SCI_GETTWOPHASEDRAW = 2283
%EQUATE `SCI_SETTWOPHASEDRAW = 2284
%EQUATE `SC_PHASES_ONE = 0
%EQUATE `SC_PHASES_TWO = 1
%EQUATE `SC_PHASES_MULTIPLE = 2
%EQUATE `SCI_GETPHASESDRAW = 2673
%EQUATE `SCI_SETPHASESDRAW = 2674
%EQUATE `SC_EFF_QUALITY_MASK = &HF
%EQUATE `SC_EFF_QUALITY_DEFAULT = 0
%EQUATE `SC_EFF_QUALITY_NON_ANTIALIASED = 1
%EQUATE `SC_EFF_QUALITY_ANTIALIASED = 2
%EQUATE `SC_EFF_QUALITY_LCD_OPTIMIZED = 3
%EQUATE `SCI_SETFONTQUALITY = 2611
%EQUATE `SCI_GETFONTQUALITY = 2612
%EQUATE `SCI_SETFIRSTVISIBLELINE = 2613
%EQUATE `SC_MULTIPASTE_ONCE = 0
%EQUATE `SC_MULTIPASTE_EACH = 1
%EQUATE `SCI_SETMULTIPASTE = 2614
%EQUATE `SCI_GETMULTIPASTE = 2615
%EQUATE `SCI_GETTAG = 2616
%EQUATE `SCI_TARGETFROMSELECTION = 2287
%EQUATE `SCI_LINESJOIN = 2288
%EQUATE `SCI_LINESSPLIT = 2289
%EQUATE `SCI_SETFOLDMARGINCOLOUR = 2290
%EQUATE `SCI_SETFOLDMARGINHICOLOUR = 2291
%EQUATE `SCI_LINEDOWN = 2300
%EQUATE `SCI_LINEDOWNEXTEND = 2301
%EQUATE `SCI_LINEUP = 2302
%EQUATE `SCI_LINEUPEXTEND = 2303
%EQUATE `SCI_CHARLEFT = 2304
%EQUATE `SCI_CHARLEFTEXTEND = 2305
%EQUATE `SCI_CHARRIGHT = 2306
%EQUATE `SCI_CHARRIGHTEXTEND = 2307
%EQUATE `SCI_WORDLEFT = 2308
%EQUATE `SCI_WORDLEFTEXTEND = 2309
%EQUATE `SCI_WORDRIGHT = 2310
%EQUATE `SCI_WORDRIGHTEXTEND = 2311
%EQUATE `SCI_HOME = 2312
%EQUATE `SCI_HOMEEXTEND = 2313
%EQUATE `SCI_LINEEND = 2314
%EQUATE `SCI_LINEENDEXTEND = 2315
%EQUATE `SCI_DOCUMENTSTART = 2316
%EQUATE `SCI_DOCUMENTSTARTEXTEND = 2317
%EQUATE `SCI_DOCUMENTEND = 2318
%EQUATE `SCI_DOCUMENTENDEXTEND = 2319
%EQUATE `SCI_PAGEUP = 2320
%EQUATE `SCI_PAGEUPEXTEND = 2321
%EQUATE `SCI_PAGEDOWN = 2322
%EQUATE `SCI_PAGEDOWNEXTEND = 2323
%EQUATE `SCI_EDITTOGGLEOVERTYPE = 2324
%EQUATE `SCI_CANCEL = 2325
%EQUATE `SCI_DELETEBACK = 2326
%EQUATE `SCI_TAB = 2327
%EQUATE `SCI_BACKTAB = 2328
%EQUATE `SCI_NEWLINE = 2329
%EQUATE `SCI_FORMFEED = 2330
%EQUATE `SCI_VCHOME = 2331
%EQUATE `SCI_VCHOMEEXTEND = 2332
%EQUATE `SCI_ZOOMIN = 2333
%EQUATE `SCI_ZOOMOUT = 2334
%EQUATE `SCI_DELWORDLEFT = 2335
%EQUATE `SCI_DELWORDRIGHT = 2336
%EQUATE `SCI_DELWORDRIGHTEND = 2518
%EQUATE `SCI_LINECUT = 2337
%EQUATE `SCI_LINEDELETE = 2338
%EQUATE `SCI_LINETRANSPOSE = 2339
%EQUATE `SCI_LINEDUPLICATE = 2404
%EQUATE `SCI_LOWERCASE = 2340
%EQUATE `SCI_UPPERCASE = 2341
%EQUATE `SCI_LINESCROLLDOWN = 2342
%EQUATE `SCI_LINESCROLLUP = 2343
%EQUATE `SCI_DELETEBACKNOTLINE = 2344
%EQUATE `SCI_HOMEDISPLAY = 2345
%EQUATE `SCI_HOMEDISPLAYEXTEND = 2346
%EQUATE `SCI_LINEENDDISPLAY = 2347
%EQUATE `SCI_LINEENDDISPLAYEXTEND = 2348
%EQUATE `SCI_HOMEWRAP = 2349
%EQUATE `SCI_HOMEWRAPEXTEND = 2450
%EQUATE `SCI_LINEENDWRAP = 2451
%EQUATE `SCI_LINEENDWRAPEXTEND = 2452
%EQUATE `SCI_VCHOMEWRAP = 2453
%EQUATE `SCI_VCHOMEWRAPEXTEND = 2454
%EQUATE `SCI_LINECOPY = 2455
%EQUATE `SCI_MOVECARETINSIDEVIEW = 2401
%EQUATE `SCI_LINELENGTH = 2350
%EQUATE `SCI_BRACEHIGHLIGHT = 2351
%EQUATE `SCI_BRACEHIGHLIGHTINDICATOR = 2498
%EQUATE `SCI_BRACEBADLIGHT = 2352
%EQUATE `SCI_BRACEBADLIGHTINDICATOR = 2499
%EQUATE `SCI_BRACEMATCH = 2353
%EQUATE `SCI_GETVIEWEOL = 2355
%EQUATE `SCI_SETVIEWEOL = 2356
%EQUATE `SCI_GETDOCPOINTER = 2357
%EQUATE `SCI_SETDOCPOINTER = 2358
%EQUATE `SCI_SETMODEVENTMASK = 2359
%EQUATE `EDGE_NONE = 0
%EQUATE `EDGE_LINE = 1
%EQUATE `EDGE_BACKGROUND = 2
%EQUATE `SCI_GETEDGECOLUMN = 2360
%EQUATE `SCI_SETEDGECOLUMN = 2361
%EQUATE `SCI_GETEDGEMODE = 2362
%EQUATE `SCI_SETEDGEMODE = 2363
%EQUATE `SCI_GETEDGECOLOUR = 2364
%EQUATE `SCI_SETEDGECOLOUR = 2365
%EQUATE `SCI_SEARCHANCHOR = 2366
%EQUATE `SCI_SEARCHNEXT = 2367
%EQUATE `SCI_SEARCHPREV = 2368
%EQUATE `SCI_LINESONSCREEN = 2370
%EQUATE `SCI_USEPOPUP = 2371
%EQUATE `SCI_SELECTIONISRECTANGLE = 2372
%EQUATE `SCI_SETZOOM = 2373
%EQUATE `SCI_GETZOOM = 2374
%EQUATE `SCI_CREATEDOCUMENT = 2375
%EQUATE `SCI_ADDREFDOCUMENT = 2376
%EQUATE `SCI_RELEASEDOCUMENT = 2377
%EQUATE `SCI_GETMODEVENTMASK = 2378
%EQUATE `SCI_SETFOCUS = 2380
%EQUATE `SCI_GETFOCUS = 2381
%EQUATE `SC_STATUS_OK = 0
%EQUATE `SC_STATUS_FAILURE = 1
%EQUATE `SC_STATUS_BADALLOC = 2
%EQUATE `SC_STATUS_WARN_START = 1000
%EQUATE `SC_STATUS_WARN_REGEX = 1001
%EQUATE `SCI_SETSTATUS = 2382
%EQUATE `SCI_GETSTATUS = 2383
%EQUATE `SCI_SETMOUSEDOWNCAPTURES = 2384
%EQUATE `SCI_GETMOUSEDOWNCAPTURES = 2385
%EQUATE `SC_CURSORNORMAL = -1
%EQUATE `SC_CURSORARROW = 2
%EQUATE `SC_CURSORWAIT = 4
%EQUATE `SC_CURSORREVERSEARROW = 7
%EQUATE `SCI_SETCURSOR = 2386
%EQUATE `SCI_GETCURSOR = 2387
%EQUATE `SCI_SETCONTROLCHARSYMBOL = 2388
%EQUATE `SCI_GETCONTROLCHARSYMBOL = 2389
%EQUATE `SCI_WORDPARTLEFT = 2390
%EQUATE `SCI_WORDPARTLEFTEXTEND = 2391
%EQUATE `SCI_WORDPARTRIGHT = 2392
%EQUATE `SCI_WORDPARTRIGHTEXTEND = 2393
%EQUATE `VISIBLE_SLOP = &H01
%EQUATE `VISIBLE_STRICT = &H04
%EQUATE `SCI_SETVISIBLEPOLICY = 2394
%EQUATE `SCI_DELLINELEFT = 2395
%EQUATE `SCI_DELLINERIGHT = 2396
%EQUATE `SCI_SETXOFFSET = 2397
%EQUATE `SCI_GETXOFFSET = 2398
%EQUATE `SCI_CHOOSECARETX = 2399
%EQUATE `SCI_GRABFOCUS = 2400
%EQUATE `CARET_SLOP = &H01
%EQUATE `CARET_STRICT = &H04
%EQUATE `CARET_JUMPS = &H10
%EQUATE `CARET_EVEN = &H08
%EQUATE `SCI_SETXCARETPOLICY = 2402
%EQUATE `SCI_SETYCARETPOLICY = 2403
%EQUATE `SCI_SETPRINTWRAPMODE = 2406
%EQUATE `SCI_GETPRINTWRAPMODE = 2407
%EQUATE `SCI_SETHOTSPOTACTIVEFORE = 2410
%EQUATE `SCI_GETHOTSPOTACTIVEFORE = 2494
%EQUATE `SCI_SETHOTSPOTACTIVEBACK = 2411
%EQUATE `SCI_GETHOTSPOTACTIVEBACK = 2495
%EQUATE `SCI_SETHOTSPOTACTIVEUNDERLINE = 2412
%EQUATE `SCI_GETHOTSPOTACTIVEUNDERLINE = 2496
%EQUATE `SCI_SETHOTSPOTSINGLELINE = 2421
%EQUATE `SCI_GETHOTSPOTSINGLELINE = 2497
%EQUATE `SCI_PARADOWN = 2413
%EQUATE `SCI_PARADOWNEXTEND = 2414
%EQUATE `SCI_PARAUP = 2415
%EQUATE `SCI_PARAUPEXTEND = 2416
%EQUATE `SCI_POSITIONBEFORE = 2417
%EQUATE `SCI_POSITIONAFTER = 2418
%EQUATE `SCI_POSITIONRELATIVE = 2670
%EQUATE `SCI_COPYRANGE = 2419
%EQUATE `SCI_COPYTEXT = 2420
%EQUATE `SC_SEL_STREAM = 0
%EQUATE `SC_SEL_RECTANGLE = 1
%EQUATE `SC_SEL_LINES = 2
%EQUATE `SCI_SETSELECTIONMODE = 2422
%EQUATE `SCI_GETSELECTIONMODE = 2423
%EQUATE `SCI_GETLINESELSTARTPOSITION = 2424
%EQUATE `SCI_GETLINESELENDPOSITION = 2425
%EQUATE `SCI_LINEDOWNRECTEXTEND = 2426
%EQUATE `SCI_LINEUPRECTEXTEND = 2427
%EQUATE `SCI_CHARLEFTRECTEXTEND = 2428
%EQUATE `SCI_CHARRIGHTRECTEXTEND = 2429
%EQUATE `SCI_HOMERECTEXTEND = 2430
%EQUATE `SCI_VCHOMERECTEXTEND = 2431
%EQUATE `SCI_LINEENDRECTEXTEND = 2432
%EQUATE `SCI_PAGEUPRECTEXTEND = 2433
%EQUATE `SCI_PAGEDOWNRECTEXTEND = 2434
%EQUATE `SCI_STUTTEREDPAGEUP = 2435
%EQUATE `SCI_STUTTEREDPAGEUPEXTEND = 2436
%EQUATE `SCI_STUTTEREDPAGEDOWN = 2437
%EQUATE `SCI_STUTTEREDPAGEDOWNEXTEND = 2438
%EQUATE `SCI_WORDLEFTEND = 2439
%EQUATE `SCI_WORDLEFTENDEXTEND = 2440
%EQUATE `SCI_WORDRIGHTEND = 2441
%EQUATE `SCI_WORDRIGHTENDEXTEND = 2442
%EQUATE `SCI_SETWHITESPACECHARS = 2443
%EQUATE `SCI_GETWHITESPACECHARS = 2647
%EQUATE `SCI_SETPUNCTUATIONCHARS = 2648
%EQUATE `SCI_GETPUNCTUATIONCHARS = 2649
%EQUATE `SCI_SETCHARSDEFAULT = 2444
%EQUATE `SCI_AUTOCGETCURRENT = 2445
%EQUATE `SCI_AUTOCGETCURRENTTEXT = 2610
%EQUATE `SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE = 0
%EQUATE `SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE = 1
%EQUATE `SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR = 2634
%EQUATE `SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR = 2635
%EQUATE `SC_MULTIAUTOC_ONCE = 0
%EQUATE `SC_MULTIAUTOC_EACH = 1
%EQUATE `SCI_AUTOCSETMULTI = 2636
%EQUATE `SCI_AUTOCGETMULTI = 2637
%EQUATE `SC_ORDER_PRESORTED = 0
%EQUATE `SC_ORDER_PERFORMSORT = 1
%EQUATE `SC_ORDER_CUSTOM = 2
%EQUATE `SCI_AUTOCSETORDER = 2660
%EQUATE `SCI_AUTOCGETORDER = 2661
%EQUATE `SCI_ALLOCATE = 2446
%EQUATE `SCI_TARGETASUTF8 = 2447
%EQUATE `SCI_SETLENGTHFORENCODE = 2448
%EQUATE `SCI_ENCODEDFROMUTF8 = 2449
%EQUATE `SCI_FINDCOLUMN = 2456
%EQUATE `SCI_GETCARETSTICKY = 2457
%EQUATE `SCI_SETCARETSTICKY = 2458
%EQUATE `SC_CARETSTICKY_OFF = 0
%EQUATE `SC_CARETSTICKY_ON = 1
%EQUATE `SC_CARETSTICKY_WHITESPACE = 2
%EQUATE `SCI_TOGGLECARETSTICKY = 2459
%EQUATE `SCI_SETPASTECONVERTENDINGS = 2467
%EQUATE `SCI_GETPASTECONVERTENDINGS = 2468
%EQUATE `SCI_SELECTIONDUPLICATE = 2469
%EQUATE `SC_ALPHA_TRANSPARENT = 0
%EQUATE `SC_ALPHA_OPAQUE = 255
%EQUATE `SC_ALPHA_NOALPHA = 256
%EQUATE `SCI_SETCARETLINEBACKALPHA = 2470
%EQUATE `SCI_GETCARETLINEBACKALPHA = 2471
%EQUATE `CARETSTYLE_INVISIBLE = 0
%EQUATE `CARETSTYLE_LINE = 1
%EQUATE `CARETSTYLE_BLOCK = 2
%EQUATE `SCI_SETCARETSTYLE = 2512
%EQUATE `SCI_GETCARETSTYLE = 2513
%EQUATE `SCI_SETINDICATORCURRENT = 2500
%EQUATE `SCI_GETINDICATORCURRENT = 2501
%EQUATE `SCI_SETINDICATORVALUE = 2502
%EQUATE `SCI_GETINDICATORVALUE = 2503
%EQUATE `SCI_INDICATORFILLRANGE = 2504
%EQUATE `SCI_INDICATORCLEARRANGE = 2505
%EQUATE `SCI_INDICATORALLONFOR = 2506
%EQUATE `SCI_INDICATORVALUEAT = 2507
%EQUATE `SCI_INDICATORSTART = 2508
%EQUATE `SCI_INDICATOREND = 2509
%EQUATE `SCI_SETPOSITIONCACHE = 2514
%EQUATE `SCI_GETPOSITIONCACHE = 2515
%EQUATE `SCI_COPYALLOWLINE = 2519
%EQUATE `SCI_GETCHARACTERPOINTER = 2520
%EQUATE `SCI_GETRANGEPOINTER = 2643
%EQUATE `SCI_GETGAPPOSITION = 2644
%EQUATE `SCI_SETKEYSUNICODE = 2521
%EQUATE `SCI_GETKEYSUNICODE = 2522
%EQUATE `SCI_INDICSETALPHA = 2523
%EQUATE `SCI_INDICGETALPHA = 2524
%EQUATE `SCI_INDICSETOUTLINEALPHA = 2558
%EQUATE `SCI_INDICGETOUTLINEALPHA = 2559
%EQUATE `SCI_SETEXTRAASCENT = 2525
%EQUATE `SCI_GETEXTRAASCENT = 2526
%EQUATE `SCI_SETEXTRADESCENT = 2527
%EQUATE `SCI_GETEXTRADESCENT = 2528
%EQUATE `SCI_MARKERSYMBOLDEFINED = 2529
%EQUATE `SCI_MARGINSETTEXT = 2530
%EQUATE `SCI_MARGINGETTEXT = 2531
%EQUATE `SCI_MARGINSETSTYLE = 2532
%EQUATE `SCI_MARGINGETSTYLE = 2533
%EQUATE `SCI_MARGINSETSTYLES = 2534
%EQUATE `SCI_MARGINGETSTYLES = 2535
%EQUATE `SCI_MARGINTEXTCLEARALL = 2536
%EQUATE `SCI_MARGINSETSTYLEOFFSET = 2537
%EQUATE `SCI_MARGINGETSTYLEOFFSET = 2538
%EQUATE `SC_MARGINOPTION_NONE = 0
%EQUATE `SC_MARGINOPTION_SUBLINESELECT = 1
%EQUATE `SCI_SETMARGINOPTIONS = 2539
%EQUATE `SCI_GETMARGINOPTIONS = 2557
%EQUATE `SCI_ANNOTATIONSETTEXT = 2540
%EQUATE `SCI_ANNOTATIONGETTEXT = 2541
%EQUATE `SCI_ANNOTATIONSETSTYLE = 2542
%EQUATE `SCI_ANNOTATIONGETSTYLE = 2543
%EQUATE `SCI_ANNOTATIONSETSTYLES = 2544
%EQUATE `SCI_ANNOTATIONGETSTYLES = 2545
%EQUATE `SCI_ANNOTATIONGETLINES = 2546
%EQUATE `SCI_ANNOTATIONCLEARALL = 2547
%EQUATE `ANNOTATION_HIDDEN = 0
%EQUATE `ANNOTATION_STANDARD = 1
%EQUATE `ANNOTATION_BOXED = 2
%EQUATE `ANNOTATION_INDENTED = 3
%EQUATE `SCI_ANNOTATIONSETVISIBLE = 2548
%EQUATE `SCI_ANNOTATIONGETVISIBLE = 2549
%EQUATE `SCI_ANNOTATIONSETSTYLEOFFSET = 2550
%EQUATE `SCI_ANNOTATIONGETSTYLEOFFSET = 2551
%EQUATE `SCI_RELEASEALLEXTENDEDSTYLES = 2552
%EQUATE `SCI_ALLOCATEEXTENDEDSTYLES = 2553
%EQUATE `UNDO_MAY_COALESCE = 1
%EQUATE `SCI_ADDUNDOACTION = 2560
%EQUATE `SCI_CHARPOSITIONFROMPOINT = 2561
%EQUATE `SCI_CHARPOSITIONFROMPOINTCLOSE = 2562
%EQUATE `SCI_SETMOUSESELECTIONRECTANGULARSWITCH = 2668
%EQUATE `SCI_GETMOUSESELECTIONRECTANGULARSWITCH = 2669
%EQUATE `SCI_SETMULTIPLESELECTION = 2563
%EQUATE `SCI_GETMULTIPLESELECTION = 2564
%EQUATE `SCI_SETADDITIONALSELECTIONTYPING = 2565
%EQUATE `SCI_GETADDITIONALSELECTIONTYPING = 2566
%EQUATE `SCI_SETADDITIONALCARETSBLINK = 2567
%EQUATE `SCI_GETADDITIONALCARETSBLINK = 2568
%EQUATE `SCI_SETADDITIONALCARETSVISIBLE = 2608
%EQUATE `SCI_GETADDITIONALCARETSVISIBLE = 2609
%EQUATE `SCI_GETSELECTIONS = 2570
%EQUATE `SCI_GETSELECTIONEMPTY = 2650
%EQUATE `SCI_CLEARSELECTIONS = 2571
%EQUATE `SCI_SETSELECTION = 2572
%EQUATE `SCI_ADDSELECTION = 2573
%EQUATE `SCI_DROPSELECTIONN = 2671
%EQUATE `SCI_SETMAINSELECTION = 2574
%EQUATE `SCI_GETMAINSELECTION = 2575
%EQUATE `SCI_SETSELECTIONNCARET = 2576
%EQUATE `SCI_GETSELECTIONNCARET = 2577
%EQUATE `SCI_SETSELECTIONNANCHOR = 2578
%EQUATE `SCI_GETSELECTIONNANCHOR = 2579
%EQUATE `SCI_SETSELECTIONNCARETVIRTUALSPACE = 2580
%EQUATE `SCI_GETSELECTIONNCARETVIRTUALSPACE = 2581
%EQUATE `SCI_SETSELECTIONNANCHORVIRTUALSPACE = 2582
%EQUATE `SCI_GETSELECTIONNANCHORVIRTUALSPACE = 2583
%EQUATE `SCI_SETSELECTIONNSTART = 2584
%EQUATE `SCI_GETSELECTIONNSTART = 2585
%EQUATE `SCI_SETSELECTIONNEND = 2586
%EQUATE `SCI_GETSELECTIONNEND = 2587
%EQUATE `SCI_SETRECTANGULARSELECTIONCARET = 2588
%EQUATE `SCI_GETRECTANGULARSELECTIONCARET = 2589
%EQUATE `SCI_SETRECTANGULARSELECTIONANCHOR = 2590
%EQUATE `SCI_GETRECTANGULARSELECTIONANCHOR = 2591
%EQUATE `SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2592
%EQUATE `SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2593
%EQUATE `SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2594
%EQUATE `SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2595
%EQUATE `SCVS_NONE = 0
%EQUATE `SCVS_RECTANGULARSELECTION = 1
%EQUATE `SCVS_USERACCESSIBLE = 2
%EQUATE `SCI_SETVIRTUALSPACEOPTIONS = 2596
%EQUATE `SCI_GETVIRTUALSPACEOPTIONS = 2597
%EQUATE `SCI_SETRECTANGULARSELECTIONMODIFIER = 2598
%EQUATE `SCI_GETRECTANGULARSELECTIONMODIFIER = 2599
%EQUATE `SCI_SETADDITIONALSELFORE = 2600
%EQUATE `SCI_SETADDITIONALSELBACK = 2601
%EQUATE `SCI_SETADDITIONALSELALPHA = 2602
%EQUATE `SCI_GETADDITIONALSELALPHA = 2603
%EQUATE `SCI_SETADDITIONALCARETFORE = 2604
%EQUATE `SCI_GETADDITIONALCARETFORE = 2605
%EQUATE `SCI_ROTATESELECTION = 2606
%EQUATE `SCI_SWAPMAINANCHORCARET = 2607
%EQUATE `SCI_CHANGELEXERSTATE = 2617
%EQUATE `SCI_CONTRACTEDFOLDNEXT = 2618
%EQUATE `SCI_VERTICALCENTRECARET = 2619
%EQUATE `SCI_MOVESELECTEDLINESUP = 2620
%EQUATE `SCI_MOVESELECTEDLINESDOWN = 2621
%EQUATE `SCI_SETIDENTIFIER = 2622
%EQUATE `SCI_GETIDENTIFIER = 2623
%EQUATE `SCI_RGBAIMAGESETWIDTH = 2624
%EQUATE `SCI_RGBAIMAGESETHEIGHT = 2625
%EQUATE `SCI_MARKERDEFINERGBAIMAGE = 2626
%EQUATE `SCI_RGBAIMAGESETSCALE = 2651
%EQUATE `SCI_REGISTERRGBAIMAGE = 2627
%EQUATE `SCI_SCROLLTOSTART = 2628
%EQUATE `SCI_SCROLLTOEND = 2629
%EQUATE `SC_TECHNOLOGY_DEFAULT = 0
%EQUATE `SC_TECHNOLOGY_DIRECTWRITE = 1
%EQUATE `SC_TECHNOLOGY_DIRECTWRITERETAIN = 2
%EQUATE `SC_TECHNOLOGY_DIRECTWRITEDC = 3
%EQUATE `SCI_SETTECHNOLOGY = 2630
%EQUATE `SCI_GETTECHNOLOGY = 2631
%EQUATE `SCI_CREATELOADER = 2632
%EQUATE `SCI_FINDINDICATORSHOW = 2640
%EQUATE `SCI_FINDINDICATORFLASH = 2641
%EQUATE `SCI_FINDINDICATORHIDE = 2642
%EQUATE `SCI_VCHOMEDISPLAY = 2652
%EQUATE `SCI_VCHOMEDISPLAYEXTEND = 2653
%EQUATE `SCI_GETCARETLINEVISIBLEALWAYS = 2654
%EQUATE `SCI_SETCARETLINEVISIBLEALWAYS = 2655
%EQUATE `SC_LINE_END_TYPE_DEFAULT = 0
%EQUATE `SC_LINE_END_TYPE_UNICODE = 1
%EQUATE `SCI_SETLINEENDTYPESALLOWED = 2656
%EQUATE `SCI_GETLINEENDTYPESALLOWED = 2657
%EQUATE `SCI_GETLINEENDTYPESACTIVE = 2658
%EQUATE `SCI_SETREPRESENTATION = 2665
%EQUATE `SCI_GETREPRESENTATION = 2666
%EQUATE `SCI_CLEARREPRESENTATION = 2667
%EQUATE `SCI_STARTRECORD = 3001
%EQUATE `SCI_STOPRECORD = 3002
%EQUATE `SCI_SETLEXER = 4001
%EQUATE `SCI_GETLEXER = 4002
%EQUATE `SCI_COLOURISE = 4003
%EQUATE `SCI_SETPROPERTY = 4004
%EQUATE `KEYWORDSET_MAX = 8
%EQUATE `SCI_SETKEYWORDS = 4005
%EQUATE `SCI_SETLEXERLANGUAGE = 4006
%EQUATE `SCI_LOADLEXERLIBRARY = 4007
%EQUATE `SCI_GETPROPERTY = 4008
%EQUATE `SCI_GETPROPERTYEXPANDED = 4009
%EQUATE `SCI_GETPROPERTYINT = 4010
%EQUATE `SCI_GETSTYLEBITSNEEDED = 4011
%EQUATE `SCI_GETLEXERLANGUAGE = 4012
%EQUATE `SCI_PRIVATELEXERCALL = 4013
%EQUATE `SCI_PROPERTYNAMES = 4014
%EQUATE `SC_TYPE_BOOLEAN = 0
%EQUATE `SC_TYPE_INTEGER = 1
%EQUATE `SC_TYPE_STRING = 2
%EQUATE `SCI_PROPERTYTYPE = 4015
%EQUATE `SCI_DESCRIBEPROPERTY = 4016
%EQUATE `SCI_DESCRIBEKEYWORDSETS = 4017
%EQUATE `SCI_GETLINEENDTYPESSUPPORTED = 4018
%EQUATE `SCI_ALLOCATESUBSTYLES = 4020
%EQUATE `SCI_GETSUBSTYLESSTART = 4021
%EQUATE `SCI_GETSUBSTYLESLENGTH = 4022
%EQUATE `SCI_GETSTYLEFROMSUBSTYLE = 4027
%EQUATE `SCI_GETPRIMARYSTYLEFROMSTYLE = 4028
%EQUATE `SCI_FREESUBSTYLES = 4023
%EQUATE `SCI_SETIDENTIFIERS = 4024
%EQUATE `SCI_DISTANCETOSECONDARYSTYLES = 4025
%EQUATE `SCI_GETSUBSTYLEBASES = 4026
%EQUATE `SC_MOD_INSERTTEXT = &H1
%EQUATE `SC_MOD_DELETETEXT = &H2
%EQUATE `SC_MOD_CHANGESTYLE = &H4
%EQUATE `SC_MOD_CHANGEFOLD = &H8
%EQUATE `SC_PERFORMED_USER = &H10
%EQUATE `SC_PERFORMED_UNDO = &H20
%EQUATE `SC_PERFORMED_REDO = &H40
%EQUATE `SC_MULTISTEPUNDOREDO = &H80
%EQUATE `SC_LASTSTEPINUNDOREDO = &H100
%EQUATE `SC_MOD_CHANGEMARKER = &H200
%EQUATE `SC_MOD_BEFOREINSERT = &H400
%EQUATE `SC_MOD_BEFOREDELETE = &H800
%EQUATE `SC_MULTILINEUNDOREDO = &H1000
%EQUATE `SC_STARTACTION = &H2000
%EQUATE `SC_MOD_CHANGEINDICATOR = &H4000
%EQUATE `SC_MOD_CHANGELINESTATE = &H8000
%EQUATE `SC_MOD_CHANGEMARGIN = &H10000
%EQUATE `SC_MOD_CHANGEANNOTATION = &H20000
%EQUATE `SC_MOD_CONTAINER = &H40000
%EQUATE `SC_MOD_LEXERSTATE = &H80000
%EQUATE `SC_MOD_INSERTCHECK = &H100000
%EQUATE `SC_MOD_CHANGETABSTOPS = &H200000
%EQUATE `SC_MODEVENTMASKALL = &H3FFFF
%EQUATE `SC_UPDATE_CONTENT = &H1
%EQUATE `SC_UPDATE_SELECTION = &H2
%EQUATE `SC_UPDATE_V_SCROLL = &H4
%EQUATE `SC_UPDATE_H_SCROLL = &H8
%EQUATE `SCEN_CHANGE = 768
%EQUATE `SCEN_SETFOCUS = 512
%EQUATE `SCEN_KILLFOCUS = 256
%EQUATE `SCK_DOWN = 300
%EQUATE `SCK_UP = 301
%EQUATE `SCK_LEFT = 302
%EQUATE `SCK_RIGHT = 303
%EQUATE `SCK_HOME = 304
%EQUATE `SCK_END = 305
%EQUATE `SCK_PRIOR = 306
%EQUATE `SCK_NEXT = 307
%EQUATE `SCK_DELETE = 308
%EQUATE `SCK_INSERT = 309
%EQUATE `SCK_ESCAPE = 7
%EQUATE `SCK_BACK = 8
%EQUATE `SCK_TAB = 9
%EQUATE `SCK_RETURN = 13
%EQUATE `SCK_ADD = 310
%EQUATE `SCK_SUBTRACT = 311
%EQUATE `SCK_DIVIDE = 312
%EQUATE `SCK_WIN = 313
%EQUATE `SCK_RWIN = 314
%EQUATE `SCK_MENU = 315
%EQUATE `SCMOD_NORM = 0
%EQUATE `SCMOD_SHIFT = 1
%EQUATE `SCMOD_CTRL = 2
%EQUATE `SCMOD_ALT = 4
%EQUATE `SCMOD_SUPER = 8
%EQUATE `SCMOD_META = 16
%EQUATE `SCN_STYLENEEDED = 2000
%EQUATE `SCN_CHARADDED = 2001
%EQUATE `SCN_SAVEPOINTREACHED = 2002
%EQUATE `SCN_SAVEPOINTLEFT = 2003
%EQUATE `SCN_MODIFYATTEMPTRO = 2004
%EQUATE `SCN_KEY = 2005
%EQUATE `SCN_DOUBLECLICK = 2006
%EQUATE `SCN_UPDATEUI = 2007
%EQUATE `SCN_MODIFIED = 2008
%EQUATE `SCN_MACRORECORD = 2009
%EQUATE `SCN_MARGINCLICK = 2010
%EQUATE `SCN_NEEDSHOWN = 2011
%EQUATE `SCN_PAINTED = 2013
%EQUATE `SCN_USERLISTSELECTION = 2014
%EQUATE `SCN_URIDROPPED = 2015
%EQUATE `SCN_DWELLSTART = 2016
%EQUATE `SCN_DWELLEND = 2017
%EQUATE `SCN_ZOOM = 2018
%EQUATE `SCN_HOTSPOTCLICK = 2019
%EQUATE `SCN_HOTSPOTDOUBLECLICK = 2020
%EQUATE `SCN_CALLTIPCLICK = 2021
%EQUATE `SCN_AUTOCSELECTION = 2022
%EQUATE `SCN_INDICATORCLICK = 2023
%EQUATE `SCN_INDICATORRELEASE = 2024
%EQUATE `SCN_AUTOCCANCELLED = 2025
%EQUATE `SCN_AUTOCCHARDELETED = 2026
%EQUATE `SCN_HOTSPOTRELEASECLICK = 2027
%EQUATE `SCN_FOCUSIN = 2028
%EQUATE `SCN_FOCUSOUT = 2029
'//--Autogenerated -- end of section automatically generated from Scintilla.iface
'// These structures are defined to be exactly the same shape as the Win32
'// CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs.
'// So older code that treats Scintilla as a RichEdit will work.
'#ifdef SCI_NAMESPACE
'namespace Scintilla {
'#endif
' // Size = 8 bytes
TYPE Sci_CharacterRange DWORD
 cpMin AS LONG ' long cpMin
 cpMax AS LONG ' long cpMax
END TYPE
' // Size = 12 bytes
TYPE Sci_TextRange DWORD
 chrg AS Sci_CharacterRange ' struct Sci_CharacterRange chrg
 lpstrText AS ASCIIZ PTR ' char *lpstrText
END TYPE
' // Size = 20 bytes
TYPE Sci_TextToFind DWORD
 chrg AS Sci_CharacterRange ' struct Sci_CharacterRange chrg
 lpstrText AS ASCIIZ PTR ' const char *lpstrText
 chrgText AS Sci_CharacterRange ' struct Sci_CharacterRange chrgText
END TYPE
'#define CharacterRange Sci_CharacterRange
'#define TextRange Sci_TextRange
'#define TextToFind Sci_TextToFind
'typedef void *Sci_SurfaceID;
' // Size = 16 bytes
TYPE Sci_Rectangle
 left AS LONG ' int
 top AS LONG ' int
 right AS LONG ' int
 bottom AS LONG ' int
END TYPE
'// This structure is used in printing and requires some of the graphics types
'// from Platform.h. Not needed by most client code.
' // Size = 48 bytes
TYPE Sci_RangeToFormat DWORD
 hdc AS DWORD ' Sci_SurfaceID hdc
 hdcTarget AS DWORD ' Sci_SurfaceID hdcTarget
 rc AS Sci_Rectangle ' struct Sci_Rectangle rc
 rcPage AS Sci_Rectangle ' struct Sci_Rectangle rcPage
 chrg AS Sci_CharacterRange ' struct Sci_CharacterRange chrg
END TYPE
'#define RangeToFormat Sci_RangeToFormat
' NOTE: code should be DWORD, but it is defined as LONG in PBWin 9 built-in NMHDR structure
' // Size = 12 bytes
TYPE Sci_NotifyHeader DWORD
 ' /* Compatible with Windows NMHDR.
 ' // code should be DWORD, but it is defined as LONG in PBWin 9 built-in NMHDR structure.
 ' * hwndFrom is really an environment specific window handle or pointer
 ' * but most clients of Scintilla.h do not have this type visible. */
 hwndFrom AS DWORD ' void *hwndFrom
 idfrom AS DWORD ' uptr_t idFrom
 code AS LONG ' unsigned int code
END TYPE
'#define NotifyHeader Sci_NotifyHeader
'struct SCNotification {
' struct Sci_NotifyHeader nmhdr;
' int position;
' /* SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, */
' /* SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, */
' /* SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, */
' /* SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
' /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
' int ch; /* SCN_CHARADDED, SCN_KEY */
' int modifiers;
' /* SCN_KEY, SCN_DOUBLECLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, */
' /* SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
' int modificationType; /* SCN_MODIFIED */
' const char *text;
' /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED */
' int length; /* SCN_MODIFIED */
' int linesAdded; /* SCN_MODIFIED */
' int message; /* SCN_MACRORECORD */
' uptr_t wParam; /* SCN_MACRORECORD */
' sptr_t lParam; /* SCN_MACRORECORD */
' int line; /* SCN_MODIFIED */
' int foldLevelNow; /* SCN_MODIFIED */
' int foldLevelPrev; /* SCN_MODIFIED */
' int margin; /* SCN_MARGINCLICK */
' int listType; /* SCN_USERLISTSELECTION */
' int x; /* SCN_DWELLSTART, SCN_DWELLEND */
' int y; /* SCN_DWELLSTART, SCN_DWELLEND */
' int token; /* SCN_MODIFIED with SC_MOD_CONTAINER */
' int annotationLinesAdded; /* SCN_MODIFIED with SC_MOD_CHANGEANNOTATION */
' int updated; /* SCN_UPDATEUI */
'};
' // Size = 80 bytes
TYPE SCNotification DWORD
 hdr AS Sci_NotifyHeader
 position AS LONG
 ch AS LONG
 modifiers AS LONG
 modificationType AS LONG
 lpText AS ASCIIZ PTR
 length AS LONG
 linesAdded AS LONG
 message AS DWORD ' must be DWORD, not LONG
 wParam AS DWORD
 lParam AS LONG
 nLine AS LONG
 foldLevelNow AS LONG
 foldLevelPrev AS LONG
 margin AS LONG
 listType AS LONG
 x AS LONG
 y AS LONG
 token AS LONG
 annotationLinesAdded AS LONG
 updated AS LONG
END TYPE
'#ifdef SCI_NAMESPACE
'}
'#endif
#IF %DEF(%INCLUDE_DEPRECATED_FEATURES)
%EQUATE `SC_CP_DBCS = 1
%EQUATE `SCI_SETUSEPALETTE = 2039
%EQUATE `SCI_GETUSEPALETTE = 2139
#ENDIF
#ENDIF
