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
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
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
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
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.
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 */
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. */
897
namespace Scintilla {
900
struct Sci_CharacterRange {
696
struct CharacterRange chrg;
701
struct CharacterRange chrg;
703
struct CharacterRange chrgText;
905
struct Sci_TextRange {
906
struct Sci_CharacterRange chrg;
910
struct Sci_TextToFind {
911
struct Sci_CharacterRange chrg;
913
struct Sci_CharacterRange chrgText;
916
#define CharacterRange Sci_CharacterRange
917
#define TextRange Sci_TextRange
918
#define TextToFind Sci_TextToFind
706
920
#ifdef PLATFORM_H
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. */
711
struct RangeToFormat {
925
struct Sci_RangeToFormat {
713
927
SurfaceID hdcTarget;
715
929
PRectangle rcPage;
930
Sci_CharacterRange chrg;
933
#define RangeToFormat Sci_RangeToFormat
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. */
727
943
unsigned int code;
946
#define NotifyHeader Sci_NotifyHeader
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 */
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
755
#ifdef INCLUDE_DEPRECATED_FEATURES
757
#define SCI_SETCARETPOLICY 2369
758
#define CARET_CENTER 0x02
759
#define CARET_XEVEN 0x08
760
#define CARET_XJUMPS 0x10
762
#define SCN_POSCHANGED 2012
763
#define SCN_CHECKBRACE 2007