@@ -166,6 +166,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
166
166
#define SC_MARKNUM_FOLDERSUB 29
167
167
#define SC_MARKNUM_FOLDER 30
168
168
#define SC_MARKNUM_FOLDEROPEN 31
169
+ #define SC_MASK_HISTORY 0x01E00000
169
170
#define SC_MASK_FOLDERS 0xFE000000
170
171
#define SCI_MARKERDEFINE 2040
171
172
#define SCI_MARKERSETFORE 2041
@@ -281,6 +282,17 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
281
282
#define SCI_STYLESETHOTSPOT 2409
282
283
#define SCI_STYLESETCHECKMONOSPACED 2254
283
284
#define SCI_STYLEGETCHECKMONOSPACED 2255
285
+ #define SC_STRETCH_ULTRA_CONDENSED 1
286
+ #define SC_STRETCH_EXTRA_CONDENSED 2
287
+ #define SC_STRETCH_CONDENSED 3
288
+ #define SC_STRETCH_SEMI_CONDENSED 4
289
+ #define SC_STRETCH_NORMAL 5
290
+ #define SC_STRETCH_SEMI_EXPANDED 6
291
+ #define SC_STRETCH_EXPANDED 7
292
+ #define SC_STRETCH_EXTRA_EXPANDED 8
293
+ #define SC_STRETCH_ULTRA_EXPANDED 9
294
+ #define SCI_STYLESETSTRETCH 2258
295
+ #define SCI_STYLEGETSTRETCH 2259
284
296
#define SCI_STYLESETINVISIBLEREPRESENTATION 2256
285
297
#define SCI_STYLEGETINVISIBLEREPRESENTATION 2257
286
298
#define SC_ELEMENT_LIST 0
@@ -295,6 +307,8 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
295
307
#define SC_ELEMENT_SELECTION_SECONDARY_BACK 15
296
308
#define SC_ELEMENT_SELECTION_INACTIVE_TEXT 16
297
309
#define SC_ELEMENT_SELECTION_INACTIVE_BACK 17
310
+ #define SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT 18
311
+ #define SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK 19
298
312
#define SC_ELEMENT_CARET 40
299
313
#define SC_ELEMENT_CARET_ADDITIONAL 41
300
314
#define SC_ELEMENT_CARET_LINE_BACK 50
@@ -339,6 +353,21 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
339
353
#define SCI_GETCHARACTERCATEGORYOPTIMIZATION 2721
340
354
#define SCI_BEGINUNDOACTION 2078
341
355
#define SCI_ENDUNDOACTION 2079
356
+ #define SCI_GETUNDOSEQUENCE 2799
357
+ #define SCI_GETUNDOACTIONS 2790
358
+ #define SCI_SETUNDOSAVEPOINT 2791
359
+ #define SCI_GETUNDOSAVEPOINT 2792
360
+ #define SCI_SETUNDODETACH 2793
361
+ #define SCI_GETUNDODETACH 2794
362
+ #define SCI_SETUNDOTENTATIVE 2795
363
+ #define SCI_GETUNDOTENTATIVE 2796
364
+ #define SCI_SETUNDOCURRENT 2797
365
+ #define SCI_GETUNDOCURRENT 2798
366
+ #define SCI_PUSHUNDOACTIONTYPE 2800
367
+ #define SCI_CHANGELASTUNDOACTIONTEXT 2801
368
+ #define SCI_GETUNDOACTIONTYPE 2802
369
+ #define SCI_GETUNDOACTIONPOSITION 2803
370
+ #define SCI_GETUNDOACTIONTEXT 2804
342
371
#define INDIC_PLAIN 0
343
372
#define INDIC_SQUIGGLE 1
344
373
#define INDIC_TT 2
@@ -431,6 +460,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
431
460
#define SCI_AUTOCGETAUTOHIDE 2119
432
461
#define SC_AUTOCOMPLETE_NORMAL 0
433
462
#define SC_AUTOCOMPLETE_FIXED_SIZE 1
463
+ #define SC_AUTOCOMPLETE_SELECT_FIRST_ITEM 2
434
464
#define SCI_AUTOCSETOPTIONS 2638
435
465
#define SCI_AUTOCGETOPTIONS 2639
436
466
#define SCI_AUTOCSETDROPRESTOFWORD 2270
@@ -443,6 +473,8 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
443
473
#define SCI_AUTOCGETMAXWIDTH 2209
444
474
#define SCI_AUTOCSETMAXHEIGHT 2210
445
475
#define SCI_AUTOCGETMAXHEIGHT 2211
476
+ #define SCI_AUTOCSETSTYLE 2109
477
+ #define SCI_AUTOCGETSTYLE 2120
446
478
#define SCI_SETINDENT 2122
447
479
#define SCI_GETINDENT 2123
448
480
#define SCI_SETUSETABS 2124
@@ -500,6 +532,12 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
500
532
#define SC_CHANGE_HISTORY_INDICATORS 4
501
533
#define SCI_SETCHANGEHISTORY 2780
502
534
#define SCI_GETCHANGEHISTORY 2781
535
+ #define SC_UNDO_SELECTION_HISTORY_DISABLED 0
536
+ #define SC_UNDO_SELECTION_HISTORY_ENABLED 1
537
+ #define SCI_SETUNDOSELECTIONHISTORY 2782
538
+ #define SCI_GETUNDOSELECTIONHISTORY 2783
539
+ #define SCI_SETSELECTIONSERIALIZED 2784
540
+ #define SCI_GETSELECTIONSERIALIZED 2785
503
541
#define SCI_GETFIRSTVISIBLELINE 2152
504
542
#define SCI_GETLINE 2153
505
543
#define SCI_GETLINECOUNT 2154
@@ -735,7 +773,9 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
735
773
#define SCI_CANCEL 2325
736
774
#define SCI_DELETEBACK 2326
737
775
#define SCI_TAB 2327
776
+ #define SCI_LINEINDENT 2813
738
777
#define SCI_BACKTAB 2328
778
+ #define SCI_LINEDEDENT 2814
739
779
#define SCI_NEWLINE 2329
740
780
#define SCI_FORMFEED 2330
741
781
#define SCI_VCHOME 2331
@@ -959,6 +999,9 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
959
999
#define SCI_SETLAYOUTTHREADS 2775
960
1000
#define SCI_GETLAYOUTTHREADS 2776
961
1001
#define SCI_COPYALLOWLINE 2519
1002
+ #define SCI_CUTALLOWLINE 2810
1003
+ #define SCI_SETCOPYSEPARATOR 2811
1004
+ #define SCI_GETCOPYSEPARATOR 2812
962
1005
#define SCI_GETCHARACTERPOINTER 2520
963
1006
#define SCI_GETRANGEPOINTER 2643
964
1007
#define SCI_GETGAPPOSITION 2644
@@ -1084,6 +1127,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
1084
1127
#define SC_TECHNOLOGY_DIRECTWRITE 1
1085
1128
#define SC_TECHNOLOGY_DIRECTWRITERETAIN 2
1086
1129
#define SC_TECHNOLOGY_DIRECTWRITEDC 3
1130
+ #define SC_TECHNOLOGY_DIRECT_WRITE_1 4
1087
1131
#define SCI_SETTECHNOLOGY 2630
1088
1132
#define SCI_GETTECHNOLOGY 2631
1089
1133
#define SCI_CREATELOADER 2632
@@ -1357,7 +1401,7 @@ struct Sci_RangeToFormatFull {
1357
1401
1358
1402
#ifndef __cplusplus
1359
1403
/* For the GTK+ platform, g-ir-scanner needs to have these typedefs. This
1360
- * is not required in C++ code and actually seems to break ScintillaEditPy */
1404
+ * is not required in C++ code and has caused problems in the past. */
1361
1405
typedef struct Sci_NotifyHeader Sci_NotifyHeader ;
1362
1406
typedef struct SCNotification SCNotification ;
1363
1407
#endif
@@ -1375,21 +1419,25 @@ struct SCNotification {
1375
1419
Sci_NotifyHeader nmhdr ;
1376
1420
Sci_Position position ;
1377
1421
/* SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, */
1378
- /* SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, */
1422
+ /* SCN_MARGINRIGHTCLICK, SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, */
1423
+ /* SCN_CALLTIPCLICK, */
1379
1424
/* SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, */
1380
1425
/* SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
1381
- /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
1426
+ /* SCN_USERLISTSELECTION, SCN_AUTOCCOMPLETED, SCN_AUTOCSELECTION, */
1427
+ /* SCN_AUTOCSELECTIONCHANGE */
1382
1428
1383
1429
int ch ;
1384
1430
/* SCN_CHARADDED, SCN_KEY, SCN_AUTOCCOMPLETED, SCN_AUTOCSELECTION, */
1385
1431
/* SCN_USERLISTSELECTION */
1386
1432
int modifiers ;
1387
1433
/* SCN_KEY, SCN_DOUBLECLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, */
1388
1434
/* SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
1435
+ /* SCN_MARGINCLICK, SCN_MARGINRIGHTCLICK */
1389
1436
1390
1437
int modificationType ; /* SCN_MODIFIED */
1391
1438
const char * text ;
1392
- /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED */
1439
+ /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_URIDROPPED, */
1440
+ /* SCN_AUTOCCOMPLETED, SCN_AUTOCSELECTION, SCN_AUTOCSELECTIONCHANGE */
1393
1441
1394
1442
Sci_Position length ; /* SCN_MODIFIED */
1395
1443
Sci_Position linesAdded ; /* SCN_MODIFIED */
@@ -1399,15 +1447,15 @@ struct SCNotification {
1399
1447
Sci_Position line ; /* SCN_MODIFIED */
1400
1448
int foldLevelNow ; /* SCN_MODIFIED */
1401
1449
int foldLevelPrev ; /* SCN_MODIFIED */
1402
- int margin ; /* SCN_MARGINCLICK */
1403
- int listType ; /* SCN_USERLISTSELECTION */
1450
+ int margin ; /* SCN_MARGINCLICK, SCN_MARGINRIGHTCLICK */
1451
+ int listType ; /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTIONCHANGE */
1404
1452
int x ; /* SCN_DWELLSTART, SCN_DWELLEND */
1405
1453
int y ; /* SCN_DWELLSTART, SCN_DWELLEND */
1406
1454
int token ; /* SCN_MODIFIED with SC_MOD_CONTAINER */
1407
1455
Sci_Position annotationLinesAdded ; /* SCN_MODIFIED with SC_MOD_CHANGEANNOTATION */
1408
1456
int updated ; /* SCN_UPDATEUI */
1409
1457
int listCompletionMethod ;
1410
- /* SCN_AUTOCSELECTION, SCN_AUTOCCOMPLETED, SCN_USERLISTSELECTION, */
1458
+ /* SCN_AUTOCSELECTION, SCN_AUTOCCOMPLETED, SCN_USERLISTSELECTION */
1411
1459
int characterSource ; /* SCN_CHARADDED */
1412
1460
};
1413
1461
0 commit comments