1/* Scintilla source code edit control */
2/** @file Scintilla.h
3 ** Interface to the edit control.
4 **/
5/* Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
6 * The License.txt file describes the conditions under which this software may be distributed. */
7
8/* Most of this file is automatically generated from the Scintilla.iface interface definition
9 * file which contains any comments about the definitions. HFacer.py does the generation. */
10
11#ifndef SCINTILLA_H
12#define SCINTILLA_H
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#if defined(_WIN32)
19/* Return false on failure: */
20int Scintilla_RegisterClasses(void *hInstance);
21int Scintilla_ReleaseResources(void);
22#endif
23
24#ifdef __cplusplus
25}
26#endif
27
28// Include header that defines basic numeric types.
29#include <stdint.h>
30
31// Define uptr_t, an unsigned integer type large enough to hold a pointer.
32typedef uintptr_t uptr_t;
33// Define sptr_t, a signed integer large enough to hold a pointer.
34typedef intptr_t sptr_t;
35
36#include "Sci_Position.h"
37
38typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam);
39typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam, int *pStatus);
40
41#ifndef SCI_DISABLE_AUTOGENERATED
42
43/* ++Autogenerated -- start of section automatically generated from Scintilla.iface */
44#define INVALID_POSITION -1
45#define SCI_START 2000
46#define SCI_OPTIONAL_START 3000
47#define SCI_LEXER_START 4000
48#define SCI_ADDTEXT 2001
49#define SCI_ADDSTYLEDTEXT 2002
50#define SCI_INSERTTEXT 2003
51#define SCI_CHANGEINSERTION 2672
52#define SCI_CLEARALL 2004
53#define SCI_DELETERANGE 2645
54#define SCI_CLEARDOCUMENTSTYLE 2005
55#define SCI_GETLENGTH 2006
56#define SCI_GETCHARAT 2007
57#define SCI_GETCURRENTPOS 2008
58#define SCI_GETANCHOR 2009
59#define SCI_GETSTYLEAT 2010
60#define SCI_REDO 2011
61#define SCI_SETUNDOCOLLECTION 2012
62#define SCI_SELECTALL 2013
63#define SCI_SETSAVEPOINT 2014
64#define SCI_GETSTYLEDTEXT 2015
65#define SCI_CANREDO 2016
66#define SCI_MARKERLINEFROMHANDLE 2017
67#define SCI_MARKERDELETEHANDLE 2018
68#define SCI_MARKERHANDLEFROMLINE 2732
69#define SCI_MARKERNUMBERFROMLINE 2733
70#define SCI_GETUNDOCOLLECTION 2019
71#define SCWS_INVISIBLE 0
72#define SCWS_VISIBLEALWAYS 1
73#define SCWS_VISIBLEAFTERINDENT 2
74#define SCWS_VISIBLEONLYININDENT 3
75#define SCI_GETVIEWWS 2020
76#define SCI_SETVIEWWS 2021
77#define SCTD_LONGARROW 0
78#define SCTD_STRIKEOUT 1
79#define SCI_GETTABDRAWMODE 2698
80#define SCI_SETTABDRAWMODE 2699
81#define SCI_POSITIONFROMPOINT 2022
82#define SCI_POSITIONFROMPOINTCLOSE 2023
83#define SCI_GOTOLINE 2024
84#define SCI_GOTOPOS 2025
85#define SCI_SETANCHOR 2026
86#define SCI_GETCURLINE 2027
87#define SCI_GETENDSTYLED 2028
88#define SC_EOL_CRLF 0
89#define SC_EOL_CR 1
90#define SC_EOL_LF 2
91#define SCI_CONVERTEOLS 2029
92#define SCI_GETEOLMODE 2030
93#define SCI_SETEOLMODE 2031
94#define SCI_STARTSTYLING 2032
95#define SCI_SETSTYLING 2033
96#define SCI_GETBUFFEREDDRAW 2034
97#define SCI_SETBUFFEREDDRAW 2035
98#define SCI_SETTABWIDTH 2036
99#define SCI_GETTABWIDTH 2121
100#define SCI_SETTABMINIMUMWIDTH 2724
101#define SCI_GETTABMINIMUMWIDTH 2725
102#define SCI_CLEARTABSTOPS 2675
103#define SCI_ADDTABSTOP 2676
104#define SCI_GETNEXTTABSTOP 2677
105#define SC_CP_UTF8 65001
106#define SCI_SETCODEPAGE 2037
107#define SCI_SETFONTLOCALE 2760
108#define SCI_GETFONTLOCALE 2761
109#define SC_IME_WINDOWED 0
110#define SC_IME_INLINE 1
111#define SCI_GETIMEINTERACTION 2678
112#define SCI_SETIMEINTERACTION 2679
113#define SC_ALPHA_TRANSPARENT 0
114#define SC_ALPHA_OPAQUE 255
115#define SC_ALPHA_NOALPHA 256
116#define SC_CURSORNORMAL -1
117#define SC_CURSORARROW 2
118#define SC_CURSORWAIT 4
119#define SC_CURSORREVERSEARROW 7
120#define MARKER_MAX 31
121#define SC_MARK_CIRCLE 0
122#define SC_MARK_ROUNDRECT 1
123#define SC_MARK_ARROW 2
124#define SC_MARK_SMALLRECT 3
125#define SC_MARK_SHORTARROW 4
126#define SC_MARK_EMPTY 5
127#define SC_MARK_ARROWDOWN 6
128#define SC_MARK_MINUS 7
129#define SC_MARK_PLUS 8
130#define SC_MARK_VLINE 9
131#define SC_MARK_LCORNER 10
132#define SC_MARK_TCORNER 11
133#define SC_MARK_BOXPLUS 12
134#define SC_MARK_BOXPLUSCONNECTED 13
135#define SC_MARK_BOXMINUS 14
136#define SC_MARK_BOXMINUSCONNECTED 15
137#define SC_MARK_LCORNERCURVE 16
138#define SC_MARK_TCORNERCURVE 17
139#define SC_MARK_CIRCLEPLUS 18
140#define SC_MARK_CIRCLEPLUSCONNECTED 19
141#define SC_MARK_CIRCLEMINUS 20
142#define SC_MARK_CIRCLEMINUSCONNECTED 21
143#define SC_MARK_BACKGROUND 22
144#define SC_MARK_DOTDOTDOT 23
145#define SC_MARK_ARROWS 24
146#define SC_MARK_PIXMAP 25
147#define SC_MARK_FULLRECT 26
148#define SC_MARK_LEFTRECT 27
149#define SC_MARK_AVAILABLE 28
150#define SC_MARK_UNDERLINE 29
151#define SC_MARK_RGBAIMAGE 30
152#define SC_MARK_BOOKMARK 31
153#define SC_MARK_VERTICALBOOKMARK 32
154#define SC_MARK_CHARACTER 10000
155#define SC_MARKNUM_FOLDEREND 25
156#define SC_MARKNUM_FOLDEROPENMID 26
157#define SC_MARKNUM_FOLDERMIDTAIL 27
158#define SC_MARKNUM_FOLDERTAIL 28
159#define SC_MARKNUM_FOLDERSUB 29
160#define SC_MARKNUM_FOLDER 30
161#define SC_MARKNUM_FOLDEROPEN 31
162#define SC_MASK_FOLDERS 0xFE000000
163#define SCI_MARKERDEFINE 2040
164#define SCI_MARKERSETFORE 2041
165#define SCI_MARKERSETBACK 2042
166#define SCI_MARKERSETBACKSELECTED 2292
167#define SCI_MARKERSETFORETRANSLUCENT 2294
168#define SCI_MARKERSETBACKTRANSLUCENT 2295
169#define SCI_MARKERSETBACKSELECTEDTRANSLUCENT 2296
170#define SCI_MARKERSETSTROKEWIDTH 2297
171#define SCI_MARKERENABLEHIGHLIGHT 2293
172#define SCI_MARKERADD 2043
173#define SCI_MARKERDELETE 2044
174#define SCI_MARKERDELETEALL 2045
175#define SCI_MARKERGET 2046
176#define SCI_MARKERNEXT 2047
177#define SCI_MARKERPREVIOUS 2048
178#define SCI_MARKERDEFINEPIXMAP 2049
179#define SCI_MARKERADDSET 2466
180#define SCI_MARKERSETALPHA 2476
181#define SCI_MARKERGETLAYER 2734
182#define SCI_MARKERSETLAYER 2735
183#define SC_MAX_MARGIN 4
184#define SC_MARGIN_SYMBOL 0
185#define SC_MARGIN_NUMBER 1
186#define SC_MARGIN_BACK 2
187#define SC_MARGIN_FORE 3
188#define SC_MARGIN_TEXT 4
189#define SC_MARGIN_RTEXT 5
190#define SC_MARGIN_COLOUR 6
191#define SCI_SETMARGINTYPEN 2240
192#define SCI_GETMARGINTYPEN 2241
193#define SCI_SETMARGINWIDTHN 2242
194#define SCI_GETMARGINWIDTHN 2243
195#define SCI_SETMARGINMASKN 2244
196#define SCI_GETMARGINMASKN 2245
197#define SCI_SETMARGINSENSITIVEN 2246
198#define SCI_GETMARGINSENSITIVEN 2247
199#define SCI_SETMARGINCURSORN 2248
200#define SCI_GETMARGINCURSORN 2249
201#define SCI_SETMARGINBACKN 2250
202#define SCI_GETMARGINBACKN 2251
203#define SCI_SETMARGINS 2252
204#define SCI_GETMARGINS 2253
205#define STYLE_DEFAULT 32
206#define STYLE_LINENUMBER 33
207#define STYLE_BRACELIGHT 34
208#define STYLE_BRACEBAD 35
209#define STYLE_CONTROLCHAR 36
210#define STYLE_INDENTGUIDE 37
211#define STYLE_CALLTIP 38
212#define STYLE_FOLDDISPLAYTEXT 39
213#define STYLE_LASTPREDEFINED 39
214#define STYLE_MAX 255
215#define SC_CHARSET_ANSI 0
216#define SC_CHARSET_DEFAULT 1
217#define SC_CHARSET_BALTIC 186
218#define SC_CHARSET_CHINESEBIG5 136
219#define SC_CHARSET_EASTEUROPE 238
220#define SC_CHARSET_GB2312 134
221#define SC_CHARSET_GREEK 161
222#define SC_CHARSET_HANGUL 129
223#define SC_CHARSET_MAC 77
224#define SC_CHARSET_OEM 255
225#define SC_CHARSET_RUSSIAN 204
226#define SC_CHARSET_OEM866 866
227#define SC_CHARSET_CYRILLIC 1251
228#define SC_CHARSET_SHIFTJIS 128
229#define SC_CHARSET_SYMBOL 2
230#define SC_CHARSET_TURKISH 162
231#define SC_CHARSET_JOHAB 130
232#define SC_CHARSET_HEBREW 177
233#define SC_CHARSET_ARABIC 178
234#define SC_CHARSET_VIETNAMESE 163
235#define SC_CHARSET_THAI 222
236#define SC_CHARSET_8859_15 1000
237#define SCI_STYLECLEARALL 2050
238#define SCI_STYLESETFORE 2051
239#define SCI_STYLESETBACK 2052
240#define SCI_STYLESETBOLD 2053
241#define SCI_STYLESETITALIC 2054
242#define SCI_STYLESETSIZE 2055
243#define SCI_STYLESETFONT 2056
244#define SCI_STYLESETEOLFILLED 2057
245#define SCI_STYLERESETDEFAULT 2058
246#define SCI_STYLESETUNDERLINE 2059
247#define SC_CASE_MIXED 0
248#define SC_CASE_UPPER 1
249#define SC_CASE_LOWER 2
250#define SC_CASE_CAMEL 3
251#define SCI_STYLEGETFORE 2481
252#define SCI_STYLEGETBACK 2482
253#define SCI_STYLEGETBOLD 2483
254#define SCI_STYLEGETITALIC 2484
255#define SCI_STYLEGETSIZE 2485
256#define SCI_STYLEGETFONT 2486
257#define SCI_STYLEGETEOLFILLED 2487
258#define SCI_STYLEGETUNDERLINE 2488
259#define SCI_STYLEGETCASE 2489
260#define SCI_STYLEGETCHARACTERSET 2490
261#define SCI_STYLEGETVISIBLE 2491
262#define SCI_STYLEGETCHANGEABLE 2492
263#define SCI_STYLEGETHOTSPOT 2493
264#define SCI_STYLESETCASE 2060
265#define SC_FONT_SIZE_MULTIPLIER 100
266#define SCI_STYLESETSIZEFRACTIONAL 2061
267#define SCI_STYLEGETSIZEFRACTIONAL 2062
268#define SC_WEIGHT_NORMAL 400
269#define SC_WEIGHT_SEMIBOLD 600
270#define SC_WEIGHT_BOLD 700
271#define SCI_STYLESETWEIGHT 2063
272#define SCI_STYLEGETWEIGHT 2064
273#define SCI_STYLESETCHARACTERSET 2066
274#define SCI_STYLESETHOTSPOT 2409
275#define SCI_STYLESETCHECKMONOSPACED 2254
276#define SCI_STYLEGETCHECKMONOSPACED 2255
277#define SC_ELEMENT_LIST 0
278#define SC_ELEMENT_LIST_BACK 1
279#define SC_ELEMENT_LIST_SELECTED 2
280#define SC_ELEMENT_LIST_SELECTED_BACK 3
281#define SC_ELEMENT_SELECTION_TEXT 10
282#define SC_ELEMENT_SELECTION_BACK 11
283#define SC_ELEMENT_SELECTION_ADDITIONAL_TEXT 12
284#define SC_ELEMENT_SELECTION_ADDITIONAL_BACK 13
285#define SC_ELEMENT_SELECTION_SECONDARY_TEXT 14
286#define SC_ELEMENT_SELECTION_SECONDARY_BACK 15
287#define SC_ELEMENT_SELECTION_INACTIVE_TEXT 16
288#define SC_ELEMENT_SELECTION_INACTIVE_BACK 17
289#define SC_ELEMENT_CARET 40
290#define SC_ELEMENT_CARET_ADDITIONAL 41
291#define SC_ELEMENT_CARET_LINE_BACK 50
292#define SC_ELEMENT_WHITE_SPACE 60
293#define SC_ELEMENT_WHITE_SPACE_BACK 61
294#define SC_ELEMENT_HOT_SPOT_ACTIVE 70
295#define SC_ELEMENT_HOT_SPOT_ACTIVE_BACK 71
296#define SC_ELEMENT_FOLD_LINE 80
297#define SC_ELEMENT_HIDDEN_LINE 81
298#define SCI_SETELEMENTCOLOUR 2753
299#define SCI_GETELEMENTCOLOUR 2754
300#define SCI_RESETELEMENTCOLOUR 2755
301#define SCI_GETELEMENTISSET 2756
302#define SCI_GETELEMENTALLOWSTRANSLUCENT 2757
303#define SCI_GETELEMENTBASECOLOUR 2758
304#define SCI_SETSELFORE 2067
305#define SCI_SETSELBACK 2068
306#define SCI_GETSELALPHA 2477
307#define SCI_SETSELALPHA 2478
308#define SCI_GETSELEOLFILLED 2479
309#define SCI_SETSELEOLFILLED 2480
310#define SC_LAYER_BASE 0
311#define SC_LAYER_UNDER_TEXT 1
312#define SC_LAYER_OVER_TEXT 2
313#define SCI_GETSELECTIONLAYER 2762
314#define SCI_SETSELECTIONLAYER 2763
315#define SCI_GETCARETLINELAYER 2764
316#define SCI_SETCARETLINELAYER 2765
317#define SCI_GETCARETLINEHIGHLIGHTSUBLINE 2773
318#define SCI_SETCARETLINEHIGHLIGHTSUBLINE 2774
319#define SCI_SETCARETFORE 2069
320#define SCI_ASSIGNCMDKEY 2070
321#define SCI_CLEARCMDKEY 2071
322#define SCI_CLEARALLCMDKEYS 2072
323#define SCI_SETSTYLINGEX 2073
324#define SCI_STYLESETVISIBLE 2074
325#define SCI_GETCARETPERIOD 2075
326#define SCI_SETCARETPERIOD 2076
327#define SCI_SETWORDCHARS 2077
328#define SCI_GETWORDCHARS 2646
329#define SCI_SETCHARACTERCATEGORYOPTIMIZATION 2720
330#define SCI_GETCHARACTERCATEGORYOPTIMIZATION 2721
331#define SCI_BEGINUNDOACTION 2078
332#define SCI_ENDUNDOACTION 2079
333#define INDIC_PLAIN 0
334#define INDIC_SQUIGGLE 1
335#define INDIC_TT 2
336#define INDIC_DIAGONAL 3
337#define INDIC_STRIKE 4
338#define INDIC_HIDDEN 5
339#define INDIC_BOX 6
340#define INDIC_ROUNDBOX 7
341#define INDIC_STRAIGHTBOX 8
342#define INDIC_DASH 9
343#define INDIC_DOTS 10
344#define INDIC_SQUIGGLELOW 11
345#define INDIC_DOTBOX 12
346#define INDIC_SQUIGGLEPIXMAP 13
347#define INDIC_COMPOSITIONTHICK 14
348#define INDIC_COMPOSITIONTHIN 15
349#define INDIC_FULLBOX 16
350#define INDIC_TEXTFORE 17
351#define INDIC_POINT 18
352#define INDIC_POINTCHARACTER 19
353#define INDIC_GRADIENT 20
354#define INDIC_GRADIENTCENTRE 21
355#define INDIC_CONTAINER 8
356#define INDIC_IME 32
357#define INDIC_IME_MAX 35
358#define INDIC_MAX 35
359#define INDICATOR_CONTAINER 8
360#define INDICATOR_IME 32
361#define INDICATOR_IME_MAX 35
362#define INDICATOR_MAX 35
363#define SCI_INDICSETSTYLE 2080
364#define SCI_INDICGETSTYLE 2081
365#define SCI_INDICSETFORE 2082
366#define SCI_INDICGETFORE 2083
367#define SCI_INDICSETUNDER 2510
368#define SCI_INDICGETUNDER 2511
369#define SCI_INDICSETHOVERSTYLE 2680
370#define SCI_INDICGETHOVERSTYLE 2681
371#define SCI_INDICSETHOVERFORE 2682
372#define SCI_INDICGETHOVERFORE 2683
373#define SC_INDICVALUEBIT 0x1000000
374#define SC_INDICVALUEMASK 0xFFFFFF
375#define SC_INDICFLAG_NONE 0
376#define SC_INDICFLAG_VALUEFORE 1
377#define SCI_INDICSETFLAGS 2684
378#define SCI_INDICGETFLAGS 2685
379#define SCI_INDICSETSTROKEWIDTH 2751
380#define SCI_INDICGETSTROKEWIDTH 2752
381#define SCI_SETWHITESPACEFORE 2084
382#define SCI_SETWHITESPACEBACK 2085
383#define SCI_SETWHITESPACESIZE 2086
384#define SCI_GETWHITESPACESIZE 2087
385#define SCI_SETLINESTATE 2092
386#define SCI_GETLINESTATE 2093
387#define SCI_GETMAXLINESTATE 2094
388#define SCI_GETCARETLINEVISIBLE 2095
389#define SCI_SETCARETLINEVISIBLE 2096
390#define SCI_GETCARETLINEBACK 2097
391#define SCI_SETCARETLINEBACK 2098
392#define SCI_GETCARETLINEFRAME 2704
393#define SCI_SETCARETLINEFRAME 2705
394#define SCI_STYLESETCHANGEABLE 2099
395#define SCI_AUTOCSHOW 2100
396#define SCI_AUTOCCANCEL 2101
397#define SCI_AUTOCACTIVE 2102
398#define SCI_AUTOCPOSSTART 2103
399#define SCI_AUTOCCOMPLETE 2104
400#define SCI_AUTOCSTOPS 2105
401#define SCI_AUTOCSETSEPARATOR 2106
402#define SCI_AUTOCGETSEPARATOR 2107
403#define SCI_AUTOCSELECT 2108
404#define SCI_AUTOCSETCANCELATSTART 2110
405#define SCI_AUTOCGETCANCELATSTART 2111
406#define SCI_AUTOCSETFILLUPS 2112
407#define SCI_AUTOCSETCHOOSESINGLE 2113
408#define SCI_AUTOCGETCHOOSESINGLE 2114
409#define SCI_AUTOCSETIGNORECASE 2115
410#define SCI_AUTOCGETIGNORECASE 2116
411#define SCI_USERLISTSHOW 2117
412#define SCI_AUTOCSETAUTOHIDE 2118
413#define SCI_AUTOCGETAUTOHIDE 2119
414#define SC_AUTOCOMPLETE_NORMAL 0
415#define SC_AUTOCOMPLETE_FIXED_SIZE 1
416#define SCI_AUTOCSETOPTIONS 2638
417#define SCI_AUTOCGETOPTIONS 2639
418#define SCI_AUTOCSETDROPRESTOFWORD 2270
419#define SCI_AUTOCGETDROPRESTOFWORD 2271
420#define SCI_REGISTERIMAGE 2405
421#define SCI_CLEARREGISTEREDIMAGES 2408
422#define SCI_AUTOCGETTYPESEPARATOR 2285
423#define SCI_AUTOCSETTYPESEPARATOR 2286
424#define SCI_AUTOCSETMAXWIDTH 2208
425#define SCI_AUTOCGETMAXWIDTH 2209
426#define SCI_AUTOCSETMAXHEIGHT 2210
427#define SCI_AUTOCGETMAXHEIGHT 2211
428#define SCI_SETINDENT 2122
429#define SCI_GETINDENT 2123
430#define SCI_SETUSETABS 2124
431#define SCI_GETUSETABS 2125
432#define SCI_SETLINEINDENTATION 2126
433#define SCI_GETLINEINDENTATION 2127
434#define SCI_GETLINEINDENTPOSITION 2128
435#define SCI_GETCOLUMN 2129
436#define SCI_COUNTCHARACTERS 2633
437#define SCI_COUNTCODEUNITS 2715
438#define SCI_SETHSCROLLBAR 2130
439#define SCI_GETHSCROLLBAR 2131
440#define SC_IV_NONE 0
441#define SC_IV_REAL 1
442#define SC_IV_LOOKFORWARD 2
443#define SC_IV_LOOKBOTH 3
444#define SCI_SETINDENTATIONGUIDES 2132
445#define SCI_GETINDENTATIONGUIDES 2133
446#define SCI_SETHIGHLIGHTGUIDE 2134
447#define SCI_GETHIGHLIGHTGUIDE 2135
448#define SCI_GETLINEENDPOSITION 2136
449#define SCI_GETCODEPAGE 2137
450#define SCI_GETCARETFORE 2138
451#define SCI_GETREADONLY 2140
452#define SCI_SETCURRENTPOS 2141
453#define SCI_SETSELECTIONSTART 2142
454#define SCI_GETSELECTIONSTART 2143
455#define SCI_SETSELECTIONEND 2144
456#define SCI_GETSELECTIONEND 2145
457#define SCI_SETEMPTYSELECTION 2556
458#define SCI_SETPRINTMAGNIFICATION 2146
459#define SCI_GETPRINTMAGNIFICATION 2147
460#define SC_PRINT_NORMAL 0
461#define SC_PRINT_INVERTLIGHT 1
462#define SC_PRINT_BLACKONWHITE 2
463#define SC_PRINT_COLOURONWHITE 3
464#define SC_PRINT_COLOURONWHITEDEFAULTBG 4
465#define SC_PRINT_SCREENCOLOURS 5
466#define SCI_SETPRINTCOLOURMODE 2148
467#define SCI_GETPRINTCOLOURMODE 2149
468#define SCFIND_NONE 0x0
469#define SCFIND_WHOLEWORD 0x2
470#define SCFIND_MATCHCASE 0x4
471#define SCFIND_WORDSTART 0x00100000
472#define SCFIND_REGEXP 0x00200000
473#define SCFIND_POSIX 0x00400000
474#define SCFIND_CXX11REGEX 0x00800000
475#define SCI_FINDTEXT 2150
476#define SCI_FORMATRANGE 2151
477#define SCI_GETFIRSTVISIBLELINE 2152
478#define SCI_GETLINE 2153
479#define SCI_GETLINECOUNT 2154
480#define SCI_ALLOCATELINES 2089
481#define SCI_SETMARGINLEFT 2155
482#define SCI_GETMARGINLEFT 2156
483#define SCI_SETMARGINRIGHT 2157
484#define SCI_GETMARGINRIGHT 2158
485#define SCI_GETMODIFY 2159
486#define SCI_SETSEL 2160
487#define SCI_GETSELTEXT 2161
488#define SCI_GETTEXTRANGE 2162
489#define SCI_HIDESELECTION 2163
490#define SCI_POINTXFROMPOSITION 2164
491#define SCI_POINTYFROMPOSITION 2165
492#define SCI_LINEFROMPOSITION 2166
493#define SCI_POSITIONFROMLINE 2167
494#define SCI_LINESCROLL 2168
495#define SCI_SCROLLCARET 2169
496#define SCI_SCROLLRANGE 2569
497#define SCI_REPLACESEL 2170
498#define SCI_SETREADONLY 2171
499#define SCI_NULL 2172
500#define SCI_CANPASTE 2173
501#define SCI_CANUNDO 2174
502#define SCI_EMPTYUNDOBUFFER 2175
503#define SCI_UNDO 2176
504#define SCI_CUT 2177
505#define SCI_COPY 2178
506#define SCI_PASTE 2179
507#define SCI_CLEAR 2180
508#define SCI_SETTEXT 2181
509#define SCI_GETTEXT 2182
510#define SCI_GETTEXTLENGTH 2183
511#define SCI_GETDIRECTFUNCTION 2184
512#define SCI_GETDIRECTSTATUSFUNCTION 2772
513#define SCI_GETDIRECTPOINTER 2185
514#define SCI_SETOVERTYPE 2186
515#define SCI_GETOVERTYPE 2187
516#define SCI_SETCARETWIDTH 2188
517#define SCI_GETCARETWIDTH 2189
518#define SCI_SETTARGETSTART 2190
519#define SCI_GETTARGETSTART 2191
520#define SCI_SETTARGETSTARTVIRTUALSPACE 2728
521#define SCI_GETTARGETSTARTVIRTUALSPACE 2729
522#define SCI_SETTARGETEND 2192
523#define SCI_GETTARGETEND 2193
524#define SCI_SETTARGETENDVIRTUALSPACE 2730
525#define SCI_GETTARGETENDVIRTUALSPACE 2731
526#define SCI_SETTARGETRANGE 2686
527#define SCI_GETTARGETTEXT 2687
528#define SCI_TARGETFROMSELECTION 2287
529#define SCI_TARGETWHOLEDOCUMENT 2690
530#define SCI_REPLACETARGET 2194
531#define SCI_REPLACETARGETRE 2195
532#define SCI_SEARCHINTARGET 2197
533#define SCI_SETSEARCHFLAGS 2198
534#define SCI_GETSEARCHFLAGS 2199
535#define SCI_CALLTIPSHOW 2200
536#define SCI_CALLTIPCANCEL 2201
537#define SCI_CALLTIPACTIVE 2202
538#define SCI_CALLTIPPOSSTART 2203
539#define SCI_CALLTIPSETPOSSTART 2214
540#define SCI_CALLTIPSETHLT 2204
541#define SCI_CALLTIPSETBACK 2205
542#define SCI_CALLTIPSETFORE 2206
543#define SCI_CALLTIPSETFOREHLT 2207
544#define SCI_CALLTIPUSESTYLE 2212
545#define SCI_CALLTIPSETPOSITION 2213
546#define SCI_VISIBLEFROMDOCLINE 2220
547#define SCI_DOCLINEFROMVISIBLE 2221
548#define SCI_WRAPCOUNT 2235
549#define SC_FOLDLEVELNONE 0x0
550#define SC_FOLDLEVELBASE 0x400
551#define SC_FOLDLEVELWHITEFLAG 0x1000
552#define SC_FOLDLEVELHEADERFLAG 0x2000
553#define SC_FOLDLEVELNUMBERMASK 0x0FFF
554#define SCI_SETFOLDLEVEL 2222
555#define SCI_GETFOLDLEVEL 2223
556#define SCI_GETLASTCHILD 2224
557#define SCI_GETFOLDPARENT 2225
558#define SCI_SHOWLINES 2226
559#define SCI_HIDELINES 2227
560#define SCI_GETLINEVISIBLE 2228
561#define SCI_GETALLLINESVISIBLE 2236
562#define SCI_SETFOLDEXPANDED 2229
563#define SCI_GETFOLDEXPANDED 2230
564#define SCI_TOGGLEFOLD 2231
565#define SCI_TOGGLEFOLDSHOWTEXT 2700
566#define SC_FOLDDISPLAYTEXT_HIDDEN 0
567#define SC_FOLDDISPLAYTEXT_STANDARD 1
568#define SC_FOLDDISPLAYTEXT_BOXED 2
569#define SCI_FOLDDISPLAYTEXTSETSTYLE 2701
570#define SCI_FOLDDISPLAYTEXTGETSTYLE 2707
571#define SCI_SETDEFAULTFOLDDISPLAYTEXT 2722
572#define SCI_GETDEFAULTFOLDDISPLAYTEXT 2723
573#define SC_FOLDACTION_CONTRACT 0
574#define SC_FOLDACTION_EXPAND 1
575#define SC_FOLDACTION_TOGGLE 2
576#define SCI_FOLDLINE 2237
577#define SCI_FOLDCHILDREN 2238
578#define SCI_EXPANDCHILDREN 2239
579#define SCI_FOLDALL 2662
580#define SCI_ENSUREVISIBLE 2232
581#define SC_AUTOMATICFOLD_NONE 0x0000
582#define SC_AUTOMATICFOLD_SHOW 0x0001
583#define SC_AUTOMATICFOLD_CLICK 0x0002
584#define SC_AUTOMATICFOLD_CHANGE 0x0004
585#define SCI_SETAUTOMATICFOLD 2663
586#define SCI_GETAUTOMATICFOLD 2664
587#define SC_FOLDFLAG_NONE 0x0000
588#define SC_FOLDFLAG_LINEBEFORE_EXPANDED 0x0002
589#define SC_FOLDFLAG_LINEBEFORE_CONTRACTED 0x0004
590#define SC_FOLDFLAG_LINEAFTER_EXPANDED 0x0008
591#define SC_FOLDFLAG_LINEAFTER_CONTRACTED 0x0010
592#define SC_FOLDFLAG_LEVELNUMBERS 0x0040
593#define SC_FOLDFLAG_LINESTATE 0x0080
594#define SCI_SETFOLDFLAGS 2233
595#define SCI_ENSUREVISIBLEENFORCEPOLICY 2234
596#define SCI_SETTABINDENTS 2260
597#define SCI_GETTABINDENTS 2261
598#define SCI_SETBACKSPACEUNINDENTS 2262
599#define SCI_GETBACKSPACEUNINDENTS 2263
600#define SC_TIME_FOREVER 10000000
601#define SCI_SETMOUSEDWELLTIME 2264
602#define SCI_GETMOUSEDWELLTIME 2265
603#define SCI_WORDSTARTPOSITION 2266
604#define SCI_WORDENDPOSITION 2267
605#define SCI_ISRANGEWORD 2691
606#define SC_IDLESTYLING_NONE 0
607#define SC_IDLESTYLING_TOVISIBLE 1
608#define SC_IDLESTYLING_AFTERVISIBLE 2
609#define SC_IDLESTYLING_ALL 3
610#define SCI_SETIDLESTYLING 2692
611#define SCI_GETIDLESTYLING 2693
612#define SC_WRAP_NONE 0
613#define SC_WRAP_WORD 1
614#define SC_WRAP_CHAR 2
615#define SC_WRAP_WHITESPACE 3
616#define SCI_SETWRAPMODE 2268
617#define SCI_GETWRAPMODE 2269
618#define SC_WRAPVISUALFLAG_NONE 0x0000
619#define SC_WRAPVISUALFLAG_END 0x0001
620#define SC_WRAPVISUALFLAG_START 0x0002
621#define SC_WRAPVISUALFLAG_MARGIN 0x0004
622#define SCI_SETWRAPVISUALFLAGS 2460
623#define SCI_GETWRAPVISUALFLAGS 2461
624#define SC_WRAPVISUALFLAGLOC_DEFAULT 0x0000
625#define SC_WRAPVISUALFLAGLOC_END_BY_TEXT 0x0001
626#define SC_WRAPVISUALFLAGLOC_START_BY_TEXT 0x0002
627#define SCI_SETWRAPVISUALFLAGSLOCATION 2462
628#define SCI_GETWRAPVISUALFLAGSLOCATION 2463
629#define SCI_SETWRAPSTARTINDENT 2464
630#define SCI_GETWRAPSTARTINDENT 2465
631#define SC_WRAPINDENT_FIXED 0
632#define SC_WRAPINDENT_SAME 1
633#define SC_WRAPINDENT_INDENT 2
634#define SC_WRAPINDENT_DEEPINDENT 3
635#define SCI_SETWRAPINDENTMODE 2472
636#define SCI_GETWRAPINDENTMODE 2473
637#define SC_CACHE_NONE 0
638#define SC_CACHE_CARET 1
639#define SC_CACHE_PAGE 2
640#define SC_CACHE_DOCUMENT 3
641#define SCI_SETLAYOUTCACHE 2272
642#define SCI_GETLAYOUTCACHE 2273
643#define SCI_SETSCROLLWIDTH 2274
644#define SCI_GETSCROLLWIDTH 2275
645#define SCI_SETSCROLLWIDTHTRACKING 2516
646#define SCI_GETSCROLLWIDTHTRACKING 2517
647#define SCI_TEXTWIDTH 2276
648#define SCI_SETENDATLASTLINE 2277
649#define SCI_GETENDATLASTLINE 2278
650#define SCI_TEXTHEIGHT 2279
651#define SCI_SETVSCROLLBAR 2280
652#define SCI_GETVSCROLLBAR 2281
653#define SCI_APPENDTEXT 2282
654#define SC_PHASES_ONE 0
655#define SC_PHASES_TWO 1
656#define SC_PHASES_MULTIPLE 2
657#define SCI_GETPHASESDRAW 2673
658#define SCI_SETPHASESDRAW 2674
659#define SC_EFF_QUALITY_MASK 0xF
660#define SC_EFF_QUALITY_DEFAULT 0
661#define SC_EFF_QUALITY_NON_ANTIALIASED 1
662#define SC_EFF_QUALITY_ANTIALIASED 2
663#define SC_EFF_QUALITY_LCD_OPTIMIZED 3
664#define SCI_SETFONTQUALITY 2611
665#define SCI_GETFONTQUALITY 2612
666#define SCI_SETFIRSTVISIBLELINE 2613
667#define SC_MULTIPASTE_ONCE 0
668#define SC_MULTIPASTE_EACH 1
669#define SCI_SETMULTIPASTE 2614
670#define SCI_GETMULTIPASTE 2615
671#define SCI_GETTAG 2616
672#define SCI_LINESJOIN 2288
673#define SCI_LINESSPLIT 2289
674#define SCI_SETFOLDMARGINCOLOUR 2290
675#define SCI_SETFOLDMARGINHICOLOUR 2291
676#define SC_ACCESSIBILITY_DISABLED 0
677#define SC_ACCESSIBILITY_ENABLED 1
678#define SCI_SETACCESSIBILITY 2702
679#define SCI_GETACCESSIBILITY 2703
680#define SCI_LINEDOWN 2300
681#define SCI_LINEDOWNEXTEND 2301
682#define SCI_LINEUP 2302
683#define SCI_LINEUPEXTEND 2303
684#define SCI_CHARLEFT 2304
685#define SCI_CHARLEFTEXTEND 2305
686#define SCI_CHARRIGHT 2306
687#define SCI_CHARRIGHTEXTEND 2307
688#define SCI_WORDLEFT 2308
689#define SCI_WORDLEFTEXTEND 2309
690#define SCI_WORDRIGHT 2310
691#define SCI_WORDRIGHTEXTEND 2311
692#define SCI_HOME 2312
693#define SCI_HOMEEXTEND 2313
694#define SCI_LINEEND 2314
695#define SCI_LINEENDEXTEND 2315
696#define SCI_DOCUMENTSTART 2316
697#define SCI_DOCUMENTSTARTEXTEND 2317
698#define SCI_DOCUMENTEND 2318
699#define SCI_DOCUMENTENDEXTEND 2319
700#define SCI_PAGEUP 2320
701#define SCI_PAGEUPEXTEND 2321
702#define SCI_PAGEDOWN 2322
703#define SCI_PAGEDOWNEXTEND 2323
704#define SCI_EDITTOGGLEOVERTYPE 2324
705#define SCI_CANCEL 2325
706#define SCI_DELETEBACK 2326
707#define SCI_TAB 2327
708#define SCI_BACKTAB 2328
709#define SCI_NEWLINE 2329
710#define SCI_FORMFEED 2330
711#define SCI_VCHOME 2331
712#define SCI_VCHOMEEXTEND 2332
713#define SCI_ZOOMIN 2333
714#define SCI_ZOOMOUT 2334
715#define SCI_DELWORDLEFT 2335
716#define SCI_DELWORDRIGHT 2336
717#define SCI_DELWORDRIGHTEND 2518
718#define SCI_LINECUT 2337
719#define SCI_LINEDELETE 2338
720#define SCI_LINETRANSPOSE 2339
721#define SCI_LINEREVERSE 2354
722#define SCI_LINEDUPLICATE 2404
723#define SCI_LOWERCASE 2340
724#define SCI_UPPERCASE 2341
725#define SCI_LINESCROLLDOWN 2342
726#define SCI_LINESCROLLUP 2343
727#define SCI_DELETEBACKNOTLINE 2344
728#define SCI_HOMEDISPLAY 2345
729#define SCI_HOMEDISPLAYEXTEND 2346
730#define SCI_LINEENDDISPLAY 2347
731#define SCI_LINEENDDISPLAYEXTEND 2348
732#define SCI_HOMEWRAP 2349
733#define SCI_HOMEWRAPEXTEND 2450
734#define SCI_LINEENDWRAP 2451
735#define SCI_LINEENDWRAPEXTEND 2452
736#define SCI_VCHOMEWRAP 2453
737#define SCI_VCHOMEWRAPEXTEND 2454
738#define SCI_LINECOPY 2455
739#define SCI_MOVECARETINSIDEVIEW 2401
740#define SCI_LINELENGTH 2350
741#define SCI_BRACEHIGHLIGHT 2351
742#define SCI_BRACEHIGHLIGHTINDICATOR 2498
743#define SCI_BRACEBADLIGHT 2352
744#define SCI_BRACEBADLIGHTINDICATOR 2499
745#define SCI_BRACEMATCH 2353
746#define SCI_BRACEMATCHNEXT 2369
747#define SCI_GETVIEWEOL 2355
748#define SCI_SETVIEWEOL 2356
749#define SCI_GETDOCPOINTER 2357
750#define SCI_SETDOCPOINTER 2358
751#define SCI_SETMODEVENTMASK 2359
752#define EDGE_NONE 0
753#define EDGE_LINE 1
754#define EDGE_BACKGROUND 2
755#define EDGE_MULTILINE 3
756#define SCI_GETEDGECOLUMN 2360
757#define SCI_SETEDGECOLUMN 2361
758#define SCI_GETEDGEMODE 2362
759#define SCI_SETEDGEMODE 2363
760#define SCI_GETEDGECOLOUR 2364
761#define SCI_SETEDGECOLOUR 2365
762#define SCI_MULTIEDGEADDLINE 2694
763#define SCI_MULTIEDGECLEARALL 2695
764#define SCI_GETMULTIEDGECOLUMN 2749
765#define SCI_SEARCHANCHOR 2366
766#define SCI_SEARCHNEXT 2367
767#define SCI_SEARCHPREV 2368
768#define SCI_LINESONSCREEN 2370
769#define SC_POPUP_NEVER 0
770#define SC_POPUP_ALL 1
771#define SC_POPUP_TEXT 2
772#define SCI_USEPOPUP 2371
773#define SCI_SELECTIONISRECTANGLE 2372
774#define SCI_SETZOOM 2373
775#define SCI_GETZOOM 2374
776#define SC_DOCUMENTOPTION_DEFAULT 0
777#define SC_DOCUMENTOPTION_STYLES_NONE 0x1
778#define SC_DOCUMENTOPTION_TEXT_LARGE 0x100
779#define SCI_CREATEDOCUMENT 2375
780#define SCI_ADDREFDOCUMENT 2376
781#define SCI_RELEASEDOCUMENT 2377
782#define SCI_GETDOCUMENTOPTIONS 2379
783#define SCI_GETMODEVENTMASK 2378
784#define SCI_SETCOMMANDEVENTS 2717
785#define SCI_GETCOMMANDEVENTS 2718
786#define SCI_SETFOCUS 2380
787#define SCI_GETFOCUS 2381
788#define SC_STATUS_OK 0
789#define SC_STATUS_FAILURE 1
790#define SC_STATUS_BADALLOC 2
791#define SC_STATUS_WARN_START 1000
792#define SC_STATUS_WARN_REGEX 1001
793#define SCI_SETSTATUS 2382
794#define SCI_GETSTATUS 2383
795#define SCI_SETMOUSEDOWNCAPTURES 2384
796#define SCI_GETMOUSEDOWNCAPTURES 2385
797#define SCI_SETMOUSEWHEELCAPTURES 2696
798#define SCI_GETMOUSEWHEELCAPTURES 2697
799#define SCI_SETCURSOR 2386
800#define SCI_GETCURSOR 2387
801#define SCI_SETCONTROLCHARSYMBOL 2388
802#define SCI_GETCONTROLCHARSYMBOL 2389
803#define SCI_WORDPARTLEFT 2390
804#define SCI_WORDPARTLEFTEXTEND 2391
805#define SCI_WORDPARTRIGHT 2392
806#define SCI_WORDPARTRIGHTEXTEND 2393
807#define VISIBLE_SLOP 0x01
808#define VISIBLE_STRICT 0x04
809#define SCI_SETVISIBLEPOLICY 2394
810#define SCI_DELLINELEFT 2395
811#define SCI_DELLINERIGHT 2396
812#define SCI_SETXOFFSET 2397
813#define SCI_GETXOFFSET 2398
814#define SCI_CHOOSECARETX 2399
815#define SCI_GRABFOCUS 2400
816#define CARET_SLOP 0x01
817#define CARET_STRICT 0x04
818#define CARET_JUMPS 0x10
819#define CARET_EVEN 0x08
820#define SCI_SETXCARETPOLICY 2402
821#define SCI_SETYCARETPOLICY 2403
822#define SCI_SETPRINTWRAPMODE 2406
823#define SCI_GETPRINTWRAPMODE 2407
824#define SCI_SETHOTSPOTACTIVEFORE 2410
825#define SCI_GETHOTSPOTACTIVEFORE 2494
826#define SCI_SETHOTSPOTACTIVEBACK 2411
827#define SCI_GETHOTSPOTACTIVEBACK 2495
828#define SCI_SETHOTSPOTACTIVEUNDERLINE 2412
829#define SCI_GETHOTSPOTACTIVEUNDERLINE 2496
830#define SCI_SETHOTSPOTSINGLELINE 2421
831#define SCI_GETHOTSPOTSINGLELINE 2497
832#define SCI_PARADOWN 2413
833#define SCI_PARADOWNEXTEND 2414
834#define SCI_PARAUP 2415
835#define SCI_PARAUPEXTEND 2416
836#define SCI_POSITIONBEFORE 2417
837#define SCI_POSITIONAFTER 2418
838#define SCI_POSITIONRELATIVE 2670
839#define SCI_POSITIONRELATIVECODEUNITS 2716
840#define SCI_COPYRANGE 2419
841#define SCI_COPYTEXT 2420
842#define SC_SEL_STREAM 0
843#define SC_SEL_RECTANGLE 1
844#define SC_SEL_LINES 2
845#define SC_SEL_THIN 3
846#define SCI_SETSELECTIONMODE 2422
847#define SCI_GETSELECTIONMODE 2423
848#define SCI_GETMOVEEXTENDSSELECTION 2706
849#define SCI_GETLINESELSTARTPOSITION 2424
850#define SCI_GETLINESELENDPOSITION 2425
851#define SCI_LINEDOWNRECTEXTEND 2426
852#define SCI_LINEUPRECTEXTEND 2427
853#define SCI_CHARLEFTRECTEXTEND 2428
854#define SCI_CHARRIGHTRECTEXTEND 2429
855#define SCI_HOMERECTEXTEND 2430
856#define SCI_VCHOMERECTEXTEND 2431
857#define SCI_LINEENDRECTEXTEND 2432
858#define SCI_PAGEUPRECTEXTEND 2433
859#define SCI_PAGEDOWNRECTEXTEND 2434
860#define SCI_STUTTEREDPAGEUP 2435
861#define SCI_STUTTEREDPAGEUPEXTEND 2436
862#define SCI_STUTTEREDPAGEDOWN 2437
863#define SCI_STUTTEREDPAGEDOWNEXTEND 2438
864#define SCI_WORDLEFTEND 2439
865#define SCI_WORDLEFTENDEXTEND 2440
866#define SCI_WORDRIGHTEND 2441
867#define SCI_WORDRIGHTENDEXTEND 2442
868#define SCI_SETWHITESPACECHARS 2443
869#define SCI_GETWHITESPACECHARS 2647
870#define SCI_SETPUNCTUATIONCHARS 2648
871#define SCI_GETPUNCTUATIONCHARS 2649
872#define SCI_SETCHARSDEFAULT 2444
873#define SCI_AUTOCGETCURRENT 2445
874#define SCI_AUTOCGETCURRENTTEXT 2610
875#define SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE 0
876#define SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE 1
877#define SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR 2634
878#define SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR 2635
879#define SC_MULTIAUTOC_ONCE 0
880#define SC_MULTIAUTOC_EACH 1
881#define SCI_AUTOCSETMULTI 2636
882#define SCI_AUTOCGETMULTI 2637
883#define SC_ORDER_PRESORTED 0
884#define SC_ORDER_PERFORMSORT 1
885#define SC_ORDER_CUSTOM 2
886#define SCI_AUTOCSETORDER 2660
887#define SCI_AUTOCGETORDER 2661
888#define SCI_ALLOCATE 2446
889#define SCI_TARGETASUTF8 2447
890#define SCI_SETLENGTHFORENCODE 2448
891#define SCI_ENCODEDFROMUTF8 2449
892#define SCI_FINDCOLUMN 2456
893#define SC_CARETSTICKY_OFF 0
894#define SC_CARETSTICKY_ON 1
895#define SC_CARETSTICKY_WHITESPACE 2
896#define SCI_GETCARETSTICKY 2457
897#define SCI_SETCARETSTICKY 2458
898#define SCI_TOGGLECARETSTICKY 2459
899#define SCI_SETPASTECONVERTENDINGS 2467
900#define SCI_GETPASTECONVERTENDINGS 2468
901#define SCI_REPLACERECTANGULAR 2771
902#define SCI_SELECTIONDUPLICATE 2469
903#define SCI_SETCARETLINEBACKALPHA 2470
904#define SCI_GETCARETLINEBACKALPHA 2471
905#define CARETSTYLE_INVISIBLE 0
906#define CARETSTYLE_LINE 1
907#define CARETSTYLE_BLOCK 2
908#define CARETSTYLE_OVERSTRIKE_BAR 0
909#define CARETSTYLE_OVERSTRIKE_BLOCK 0x10
910#define CARETSTYLE_CURSES 0x20
911#define CARETSTYLE_INS_MASK 0xF
912#define CARETSTYLE_BLOCK_AFTER 0x100
913#define SCI_SETCARETSTYLE 2512
914#define SCI_GETCARETSTYLE 2513
915#define SCI_SETINDICATORCURRENT 2500
916#define SCI_GETINDICATORCURRENT 2501
917#define SCI_SETINDICATORVALUE 2502
918#define SCI_GETINDICATORVALUE 2503
919#define SCI_INDICATORFILLRANGE 2504
920#define SCI_INDICATORCLEARRANGE 2505
921#define SCI_INDICATORALLONFOR 2506
922#define SCI_INDICATORVALUEAT 2507
923#define SCI_INDICATORSTART 2508
924#define SCI_INDICATOREND 2509
925#define SCI_SETPOSITIONCACHE 2514
926#define SCI_GETPOSITIONCACHE 2515
927#define SCI_COPYALLOWLINE 2519
928#define SCI_GETCHARACTERPOINTER 2520
929#define SCI_GETRANGEPOINTER 2643
930#define SCI_GETGAPPOSITION 2644
931#define SCI_INDICSETALPHA 2523
932#define SCI_INDICGETALPHA 2524
933#define SCI_INDICSETOUTLINEALPHA 2558
934#define SCI_INDICGETOUTLINEALPHA 2559
935#define SCI_SETEXTRAASCENT 2525
936#define SCI_GETEXTRAASCENT 2526
937#define SCI_SETEXTRADESCENT 2527
938#define SCI_GETEXTRADESCENT 2528
939#define SCI_MARKERSYMBOLDEFINED 2529
940#define SCI_MARGINSETTEXT 2530
941#define SCI_MARGINGETTEXT 2531
942#define SCI_MARGINSETSTYLE 2532
943#define SCI_MARGINGETSTYLE 2533
944#define SCI_MARGINSETSTYLES 2534
945#define SCI_MARGINGETSTYLES 2535
946#define SCI_MARGINTEXTCLEARALL 2536
947#define SCI_MARGINSETSTYLEOFFSET 2537
948#define SCI_MARGINGETSTYLEOFFSET 2538
949#define SC_MARGINOPTION_NONE 0
950#define SC_MARGINOPTION_SUBLINESELECT 1
951#define SCI_SETMARGINOPTIONS 2539
952#define SCI_GETMARGINOPTIONS 2557
953#define SCI_ANNOTATIONSETTEXT 2540
954#define SCI_ANNOTATIONGETTEXT 2541
955#define SCI_ANNOTATIONSETSTYLE 2542
956#define SCI_ANNOTATIONGETSTYLE 2543
957#define SCI_ANNOTATIONSETSTYLES 2544
958#define SCI_ANNOTATIONGETSTYLES 2545
959#define SCI_ANNOTATIONGETLINES 2546
960#define SCI_ANNOTATIONCLEARALL 2547
961#define ANNOTATION_HIDDEN 0
962#define ANNOTATION_STANDARD 1
963#define ANNOTATION_BOXED 2
964#define ANNOTATION_INDENTED 3
965#define SCI_ANNOTATIONSETVISIBLE 2548
966#define SCI_ANNOTATIONGETVISIBLE 2549
967#define SCI_ANNOTATIONSETSTYLEOFFSET 2550
968#define SCI_ANNOTATIONGETSTYLEOFFSET 2551
969#define SCI_RELEASEALLEXTENDEDSTYLES 2552
970#define SCI_ALLOCATEEXTENDEDSTYLES 2553
971#define UNDO_NONE 0
972#define UNDO_MAY_COALESCE 1
973#define SCI_ADDUNDOACTION 2560
974#define SCI_CHARPOSITIONFROMPOINT 2561
975#define SCI_CHARPOSITIONFROMPOINTCLOSE 2562
976#define SCI_SETMOUSESELECTIONRECTANGULARSWITCH 2668
977#define SCI_GETMOUSESELECTIONRECTANGULARSWITCH 2669
978#define SCI_SETMULTIPLESELECTION 2563
979#define SCI_GETMULTIPLESELECTION 2564
980#define SCI_SETADDITIONALSELECTIONTYPING 2565
981#define SCI_GETADDITIONALSELECTIONTYPING 2566
982#define SCI_SETADDITIONALCARETSBLINK 2567
983#define SCI_GETADDITIONALCARETSBLINK 2568
984#define SCI_SETADDITIONALCARETSVISIBLE 2608
985#define SCI_GETADDITIONALCARETSVISIBLE 2609
986#define SCI_GETSELECTIONS 2570
987#define SCI_GETSELECTIONEMPTY 2650
988#define SCI_CLEARSELECTIONS 2571
989#define SCI_SETSELECTION 2572
990#define SCI_ADDSELECTION 2573
991#define SCI_DROPSELECTIONN 2671
992#define SCI_SETMAINSELECTION 2574
993#define SCI_GETMAINSELECTION 2575
994#define SCI_SETSELECTIONNCARET 2576
995#define SCI_GETSELECTIONNCARET 2577
996#define SCI_SETSELECTIONNANCHOR 2578
997#define SCI_GETSELECTIONNANCHOR 2579
998#define SCI_SETSELECTIONNCARETVIRTUALSPACE 2580
999#define SCI_GETSELECTIONNCARETVIRTUALSPACE 2581
1000#define SCI_SETSELECTIONNANCHORVIRTUALSPACE 2582
1001#define SCI_GETSELECTIONNANCHORVIRTUALSPACE 2583
1002#define SCI_SETSELECTIONNSTART 2584
1003#define SCI_GETSELECTIONNSTART 2585
1004#define SCI_GETSELECTIONNSTARTVIRTUALSPACE 2726
1005#define SCI_SETSELECTIONNEND 2586
1006#define SCI_GETSELECTIONNENDVIRTUALSPACE 2727
1007#define SCI_GETSELECTIONNEND 2587
1008#define SCI_SETRECTANGULARSELECTIONCARET 2588
1009#define SCI_GETRECTANGULARSELECTIONCARET 2589
1010#define SCI_SETRECTANGULARSELECTIONANCHOR 2590
1011#define SCI_GETRECTANGULARSELECTIONANCHOR 2591
1012#define SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE 2592
1013#define SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE 2593
1014#define SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE 2594
1015#define SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE 2595
1016#define SCVS_NONE 0
1017#define SCVS_RECTANGULARSELECTION 1
1018#define SCVS_USERACCESSIBLE 2
1019#define SCVS_NOWRAPLINESTART 4
1020#define SCI_SETVIRTUALSPACEOPTIONS 2596
1021#define SCI_GETVIRTUALSPACEOPTIONS 2597
1022#define SCI_SETRECTANGULARSELECTIONMODIFIER 2598
1023#define SCI_GETRECTANGULARSELECTIONMODIFIER 2599
1024#define SCI_SETADDITIONALSELFORE 2600
1025#define SCI_SETADDITIONALSELBACK 2601
1026#define SCI_SETADDITIONALSELALPHA 2602
1027#define SCI_GETADDITIONALSELALPHA 2603
1028#define SCI_SETADDITIONALCARETFORE 2604
1029#define SCI_GETADDITIONALCARETFORE 2605
1030#define SCI_ROTATESELECTION 2606
1031#define SCI_SWAPMAINANCHORCARET 2607
1032#define SCI_MULTIPLESELECTADDNEXT 2688
1033#define SCI_MULTIPLESELECTADDEACH 2689
1034#define SCI_CHANGELEXERSTATE 2617
1035#define SCI_CONTRACTEDFOLDNEXT 2618
1036#define SCI_VERTICALCENTRECARET 2619
1037#define SCI_MOVESELECTEDLINESUP 2620
1038#define SCI_MOVESELECTEDLINESDOWN 2621
1039#define SCI_SETIDENTIFIER 2622
1040#define SCI_GETIDENTIFIER 2623
1041#define SCI_RGBAIMAGESETWIDTH 2624
1042#define SCI_RGBAIMAGESETHEIGHT 2625
1043#define SCI_RGBAIMAGESETSCALE 2651
1044#define SCI_MARKERDEFINERGBAIMAGE 2626
1045#define SCI_REGISTERRGBAIMAGE 2627
1046#define SCI_SCROLLTOSTART 2628
1047#define SCI_SCROLLTOEND 2629
1048#define SC_TECHNOLOGY_DEFAULT 0
1049#define SC_TECHNOLOGY_DIRECTWRITE 1
1050#define SC_TECHNOLOGY_DIRECTWRITERETAIN 2
1051#define SC_TECHNOLOGY_DIRECTWRITEDC 3
1052#define SCI_SETTECHNOLOGY 2630
1053#define SCI_GETTECHNOLOGY 2631
1054#define SCI_CREATELOADER 2632
1055#define SCI_FINDINDICATORSHOW 2640
1056#define SCI_FINDINDICATORFLASH 2641
1057#define SCI_FINDINDICATORHIDE 2642
1058#define SCI_VCHOMEDISPLAY 2652
1059#define SCI_VCHOMEDISPLAYEXTEND 2653
1060#define SCI_GETCARETLINEVISIBLEALWAYS 2654
1061#define SCI_SETCARETLINEVISIBLEALWAYS 2655
1062#define SC_LINE_END_TYPE_DEFAULT 0
1063#define SC_LINE_END_TYPE_UNICODE 1
1064#define SCI_SETLINEENDTYPESALLOWED 2656
1065#define SCI_GETLINEENDTYPESALLOWED 2657
1066#define SCI_GETLINEENDTYPESACTIVE 2658
1067#define SCI_SETREPRESENTATION 2665
1068#define SCI_GETREPRESENTATION 2666
1069#define SCI_CLEARREPRESENTATION 2667
1070#define SCI_CLEARALLREPRESENTATIONS 2770
1071#define SC_REPRESENTATION_PLAIN 0
1072#define SC_REPRESENTATION_BLOB 1
1073#define SC_REPRESENTATION_COLOUR 0x10
1074#define SCI_SETREPRESENTATIONAPPEARANCE 2766
1075#define SCI_GETREPRESENTATIONAPPEARANCE 2767
1076#define SCI_SETREPRESENTATIONCOLOUR 2768
1077#define SCI_GETREPRESENTATIONCOLOUR 2769
1078#define SCI_EOLANNOTATIONSETTEXT 2740
1079#define SCI_EOLANNOTATIONGETTEXT 2741
1080#define SCI_EOLANNOTATIONSETSTYLE 2742
1081#define SCI_EOLANNOTATIONGETSTYLE 2743
1082#define SCI_EOLANNOTATIONCLEARALL 2744
1083#define EOLANNOTATION_HIDDEN 0x0
1084#define EOLANNOTATION_STANDARD 0x1
1085#define EOLANNOTATION_BOXED 0x2
1086#define EOLANNOTATION_STADIUM 0x100
1087#define EOLANNOTATION_FLAT_CIRCLE 0x101
1088#define EOLANNOTATION_ANGLE_CIRCLE 0x102
1089#define EOLANNOTATION_CIRCLE_FLAT 0x110
1090#define EOLANNOTATION_FLATS 0x111
1091#define EOLANNOTATION_ANGLE_FLAT 0x112
1092#define EOLANNOTATION_CIRCLE_ANGLE 0x120
1093#define EOLANNOTATION_FLAT_ANGLE 0x121
1094#define EOLANNOTATION_ANGLES 0x122
1095#define SCI_EOLANNOTATIONSETVISIBLE 2745
1096#define SCI_EOLANNOTATIONGETVISIBLE 2746
1097#define SCI_EOLANNOTATIONSETSTYLEOFFSET 2747
1098#define SCI_EOLANNOTATIONGETSTYLEOFFSET 2748
1099#define SC_SUPPORTS_LINE_DRAWS_FINAL 0
1100#define SC_SUPPORTS_PIXEL_DIVISIONS 1
1101#define SC_SUPPORTS_FRACTIONAL_STROKE_WIDTH 2
1102#define SC_SUPPORTS_TRANSLUCENT_STROKE 3
1103#define SC_SUPPORTS_PIXEL_MODIFICATION 4
1104#define SCI_SUPPORTSFEATURE 2750
1105#define SC_LINECHARACTERINDEX_NONE 0
1106#define SC_LINECHARACTERINDEX_UTF32 1
1107#define SC_LINECHARACTERINDEX_UTF16 2
1108#define SCI_GETLINECHARACTERINDEX 2710
1109#define SCI_ALLOCATELINECHARACTERINDEX 2711
1110#define SCI_RELEASELINECHARACTERINDEX 2712
1111#define SCI_LINEFROMINDEXPOSITION 2713
1112#define SCI_INDEXPOSITIONFROMLINE 2714
1113#define SCI_STARTRECORD 3001
1114#define SCI_STOPRECORD 3002
1115#define SCI_GETLEXER 4002
1116#define SCI_COLOURISE 4003
1117#define SCI_SETPROPERTY 4004
1118#define KEYWORDSET_MAX 8
1119#define SCI_SETKEYWORDS 4005
1120#define SCI_GETPROPERTY 4008
1121#define SCI_GETPROPERTYEXPANDED 4009
1122#define SCI_GETPROPERTYINT 4010
1123#define SCI_GETLEXERLANGUAGE 4012
1124#define SCI_PRIVATELEXERCALL 4013
1125#define SCI_PROPERTYNAMES 4014
1126#define SC_TYPE_BOOLEAN 0
1127#define SC_TYPE_INTEGER 1
1128#define SC_TYPE_STRING 2
1129#define SCI_PROPERTYTYPE 4015
1130#define SCI_DESCRIBEPROPERTY 4016
1131#define SCI_DESCRIBEKEYWORDSETS 4017
1132#define SCI_GETLINEENDTYPESSUPPORTED 4018
1133#define SCI_ALLOCATESUBSTYLES 4020
1134#define SCI_GETSUBSTYLESSTART 4021
1135#define SCI_GETSUBSTYLESLENGTH 4022
1136#define SCI_GETSTYLEFROMSUBSTYLE 4027
1137#define SCI_GETPRIMARYSTYLEFROMSTYLE 4028
1138#define SCI_FREESUBSTYLES 4023
1139#define SCI_SETIDENTIFIERS 4024
1140#define SCI_DISTANCETOSECONDARYSTYLES 4025
1141#define SCI_GETSUBSTYLEBASES 4026
1142#define SCI_GETNAMEDSTYLES 4029
1143#define SCI_NAMEOFSTYLE 4030
1144#define SCI_TAGSOFSTYLE 4031
1145#define SCI_DESCRIPTIONOFSTYLE 4032
1146#define SCI_SETILEXER 4033
1147#define SC_MOD_NONE 0x0
1148#define SC_MOD_INSERTTEXT 0x1
1149#define SC_MOD_DELETETEXT 0x2
1150#define SC_MOD_CHANGESTYLE 0x4
1151#define SC_MOD_CHANGEFOLD 0x8
1152#define SC_PERFORMED_USER 0x10
1153#define SC_PERFORMED_UNDO 0x20
1154#define SC_PERFORMED_REDO 0x40
1155#define SC_MULTISTEPUNDOREDO 0x80
1156#define SC_LASTSTEPINUNDOREDO 0x100
1157#define SC_MOD_CHANGEMARKER 0x200
1158#define SC_MOD_BEFOREINSERT 0x400
1159#define SC_MOD_BEFOREDELETE 0x800
1160#define SC_MULTILINEUNDOREDO 0x1000
1161#define SC_STARTACTION 0x2000
1162#define SC_MOD_CHANGEINDICATOR 0x4000
1163#define SC_MOD_CHANGELINESTATE 0x8000
1164#define SC_MOD_CHANGEMARGIN 0x10000
1165#define SC_MOD_CHANGEANNOTATION 0x20000
1166#define SC_MOD_CONTAINER 0x40000
1167#define SC_MOD_LEXERSTATE 0x80000
1168#define SC_MOD_INSERTCHECK 0x100000
1169#define SC_MOD_CHANGETABSTOPS 0x200000
1170#define SC_MOD_CHANGEEOLANNOTATION 0x400000
1171#define SC_MODEVENTMASKALL 0x7FFFFF
1172#define SC_UPDATE_NONE 0x0
1173#define SC_UPDATE_CONTENT 0x1
1174#define SC_UPDATE_SELECTION 0x2
1175#define SC_UPDATE_V_SCROLL 0x4
1176#define SC_UPDATE_H_SCROLL 0x8
1177#define SCEN_CHANGE 768
1178#define SCEN_SETFOCUS 512
1179#define SCEN_KILLFOCUS 256
1180#define SCK_DOWN 300
1181#define SCK_UP 301
1182#define SCK_LEFT 302
1183#define SCK_RIGHT 303
1184#define SCK_HOME 304
1185#define SCK_END 305
1186#define SCK_PRIOR 306
1187#define SCK_NEXT 307
1188#define SCK_DELETE 308
1189#define SCK_INSERT 309
1190#define SCK_ESCAPE 7
1191#define SCK_BACK 8
1192#define SCK_TAB 9
1193#define SCK_RETURN 13
1194#define SCK_ADD 310
1195#define SCK_SUBTRACT 311
1196#define SCK_DIVIDE 312
1197#define SCK_WIN 313
1198#define SCK_RWIN 314
1199#define SCK_MENU 315
1200#define SCMOD_NORM 0
1201#define SCMOD_SHIFT 1
1202#define SCMOD_CTRL 2
1203#define SCMOD_ALT 4
1204#define SCMOD_SUPER 8
1205#define SCMOD_META 16
1206#define SC_AC_FILLUP 1
1207#define SC_AC_DOUBLECLICK 2
1208#define SC_AC_TAB 3
1209#define SC_AC_NEWLINE 4
1210#define SC_AC_COMMAND 5
1211#define SC_CHARACTERSOURCE_DIRECT_INPUT 0
1212#define SC_CHARACTERSOURCE_TENTATIVE_INPUT 1
1213#define SC_CHARACTERSOURCE_IME_RESULT 2
1214#define SCN_STYLENEEDED 2000
1215#define SCN_CHARADDED 2001
1216#define SCN_SAVEPOINTREACHED 2002
1217#define SCN_SAVEPOINTLEFT 2003
1218#define SCN_MODIFYATTEMPTRO 2004
1219#define SCN_KEY 2005
1220#define SCN_DOUBLECLICK 2006
1221#define SCN_UPDATEUI 2007
1222#define SCN_MODIFIED 2008
1223#define SCN_MACRORECORD 2009
1224#define SCN_MARGINCLICK 2010
1225#define SCN_NEEDSHOWN 2011
1226#define SCN_PAINTED 2013
1227#define SCN_USERLISTSELECTION 2014
1228#define SCN_URIDROPPED 2015
1229#define SCN_DWELLSTART 2016
1230#define SCN_DWELLEND 2017
1231#define SCN_ZOOM 2018
1232#define SCN_HOTSPOTCLICK 2019
1233#define SCN_HOTSPOTDOUBLECLICK 2020
1234#define SCN_CALLTIPCLICK 2021
1235#define SCN_AUTOCSELECTION 2022
1236#define SCN_INDICATORCLICK 2023
1237#define SCN_INDICATORRELEASE 2024
1238#define SCN_AUTOCCANCELLED 2025
1239#define SCN_AUTOCCHARDELETED 2026
1240#define SCN_HOTSPOTRELEASECLICK 2027
1241#define SCN_FOCUSIN 2028
1242#define SCN_FOCUSOUT 2029
1243#define SCN_AUTOCCOMPLETED 2030
1244#define SCN_MARGINRIGHTCLICK 2031
1245#define SCN_AUTOCSELECTIONCHANGE 2032
1246#ifndef SCI_DISABLE_PROVISIONAL
1247#define SC_BIDIRECTIONAL_DISABLED 0
1248#define SC_BIDIRECTIONAL_L2R 1
1249#define SC_BIDIRECTIONAL_R2L 2
1250#define SCI_GETBIDIRECTIONAL 2708
1251#define SCI_SETBIDIRECTIONAL 2709
1252#endif
1253/* --Autogenerated -- end of section automatically generated from Scintilla.iface */
1254
1255#endif
1256
1257/* These structures are defined to be exactly the same shape as the Win32
1258 * CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs.
1259 * So older code that treats Scintilla as a RichEdit will work. */
1260
1261struct Sci_CharacterRange {
1262 Sci_PositionCR cpMin;
1263 Sci_PositionCR cpMax;
1264};
1265
1266struct Sci_TextRange {
1267 struct Sci_CharacterRange chrg;
1268 char *lpstrText;
1269};
1270
1271struct Sci_TextToFind {
1272 struct Sci_CharacterRange chrg;
1273 const char *lpstrText;
1274 struct Sci_CharacterRange chrgText;
1275};
1276
1277typedef void *Sci_SurfaceID;
1278
1279struct Sci_Rectangle {
1280 int left;
1281 int top;
1282 int right;
1283 int bottom;
1284};
1285
1286/* This structure is used in printing and requires some of the graphics types
1287 * from Platform.h. Not needed by most client code. */
1288
1289struct Sci_RangeToFormat {
1290 Sci_SurfaceID hdc;
1291 Sci_SurfaceID hdcTarget;
1292 struct Sci_Rectangle rc;
1293 struct Sci_Rectangle rcPage;
1294 struct Sci_CharacterRange chrg;
1295};
1296
1297#ifndef __cplusplus
1298/* For the GTK+ platform, g-ir-scanner needs to have these typedefs. This
1299 * is not required in C++ code and actually seems to break ScintillaEditPy */
1300typedef struct Sci_NotifyHeader Sci_NotifyHeader;
1301typedef struct SCNotification SCNotification;
1302#endif
1303
1304struct Sci_NotifyHeader {
1305 /* Compatible with Windows NMHDR.
1306 * hwndFrom is really an environment specific window handle or pointer
1307 * but most clients of Scintilla.h do not have this type visible. */
1308 void *hwndFrom;
1309 uptr_t idFrom;
1310 unsigned int code;
1311};
1312
1313struct SCNotification {
1314 Sci_NotifyHeader nmhdr;
1315 Sci_Position position;
1316 /* SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, */
1317 /* SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, */
1318 /* SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, */
1319 /* SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
1320 /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
1321
1322 int ch;
1323 /* SCN_CHARADDED, SCN_KEY, SCN_AUTOCCOMPLETED, SCN_AUTOCSELECTION, */
1324 /* SCN_USERLISTSELECTION */
1325 int modifiers;
1326 /* SCN_KEY, SCN_DOUBLECLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, */
1327 /* SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
1328
1329 int modificationType; /* SCN_MODIFIED */
1330 const char *text;
1331 /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED */
1332
1333 Sci_Position length; /* SCN_MODIFIED */
1334 Sci_Position linesAdded; /* SCN_MODIFIED */
1335 int message; /* SCN_MACRORECORD */
1336 uptr_t wParam; /* SCN_MACRORECORD */
1337 sptr_t lParam; /* SCN_MACRORECORD */
1338 Sci_Position line; /* SCN_MODIFIED */
1339 int foldLevelNow; /* SCN_MODIFIED */
1340 int foldLevelPrev; /* SCN_MODIFIED */
1341 int margin; /* SCN_MARGINCLICK */
1342 int listType; /* SCN_USERLISTSELECTION */
1343 int x; /* SCN_DWELLSTART, SCN_DWELLEND */
1344 int y; /* SCN_DWELLSTART, SCN_DWELLEND */
1345 int token; /* SCN_MODIFIED with SC_MOD_CONTAINER */
1346 Sci_Position annotationLinesAdded; /* SCN_MODIFIED with SC_MOD_CHANGEANNOTATION */
1347 int updated; /* SCN_UPDATEUI */
1348 int listCompletionMethod;
1349 /* SCN_AUTOCSELECTION, SCN_AUTOCCOMPLETED, SCN_USERLISTSELECTION, */
1350 int characterSource; /* SCN_CHARADDED */
1351};
1352
1353#ifdef INCLUDE_DEPRECATED_FEATURES
1354
1355#define SCI_SETKEYSUNICODE 2521
1356#define SCI_GETKEYSUNICODE 2522
1357
1358#define SCI_GETTWOPHASEDRAW 2283
1359#define SCI_SETTWOPHASEDRAW 2284
1360
1361#define CharacterRange Sci_CharacterRange
1362#define TextRange Sci_TextRange
1363#define TextToFind Sci_TextToFind
1364#define RangeToFormat Sci_RangeToFormat
1365#define NotifyHeader Sci_NotifyHeader
1366
1367#define SCI_SETSTYLEBITS 2090
1368#define SCI_GETSTYLEBITS 2091
1369#define SCI_GETSTYLEBITSNEEDED 4011
1370
1371#define INDIC0_MASK 0x20
1372#define INDIC1_MASK 0x40
1373#define INDIC2_MASK 0x80
1374#define INDICS_MASK 0xE0
1375
1376#endif
1377
1378#endif
1379