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