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