forked from bruderstein/PythonScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScintillaWrapperGenerated.h
More file actions
1831 lines (1831 loc) · 71.5 KB
/
ScintillaWrapperGenerated.h
File metadata and controls
1831 lines (1831 loc) · 71.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/** Add text to the document at current position.
*/
int ScintillaWrapper::AddText(str text);
/** Add array of cells to document.
*/
int ScintillaWrapper::AddStyledText(ScintillaCells c);
/** Insert string at a position.
*/
void ScintillaWrapper::InsertText(int pos, str text);
/** Delete all text in the document.
*/
void ScintillaWrapper::ClearAll();
/** Set all style bytes to 0, remove all folding information.
*/
void ScintillaWrapper::ClearDocumentStyle();
/** Returns the number of bytes in the document.
*/
int ScintillaWrapper::GetLength();
/** Returns the character byte at the position.
*/
int ScintillaWrapper::GetCharAt(int pos);
/** Returns the position of the caret.
*/
int ScintillaWrapper::GetCurrentPos();
/** Returns the position of the opposite end of the selection to the caret.
*/
int ScintillaWrapper::GetAnchor();
/** Returns the style byte at the position.
*/
int ScintillaWrapper::GetStyleAt(int pos);
/** Redoes the next action on the undo history.
*/
void ScintillaWrapper::Redo();
/** Choose between collecting actions into the undo
* history and discarding them.
*/
void ScintillaWrapper::SetUndoCollection(bool collectUndo);
/** Select all the text in the document.
*/
void ScintillaWrapper::SelectAll();
/** Remember the current position in the undo history as the position
* at which the document was saved.
*/
void ScintillaWrapper::SetSavePoint();
/** Retrieve a buffer of cells.
* Returns the number of bytes in the buffer not including terminating NULs.
*/
str ScintillaWrapper::GetStyledText(int start, int end);
/** Are there any redoable actions in the undo history?
*/
bool ScintillaWrapper::CanRedo();
/** Retrieve the line number at which a particular marker is located.
*/
int ScintillaWrapper::MarkerLineFromHandle(int handle);
/** Delete a marker.
*/
void ScintillaWrapper::MarkerDeleteHandle(int handle);
/** Is undo history being collected?
*/
bool ScintillaWrapper::GetUndoCollection();
/** Are white space characters currently visible?
* Returns one of SCWS_* constants.
*/
int ScintillaWrapper::GetViewWS();
/** Make white space characters invisible, always visible or visible outside indentation.
*/
void ScintillaWrapper::SetViewWS(int viewWS);
/** Find the position from a point within the window.
*/
int ScintillaWrapper::PositionFromPoint(int x, int y);
/** Find the position from a point within the window but return
* INVALID_POSITION if not close to text.
*/
int ScintillaWrapper::PositionFromPointClose(int x, int y);
/** Set caret to start of a line and ensure it is visible.
*/
void ScintillaWrapper::GotoLine(int line);
/** Set caret to a position and ensure it is visible.
*/
void ScintillaWrapper::GotoPos(int pos);
/** Set the selection anchor to a position. The anchor is the opposite
* end of the selection from the caret.
*/
void ScintillaWrapper::SetAnchor(int posAnchor);
/** Retrieve the text of the line containing the caret.
* Returns the index of the caret on the line.
*/
str ScintillaWrapper::GetCurLine();
/** Retrieve the position of the last correctly styled character.
*/
int ScintillaWrapper::GetEndStyled();
/** Convert all line endings in the document to one mode.
*/
void ScintillaWrapper::ConvertEOLs(int eolMode);
/** Retrieve the current end of line mode - one of CRLF, CR, or LF.
*/
int ScintillaWrapper::GetEOLMode();
/** Set the current end of line mode.
*/
void ScintillaWrapper::SetEOLMode(int eolMode);
/** Set the current styling position to pos and the styling mask to mask.
* The styling mask can be used to protect some bits in each styling byte from modification.
*/
void ScintillaWrapper::StartStyling(int pos, int mask);
/** Change style from current styling position for length characters to a style
* and move the current styling position to after this newly styled segment.
*/
void ScintillaWrapper::SetStyling(int length, int style);
/** Is drawing done first into a buffer or direct to the screen?
*/
bool ScintillaWrapper::GetBufferedDraw();
/** If drawing is buffered then each line of text is drawn into a bitmap buffer
* before drawing it to the screen to avoid flicker.
*/
void ScintillaWrapper::SetBufferedDraw(bool buffered);
/** Change the visible size of a tab to be a multiple of the width of a space character.
*/
void ScintillaWrapper::SetTabWidth(int tabWidth);
/** Retrieve the visible size of a tab.
*/
int ScintillaWrapper::GetTabWidth();
/** Set the code page used to interpret the bytes of the document as characters.
* The SC_CP_UTF8 value can be used to enter Unicode mode.
*/
void ScintillaWrapper::SetCodePage(int codePage);
/** In palette mode, Scintilla uses the environment's palette calls to display
* more colours. This may lead to ugly displays.
*/
void ScintillaWrapper::SetUsePalette(bool usePalette);
/** Set the symbol used for a particular marker number.
*/
void ScintillaWrapper::MarkerDefine(int markerNumber, int markerSymbol);
/** Set the foreground colour used for a particular marker number.
*/
void ScintillaWrapper::MarkerSetFore(int markerNumber, int foreRed, int foreGreen, int foreBlue);
/** Set the background colour used for a particular marker number.
*/
void ScintillaWrapper::MarkerSetBack(int markerNumber, int backRed, int backGreen, int backBlue);
/** Add a marker to a line, returning an ID which can be used to find or delete the marker.
*/
int ScintillaWrapper::MarkerAdd(int line, int markerNumber);
/** Delete a marker from a line.
*/
void ScintillaWrapper::MarkerDelete(int line, int markerNumber);
/** Delete all markers with a particular number from all lines.
*/
void ScintillaWrapper::MarkerDeleteAll(int markerNumber);
/** Get a bit mask of all the markers set on a line.
*/
int ScintillaWrapper::MarkerGet(int line);
/** Find the next line after lineStart that includes a marker in mask.
*/
int ScintillaWrapper::MarkerNext(int lineStart, int markerMask);
/** Find the previous line before lineStart that includes a marker in mask.
*/
int ScintillaWrapper::MarkerPrevious(int lineStart, int markerMask);
/** Define a marker from a pixmap.
*/
void ScintillaWrapper::MarkerDefinePixmap(int markerNumber, str pixmap);
/** Add a set of markers to a line.
*/
void ScintillaWrapper::MarkerAddSet(int line, int set);
/** Set the alpha used for a marker that is drawn in the text area, not the margin.
*/
void ScintillaWrapper::MarkerSetAlpha(int markerNumber, int alpha);
/** Set a margin to be either numeric or symbolic.
*/
void ScintillaWrapper::SetMarginTypeN(int margin, int marginType);
/** Retrieve the type of a margin.
*/
int ScintillaWrapper::GetMarginTypeN(int margin);
/** Set the width of a margin to a width expressed in pixels.
*/
void ScintillaWrapper::SetMarginWidthN(int margin, int pixelWidth);
/** Retrieve the width of a margin in pixels.
*/
int ScintillaWrapper::GetMarginWidthN(int margin);
/** Set a mask that determines which markers are displayed in a margin.
*/
void ScintillaWrapper::SetMarginMaskN(int margin, int mask);
/** Retrieve the marker mask of a margin.
*/
int ScintillaWrapper::GetMarginMaskN(int margin);
/** Make a margin sensitive or insensitive to mouse clicks.
*/
void ScintillaWrapper::SetMarginSensitiveN(int margin, bool sensitive);
/** Retrieve the mouse click sensitivity of a margin.
*/
bool ScintillaWrapper::GetMarginSensitiveN(int margin);
/** Clear all the styles and make equivalent to the global default style.
*/
void ScintillaWrapper::StyleClearAll();
/** Set the foreground colour of a style.
*/
void ScintillaWrapper::StyleSetFore(int style, int foreRed, int foreGreen, int foreBlue);
/** Set the background colour of a style.
*/
void ScintillaWrapper::StyleSetBack(int style, int backRed, int backGreen, int backBlue);
/** Set a style to be bold or not.
*/
void ScintillaWrapper::StyleSetBold(int style, bool bold);
/** Set a style to be italic or not.
*/
void ScintillaWrapper::StyleSetItalic(int style, bool italic);
/** Set the size of characters of a style.
*/
void ScintillaWrapper::StyleSetSize(int style, int sizePoints);
/** Set the font of a style.
*/
void ScintillaWrapper::StyleSetFont(int style, str fontName);
/** Set a style to have its end of line filled or not.
*/
void ScintillaWrapper::StyleSetEOLFilled(int style, bool filled);
/** Reset the default style to its state at startup
*/
void ScintillaWrapper::StyleResetDefault();
/** Set a style to be underlined or not.
*/
void ScintillaWrapper::StyleSetUnderline(int style, bool underline);
/** Get the foreground colour of a style.
*/
colour ScintillaWrapper::StyleGetFore(int style);
/** Get the background colour of a style.
*/
colour ScintillaWrapper::StyleGetBack(int style);
/** Get is a style bold or not.
*/
bool ScintillaWrapper::StyleGetBold(int style);
/** Get is a style italic or not.
*/
bool ScintillaWrapper::StyleGetItalic(int style);
/** Get the size of characters of a style.
*/
int ScintillaWrapper::StyleGetSize(int style);
/** Get the font of a style.
* Returns the length of the fontName
*/
str ScintillaWrapper::StyleGetFont();
/** Get is a style to have its end of line filled or not.
*/
bool ScintillaWrapper::StyleGetEOLFilled(int style);
/** Get is a style underlined or not.
*/
bool ScintillaWrapper::StyleGetUnderline(int style);
/** Get is a style mixed case, or to force upper or lower case.
*/
int ScintillaWrapper::StyleGetCase(int style);
/** Get the character get of the font in a style.
*/
int ScintillaWrapper::StyleGetCharacterSet(int style);
/** Get is a style visible or not.
*/
bool ScintillaWrapper::StyleGetVisible(int style);
/** Get is a style changeable or not (read only).
* Experimental feature, currently buggy.
*/
bool ScintillaWrapper::StyleGetChangeable(int style);
/** Get is a style a hotspot or not.
*/
bool ScintillaWrapper::StyleGetHotSpot(int style);
/** Set a style to be mixed case, or to force upper or lower case.
*/
void ScintillaWrapper::StyleSetCase(int style, int caseForce);
/** Set the character set of the font in a style.
*/
void ScintillaWrapper::StyleSetCharacterSet(int style, int characterSet);
/** Set a style to be a hotspot or not.
*/
void ScintillaWrapper::StyleSetHotSpot(int style, bool hotspot);
/** Set the foreground colour of the main and additional selections and whether to use this setting.
*/
void ScintillaWrapper::SetSelFore(bool useSetting, int foreRed, int foreGreen, int foreBlue);
/** Set the background colour of the main and additional selections and whether to use this setting.
*/
void ScintillaWrapper::SetSelBack(bool useSetting, int backRed, int backGreen, int backBlue);
/** Get the alpha of the selection.
*/
int ScintillaWrapper::GetSelAlpha();
/** Set the alpha of the selection.
*/
void ScintillaWrapper::SetSelAlpha(int alpha);
/** Is the selection end of line filled?
*/
bool ScintillaWrapper::GetSelEOLFilled();
/** Set the selection to have its end of line filled or not.
*/
void ScintillaWrapper::SetSelEOLFilled(bool filled);
/** Set the foreground colour of the caret.
*/
void ScintillaWrapper::SetCaretFore(int foreRed, int foreGreen, int foreBlue);
/** When key+modifier combination km is pressed perform msg.
*/
void ScintillaWrapper::AssignCmdKey(keymod km, int msg);
/** When key+modifier combination km is pressed do nothing.
*/
void ScintillaWrapper::ClearCmdKey(keymod km);
/** Drop all key mappings.
*/
void ScintillaWrapper::ClearAllCmdKeys();
/** Set the styles for a segment of the document.
*/
int ScintillaWrapper::SetStylingEx(str styles);
/** Set a style to be visible or not.
*/
void ScintillaWrapper::StyleSetVisible(int style, bool visible);
/** Get the time in milliseconds that the caret is on and off.
*/
int ScintillaWrapper::GetCaretPeriod();
/** Get the time in milliseconds that the caret is on and off. 0 = steady on.
*/
void ScintillaWrapper::SetCaretPeriod(int periodMilliseconds);
/** Set the set of characters making up words for when moving or selecting by word.
* First sets defaults like SetCharsDefault.
*/
void ScintillaWrapper::SetWordChars(str characters);
/** Start a sequence of actions that is undone and redone as a unit.
* May be nested.
*/
void ScintillaWrapper::BeginUndoAction();
/** End a sequence of actions that is undone and redone as a unit.
*/
void ScintillaWrapper::EndUndoAction();
/** Set an indicator to plain, squiggle or TT.
*/
void ScintillaWrapper::IndicSetStyle(int indic, int style);
/** Retrieve the style of an indicator.
*/
int ScintillaWrapper::IndicGetStyle(int indic);
/** Set the foreground colour of an indicator.
*/
void ScintillaWrapper::IndicSetFore(int indic, int foreRed, int foreGreen, int foreBlue);
/** Retrieve the foreground colour of an indicator.
*/
colour ScintillaWrapper::IndicGetFore(int indic);
/** Set an indicator to draw under text or over(default).
*/
void ScintillaWrapper::IndicSetUnder(int indic, bool under);
/** Retrieve whether indicator drawn under or over text.
*/
bool ScintillaWrapper::IndicGetUnder(int indic);
/** Set the foreground colour of all whitespace and whether to use this setting.
*/
void ScintillaWrapper::SetWhitespaceFore(bool useSetting, int foreRed, int foreGreen, int foreBlue);
/** Set the background colour of all whitespace and whether to use this setting.
*/
void ScintillaWrapper::SetWhitespaceBack(bool useSetting, int backRed, int backGreen, int backBlue);
/** Set the size of the dots used to mark space characters.
*/
void ScintillaWrapper::SetWhitespaceSize(int size);
/** Get the size of the dots used to mark space characters.
*/
int ScintillaWrapper::GetWhitespaceSize();
/** Divide each styling byte into lexical class bits (default: 5) and indicator
* bits (default: 3). If a lexer requires more than 32 lexical states, then this
* is used to expand the possible states.
*/
void ScintillaWrapper::SetStyleBits(int bits);
/** Retrieve number of bits in style bytes used to hold the lexical state.
*/
int ScintillaWrapper::GetStyleBits();
/** Used to hold extra styling information for each line.
*/
void ScintillaWrapper::SetLineState(int line, int state);
/** Retrieve the extra styling information for a line.
*/
int ScintillaWrapper::GetLineState(int line);
/** Retrieve the last line number that has line state.
*/
int ScintillaWrapper::GetMaxLineState();
/** Is the background of the line containing the caret in a different colour?
*/
bool ScintillaWrapper::GetCaretLineVisible();
/** Display the background of the line containing the caret in a different colour.
*/
void ScintillaWrapper::SetCaretLineVisible(bool show);
/** Get the colour of the background of the line containing the caret.
*/
colour ScintillaWrapper::GetCaretLineBack();
/** Set the colour of the background of the line containing the caret.
*/
void ScintillaWrapper::SetCaretLineBack(int backRed, int backGreen, int backBlue);
/** Set a style to be changeable or not (read only).
* Experimental feature, currently buggy.
*/
void ScintillaWrapper::StyleSetChangeable(int style, bool changeable);
/** Display a auto-completion list.
* The lenEntered parameter indicates how many characters before
* the caret should be used to provide context.
*/
void ScintillaWrapper::AutoCShow(int lenEntered, str itemList);
/** Remove the auto-completion list from the screen.
*/
void ScintillaWrapper::AutoCCancel();
/** Is there an auto-completion list visible?
*/
bool ScintillaWrapper::AutoCActive();
/** Retrieve the position of the caret when the auto-completion list was displayed.
*/
int ScintillaWrapper::AutoCPosStart();
/** User has selected an item so remove the list and insert the selection.
*/
void ScintillaWrapper::AutoCComplete();
/** Define a set of character that when typed cancel the auto-completion list.
*/
void ScintillaWrapper::AutoCStops(str characterSet);
/** Change the separator character in the string setting up an auto-completion list.
* Default is space but can be changed if items contain space.
*/
void ScintillaWrapper::AutoCSetSeparator(int separatorCharacter);
/** Retrieve the auto-completion list separator character.
*/
int ScintillaWrapper::AutoCGetSeparator();
/** Select the item in the auto-completion list that starts with a string.
*/
void ScintillaWrapper::AutoCSelect(str text);
/** Should the auto-completion list be cancelled if the user backspaces to a
* position before where the box was created.
*/
void ScintillaWrapper::AutoCSetCancelAtStart(bool cancel);
/** Retrieve whether auto-completion cancelled by backspacing before start.
*/
bool ScintillaWrapper::AutoCGetCancelAtStart();
/** Define a set of characters that when typed will cause the autocompletion to
* choose the selected item.
*/
void ScintillaWrapper::AutoCSetFillUps(str characterSet);
/** Should a single item auto-completion list automatically choose the item.
*/
void ScintillaWrapper::AutoCSetChooseSingle(bool chooseSingle);
/** Retrieve whether a single item auto-completion list automatically choose the item.
*/
bool ScintillaWrapper::AutoCGetChooseSingle();
/** Set whether case is significant when performing auto-completion searches.
*/
void ScintillaWrapper::AutoCSetIgnoreCase(bool ignoreCase);
/** Retrieve state of ignore case flag.
*/
bool ScintillaWrapper::AutoCGetIgnoreCase();
/** Display a list of strings and send notification when user chooses one.
*/
void ScintillaWrapper::UserListShow(int listType, str itemList);
/** Set whether or not autocompletion is hidden automatically when nothing matches.
*/
void ScintillaWrapper::AutoCSetAutoHide(bool autoHide);
/** Retrieve whether or not autocompletion is hidden automatically when nothing matches.
*/
bool ScintillaWrapper::AutoCGetAutoHide();
/** Set whether or not autocompletion deletes any word characters
* after the inserted text upon completion.
*/
void ScintillaWrapper::AutoCSetDropRestOfWord(bool dropRestOfWord);
/** Retrieve whether or not autocompletion deletes any word characters
* after the inserted text upon completion.
*/
bool ScintillaWrapper::AutoCGetDropRestOfWord();
/** Register an XPM image for use in autocompletion lists.
*/
void ScintillaWrapper::RegisterImage(int type, str xpmData);
/** Clear all the registered XPM images.
*/
void ScintillaWrapper::ClearRegisteredImages();
/** Retrieve the auto-completion list type-separator character.
*/
int ScintillaWrapper::AutoCGetTypeSeparator();
/** Change the type-separator character in the string setting up an auto-completion list.
* Default is '?' but can be changed if items contain '?'.
*/
void ScintillaWrapper::AutoCSetTypeSeparator(int separatorCharacter);
/** Set the maximum width, in characters, of auto-completion and user lists.
* Set to 0 to autosize to fit longest item, which is the default.
*/
void ScintillaWrapper::AutoCSetMaxWidth(int characterCount);
/** Get the maximum width, in characters, of auto-completion and user lists.
*/
int ScintillaWrapper::AutoCGetMaxWidth();
/** Set the maximum height, in rows, of auto-completion and user lists.
* The default is 5 rows.
*/
void ScintillaWrapper::AutoCSetMaxHeight(int rowCount);
/** Set the maximum height, in rows, of auto-completion and user lists.
*/
int ScintillaWrapper::AutoCGetMaxHeight();
/** Set the number of spaces used for one level of indentation.
*/
void ScintillaWrapper::SetIndent(int indentSize);
/** Retrieve indentation size.
*/
int ScintillaWrapper::GetIndent();
/** Indentation will only use space characters if useTabs is false, otherwise
* it will use a combination of tabs and spaces.
*/
void ScintillaWrapper::SetUseTabs(bool useTabs);
/** Retrieve whether tabs will be used in indentation.
*/
bool ScintillaWrapper::GetUseTabs();
/** Change the indentation of a line to a number of columns.
*/
void ScintillaWrapper::SetLineIndentation(int line, int indentSize);
/** Retrieve the number of columns that a line is indented.
*/
int ScintillaWrapper::GetLineIndentation(int line);
/** Retrieve the position before the first non indentation character on a line.
*/
int ScintillaWrapper::GetLineIndentPosition(int line);
/** Retrieve the column number of a position, taking tab width into account.
*/
int ScintillaWrapper::GetColumn(int pos);
/** Show or hide the horizontal scroll bar.
*/
void ScintillaWrapper::SetHScrollBar(bool show);
/** Is the horizontal scroll bar visible?
*/
bool ScintillaWrapper::GetHScrollBar();
/** Show or hide indentation guides.
*/
void ScintillaWrapper::SetIndentationGuides(int indentView);
/** Are the indentation guides visible?
*/
int ScintillaWrapper::GetIndentationGuides();
/** Set the highlighted indentation guide column.
* 0 = no highlighted guide.
*/
void ScintillaWrapper::SetHighlightGuide(int column);
/** Get the highlighted indentation guide column.
*/
int ScintillaWrapper::GetHighlightGuide();
/** Get the position after the last visible characters on a line.
*/
int ScintillaWrapper::GetLineEndPosition(int line);
/** Get the code page used to interpret the bytes of the document as characters.
*/
int ScintillaWrapper::GetCodePage();
/** Get the foreground colour of the caret.
*/
colour ScintillaWrapper::GetCaretFore();
/** In palette mode?
*/
bool ScintillaWrapper::GetUsePalette();
/** In read-only mode?
*/
bool ScintillaWrapper::GetReadOnly();
/** Sets the position of the caret.
*/
void ScintillaWrapper::SetCurrentPos(int pos);
/** Sets the position that starts the selection - this becomes the anchor.
*/
void ScintillaWrapper::SetSelectionStart(int pos);
/** Returns the position at the start of the selection.
*/
int ScintillaWrapper::GetSelectionStart();
/** Sets the position that ends the selection - this becomes the currentPosition.
*/
void ScintillaWrapper::SetSelectionEnd(int pos);
/** Returns the position at the end of the selection.
*/
int ScintillaWrapper::GetSelectionEnd();
/** Sets the print magnification added to the point size of each style for printing.
*/
void ScintillaWrapper::SetPrintMagnification(int magnification);
/** Returns the print magnification.
*/
int ScintillaWrapper::GetPrintMagnification();
/** Modify colours when printing for clearer printed text.
*/
void ScintillaWrapper::SetPrintColourMode(int mode);
/** Returns the print colour mode.
*/
int ScintillaWrapper::GetPrintColourMode();
/** Find some text in the document.
*/
tuple ScintillaWrapper::FindText(int flags, int start, int end, str ft);
/** Retrieve the display line at the top of the display.
*/
int ScintillaWrapper::GetFirstVisibleLine();
/** Retrieve the contents of a line.
* Returns the length of the line.
*/
str ScintillaWrapper::GetLine();
/** Returns the number of lines in the document. There is always at least one.
*/
int ScintillaWrapper::GetLineCount();
/** Sets the size in pixels of the left margin.
*/
void ScintillaWrapper::SetMarginLeft(int pixelWidth);
/** Returns the size in pixels of the left margin.
*/
int ScintillaWrapper::GetMarginLeft();
/** Sets the size in pixels of the right margin.
*/
void ScintillaWrapper::SetMarginRight(int pixelWidth);
/** Returns the size in pixels of the right margin.
*/
int ScintillaWrapper::GetMarginRight();
/** Is the document different from when it was last saved?
*/
bool ScintillaWrapper::GetModify();
/** Select a range of text.
*/
void ScintillaWrapper::SetSel(int start, int end);
/** Retrieve the selected text.
* Return the length of the text.
*/
str ScintillaWrapper::GetSelText();
/** Retrieve a range of text.
* Return the length of the text.
*/
str ScintillaWrapper::GetTextRange(int start, int end);
/** Draw the selection in normal style or with selection highlighted.
*/
void ScintillaWrapper::HideSelection(bool normal);
/** Retrieve the x value of the point in the window where a position is displayed.
*/
int ScintillaWrapper::PointXFromPosition(int pos);
/** Retrieve the y value of the point in the window where a position is displayed.
*/
int ScintillaWrapper::PointYFromPosition(int pos);
/** Retrieve the line containing a position.
*/
int ScintillaWrapper::LineFromPosition(int pos);
/** Retrieve the position at the start of a line.
*/
int ScintillaWrapper::PositionFromLine(int line);
/** Scroll horizontally and vertically.
*/
void ScintillaWrapper::LineScroll(int columns, int lines);
/** Ensure the caret is visible.
*/
void ScintillaWrapper::ScrollCaret();
/** Replace the selected text with the argument text.
*/
void ScintillaWrapper::ReplaceSel(str text);
/** Set to read only or read write.
*/
void ScintillaWrapper::SetReadOnly(bool readOnly);
/** Null operation.
*/
void ScintillaWrapper::Null();
/** Will a paste succeed?
*/
bool ScintillaWrapper::CanPaste();
/** Are there any undoable actions in the undo history?
*/
bool ScintillaWrapper::CanUndo();
/** Delete the undo history.
*/
void ScintillaWrapper::EmptyUndoBuffer();
/** Undo one action in the undo history.
*/
void ScintillaWrapper::Undo();
/** Cut the selection to the clipboard.
*/
void ScintillaWrapper::Cut();
/** Copy the selection to the clipboard.
*/
void ScintillaWrapper::Copy();
/** Paste the contents of the clipboard into the document replacing the selection.
*/
void ScintillaWrapper::Paste();
/** Clear the selection.
*/
void ScintillaWrapper::Clear();
/** Replace the contents of the document with the argument text.
*/
void ScintillaWrapper::SetText(str text);
/** Retrieve all the text in the document.
* Returns number of characters retrieved.
*/
str ScintillaWrapper::GetText();
/** Retrieve the number of characters in the document.
*/
int ScintillaWrapper::GetTextLength();
/** Retrieve a pointer to a function that processes messages for this Scintilla.
*/
int ScintillaWrapper::GetDirectFunction();
/** Retrieve a pointer value to use as the first argument when calling
* the function returned by GetDirectFunction.
*/
int ScintillaWrapper::GetDirectPointer();
/** Set to overtype (true) or insert mode.
*/
void ScintillaWrapper::SetOvertype(bool overtype);
/** Returns true if overtype mode is active otherwise false is returned.
*/
bool ScintillaWrapper::GetOvertype();
/** Set the width of the insert mode caret.
*/
void ScintillaWrapper::SetCaretWidth(int pixelWidth);
/** Returns the width of the insert mode caret.
*/
int ScintillaWrapper::GetCaretWidth();
/** Sets the position that starts the target which is used for updating the
* document without affecting the scroll position.
*/
void ScintillaWrapper::SetTargetStart(int pos);
/** Get the position that starts the target.
*/
int ScintillaWrapper::GetTargetStart();
/** Sets the position that ends the target which is used for updating the
* document without affecting the scroll position.
*/
void ScintillaWrapper::SetTargetEnd(int pos);
/** Get the position that ends the target.
*/
int ScintillaWrapper::GetTargetEnd();
/** Replace the target text with the argument text.
* Text is counted so it can contain NULs.
* Returns the length of the replacement text.
*/
int ScintillaWrapper::ReplaceTarget(str text);
/** Replace the target text with the argument text after \d processing.
* Text is counted so it can contain NULs.
* Looks for \d where d is between 1 and 9 and replaces these with the strings
* matched in the last search operation which were surrounded by \( and \).
* Returns the length of the replacement text including any change
* caused by processing the \d patterns.
*/
int ScintillaWrapper::ReplaceTargetRE(str text);
/** Search for a counted string in the target and set the target to the found
* range. Text is counted so it can contain NULs.
* Returns length of range or -1 for failure in which case target is not moved.
*/
int ScintillaWrapper::SearchInTarget(str text);
/** Set the search flags used by SearchInTarget.
*/
void ScintillaWrapper::SetSearchFlags(int flags);
/** Get the search flags used by SearchInTarget.
*/
int ScintillaWrapper::GetSearchFlags();
/** Show a call tip containing a definition near position pos.
*/
void ScintillaWrapper::CallTipShow(int pos, str definition);
/** Remove the call tip from the screen.
*/
void ScintillaWrapper::CallTipCancel();
/** Is there an active call tip?
*/
bool ScintillaWrapper::CallTipActive();
/** Retrieve the position where the caret was before displaying the call tip.
*/
int ScintillaWrapper::CallTipPosStart();
/** Highlight a segment of the definition.
*/
void ScintillaWrapper::CallTipSetHlt(int start, int end);
/** Set the background colour for the call tip.
*/
void ScintillaWrapper::CallTipSetBack(int backRed, int backGreen, int backBlue);
/** Set the foreground colour for the call tip.
*/
void ScintillaWrapper::CallTipSetFore(int foreRed, int foreGreen, int foreBlue);
/** Set the foreground colour for the highlighted part of the call tip.
*/
void ScintillaWrapper::CallTipSetForeHlt(int foreRed, int foreGreen, int foreBlue);
/** Enable use of STYLE_CALLTIP and set call tip tab size in pixels.
*/
void ScintillaWrapper::CallTipUseStyle(int tabSize);
/** Find the display line of a document line taking hidden lines into account.
*/
int ScintillaWrapper::VisibleFromDocLine(int line);
/** Find the document line of a display line taking hidden lines into account.
*/
int ScintillaWrapper::DocLineFromVisible(int lineDisplay);
/** The number of display lines needed to wrap a document line
*/
int ScintillaWrapper::WrapCount(int line);
/** Set the fold level of a line.
* This encodes an integer level along with flags indicating whether the
* line is a header and whether it is effectively white space.
*/
void ScintillaWrapper::SetFoldLevel(int line, int level);
/** Retrieve the fold level of a line.
*/
int ScintillaWrapper::GetFoldLevel(int line);
/** Find the last child line of a header line.
*/
int ScintillaWrapper::GetLastChild(int line, int level);
/** Find the parent line of a child line.
*/
int ScintillaWrapper::GetFoldParent(int line);
/** Make a range of lines visible.
*/
void ScintillaWrapper::ShowLines(int lineStart, int lineEnd);
/** Make a range of lines invisible.
*/
void ScintillaWrapper::HideLines(int lineStart, int lineEnd);
/** Is a line visible?
*/
bool ScintillaWrapper::GetLineVisible(int line);
/** Show the children of a header line.
*/
void ScintillaWrapper::SetFoldExpanded(int line, bool expanded);
/** Is a header line expanded?
*/
bool ScintillaWrapper::GetFoldExpanded(int line);
/** Switch a header line between expanded and contracted.
*/
void ScintillaWrapper::ToggleFold(int line);
/** Ensure a particular line is visible by expanding any header line hiding it.
*/
void ScintillaWrapper::EnsureVisible(int line);
/** Set some style options for folding.
*/
void ScintillaWrapper::SetFoldFlags(int flags);
/** Ensure a particular line is visible by expanding any header line hiding it.
* Use the currently set visibility policy to determine which range to display.
*/
void ScintillaWrapper::EnsureVisibleEnforcePolicy(int line);
/** Sets whether a tab pressed when caret is within indentation indents.
*/
void ScintillaWrapper::SetTabIndents(bool tabIndents);
/** Does a tab pressed when caret is within indentation indent?
*/
bool ScintillaWrapper::GetTabIndents();
/** Sets whether a backspace pressed when caret is within indentation unindents.
*/
void ScintillaWrapper::SetBackSpaceUnIndents(bool bsUnIndents);
/** Does a backspace pressed when caret is within indentation unindent?
*/
bool ScintillaWrapper::GetBackSpaceUnIndents();
/** Sets the time the mouse must sit still to generate a mouse dwell event.
*/
void ScintillaWrapper::SetMouseDwellTime(int periodMilliseconds);
/** Retrieve the time the mouse must sit still to generate a mouse dwell event.
*/
int ScintillaWrapper::GetMouseDwellTime();
/** Get position of start of word.
*/
int ScintillaWrapper::WordStartPosition(int pos, bool onlyWordCharacters);
/** Get position of end of word.
*/
int ScintillaWrapper::WordEndPosition(int pos, bool onlyWordCharacters);
/** Sets whether text is word wrapped.
*/
void ScintillaWrapper::SetWrapMode(int mode);
/** Retrieve whether text is word wrapped.
*/
int ScintillaWrapper::GetWrapMode();
/** Set the display mode of visual flags for wrapped lines.
*/
void ScintillaWrapper::SetWrapVisualFlags(int wrapVisualFlags);
/** Retrive the display mode of visual flags for wrapped lines.
*/
int ScintillaWrapper::GetWrapVisualFlags();
/** Set the location of visual flags for wrapped lines.
*/
void ScintillaWrapper::SetWrapVisualFlagsLocation(int wrapVisualFlagsLocation);
/** Retrive the location of visual flags for wrapped lines.
*/
int ScintillaWrapper::GetWrapVisualFlagsLocation();
/** Set the start indent for wrapped lines.
*/
void ScintillaWrapper::SetWrapStartIndent(int indent);
/** Retrive the start indent for wrapped lines.
*/
int ScintillaWrapper::GetWrapStartIndent();
/** Sets how wrapped sublines are placed. Default is fixed.
*/
void ScintillaWrapper::SetWrapIndentMode(int mode);
/** Retrieve how wrapped sublines are placed. Default is fixed.
*/
int ScintillaWrapper::GetWrapIndentMode();
/** Sets the degree of caching of layout information.
*/
void ScintillaWrapper::SetLayoutCache(int mode);
/** Retrieve the degree of caching of layout information.
*/
int ScintillaWrapper::GetLayoutCache();
/** Sets the document width assumed for scrolling.
*/
void ScintillaWrapper::SetScrollWidth(int pixelWidth);
/** Retrieve the document width assumed for scrolling.
*/
int ScintillaWrapper::GetScrollWidth();
/** Sets whether the maximum width line displayed is used to set scroll width.
*/
void ScintillaWrapper::SetScrollWidthTracking(bool tracking);
/** Retrieve whether the scroll width tracks wide lines.
*/
bool ScintillaWrapper::GetScrollWidthTracking();
/** Measure the pixel width of some text in a particular style.
* NUL terminated text argument.
* Does not handle tab or control characters.
*/
int ScintillaWrapper::TextWidth(int style, str text);
/** Sets the scroll range so that maximum scroll position has
* the last line at the bottom of the view (default).
* Setting this to false allows scrolling one page below the last line.
*/
void ScintillaWrapper::SetEndAtLastLine(bool endAtLastLine);
/** Retrieve whether the maximum scroll position has the last
* line at the bottom of the view.
*/
bool ScintillaWrapper::GetEndAtLastLine();
/** Retrieve the height of a particular line of text in pixels.
*/
int ScintillaWrapper::TextHeight(int line);
/** Show or hide the vertical scroll bar.
*/
void ScintillaWrapper::SetVScrollBar(bool show);
/** Is the vertical scroll bar visible?
*/
bool ScintillaWrapper::GetVScrollBar();
/** Append a string to the end of the document without changing the selection.
*/
int ScintillaWrapper::AppendText(str text);
/** Is drawing done in two phases with backgrounds drawn before faoregrounds?
*/
bool ScintillaWrapper::GetTwoPhaseDraw();
/** In twoPhaseDraw mode, drawing is performed in two phases, first the background
* and then the foreground. This avoids chopping off characters that overlap the next run.
*/
void ScintillaWrapper::SetTwoPhaseDraw(bool twoPhase);
/** Choose the quality level for text from the FontQuality enumeration.
*/
void ScintillaWrapper::SetFontQuality(int fontQuality);
/** Retrieve the quality level for text.
*/
int ScintillaWrapper::GetFontQuality();
/** Scroll so that a display line is at the top of the display.
*/
void ScintillaWrapper::SetFirstVisibleLine(int lineDisplay);
/** Change the effect of pasting when there are multiple selections.
*/
void ScintillaWrapper::SetMultiPaste(int multiPaste);
/** Retrieve the effect of pasting when there are multiple selections..
*/
int ScintillaWrapper::GetMultiPaste();
/** Retrieve the value of a tag from a regular expression search.
*/
str ScintillaWrapper::GetTag();
/** Make the target range start and end be the same as the selection range start and end.
*/
void ScintillaWrapper::TargetFromSelection();
/** Join the lines in the target.
*/
void ScintillaWrapper::LinesJoin();
/** Split the lines in the target into lines that are less wide than pixelWidth
* where possible.
*/
void ScintillaWrapper::LinesSplit(int pixelWidth);
/** Set the colours used as a chequerboard pattern in the fold margin
*/
void ScintillaWrapper::SetFoldMarginColour(bool useSetting, int backRed, int backGreen, int backBlue);
/** Set the colours used as a chequerboard pattern in the fold margin
*/
void ScintillaWrapper::SetFoldMarginHiColour(bool useSetting, int foreRed, int foreGreen, int foreBlue);
/** Move caret down one line.
*/
void ScintillaWrapper::LineDown();
/** Move caret down one line extending selection to new caret position.
*/
void ScintillaWrapper::LineDownExtend();
/** Move caret up one line.
*/
void ScintillaWrapper::LineUp();
/** Move caret up one line extending selection to new caret position.
*/
void ScintillaWrapper::LineUpExtend();
/** Move caret left one character.
*/
void ScintillaWrapper::CharLeft();
/** Move caret left one character extending selection to new caret position.
*/
void ScintillaWrapper::CharLeftExtend();
/** Move caret right one character.
*/
void ScintillaWrapper::CharRight();
/** Move caret right one character extending selection to new caret position.
*/
void ScintillaWrapper::CharRightExtend();
/** Move caret left one word.
*/
void ScintillaWrapper::WordLeft();
/** Move caret left one word extending selection to new caret position.
*/
void ScintillaWrapper::WordLeftExtend();
/** Move caret right one word.
*/
void ScintillaWrapper::WordRight();
/** Move caret right one word extending selection to new caret position.
*/
void ScintillaWrapper::WordRightExtend();
/** Move caret to first position on line.
*/
void ScintillaWrapper::Home();
/** Move caret to first position on line extending selection to new caret position.
*/
void ScintillaWrapper::HomeExtend();
/** Move caret to last position on line.
*/
void ScintillaWrapper::LineEnd();
/** Move caret to last position on line extending selection to new caret position.
*/
void ScintillaWrapper::LineEndExtend();
/** Move caret to first position in document.
*/
void ScintillaWrapper::DocumentStart();
/** Move caret to first position in document extending selection to new caret position.
*/
void ScintillaWrapper::DocumentStartExtend();
/** Move caret to last position in document.