~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/src/scintilla/include/Scintilla.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Scintilla source code edit control
 
1
/* Scintilla source code edit control */
2
2
/** @file Scintilla.h
3
3
 ** Interface to the edit control.
4
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.
 
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
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.
 
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
10
 
11
11
#ifndef SCINTILLA_H
12
12
#define SCINTILLA_H
15
15
typedef BOOL bool;
16
16
#endif
17
17
 
 
18
#ifdef __cplusplus
 
19
extern "C" {
 
20
#endif
 
21
 
18
22
#if PLAT_WIN
19
 
// Return false on failure:
 
23
/* Return false on failure: */
20
24
bool Scintilla_RegisterClasses(void *hInstance);
21
25
bool Scintilla_ReleaseResources();
22
26
#endif
23
27
int Scintilla_LinkLexers();
24
28
 
25
 
// Here should be placed typedefs for uptr_t, an unsigned integer type large enough to
26
 
// hold a pointer and sptr_t, a signed integer large enough to hold a pointer.
27
 
// May need to be changed for 64 bit platforms.
28
 
#if _MSC_VER >= 1300
29
 
#include <BaseTsd.h>
 
29
#ifdef __cplusplus
 
30
}
 
31
#endif
 
32
 
 
33
/* Here should be placed typedefs for uptr_t, an unsigned integer type large enough to
 
34
 * hold a pointer and sptr_t, a signed integer large enough to hold a pointer.
 
35
 * May need to be changed for 64 bit platforms. */
 
36
#if defined(_WIN32)
 
37
#include <basetsd.h>
30
38
#endif
31
39
#ifdef MAXULONG_PTR
32
40
typedef ULONG_PTR uptr_t;
38
46
 
39
47
typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam);
40
48
 
41
 
//++Autogenerated -- start of section automatically generated from Scintilla.iface
 
49
/* ++Autogenerated -- start of section automatically generated from Scintilla.iface */
42
50
#define INVALID_POSITION -1
43
51
#define SCI_START 2000
44
52
#define SCI_OPTIONAL_START 3000
118
126
#define SC_MARK_ARROWS 24
119
127
#define SC_MARK_PIXMAP 25
120
128
#define SC_MARK_FULLRECT 26
 
129
#define SC_MARK_LEFTRECT 27
 
130
#define SC_MARK_AVAILABLE 28
 
131
#define SC_MARK_UNDERLINE 29
121
132
#define SC_MARK_CHARACTER 10000
 
133
/* CHANGEBAR begin */
 
134
#define SC_MARKNUM_CHANGEUNSAVED 23 
 
135
#define SC_MARKNUM_CHANGESAVED 24 
 
136
/* CHANGEBAR end */
122
137
#define SC_MARKNUM_FOLDEREND 25
123
138
#define SC_MARKNUM_FOLDEROPENMID 26
124
139
#define SC_MARKNUM_FOLDERMIDTAIL 27
126
141
#define SC_MARKNUM_FOLDERSUB 29
127
142
#define SC_MARKNUM_FOLDER 30
128
143
#define SC_MARKNUM_FOLDEROPEN 31
129
 
#define SC_MASK_FOLDERS 0xFE000000
 
144
/* CHANGEBAR begin */
 
145
#define SC_MASK_FOLDERS 0xFF800000 
 
146
/* CHANGEBAR end */
130
147
#define SCI_MARKERDEFINE 2040
131
148
#define SCI_MARKERSETFORE 2041
132
149
#define SCI_MARKERSETBACK 2042
138
155
#define SCI_MARKERPREVIOUS 2048
139
156
#define SCI_MARKERDEFINEPIXMAP 2049
140
157
#define SCI_MARKERADDSET 2466
 
158
#define SCI_MARKERSETALPHA 2476
141
159
#define SC_MARGIN_SYMBOL 0
142
160
#define SC_MARGIN_NUMBER 1
 
161
#define SC_MARGIN_BACK 2
 
162
#define SC_MARGIN_FORE 3
 
163
#define SC_MARGIN_TEXT 4
 
164
#define SC_MARGIN_RTEXT 5
 
165
/* CHANGEBAR begin */
 
166
#define SC_MARGIN_CHANGED 6
 
167
/* CHANGEBAR end */
143
168
#define SCI_SETMARGINTYPEN 2240
144
169
#define SCI_GETMARGINTYPEN 2241
145
170
#define SCI_SETMARGINWIDTHN 2242
154
179
#define STYLE_BRACEBAD 35
155
180
#define STYLE_CONTROLCHAR 36
156
181
#define STYLE_INDENTGUIDE 37
 
182
#define STYLE_CALLTIP 38
157
183
#define STYLE_LASTPREDEFINED 39
158
 
#define STYLE_MAX 127
 
184
#define STYLE_MAX 255
159
185
#define SC_CHARSET_ANSI 0
160
186
#define SC_CHARSET_DEFAULT 1
161
187
#define SC_CHARSET_BALTIC 186
190
216
#define SC_CASE_MIXED 0
191
217
#define SC_CASE_UPPER 1
192
218
#define SC_CASE_LOWER 2
 
219
#define SCI_STYLEGETFORE 2481
 
220
#define SCI_STYLEGETBACK 2482
 
221
#define SCI_STYLEGETBOLD 2483
 
222
#define SCI_STYLEGETITALIC 2484
 
223
#define SCI_STYLEGETSIZE 2485
 
224
#define SCI_STYLEGETFONT 2486
 
225
#define SCI_STYLEGETEOLFILLED 2487
 
226
#define SCI_STYLEGETUNDERLINE 2488
 
227
#define SCI_STYLEGETCASE 2489
 
228
#define SCI_STYLEGETCHARACTERSET 2490
 
229
#define SCI_STYLEGETVISIBLE 2491
 
230
#define SCI_STYLEGETCHANGEABLE 2492
 
231
#define SCI_STYLEGETHOTSPOT 2493
193
232
#define SCI_STYLESETCASE 2060
194
233
#define SCI_STYLESETCHARACTERSET 2066
195
234
#define SCI_STYLESETHOTSPOT 2409
196
235
#define SCI_SETSELFORE 2067
197
236
#define SCI_SETSELBACK 2068
 
237
#define SCI_GETSELALPHA 2477
 
238
#define SCI_SETSELALPHA 2478
 
239
#define SCI_GETSELEOLFILLED 2479
 
240
#define SCI_SETSELEOLFILLED 2480
198
241
#define SCI_SETCARETFORE 2069
199
242
#define SCI_ASSIGNCMDKEY 2070
200
243
#define SCI_CLEARCMDKEY 2071
206
249
#define SCI_SETWORDCHARS 2077
207
250
#define SCI_BEGINUNDOACTION 2078
208
251
#define SCI_ENDUNDOACTION 2079
209
 
#define INDIC_MAX 7
210
252
#define INDIC_PLAIN 0
211
253
#define INDIC_SQUIGGLE 1
212
254
#define INDIC_TT 2
214
256
#define INDIC_STRIKE 4
215
257
#define INDIC_HIDDEN 5
216
258
#define INDIC_BOX 6
 
259
#define INDIC_ROUNDBOX 7
 
260
#define INDIC_MAX 31
 
261
#define INDIC_CONTAINER 8
 
262
/* C::B begin */
 
263
#define INDIC_HIGHLIGHT 31 // please change also in wxscintilla.h !! I use INDIC_MAX here, to avoid conflicts with future versions of Scintilla
 
264
/* C::B end */
217
265
#define INDIC0_MASK 0x20
218
266
#define INDIC1_MASK 0x40
219
267
#define INDIC2_MASK 0x80
222
270
#define SCI_INDICGETSTYLE 2081
223
271
#define SCI_INDICSETFORE 2082
224
272
#define SCI_INDICGETFORE 2083
 
273
#define SCI_INDICSETUNDER 2510
 
274
#define SCI_INDICGETUNDER 2511
225
275
#define SCI_SETWHITESPACEFORE 2084
226
276
#define SCI_SETWHITESPACEBACK 2085
 
277
#define SCI_SETWHITESPACESIZE 2086
 
278
#define SCI_GETWHITESPACESIZE 2087
227
279
#define SCI_SETSTYLEBITS 2090
228
280
#define SCI_GETSTYLEBITS 2091
229
281
#define SCI_SETLINESTATE 2092
273
325
#define SCI_GETCOLUMN 2129
274
326
#define SCI_SETHSCROLLBAR 2130
275
327
#define SCI_GETHSCROLLBAR 2131
 
328
#define SC_IV_NONE 0
 
329
#define SC_IV_REAL 1
 
330
#define SC_IV_LOOKFORWARD 2
 
331
#define SC_IV_LOOKBOTH 3
276
332
#define SCI_SETINDENTATIONGUIDES 2132
277
333
#define SCI_GETINDENTATIONGUIDES 2133
278
334
#define SCI_SETHIGHLIGHTGUIDE 2134
358
414
#define SCI_CALLTIPSETBACK 2205
359
415
#define SCI_CALLTIPSETFORE 2206
360
416
#define SCI_CALLTIPSETFOREHLT 2207
 
417
#define SCI_CALLTIPUSESTYLE 2212
361
418
#define SCI_VISIBLEFROMDOCLINE 2220
362
419
#define SCI_DOCLINEFROMVISIBLE 2221
363
420
#define SCI_WRAPCOUNT 2235
 
421
/* CHANGEBAR begin */
 
422
#define SCI_SETCHANGECOLLECTION 2236
 
423
#define SCI_GETCHANGEDLINE 2237
 
424
/* CHANGEBAR end */
364
425
#define SC_FOLDLEVELBASE 0x400
365
426
#define SC_FOLDLEVELWHITEFLAG 0x1000
366
427
#define SC_FOLDLEVELHEADERFLAG 0x2000
367
 
#define SC_FOLDLEVELBOXHEADERFLAG 0x4000
368
 
#define SC_FOLDLEVELBOXFOOTERFLAG 0x8000
369
 
#define SC_FOLDLEVELCONTRACTED 0x10000
370
 
#define SC_FOLDLEVELUNINDENT 0x20000
371
428
#define SC_FOLDLEVELNUMBERMASK 0x0FFF
372
429
#define SCI_SETFOLDLEVEL 2222
373
430
#define SCI_GETFOLDLEVEL 2223
385
442
#define SC_FOLDFLAG_LINEAFTER_EXPANDED 0x0008
386
443
#define SC_FOLDFLAG_LINEAFTER_CONTRACTED 0x0010
387
444
#define SC_FOLDFLAG_LEVELNUMBERS 0x0040
388
 
#define SC_FOLDFLAG_BOX 0x0001
389
445
#define SCI_SETFOLDFLAGS 2233
390
446
#define SCI_ENSUREVISIBLEENFORCEPOLICY 2234
391
447
#define SCI_SETTABINDENTS 2260
414
470
#define SCI_GETWRAPVISUALFLAGSLOCATION 2463
415
471
#define SCI_SETWRAPSTARTINDENT 2464
416
472
#define SCI_GETWRAPSTARTINDENT 2465
 
473
#define SC_WRAPINDENT_FIXED 0
 
474
#define SC_WRAPINDENT_SAME 1
 
475
#define SC_WRAPINDENT_INDENT 2
 
476
#define SCI_SETWRAPINDENTMODE 2472
 
477
#define SCI_GETWRAPINDENTMODE 2473
417
478
#define SC_CACHE_NONE 0
418
479
#define SC_CACHE_CARET 1
419
480
#define SC_CACHE_PAGE 2
422
483
#define SCI_GETLAYOUTCACHE 2273
423
484
#define SCI_SETSCROLLWIDTH 2274
424
485
#define SCI_GETSCROLLWIDTH 2275
 
486
#define SCI_SETSCROLLWIDTHTRACKING 2516
 
487
#define SCI_GETSCROLLWIDTHTRACKING 2517
425
488
#define SCI_TEXTWIDTH 2276
426
489
#define SCI_SETENDATLASTLINE 2277
427
490
#define SCI_GETENDATLASTLINE 2278
431
494
#define SCI_APPENDTEXT 2282
432
495
#define SCI_GETTWOPHASEDRAW 2283
433
496
#define SCI_SETTWOPHASEDRAW 2284
 
497
#define SC_EFF_QUALITY_MASK 0xF
 
498
#define SC_EFF_QUALITY_DEFAULT 0
 
499
#define SC_EFF_QUALITY_NON_ANTIALIASED 1
 
500
#define SC_EFF_QUALITY_ANTIALIASED 2
 
501
#define SC_EFF_QUALITY_LCD_OPTIMIZED 3
 
502
#define SCI_SETFONTQUALITY 2611
 
503
#define SCI_GETFONTQUALITY 2612
 
504
#define SCI_SETFIRSTVISIBLELINE 2613
434
505
#define SCI_TARGETFROMSELECTION 2287
435
506
#define SCI_LINESJOIN 2288
436
507
#define SCI_LINESSPLIT 2289
473
544
#define SCI_ZOOMOUT 2334
474
545
#define SCI_DELWORDLEFT 2335
475
546
#define SCI_DELWORDRIGHT 2336
 
547
#define SCI_DELWORDRIGHTEND 2518
476
548
#define SCI_LINECUT 2337
477
549
#define SCI_LINEDELETE 2338
478
550
#define SCI_LINETRANSPOSE 2339
526
598
#define SCI_GETMODEVENTMASK 2378
527
599
#define SCI_SETFOCUS 2380
528
600
#define SCI_GETFOCUS 2381
 
601
#define SC_STATUS_OK 0
 
602
#define SC_STATUS_FAILURE 1
 
603
#define SC_STATUS_BADALLOC 2
529
604
#define SCI_SETSTATUS 2382
530
605
#define SCI_GETSTATUS 2383
531
606
#define SCI_SETMOUSEDOWNCAPTURES 2384
558
633
#define SCI_SETPRINTWRAPMODE 2406
559
634
#define SCI_GETPRINTWRAPMODE 2407
560
635
#define SCI_SETHOTSPOTACTIVEFORE 2410
 
636
#define SCI_GETHOTSPOTACTIVEFORE 2494
561
637
#define SCI_SETHOTSPOTACTIVEBACK 2411
 
638
#define SCI_GETHOTSPOTACTIVEBACK 2495
562
639
#define SCI_SETHOTSPOTACTIVEUNDERLINE 2412
 
640
#define SCI_GETHOTSPOTACTIVEUNDERLINE 2496
563
641
#define SCI_SETHOTSPOTSINGLELINE 2421
 
642
#define SCI_GETHOTSPOTSINGLELINE 2497
564
643
#define SCI_PARADOWN 2413
565
644
#define SCI_PARADOWNEXTEND 2414
566
645
#define SCI_PARAUP 2415
572
651
#define SC_SEL_STREAM 0
573
652
#define SC_SEL_RECTANGLE 1
574
653
#define SC_SEL_LINES 2
 
654
#define SC_SEL_THIN 3
575
655
#define SCI_SETSELECTIONMODE 2422
576
656
#define SCI_GETSELECTIONMODE 2423
577
657
#define SCI_GETLINESELSTARTPOSITION 2424
596
676
#define SCI_SETWHITESPACECHARS 2443
597
677
#define SCI_SETCHARSDEFAULT 2444
598
678
#define SCI_AUTOCGETCURRENT 2445
 
679
#define SCI_AUTOCGETCURRENTTEXT 2610
599
680
#define SCI_ALLOCATE 2446
600
681
#define SCI_TARGETASUTF8 2447
601
682
#define SCI_SETLENGTHFORENCODE 2448
607
688
#define SCI_SETPASTECONVERTENDINGS 2467
608
689
#define SCI_GETPASTECONVERTENDINGS 2468
609
690
#define SCI_SELECTIONDUPLICATE 2469
 
691
#define SC_ALPHA_TRANSPARENT 0
 
692
#define SC_ALPHA_OPAQUE 255
 
693
#define SC_ALPHA_NOALPHA 256
 
694
#define SCI_SETCARETLINEBACKALPHA 2470
 
695
#define SCI_GETCARETLINEBACKALPHA 2471
 
696
#define CARETSTYLE_INVISIBLE 0
 
697
#define CARETSTYLE_LINE 1
 
698
#define CARETSTYLE_BLOCK 2
 
699
#define SCI_SETCARETSTYLE 2512
 
700
#define SCI_GETCARETSTYLE 2513
 
701
#define SCI_SETINDICATORCURRENT 2500
 
702
#define SCI_GETINDICATORCURRENT 2501
 
703
#define SCI_SETINDICATORVALUE 2502
 
704
#define SCI_GETINDICATORVALUE 2503
 
705
#define SCI_INDICATORFILLRANGE 2504
 
706
#define SCI_INDICATORCLEARRANGE 2505
 
707
#define SCI_INDICATORALLONFOR 2506
 
708
#define SCI_INDICATORVALUEAT 2507
 
709
#define SCI_INDICATORSTART 2508
 
710
#define SCI_INDICATOREND 2509
 
711
#define SCI_SETPOSITIONCACHE 2514
 
712
#define SCI_GETPOSITIONCACHE 2515
 
713
#define SCI_COPYALLOWLINE 2519
 
714
#define SCI_GETCHARACTERPOINTER 2520
 
715
#define SCI_SETKEYSUNICODE 2521
 
716
#define SCI_GETKEYSUNICODE 2522
 
717
#define SCI_INDICSETALPHA 2523
 
718
#define SCI_INDICGETALPHA 2524
 
719
#define SCI_SETEXTRAASCENT 2525
 
720
#define SCI_GETEXTRAASCENT 2526
 
721
#define SCI_SETEXTRADESCENT 2527
 
722
#define SCI_GETEXTRADESCENT 2528
 
723
#define SCI_MARKERSYMBOLDEFINED 2529
 
724
#define SCI_MARGINSETTEXT 2530
 
725
#define SCI_MARGINGETTEXT 2531
 
726
#define SCI_MARGINSETSTYLE 2532
 
727
#define SCI_MARGINGETSTYLE 2533
 
728
#define SCI_MARGINSETSTYLES 2534
 
729
#define SCI_MARGINGETSTYLES 2535
 
730
#define SCI_MARGINTEXTCLEARALL 2536
 
731
#define SCI_MARGINSETSTYLEOFFSET 2537
 
732
#define SCI_MARGINGETSTYLEOFFSET 2538
 
733
#define SCI_ANNOTATIONSETTEXT 2540
 
734
#define SCI_ANNOTATIONGETTEXT 2541
 
735
#define SCI_ANNOTATIONSETSTYLE 2542
 
736
#define SCI_ANNOTATIONGETSTYLE 2543
 
737
#define SCI_ANNOTATIONSETSTYLES 2544
 
738
#define SCI_ANNOTATIONGETSTYLES 2545
 
739
#define SCI_ANNOTATIONGETLINES 2546
 
740
#define SCI_ANNOTATIONCLEARALL 2547
 
741
#define ANNOTATION_HIDDEN 0
 
742
#define ANNOTATION_STANDARD 1
 
743
#define ANNOTATION_BOXED 2
 
744
#define SCI_ANNOTATIONSETVISIBLE 2548
 
745
#define SCI_ANNOTATIONGETVISIBLE 2549
 
746
#define SCI_ANNOTATIONSETSTYLEOFFSET 2550
 
747
#define SCI_ANNOTATIONGETSTYLEOFFSET 2551
 
748
#define UNDO_MAY_COALESCE 1
 
749
#define SCI_ADDUNDOACTION 2560
 
750
#define SCI_CHARPOSITIONFROMPOINT 2561
 
751
#define SCI_CHARPOSITIONFROMPOINTCLOSE 2562
 
752
#define SCI_SETMULTIPLESELECTION 2563
 
753
#define SCI_GETMULTIPLESELECTION 2564
 
754
#define SCI_SETADDITIONALSELECTIONTYPING 2565
 
755
#define SCI_GETADDITIONALSELECTIONTYPING 2566
 
756
#define SCI_SETADDITIONALCARETSBLINK 2567
 
757
#define SCI_GETADDITIONALCARETSBLINK 2568
 
758
#define SCI_SETADDITIONALCARETSVISIBLE 2608
 
759
#define SCI_GETADDITIONALCARETSVISIBLE 2609
 
760
#define SCI_GETSELECTIONS 2570
 
761
#define SCI_CLEARSELECTIONS 2571
 
762
#define SCI_SETSELECTION 2572
 
763
#define SCI_ADDSELECTION 2573
 
764
#define SCI_SETMAINSELECTION 2574
 
765
#define SCI_GETMAINSELECTION 2575
 
766
#define SCI_SETSELECTIONNCARET 2576
 
767
#define SCI_GETSELECTIONNCARET 2577
 
768
#define SCI_SETSELECTIONNANCHOR 2578
 
769
#define SCI_GETSELECTIONNANCHOR 2579
 
770
#define SCI_SETSELECTIONNCARETVIRTUALSPACE 2580
 
771
#define SCI_GETSELECTIONNCARETVIRTUALSPACE 2581
 
772
#define SCI_SETSELECTIONNANCHORVIRTUALSPACE 2582
 
773
#define SCI_GETSELECTIONNANCHORVIRTUALSPACE 2583
 
774
#define SCI_SETSELECTIONNSTART 2584
 
775
#define SCI_GETSELECTIONNSTART 2585
 
776
#define SCI_SETSELECTIONNEND 2586
 
777
#define SCI_GETSELECTIONNEND 2587
 
778
#define SCI_SETRECTANGULARSELECTIONCARET 2588
 
779
#define SCI_GETRECTANGULARSELECTIONCARET 2589
 
780
#define SCI_SETRECTANGULARSELECTIONANCHOR 2590
 
781
#define SCI_GETRECTANGULARSELECTIONANCHOR 2591
 
782
#define SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE 2592
 
783
#define SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE 2593
 
784
#define SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE 2594
 
785
#define SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE 2595
 
786
#define SCVS_NONE 0
 
787
#define SCVS_RECTANGULARSELECTION 1
 
788
#define SCVS_USERACCESSIBLE 2
 
789
#define SCI_SETVIRTUALSPACEOPTIONS 2596
 
790
#define SCI_GETVIRTUALSPACEOPTIONS 2597
 
791
#define SCI_SETRECTANGULARSELECTIONMODIFIER 2598
 
792
#define SCI_GETRECTANGULARSELECTIONMODIFIER 2599
 
793
#define SCI_SETADDITIONALSELFORE 2600
 
794
#define SCI_SETADDITIONALSELBACK 2601
 
795
#define SCI_SETADDITIONALSELALPHA 2602
 
796
#define SCI_GETADDITIONALSELALPHA 2603
 
797
#define SCI_SETADDITIONALCARETFORE 2604
 
798
#define SCI_GETADDITIONALCARETFORE 2605
 
799
#define SCI_ROTATESELECTION 2606
 
800
#define SCI_SWAPMAINANCHORCARET 2607
610
801
#define SCI_STARTRECORD 3001
611
802
#define SCI_STOPRECORD 3002
612
803
#define SCI_SETLEXER 4001
621
812
#define SCI_GETPROPERTYEXPANDED 4009
622
813
#define SCI_GETPROPERTYINT 4010
623
814
#define SCI_GETSTYLEBITSNEEDED 4011
 
815
#define SCI_GETLEXERLANGUAGE 4012
624
816
#define SC_MOD_INSERTTEXT 0x1
625
817
#define SC_MOD_DELETETEXT 0x2
626
818
#define SC_MOD_CHANGESTYLE 0x4
634
826
#define SC_MOD_BEFOREINSERT 0x400
635
827
#define SC_MOD_BEFOREDELETE 0x800
636
828
#define SC_MULTILINEUNDOREDO 0x1000
637
 
#define SC_MODEVENTMASKALL 0x1FFF
 
829
#define SC_STARTACTION 0x2000
 
830
#define SC_MOD_CHANGEINDICATOR 0x4000
 
831
#define SC_MOD_CHANGELINESTATE 0x8000
 
832
#define SC_MOD_CHANGEMARGIN 0x10000
 
833
#define SC_MOD_CHANGEANNOTATION 0x20000
 
834
#define SC_MOD_CONTAINER 0x40000
 
835
#define SC_MODEVENTMASKALL 0x7FFFF
638
836
#define SCEN_CHANGE 768
639
837
#define SCEN_SETFOCUS 512
640
838
#define SCEN_KILLFOCUS 256
655
853
#define SCK_ADD 310
656
854
#define SCK_SUBTRACT 311
657
855
#define SCK_DIVIDE 312
 
856
#define SCK_WIN 313
 
857
#define SCK_RWIN 314
 
858
#define SCK_MENU 315
658
859
#define SCMOD_NORM 0
659
860
#define SCMOD_SHIFT 1
660
861
#define SCMOD_CTRL 2
661
862
#define SCMOD_ALT 4
 
863
#define SCMOD_SUPER 8
662
864
#define SCN_STYLENEEDED 2000
663
865
#define SCN_CHARADDED 2001
664
866
#define SCN_SAVEPOINTREACHED 2002
681
883
#define SCN_HOTSPOTDOUBLECLICK 2020
682
884
#define SCN_CALLTIPCLICK 2021
683
885
#define SCN_AUTOCSELECTION 2022
684
 
//--Autogenerated -- end of section automatically generated from Scintilla.iface
685
 
 
686
 
// These structures are defined to be exactly the same shape as the Win32
687
 
// CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs.
688
 
// So older code that treats Scintilla as a RichEdit will work.
689
 
 
690
 
struct CharacterRange {
 
886
#define SCN_INDICATORCLICK 2023
 
887
#define SCN_INDICATORRELEASE 2024
 
888
#define SCN_AUTOCCANCELLED 2025
 
889
#define SCN_AUTOCCHARDELETED 2026
 
890
/* --Autogenerated -- end of section automatically generated from Scintilla.iface */
 
891
 
 
892
/* These structures are defined to be exactly the same shape as the Win32
 
893
 * CHARRANGE, TEXTRANGE, FINDTEXTEX, FORMATRANGE, and NMHDR structs.
 
894
 * So older code that treats Scintilla as a RichEdit will work. */
 
895
 
 
896
#ifdef SCI_NAMESPACE
 
897
namespace Scintilla {
 
898
#endif
 
899
 
 
900
struct Sci_CharacterRange {
691
901
        long cpMin;
692
902
        long cpMax;
693
903
};
694
904
 
695
 
struct TextRange {
696
 
        struct CharacterRange chrg;
697
 
        char *lpstrText;
698
 
};
699
 
 
700
 
struct TextToFind {
701
 
        struct CharacterRange chrg;
702
 
        char *lpstrText;
703
 
        struct CharacterRange chrgText;
704
 
};
 
905
struct Sci_TextRange {
 
906
        struct Sci_CharacterRange chrg;
 
907
        char *lpstrText;
 
908
};
 
909
 
 
910
struct Sci_TextToFind {
 
911
        struct Sci_CharacterRange chrg;
 
912
        char *lpstrText;
 
913
        struct Sci_CharacterRange chrgText;
 
914
};
 
915
 
 
916
#define CharacterRange Sci_CharacterRange
 
917
#define TextRange Sci_TextRange
 
918
#define TextToFind Sci_TextToFind
705
919
 
706
920
#ifdef PLATFORM_H
707
921
 
708
 
// This structure is used in printing and requires some of the graphics types
709
 
// from Platform.h.  Not needed by most client code.
 
922
/* This structure is used in printing and requires some of the graphics types
 
923
 * from Platform.h.  Not needed by most client code. */
710
924
 
711
 
struct RangeToFormat {
 
925
struct Sci_RangeToFormat {
712
926
        SurfaceID hdc;
713
927
        SurfaceID hdcTarget;
714
928
        PRectangle rc;
715
929
        PRectangle rcPage;
716
 
        CharacterRange chrg;
 
930
        Sci_CharacterRange chrg;
717
931
};
718
932
 
 
933
#define RangeToFormat Sci_RangeToFormat
 
934
 
719
935
#endif
720
936
 
721
 
struct NotifyHeader {
722
 
        // Compatible with Windows NMHDR.
723
 
        // hwndFrom is really an environment specific window handle or pointer
724
 
        // but most clients of Scintilla.h do not have this type visible.
 
937
struct Sci_NotifyHeader {
 
938
        /* Compatible with Windows NMHDR.
 
939
         * hwndFrom is really an environment specific window handle or pointer
 
940
         * but most clients of Scintilla.h do not have this type visible. */
725
941
        void *hwndFrom;
726
942
        uptr_t idFrom;
727
943
        unsigned int code;
728
944
};
729
945
 
 
946
#define NotifyHeader Sci_NotifyHeader
 
947
 
730
948
struct SCNotification {
731
 
        struct NotifyHeader nmhdr;
732
 
        int position;   // SCN_STYLENEEDED, SCN_MODIFIED, SCN_DWELLSTART, SCN_DWELLEND
733
 
        int ch;         // SCN_CHARADDED, SCN_KEY
734
 
        int modifiers;  // SCN_KEY
735
 
        int modificationType;   // SCN_MODIFIED
736
 
        const char *text;       // SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION
737
 
        int length;             // SCN_MODIFIED
738
 
        int linesAdded; // SCN_MODIFIED
739
 
        int message;    // SCN_MACRORECORD
740
 
        uptr_t wParam;  // SCN_MACRORECORD
741
 
        sptr_t lParam;  // SCN_MACRORECORD
742
 
        int line;               // SCN_MODIFIED
743
 
        int foldLevelNow;       // SCN_MODIFIED
744
 
        int foldLevelPrev;      // SCN_MODIFIED
745
 
        int margin;             // SCN_MARGINCLICK
746
 
        int listType;   // SCN_USERLISTSELECTION
747
 
        int x;                  // SCN_DWELLSTART, SCN_DWELLEND
748
 
        int y;          // SCN_DWELLSTART, SCN_DWELLEND
 
949
        struct Sci_NotifyHeader nmhdr;
 
950
        int position;   /* SCN_STYLENEEDED, SCN_MODIFIED, SCN_DWELLSTART, SCN_DWELLEND */
 
951
        int ch;         /* SCN_CHARADDED, SCN_KEY */
 
952
        int modifiers;  /* SCN_KEY */
 
953
        int modificationType;   /* SCN_MODIFIED */
 
954
        const char *text;       /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
 
955
        int length;             /* SCN_MODIFIED */
 
956
        int linesAdded; /* SCN_MODIFIED */
 
957
        int message;    /* SCN_MACRORECORD */
 
958
        uptr_t wParam;  /* SCN_MACRORECORD */
 
959
        sptr_t lParam;  /* SCN_MACRORECORD */
 
960
        int line;               /* SCN_MODIFIED */
 
961
        int foldLevelNow;       /* SCN_MODIFIED */
 
962
        int foldLevelPrev;      /* SCN_MODIFIED */
 
963
        int margin;             /* SCN_MARGINCLICK */
 
964
        int listType;   /* SCN_USERLISTSELECTION */
 
965
        int x;                  /* SCN_DWELLSTART, SCN_DWELLEND */
 
966
        int y;          /* SCN_DWELLSTART, SCN_DWELLEND */
 
967
        int token;              /* SCN_MODIFIED with SC_MOD_CONTAINER */
 
968
        int annotationLinesAdded;       /* SC_MOD_CHANGEANNOTATION */
749
969
};
750
970
 
751
 
// Deprecation section listing all API features that are deprecated and will
752
 
// will be removed completely in a future version.
753
 
// To enable these features define INCLUDE_DEPRECATED_FEATURES
754
 
 
755
 
#ifdef INCLUDE_DEPRECATED_FEATURES
756
 
 
757
 
#define SCI_SETCARETPOLICY 2369
758
 
#define CARET_CENTER 0x02
759
 
#define CARET_XEVEN 0x08
760
 
#define CARET_XJUMPS 0x10
761
 
 
762
 
#define SCN_POSCHANGED 2012
763
 
#define SCN_CHECKBRACE 2007
764
 
 
 
971
#ifdef SCI_NAMESPACE
 
972
}
765
973
#endif
766
974
 
767
975
#endif