1// @file ScintillaEdit.cpp
2// Extended version of ScintillaEditBase with a method for each API
3// Copyright (c) 2011 Archaeopteryx Software, Inc. d/b/a Wingware
4
5#include "ScintillaEdit.h"
6
7using namespace Scintilla;
8
9ScintillaEdit::ScintillaEdit(QWidget *parent) : ScintillaEditBase(parent) {
10}
11
12ScintillaEdit::~ScintillaEdit() {
13}
14
15QByteArray ScintillaEdit::TextReturner(int message, uptr_t wParam) const {
16 int length = send(message, wParam, 0);
17 QByteArray ba(length, '\0');
18 send(message, wParam, (sptr_t)ba.data());
19 // Remove extra NULs
20 if (ba.size() > 0 && ba.at(ba.size()-1) == 0)
21 ba.chop(1);
22 return ba;
23}
24
25QPair<int, int>ScintillaEdit::find_text(int flags, const char *text, int cpMin, int cpMax) {
26 struct Sci_TextToFind ft = {{0, 0}, 0, {0, 0}};
27 ft.chrg.cpMin = cpMin;
28 ft.chrg.cpMax = cpMax;
29 ft.chrgText.cpMin = cpMin;
30 ft.chrgText.cpMax = cpMax;
31 ft.lpstrText = text;
32
33 int start = send(SCI_FINDTEXT, flags, (uptr_t) (&ft));
34
35 return QPair<int,int>(start, ft.chrgText.cpMax);
36}
37
38QByteArray ScintillaEdit::get_text_range(int start, int end) {
39 if (start > end)
40 start = end;
41
42 int length = end-start;
43 QByteArray ba(length+1, '\0');
44 struct Sci_TextRange tr = {{start, end}, ba.data()};
45
46 send(SCI_GETTEXTRANGE, 0, (sptr_t)&tr);
47 ba.chop(1); // Remove extra NUL
48
49 return ba;
50}
51
52ScintillaDocument *ScintillaEdit::get_doc() {
53 return new ScintillaDocument(0, (void *)send(SCI_GETDOCPOINTER, 0, 0));
54}
55
56void ScintillaEdit::set_doc(ScintillaDocument *pdoc_) {
57 send(SCI_SETDOCPOINTER, 0, (sptr_t)(pdoc_->pointer()));
58}
59
60long ScintillaEdit::format_range(bool draw, QPaintDevice* target, QPaintDevice* measure,
61 const QRect& print_rect, const QRect& page_rect,
62 long range_start, long range_end)
63{
64 Sci_RangeToFormat to_format;
65
66 to_format.hdc = target;
67 to_format.hdcTarget = measure;
68
69 to_format.rc.left = print_rect.left();
70 to_format.rc.top = print_rect.top();
71 to_format.rc.right = print_rect.right();
72 to_format.rc.bottom = print_rect.bottom();
73
74 to_format.rcPage.left = page_rect.left();
75 to_format.rcPage.top = page_rect.top();
76 to_format.rcPage.right = page_rect.right();
77 to_format.rcPage.bottom = page_rect.bottom();
78
79 to_format.chrg.cpMin = range_start;
80 to_format.chrg.cpMax = range_end;
81
82 return send(SCI_FORMATRANGE, draw, reinterpret_cast<sptr_t>(&to_format));
83}
84
85/* ++Autogenerated -- start of section automatically generated from Scintilla.iface */
86void ScintillaEdit::addText(sptr_t length, const char * text) {
87 send(SCI_ADDTEXT, length, (sptr_t)text);
88}
89
90void ScintillaEdit::addStyledText(sptr_t length, const char * c) {
91 send(SCI_ADDSTYLEDTEXT, length, (sptr_t)c);
92}
93
94void ScintillaEdit::insertText(sptr_t pos, const char * text) {
95 send(SCI_INSERTTEXT, pos, (sptr_t)text);
96}
97
98void ScintillaEdit::changeInsertion(sptr_t length, const char * text) {
99 send(SCI_CHANGEINSERTION, length, (sptr_t)text);
100}
101
102void ScintillaEdit::clearAll() {
103 send(SCI_CLEARALL, 0, 0);
104}
105
106void ScintillaEdit::deleteRange(sptr_t start, sptr_t lengthDelete) {
107 send(SCI_DELETERANGE, start, lengthDelete);
108}
109
110void ScintillaEdit::clearDocumentStyle() {
111 send(SCI_CLEARDOCUMENTSTYLE, 0, 0);
112}
113
114sptr_t ScintillaEdit::length() const {
115 return send(SCI_GETLENGTH, 0, 0);
116}
117
118sptr_t ScintillaEdit::charAt(sptr_t pos) const {
119 return send(SCI_GETCHARAT, pos, 0);
120}
121
122sptr_t ScintillaEdit::currentPos() const {
123 return send(SCI_GETCURRENTPOS, 0, 0);
124}
125
126sptr_t ScintillaEdit::anchor() const {
127 return send(SCI_GETANCHOR, 0, 0);
128}
129
130sptr_t ScintillaEdit::styleAt(sptr_t pos) const {
131 return send(SCI_GETSTYLEAT, pos, 0);
132}
133
134void ScintillaEdit::redo() {
135 send(SCI_REDO, 0, 0);
136}
137
138void ScintillaEdit::setUndoCollection(bool collectUndo) {
139 send(SCI_SETUNDOCOLLECTION, collectUndo, 0);
140}
141
142void ScintillaEdit::selectAll() {
143 send(SCI_SELECTALL, 0, 0);
144}
145
146void ScintillaEdit::setSavePoint() {
147 send(SCI_SETSAVEPOINT, 0, 0);
148}
149
150bool ScintillaEdit::canRedo() {
151 return send(SCI_CANREDO, 0, 0);
152}
153
154sptr_t ScintillaEdit::markerLineFromHandle(sptr_t markerHandle) {
155 return send(SCI_MARKERLINEFROMHANDLE, markerHandle, 0);
156}
157
158void ScintillaEdit::markerDeleteHandle(sptr_t markerHandle) {
159 send(SCI_MARKERDELETEHANDLE, markerHandle, 0);
160}
161
162sptr_t ScintillaEdit::markerHandleFromLine(sptr_t line, sptr_t which) {
163 return send(SCI_MARKERHANDLEFROMLINE, line, which);
164}
165
166sptr_t ScintillaEdit::markerNumberFromLine(sptr_t line, sptr_t which) {
167 return send(SCI_MARKERNUMBERFROMLINE, line, which);
168}
169
170bool ScintillaEdit::undoCollection() const {
171 return send(SCI_GETUNDOCOLLECTION, 0, 0);
172}
173
174sptr_t ScintillaEdit::viewWS() const {
175 return send(SCI_GETVIEWWS, 0, 0);
176}
177
178void ScintillaEdit::setViewWS(sptr_t viewWS) {
179 send(SCI_SETVIEWWS, viewWS, 0);
180}
181
182sptr_t ScintillaEdit::tabDrawMode() const {
183 return send(SCI_GETTABDRAWMODE, 0, 0);
184}
185
186void ScintillaEdit::setTabDrawMode(sptr_t tabDrawMode) {
187 send(SCI_SETTABDRAWMODE, tabDrawMode, 0);
188}
189
190sptr_t ScintillaEdit::positionFromPoint(sptr_t x, sptr_t y) {
191 return send(SCI_POSITIONFROMPOINT, x, y);
192}
193
194sptr_t ScintillaEdit::positionFromPointClose(sptr_t x, sptr_t y) {
195 return send(SCI_POSITIONFROMPOINTCLOSE, x, y);
196}
197
198void ScintillaEdit::gotoLine(sptr_t line) {
199 send(SCI_GOTOLINE, line, 0);
200}
201
202void ScintillaEdit::gotoPos(sptr_t caret) {
203 send(SCI_GOTOPOS, caret, 0);
204}
205
206void ScintillaEdit::setAnchor(sptr_t anchor) {
207 send(SCI_SETANCHOR, anchor, 0);
208}
209
210QByteArray ScintillaEdit::getCurLine(sptr_t length) {
211 return TextReturner(SCI_GETCURLINE, length);
212}
213
214sptr_t ScintillaEdit::endStyled() const {
215 return send(SCI_GETENDSTYLED, 0, 0);
216}
217
218void ScintillaEdit::convertEOLs(sptr_t eolMode) {
219 send(SCI_CONVERTEOLS, eolMode, 0);
220}
221
222sptr_t ScintillaEdit::eOLMode() const {
223 return send(SCI_GETEOLMODE, 0, 0);
224}
225
226void ScintillaEdit::setEOLMode(sptr_t eolMode) {
227 send(SCI_SETEOLMODE, eolMode, 0);
228}
229
230void ScintillaEdit::startStyling(sptr_t start, sptr_t unused) {
231 send(SCI_STARTSTYLING, start, unused);
232}
233
234void ScintillaEdit::setStyling(sptr_t length, sptr_t style) {
235 send(SCI_SETSTYLING, length, style);
236}
237
238bool ScintillaEdit::bufferedDraw() const {
239 return send(SCI_GETBUFFEREDDRAW, 0, 0);
240}
241
242void ScintillaEdit::setBufferedDraw(bool buffered) {
243 send(SCI_SETBUFFEREDDRAW, buffered, 0);
244}
245
246void ScintillaEdit::setTabWidth(sptr_t tabWidth) {
247 send(SCI_SETTABWIDTH, tabWidth, 0);
248}
249
250sptr_t ScintillaEdit::tabWidth() const {
251 return send(SCI_GETTABWIDTH, 0, 0);
252}
253
254void ScintillaEdit::setTabMinimumWidth(sptr_t pixels) {
255 send(SCI_SETTABMINIMUMWIDTH, pixels, 0);
256}
257
258sptr_t ScintillaEdit::tabMinimumWidth() const {
259 return send(SCI_GETTABMINIMUMWIDTH, 0, 0);
260}
261
262void ScintillaEdit::clearTabStops(sptr_t line) {
263 send(SCI_CLEARTABSTOPS, line, 0);
264}
265
266void ScintillaEdit::addTabStop(sptr_t line, sptr_t x) {
267 send(SCI_ADDTABSTOP, line, x);
268}
269
270sptr_t ScintillaEdit::getNextTabStop(sptr_t line, sptr_t x) {
271 return send(SCI_GETNEXTTABSTOP, line, x);
272}
273
274void ScintillaEdit::setCodePage(sptr_t codePage) {
275 send(SCI_SETCODEPAGE, codePage, 0);
276}
277
278void ScintillaEdit::setFontLocale(const char * localeName) {
279 send(SCI_SETFONTLOCALE, 0, (sptr_t)localeName);
280}
281
282QByteArray ScintillaEdit::fontLocale() const {
283 return TextReturner(SCI_GETFONTLOCALE, 0);
284}
285
286sptr_t ScintillaEdit::iMEInteraction() const {
287 return send(SCI_GETIMEINTERACTION, 0, 0);
288}
289
290void ScintillaEdit::setIMEInteraction(sptr_t imeInteraction) {
291 send(SCI_SETIMEINTERACTION, imeInteraction, 0);
292}
293
294void ScintillaEdit::markerDefine(sptr_t markerNumber, sptr_t markerSymbol) {
295 send(SCI_MARKERDEFINE, markerNumber, markerSymbol);
296}
297
298void ScintillaEdit::markerSetFore(sptr_t markerNumber, sptr_t fore) {
299 send(SCI_MARKERSETFORE, markerNumber, fore);
300}
301
302void ScintillaEdit::markerSetBack(sptr_t markerNumber, sptr_t back) {
303 send(SCI_MARKERSETBACK, markerNumber, back);
304}
305
306void ScintillaEdit::markerSetBackSelected(sptr_t markerNumber, sptr_t back) {
307 send(SCI_MARKERSETBACKSELECTED, markerNumber, back);
308}
309
310void ScintillaEdit::markerSetForeTranslucent(sptr_t markerNumber, sptr_t fore) {
311 send(SCI_MARKERSETFORETRANSLUCENT, markerNumber, fore);
312}
313
314void ScintillaEdit::markerSetBackTranslucent(sptr_t markerNumber, sptr_t back) {
315 send(SCI_MARKERSETBACKTRANSLUCENT, markerNumber, back);
316}
317
318void ScintillaEdit::markerSetBackSelectedTranslucent(sptr_t markerNumber, sptr_t back) {
319 send(SCI_MARKERSETBACKSELECTEDTRANSLUCENT, markerNumber, back);
320}
321
322void ScintillaEdit::markerSetStrokeWidth(sptr_t markerNumber, sptr_t hundredths) {
323 send(SCI_MARKERSETSTROKEWIDTH, markerNumber, hundredths);
324}
325
326void ScintillaEdit::markerEnableHighlight(bool enabled) {
327 send(SCI_MARKERENABLEHIGHLIGHT, enabled, 0);
328}
329
330sptr_t ScintillaEdit::markerAdd(sptr_t line, sptr_t markerNumber) {
331 return send(SCI_MARKERADD, line, markerNumber);
332}
333
334void ScintillaEdit::markerDelete(sptr_t line, sptr_t markerNumber) {
335 send(SCI_MARKERDELETE, line, markerNumber);
336}
337
338void ScintillaEdit::markerDeleteAll(sptr_t markerNumber) {
339 send(SCI_MARKERDELETEALL, markerNumber, 0);
340}
341
342sptr_t ScintillaEdit::markerGet(sptr_t line) {
343 return send(SCI_MARKERGET, line, 0);
344}
345
346sptr_t ScintillaEdit::markerNext(sptr_t lineStart, sptr_t markerMask) {
347 return send(SCI_MARKERNEXT, lineStart, markerMask);
348}
349
350sptr_t ScintillaEdit::markerPrevious(sptr_t lineStart, sptr_t markerMask) {
351 return send(SCI_MARKERPREVIOUS, lineStart, markerMask);
352}
353
354void ScintillaEdit::markerDefinePixmap(sptr_t markerNumber, const char * pixmap) {
355 send(SCI_MARKERDEFINEPIXMAP, markerNumber, (sptr_t)pixmap);
356}
357
358void ScintillaEdit::markerAddSet(sptr_t line, sptr_t markerSet) {
359 send(SCI_MARKERADDSET, line, markerSet);
360}
361
362void ScintillaEdit::markerSetAlpha(sptr_t markerNumber, sptr_t alpha) {
363 send(SCI_MARKERSETALPHA, markerNumber, alpha);
364}
365
366sptr_t ScintillaEdit::markerLayer(sptr_t markerNumber) const {
367 return send(SCI_MARKERGETLAYER, markerNumber, 0);
368}
369
370void ScintillaEdit::markerSetLayer(sptr_t markerNumber, sptr_t layer) {
371 send(SCI_MARKERSETLAYER, markerNumber, layer);
372}
373
374void ScintillaEdit::setMarginTypeN(sptr_t margin, sptr_t marginType) {
375 send(SCI_SETMARGINTYPEN, margin, marginType);
376}
377
378sptr_t ScintillaEdit::marginTypeN(sptr_t margin) const {
379 return send(SCI_GETMARGINTYPEN, margin, 0);
380}
381
382void ScintillaEdit::setMarginWidthN(sptr_t margin, sptr_t pixelWidth) {
383 send(SCI_SETMARGINWIDTHN, margin, pixelWidth);
384}
385
386sptr_t ScintillaEdit::marginWidthN(sptr_t margin) const {
387 return send(SCI_GETMARGINWIDTHN, margin, 0);
388}
389
390void ScintillaEdit::setMarginMaskN(sptr_t margin, sptr_t mask) {
391 send(SCI_SETMARGINMASKN, margin, mask);
392}
393
394sptr_t ScintillaEdit::marginMaskN(sptr_t margin) const {
395 return send(SCI_GETMARGINMASKN, margin, 0);
396}
397
398void ScintillaEdit::setMarginSensitiveN(sptr_t margin, bool sensitive) {
399 send(SCI_SETMARGINSENSITIVEN, margin, sensitive);
400}
401
402bool ScintillaEdit::marginSensitiveN(sptr_t margin) const {
403 return send(SCI_GETMARGINSENSITIVEN, margin, 0);
404}
405
406void ScintillaEdit::setMarginCursorN(sptr_t margin, sptr_t cursor) {
407 send(SCI_SETMARGINCURSORN, margin, cursor);
408}
409
410sptr_t ScintillaEdit::marginCursorN(sptr_t margin) const {
411 return send(SCI_GETMARGINCURSORN, margin, 0);
412}
413
414void ScintillaEdit::setMarginBackN(sptr_t margin, sptr_t back) {
415 send(SCI_SETMARGINBACKN, margin, back);
416}
417
418sptr_t ScintillaEdit::marginBackN(sptr_t margin) const {
419 return send(SCI_GETMARGINBACKN, margin, 0);
420}
421
422void ScintillaEdit::setMargins(sptr_t margins) {
423 send(SCI_SETMARGINS, margins, 0);
424}
425
426sptr_t ScintillaEdit::margins() const {
427 return send(SCI_GETMARGINS, 0, 0);
428}
429
430void ScintillaEdit::styleClearAll() {
431 send(SCI_STYLECLEARALL, 0, 0);
432}
433
434void ScintillaEdit::styleSetFore(sptr_t style, sptr_t fore) {
435 send(SCI_STYLESETFORE, style, fore);
436}
437
438void ScintillaEdit::styleSetBack(sptr_t style, sptr_t back) {
439 send(SCI_STYLESETBACK, style, back);
440}
441
442void ScintillaEdit::styleSetBold(sptr_t style, bool bold) {
443 send(SCI_STYLESETBOLD, style, bold);
444}
445
446void ScintillaEdit::styleSetItalic(sptr_t style, bool italic) {
447 send(SCI_STYLESETITALIC, style, italic);
448}
449
450void ScintillaEdit::styleSetSize(sptr_t style, sptr_t sizePoints) {
451 send(SCI_STYLESETSIZE, style, sizePoints);
452}
453
454void ScintillaEdit::styleSetFont(sptr_t style, const char * fontName) {
455 send(SCI_STYLESETFONT, style, (sptr_t)fontName);
456}
457
458void ScintillaEdit::styleSetEOLFilled(sptr_t style, bool eolFilled) {
459 send(SCI_STYLESETEOLFILLED, style, eolFilled);
460}
461
462void ScintillaEdit::styleResetDefault() {
463 send(SCI_STYLERESETDEFAULT, 0, 0);
464}
465
466void ScintillaEdit::styleSetUnderline(sptr_t style, bool underline) {
467 send(SCI_STYLESETUNDERLINE, style, underline);
468}
469
470sptr_t ScintillaEdit::styleFore(sptr_t style) const {
471 return send(SCI_STYLEGETFORE, style, 0);
472}
473
474sptr_t ScintillaEdit::styleBack(sptr_t style) const {
475 return send(SCI_STYLEGETBACK, style, 0);
476}
477
478bool ScintillaEdit::styleBold(sptr_t style) const {
479 return send(SCI_STYLEGETBOLD, style, 0);
480}
481
482bool ScintillaEdit::styleItalic(sptr_t style) const {
483 return send(SCI_STYLEGETITALIC, style, 0);
484}
485
486sptr_t ScintillaEdit::styleSize(sptr_t style) const {
487 return send(SCI_STYLEGETSIZE, style, 0);
488}
489
490QByteArray ScintillaEdit::styleFont(sptr_t style) const {
491 return TextReturner(SCI_STYLEGETFONT, style);
492}
493
494bool ScintillaEdit::styleEOLFilled(sptr_t style) const {
495 return send(SCI_STYLEGETEOLFILLED, style, 0);
496}
497
498bool ScintillaEdit::styleUnderline(sptr_t style) const {
499 return send(SCI_STYLEGETUNDERLINE, style, 0);
500}
501
502sptr_t ScintillaEdit::styleCase(sptr_t style) const {
503 return send(SCI_STYLEGETCASE, style, 0);
504}
505
506sptr_t ScintillaEdit::styleCharacterSet(sptr_t style) const {
507 return send(SCI_STYLEGETCHARACTERSET, style, 0);
508}
509
510bool ScintillaEdit::styleVisible(sptr_t style) const {
511 return send(SCI_STYLEGETVISIBLE, style, 0);
512}
513
514bool ScintillaEdit::styleChangeable(sptr_t style) const {
515 return send(SCI_STYLEGETCHANGEABLE, style, 0);
516}
517
518bool ScintillaEdit::styleHotSpot(sptr_t style) const {
519 return send(SCI_STYLEGETHOTSPOT, style, 0);
520}
521
522void ScintillaEdit::styleSetCase(sptr_t style, sptr_t caseVisible) {
523 send(SCI_STYLESETCASE, style, caseVisible);
524}
525
526void ScintillaEdit::styleSetSizeFractional(sptr_t style, sptr_t sizeHundredthPoints) {
527 send(SCI_STYLESETSIZEFRACTIONAL, style, sizeHundredthPoints);
528}
529
530sptr_t ScintillaEdit::styleSizeFractional(sptr_t style) const {
531 return send(SCI_STYLEGETSIZEFRACTIONAL, style, 0);
532}
533
534void ScintillaEdit::styleSetWeight(sptr_t style, sptr_t weight) {
535 send(SCI_STYLESETWEIGHT, style, weight);
536}
537
538sptr_t ScintillaEdit::styleWeight(sptr_t style) const {
539 return send(SCI_STYLEGETWEIGHT, style, 0);
540}
541
542void ScintillaEdit::styleSetCharacterSet(sptr_t style, sptr_t characterSet) {
543 send(SCI_STYLESETCHARACTERSET, style, characterSet);
544}
545
546void ScintillaEdit::styleSetHotSpot(sptr_t style, bool hotspot) {
547 send(SCI_STYLESETHOTSPOT, style, hotspot);
548}
549
550void ScintillaEdit::styleSetCheckMonospaced(sptr_t style, bool checkMonospaced) {
551 send(SCI_STYLESETCHECKMONOSPACED, style, checkMonospaced);
552}
553
554bool ScintillaEdit::styleCheckMonospaced(sptr_t style) const {
555 return send(SCI_STYLEGETCHECKMONOSPACED, style, 0);
556}
557
558void ScintillaEdit::setElementColour(sptr_t element, sptr_t colourElement) {
559 send(SCI_SETELEMENTCOLOUR, element, colourElement);
560}
561
562sptr_t ScintillaEdit::elementColour(sptr_t element) const {
563 return send(SCI_GETELEMENTCOLOUR, element, 0);
564}
565
566void ScintillaEdit::resetElementColour(sptr_t element) {
567 send(SCI_RESETELEMENTCOLOUR, element, 0);
568}
569
570bool ScintillaEdit::elementIsSet(sptr_t element) const {
571 return send(SCI_GETELEMENTISSET, element, 0);
572}
573
574bool ScintillaEdit::elementAllowsTranslucent(sptr_t element) const {
575 return send(SCI_GETELEMENTALLOWSTRANSLUCENT, element, 0);
576}
577
578sptr_t ScintillaEdit::elementBaseColour(sptr_t element) const {
579 return send(SCI_GETELEMENTBASECOLOUR, element, 0);
580}
581
582void ScintillaEdit::setSelFore(bool useSetting, sptr_t fore) {
583 send(SCI_SETSELFORE, useSetting, fore);
584}
585
586void ScintillaEdit::setSelBack(bool useSetting, sptr_t back) {
587 send(SCI_SETSELBACK, useSetting, back);
588}
589
590sptr_t ScintillaEdit::selAlpha() const {
591 return send(SCI_GETSELALPHA, 0, 0);
592}
593
594void ScintillaEdit::setSelAlpha(sptr_t alpha) {
595 send(SCI_SETSELALPHA, alpha, 0);
596}
597
598bool ScintillaEdit::selEOLFilled() const {
599 return send(SCI_GETSELEOLFILLED, 0, 0);
600}
601
602void ScintillaEdit::setSelEOLFilled(bool filled) {
603 send(SCI_SETSELEOLFILLED, filled, 0);
604}
605
606sptr_t ScintillaEdit::selectionLayer() const {
607 return send(SCI_GETSELECTIONLAYER, 0, 0);
608}
609
610void ScintillaEdit::setSelectionLayer(sptr_t layer) {
611 send(SCI_SETSELECTIONLAYER, layer, 0);
612}
613
614sptr_t ScintillaEdit::caretLineLayer() const {
615 return send(SCI_GETCARETLINELAYER, 0, 0);
616}
617
618void ScintillaEdit::setCaretLineLayer(sptr_t layer) {
619 send(SCI_SETCARETLINELAYER, layer, 0);
620}
621
622void ScintillaEdit::setCaretFore(sptr_t fore) {
623 send(SCI_SETCARETFORE, fore, 0);
624}
625
626void ScintillaEdit::assignCmdKey(sptr_t keyDefinition, sptr_t sciCommand) {
627 send(SCI_ASSIGNCMDKEY, keyDefinition, sciCommand);
628}
629
630void ScintillaEdit::clearCmdKey(sptr_t keyDefinition) {
631 send(SCI_CLEARCMDKEY, keyDefinition, 0);
632}
633
634void ScintillaEdit::clearAllCmdKeys() {
635 send(SCI_CLEARALLCMDKEYS, 0, 0);
636}
637
638void ScintillaEdit::setStylingEx(sptr_t length, const char * styles) {
639 send(SCI_SETSTYLINGEX, length, (sptr_t)styles);
640}
641
642void ScintillaEdit::styleSetVisible(sptr_t style, bool visible) {
643 send(SCI_STYLESETVISIBLE, style, visible);
644}
645
646sptr_t ScintillaEdit::caretPeriod() const {
647 return send(SCI_GETCARETPERIOD, 0, 0);
648}
649
650void ScintillaEdit::setCaretPeriod(sptr_t periodMilliseconds) {
651 send(SCI_SETCARETPERIOD, periodMilliseconds, 0);
652}
653
654void ScintillaEdit::setWordChars(const char * characters) {
655 send(SCI_SETWORDCHARS, 0, (sptr_t)characters);
656}
657
658QByteArray ScintillaEdit::wordChars() const {
659 return TextReturner(SCI_GETWORDCHARS, 0);
660}
661
662void ScintillaEdit::setCharacterCategoryOptimization(sptr_t countCharacters) {
663 send(SCI_SETCHARACTERCATEGORYOPTIMIZATION, countCharacters, 0);
664}
665
666sptr_t ScintillaEdit::characterCategoryOptimization() const {
667 return send(SCI_GETCHARACTERCATEGORYOPTIMIZATION, 0, 0);
668}
669
670void ScintillaEdit::beginUndoAction() {
671 send(SCI_BEGINUNDOACTION, 0, 0);
672}
673
674void ScintillaEdit::endUndoAction() {
675 send(SCI_ENDUNDOACTION, 0, 0);
676}
677
678void ScintillaEdit::indicSetStyle(sptr_t indicator, sptr_t indicatorStyle) {
679 send(SCI_INDICSETSTYLE, indicator, indicatorStyle);
680}
681
682sptr_t ScintillaEdit::indicStyle(sptr_t indicator) const {
683 return send(SCI_INDICGETSTYLE, indicator, 0);
684}
685
686void ScintillaEdit::indicSetFore(sptr_t indicator, sptr_t fore) {
687 send(SCI_INDICSETFORE, indicator, fore);
688}
689
690sptr_t ScintillaEdit::indicFore(sptr_t indicator) const {
691 return send(SCI_INDICGETFORE, indicator, 0);
692}
693
694void ScintillaEdit::indicSetUnder(sptr_t indicator, bool under) {
695 send(SCI_INDICSETUNDER, indicator, under);
696}
697
698bool ScintillaEdit::indicUnder(sptr_t indicator) const {
699 return send(SCI_INDICGETUNDER, indicator, 0);
700}
701
702void ScintillaEdit::indicSetHoverStyle(sptr_t indicator, sptr_t indicatorStyle) {
703 send(SCI_INDICSETHOVERSTYLE, indicator, indicatorStyle);
704}
705
706sptr_t ScintillaEdit::indicHoverStyle(sptr_t indicator) const {
707 return send(SCI_INDICGETHOVERSTYLE, indicator, 0);
708}
709
710void ScintillaEdit::indicSetHoverFore(sptr_t indicator, sptr_t fore) {
711 send(SCI_INDICSETHOVERFORE, indicator, fore);
712}
713
714sptr_t ScintillaEdit::indicHoverFore(sptr_t indicator) const {
715 return send(SCI_INDICGETHOVERFORE, indicator, 0);
716}
717
718void ScintillaEdit::indicSetFlags(sptr_t indicator, sptr_t flags) {
719 send(SCI_INDICSETFLAGS, indicator, flags);
720}
721
722sptr_t ScintillaEdit::indicFlags(sptr_t indicator) const {
723 return send(SCI_INDICGETFLAGS, indicator, 0);
724}
725
726void ScintillaEdit::indicSetStrokeWidth(sptr_t indicator, sptr_t hundredths) {
727 send(SCI_INDICSETSTROKEWIDTH, indicator, hundredths);
728}
729
730sptr_t ScintillaEdit::indicStrokeWidth(sptr_t indicator) const {
731 return send(SCI_INDICGETSTROKEWIDTH, indicator, 0);
732}
733
734void ScintillaEdit::setWhitespaceFore(bool useSetting, sptr_t fore) {
735 send(SCI_SETWHITESPACEFORE, useSetting, fore);
736}
737
738void ScintillaEdit::setWhitespaceBack(bool useSetting, sptr_t back) {
739 send(SCI_SETWHITESPACEBACK, useSetting, back);
740}
741
742void ScintillaEdit::setWhitespaceSize(sptr_t size) {
743 send(SCI_SETWHITESPACESIZE, size, 0);
744}
745
746sptr_t ScintillaEdit::whitespaceSize() const {
747 return send(SCI_GETWHITESPACESIZE, 0, 0);
748}
749
750void ScintillaEdit::setLineState(sptr_t line, sptr_t state) {
751 send(SCI_SETLINESTATE, line, state);
752}
753
754sptr_t ScintillaEdit::lineState(sptr_t line) const {
755 return send(SCI_GETLINESTATE, line, 0);
756}
757
758sptr_t ScintillaEdit::maxLineState() const {
759 return send(SCI_GETMAXLINESTATE, 0, 0);
760}
761
762bool ScintillaEdit::caretLineVisible() const {
763 return send(SCI_GETCARETLINEVISIBLE, 0, 0);
764}
765
766void ScintillaEdit::setCaretLineVisible(bool show) {
767 send(SCI_SETCARETLINEVISIBLE, show, 0);
768}
769
770sptr_t ScintillaEdit::caretLineBack() const {
771 return send(SCI_GETCARETLINEBACK, 0, 0);
772}
773
774void ScintillaEdit::setCaretLineBack(sptr_t back) {
775 send(SCI_SETCARETLINEBACK, back, 0);
776}
777
778sptr_t ScintillaEdit::caretLineFrame() const {
779 return send(SCI_GETCARETLINEFRAME, 0, 0);
780}
781
782void ScintillaEdit::setCaretLineFrame(sptr_t width) {
783 send(SCI_SETCARETLINEFRAME, width, 0);
784}
785
786void ScintillaEdit::styleSetChangeable(sptr_t style, bool changeable) {
787 send(SCI_STYLESETCHANGEABLE, style, changeable);
788}
789
790void ScintillaEdit::autoCShow(sptr_t lengthEntered, const char * itemList) {
791 send(SCI_AUTOCSHOW, lengthEntered, (sptr_t)itemList);
792}
793
794void ScintillaEdit::autoCCancel() {
795 send(SCI_AUTOCCANCEL, 0, 0);
796}
797
798bool ScintillaEdit::autoCActive() {
799 return send(SCI_AUTOCACTIVE, 0, 0);
800}
801
802sptr_t ScintillaEdit::autoCPosStart() {
803 return send(SCI_AUTOCPOSSTART, 0, 0);
804}
805
806void ScintillaEdit::autoCComplete() {
807 send(SCI_AUTOCCOMPLETE, 0, 0);
808}
809
810void ScintillaEdit::autoCStops(const char * characterSet) {
811 send(SCI_AUTOCSTOPS, 0, (sptr_t)characterSet);
812}
813
814void ScintillaEdit::autoCSetSeparator(sptr_t separatorCharacter) {
815 send(SCI_AUTOCSETSEPARATOR, separatorCharacter, 0);
816}
817
818sptr_t ScintillaEdit::autoCSeparator() const {
819 return send(SCI_AUTOCGETSEPARATOR, 0, 0);
820}
821
822void ScintillaEdit::autoCSelect(const char * select) {
823 send(SCI_AUTOCSELECT, 0, (sptr_t)select);
824}
825
826void ScintillaEdit::autoCSetCancelAtStart(bool cancel) {
827 send(SCI_AUTOCSETCANCELATSTART, cancel, 0);
828}
829
830bool ScintillaEdit::autoCCancelAtStart() const {
831 return send(SCI_AUTOCGETCANCELATSTART, 0, 0);
832}
833
834void ScintillaEdit::autoCSetFillUps(const char * characterSet) {
835 send(SCI_AUTOCSETFILLUPS, 0, (sptr_t)characterSet);
836}
837
838void ScintillaEdit::autoCSetChooseSingle(bool chooseSingle) {
839 send(SCI_AUTOCSETCHOOSESINGLE, chooseSingle, 0);
840}
841
842bool ScintillaEdit::autoCChooseSingle() const {
843 return send(SCI_AUTOCGETCHOOSESINGLE, 0, 0);
844}
845
846void ScintillaEdit::autoCSetIgnoreCase(bool ignoreCase) {
847 send(SCI_AUTOCSETIGNORECASE, ignoreCase, 0);
848}
849
850bool ScintillaEdit::autoCIgnoreCase() const {
851 return send(SCI_AUTOCGETIGNORECASE, 0, 0);
852}
853
854void ScintillaEdit::userListShow(sptr_t listType, const char * itemList) {
855 send(SCI_USERLISTSHOW, listType, (sptr_t)itemList);
856}
857
858void ScintillaEdit::autoCSetAutoHide(bool autoHide) {
859 send(SCI_AUTOCSETAUTOHIDE, autoHide, 0);
860}
861
862bool ScintillaEdit::autoCAutoHide() const {
863 return send(SCI_AUTOCGETAUTOHIDE, 0, 0);
864}
865
866void ScintillaEdit::autoCSetOptions(sptr_t options) {
867 send(SCI_AUTOCSETOPTIONS, options, 0);
868}
869
870sptr_t ScintillaEdit::autoCOptions() const {
871 return send(SCI_AUTOCGETOPTIONS, 0, 0);
872}
873
874void ScintillaEdit::autoCSetDropRestOfWord(bool dropRestOfWord) {
875 send(SCI_AUTOCSETDROPRESTOFWORD, dropRestOfWord, 0);
876}
877
878bool ScintillaEdit::autoCDropRestOfWord() const {
879 return send(SCI_AUTOCGETDROPRESTOFWORD, 0, 0);
880}
881
882void ScintillaEdit::registerImage(sptr_t type, const char * xpmData) {
883 send(SCI_REGISTERIMAGE, type, (sptr_t)xpmData);
884}
885
886void ScintillaEdit::clearRegisteredImages() {
887 send(SCI_CLEARREGISTEREDIMAGES, 0, 0);
888}
889
890sptr_t ScintillaEdit::autoCTypeSeparator() const {
891 return send(SCI_AUTOCGETTYPESEPARATOR, 0, 0);
892}
893
894void ScintillaEdit::autoCSetTypeSeparator(sptr_t separatorCharacter) {
895 send(SCI_AUTOCSETTYPESEPARATOR, separatorCharacter, 0);
896}
897
898void ScintillaEdit::autoCSetMaxWidth(sptr_t characterCount) {
899 send(SCI_AUTOCSETMAXWIDTH, characterCount, 0);
900}
901
902sptr_t ScintillaEdit::autoCMaxWidth() const {
903 return send(SCI_AUTOCGETMAXWIDTH, 0, 0);
904}
905
906void ScintillaEdit::autoCSetMaxHeight(sptr_t rowCount) {
907 send(SCI_AUTOCSETMAXHEIGHT, rowCount, 0);
908}
909
910sptr_t ScintillaEdit::autoCMaxHeight() const {
911 return send(SCI_AUTOCGETMAXHEIGHT, 0, 0);
912}
913
914void ScintillaEdit::setIndent(sptr_t indentSize) {
915 send(SCI_SETINDENT, indentSize, 0);
916}
917
918sptr_t ScintillaEdit::indent() const {
919 return send(SCI_GETINDENT, 0, 0);
920}
921
922void ScintillaEdit::setUseTabs(bool useTabs) {
923 send(SCI_SETUSETABS, useTabs, 0);
924}
925
926bool ScintillaEdit::useTabs() const {
927 return send(SCI_GETUSETABS, 0, 0);
928}
929
930void ScintillaEdit::setLineIndentation(sptr_t line, sptr_t indentation) {
931 send(SCI_SETLINEINDENTATION, line, indentation);
932}
933
934sptr_t ScintillaEdit::lineIndentation(sptr_t line) const {
935 return send(SCI_GETLINEINDENTATION, line, 0);
936}
937
938sptr_t ScintillaEdit::lineIndentPosition(sptr_t line) const {
939 return send(SCI_GETLINEINDENTPOSITION, line, 0);
940}
941
942sptr_t ScintillaEdit::column(sptr_t pos) const {
943 return send(SCI_GETCOLUMN, pos, 0);
944}
945
946sptr_t ScintillaEdit::countCharacters(sptr_t start, sptr_t end) {
947 return send(SCI_COUNTCHARACTERS, start, end);
948}
949
950sptr_t ScintillaEdit::countCodeUnits(sptr_t start, sptr_t end) {
951 return send(SCI_COUNTCODEUNITS, start, end);
952}
953
954void ScintillaEdit::setHScrollBar(bool visible) {
955 send(SCI_SETHSCROLLBAR, visible, 0);
956}
957
958bool ScintillaEdit::hScrollBar() const {
959 return send(SCI_GETHSCROLLBAR, 0, 0);
960}
961
962void ScintillaEdit::setIndentationGuides(sptr_t indentView) {
963 send(SCI_SETINDENTATIONGUIDES, indentView, 0);
964}
965
966sptr_t ScintillaEdit::indentationGuides() const {
967 return send(SCI_GETINDENTATIONGUIDES, 0, 0);
968}
969
970void ScintillaEdit::setHighlightGuide(sptr_t column) {
971 send(SCI_SETHIGHLIGHTGUIDE, column, 0);
972}
973
974sptr_t ScintillaEdit::highlightGuide() const {
975 return send(SCI_GETHIGHLIGHTGUIDE, 0, 0);
976}
977
978sptr_t ScintillaEdit::lineEndPosition(sptr_t line) const {
979 return send(SCI_GETLINEENDPOSITION, line, 0);
980}
981
982sptr_t ScintillaEdit::codePage() const {
983 return send(SCI_GETCODEPAGE, 0, 0);
984}
985
986sptr_t ScintillaEdit::caretFore() const {
987 return send(SCI_GETCARETFORE, 0, 0);
988}
989
990bool ScintillaEdit::readOnly() const {
991 return send(SCI_GETREADONLY, 0, 0);
992}
993
994void ScintillaEdit::setCurrentPos(sptr_t caret) {
995 send(SCI_SETCURRENTPOS, caret, 0);
996}
997
998void ScintillaEdit::setSelectionStart(sptr_t anchor) {
999 send(SCI_SETSELECTIONSTART, anchor, 0);
1000}
1001
1002sptr_t ScintillaEdit::selectionStart() const {
1003 return send(SCI_GETSELECTIONSTART, 0, 0);
1004}
1005
1006void ScintillaEdit::setSelectionEnd(sptr_t caret) {
1007 send(SCI_SETSELECTIONEND, caret, 0);
1008}
1009
1010sptr_t ScintillaEdit::selectionEnd() const {
1011 return send(SCI_GETSELECTIONEND, 0, 0);
1012}
1013
1014void ScintillaEdit::setEmptySelection(sptr_t caret) {
1015 send(SCI_SETEMPTYSELECTION, caret, 0);
1016}
1017
1018void ScintillaEdit::setPrintMagnification(sptr_t magnification) {
1019 send(SCI_SETPRINTMAGNIFICATION, magnification, 0);
1020}
1021
1022sptr_t ScintillaEdit::printMagnification() const {
1023 return send(SCI_GETPRINTMAGNIFICATION, 0, 0);
1024}
1025
1026void ScintillaEdit::setPrintColourMode(sptr_t mode) {
1027 send(SCI_SETPRINTCOLOURMODE, mode, 0);
1028}
1029
1030sptr_t ScintillaEdit::printColourMode() const {
1031 return send(SCI_GETPRINTCOLOURMODE, 0, 0);
1032}
1033
1034sptr_t ScintillaEdit::firstVisibleLine() const {
1035 return send(SCI_GETFIRSTVISIBLELINE, 0, 0);
1036}
1037
1038QByteArray ScintillaEdit::getLine(sptr_t line) {
1039 return TextReturner(SCI_GETLINE, line);
1040}
1041
1042sptr_t ScintillaEdit::lineCount() const {
1043 return send(SCI_GETLINECOUNT, 0, 0);
1044}
1045
1046void ScintillaEdit::allocateLines(sptr_t lines) {
1047 send(SCI_ALLOCATELINES, lines, 0);
1048}
1049
1050void ScintillaEdit::setMarginLeft(sptr_t pixelWidth) {
1051 send(SCI_SETMARGINLEFT, 0, pixelWidth);
1052}
1053
1054sptr_t ScintillaEdit::marginLeft() const {
1055 return send(SCI_GETMARGINLEFT, 0, 0);
1056}
1057
1058void ScintillaEdit::setMarginRight(sptr_t pixelWidth) {
1059 send(SCI_SETMARGINRIGHT, 0, pixelWidth);
1060}
1061
1062sptr_t ScintillaEdit::marginRight() const {
1063 return send(SCI_GETMARGINRIGHT, 0, 0);
1064}
1065
1066bool ScintillaEdit::modify() const {
1067 return send(SCI_GETMODIFY, 0, 0);
1068}
1069
1070void ScintillaEdit::setSel(sptr_t anchor, sptr_t caret) {
1071 send(SCI_SETSEL, anchor, caret);
1072}
1073
1074QByteArray ScintillaEdit::getSelText() {
1075 return TextReturner(SCI_GETSELTEXT, 0);
1076}
1077
1078void ScintillaEdit::hideSelection(bool hide) {
1079 send(SCI_HIDESELECTION, hide, 0);
1080}
1081
1082sptr_t ScintillaEdit::pointXFromPosition(sptr_t pos) {
1083 return send(SCI_POINTXFROMPOSITION, 0, pos);
1084}
1085
1086sptr_t ScintillaEdit::pointYFromPosition(sptr_t pos) {
1087 return send(SCI_POINTYFROMPOSITION, 0, pos);
1088}
1089
1090sptr_t ScintillaEdit::lineFromPosition(sptr_t pos) {
1091 return send(SCI_LINEFROMPOSITION, pos, 0);
1092}
1093
1094sptr_t ScintillaEdit::positionFromLine(sptr_t line) {
1095 return send(SCI_POSITIONFROMLINE, line, 0);
1096}
1097
1098void ScintillaEdit::lineScroll(sptr_t columns, sptr_t lines) {
1099 send(SCI_LINESCROLL, columns, lines);
1100}
1101
1102void ScintillaEdit::scrollCaret() {
1103 send(SCI_SCROLLCARET, 0, 0);
1104}
1105
1106void ScintillaEdit::scrollRange(sptr_t secondary, sptr_t primary) {
1107 send(SCI_SCROLLRANGE, secondary, primary);
1108}
1109
1110void ScintillaEdit::replaceSel(const char * text) {
1111 send(SCI_REPLACESEL, 0, (sptr_t)text);
1112}
1113
1114void ScintillaEdit::setReadOnly(bool readOnly) {
1115 send(SCI_SETREADONLY, readOnly, 0);
1116}
1117
1118void ScintillaEdit::null() {
1119 send(SCI_NULL, 0, 0);
1120}
1121
1122bool ScintillaEdit::canPaste() {
1123 return send(SCI_CANPASTE, 0, 0);
1124}
1125
1126bool ScintillaEdit::canUndo() {
1127 return send(SCI_CANUNDO, 0, 0);
1128}
1129
1130void ScintillaEdit::emptyUndoBuffer() {
1131 send(SCI_EMPTYUNDOBUFFER, 0, 0);
1132}
1133
1134void ScintillaEdit::undo() {
1135 send(SCI_UNDO, 0, 0);
1136}
1137
1138void ScintillaEdit::cut() {
1139 send(SCI_CUT, 0, 0);
1140}
1141
1142void ScintillaEdit::copy() {
1143 send(SCI_COPY, 0, 0);
1144}
1145
1146void ScintillaEdit::paste() {
1147 send(SCI_PASTE, 0, 0);
1148}
1149
1150void ScintillaEdit::clear() {
1151 send(SCI_CLEAR, 0, 0);
1152}
1153
1154void ScintillaEdit::setText(const char * text) {
1155 send(SCI_SETTEXT, 0, (sptr_t)text);
1156}
1157
1158QByteArray ScintillaEdit::getText(sptr_t length) {
1159 return TextReturner(SCI_GETTEXT, length);
1160}
1161
1162sptr_t ScintillaEdit::textLength() const {
1163 return send(SCI_GETTEXTLENGTH, 0, 0);
1164}
1165
1166sptr_t ScintillaEdit::directFunction() const {
1167 return send(SCI_GETDIRECTFUNCTION, 0, 0);
1168}
1169
1170sptr_t ScintillaEdit::directStatusFunction() const {
1171 return send(SCI_GETDIRECTSTATUSFUNCTION, 0, 0);
1172}
1173
1174sptr_t ScintillaEdit::directPointer() const {
1175 return send(SCI_GETDIRECTPOINTER, 0, 0);
1176}
1177
1178void ScintillaEdit::setOvertype(bool overType) {
1179 send(SCI_SETOVERTYPE, overType, 0);
1180}
1181
1182bool ScintillaEdit::overtype() const {
1183 return send(SCI_GETOVERTYPE, 0, 0);
1184}
1185
1186void ScintillaEdit::setCaretWidth(sptr_t pixelWidth) {
1187 send(SCI_SETCARETWIDTH, pixelWidth, 0);
1188}
1189
1190sptr_t ScintillaEdit::caretWidth() const {
1191 return send(SCI_GETCARETWIDTH, 0, 0);
1192}
1193
1194void ScintillaEdit::setTargetStart(sptr_t start) {
1195 send(SCI_SETTARGETSTART, start, 0);
1196}
1197
1198sptr_t ScintillaEdit::targetStart() const {
1199 return send(SCI_GETTARGETSTART, 0, 0);
1200}
1201
1202void ScintillaEdit::setTargetStartVirtualSpace(sptr_t space) {
1203 send(SCI_SETTARGETSTARTVIRTUALSPACE, space, 0);
1204}
1205
1206sptr_t ScintillaEdit::targetStartVirtualSpace() const {
1207 return send(SCI_GETTARGETSTARTVIRTUALSPACE, 0, 0);
1208}
1209
1210void ScintillaEdit::setTargetEnd(sptr_t end) {
1211 send(SCI_SETTARGETEND, end, 0);
1212}
1213
1214sptr_t ScintillaEdit::targetEnd() const {
1215 return send(SCI_GETTARGETEND, 0, 0);
1216}
1217
1218void ScintillaEdit::setTargetEndVirtualSpace(sptr_t space) {
1219 send(SCI_SETTARGETENDVIRTUALSPACE, space, 0);
1220}
1221
1222sptr_t ScintillaEdit::targetEndVirtualSpace() const {
1223 return send(SCI_GETTARGETENDVIRTUALSPACE, 0, 0);
1224}
1225
1226void ScintillaEdit::setTargetRange(sptr_t start, sptr_t end) {
1227 send(SCI_SETTARGETRANGE, start, end);
1228}
1229
1230QByteArray ScintillaEdit::targetText() const {
1231 return TextReturner(SCI_GETTARGETTEXT, 0);
1232}
1233
1234void ScintillaEdit::targetFromSelection() {
1235 send(SCI_TARGETFROMSELECTION, 0, 0);
1236}
1237
1238void ScintillaEdit::targetWholeDocument() {
1239 send(SCI_TARGETWHOLEDOCUMENT, 0, 0);
1240}
1241
1242sptr_t ScintillaEdit::replaceTarget(sptr_t length, const char * text) {
1243 return send(SCI_REPLACETARGET, length, (sptr_t)text);
1244}
1245
1246sptr_t ScintillaEdit::replaceTargetRE(sptr_t length, const char * text) {
1247 return send(SCI_REPLACETARGETRE, length, (sptr_t)text);
1248}
1249
1250sptr_t ScintillaEdit::searchInTarget(sptr_t length, const char * text) {
1251 return send(SCI_SEARCHINTARGET, length, (sptr_t)text);
1252}
1253
1254void ScintillaEdit::setSearchFlags(sptr_t searchFlags) {
1255 send(SCI_SETSEARCHFLAGS, searchFlags, 0);
1256}
1257
1258sptr_t ScintillaEdit::searchFlags() const {
1259 return send(SCI_GETSEARCHFLAGS, 0, 0);
1260}
1261
1262void ScintillaEdit::callTipShow(sptr_t pos, const char * definition) {
1263 send(SCI_CALLTIPSHOW, pos, (sptr_t)definition);
1264}
1265
1266void ScintillaEdit::callTipCancel() {
1267 send(SCI_CALLTIPCANCEL, 0, 0);
1268}
1269
1270bool ScintillaEdit::callTipActive() {
1271 return send(SCI_CALLTIPACTIVE, 0, 0);
1272}
1273
1274sptr_t ScintillaEdit::callTipPosStart() {
1275 return send(SCI_CALLTIPPOSSTART, 0, 0);
1276}
1277
1278void ScintillaEdit::callTipSetPosStart(sptr_t posStart) {
1279 send(SCI_CALLTIPSETPOSSTART, posStart, 0);
1280}
1281
1282void ScintillaEdit::callTipSetHlt(sptr_t highlightStart, sptr_t highlightEnd) {
1283 send(SCI_CALLTIPSETHLT, highlightStart, highlightEnd);
1284}
1285
1286void ScintillaEdit::callTipSetBack(sptr_t back) {
1287 send(SCI_CALLTIPSETBACK, back, 0);
1288}
1289
1290void ScintillaEdit::callTipSetFore(sptr_t fore) {
1291 send(SCI_CALLTIPSETFORE, fore, 0);
1292}
1293
1294void ScintillaEdit::callTipSetForeHlt(sptr_t fore) {
1295 send(SCI_CALLTIPSETFOREHLT, fore, 0);
1296}
1297
1298void ScintillaEdit::callTipUseStyle(sptr_t tabSize) {
1299 send(SCI_CALLTIPUSESTYLE, tabSize, 0);
1300}
1301
1302void ScintillaEdit::callTipSetPosition(bool above) {
1303 send(SCI_CALLTIPSETPOSITION, above, 0);
1304}
1305
1306sptr_t ScintillaEdit::visibleFromDocLine(sptr_t docLine) {
1307 return send(SCI_VISIBLEFROMDOCLINE, docLine, 0);
1308}
1309
1310sptr_t ScintillaEdit::docLineFromVisible(sptr_t displayLine) {
1311 return send(SCI_DOCLINEFROMVISIBLE, displayLine, 0);
1312}
1313
1314sptr_t ScintillaEdit::wrapCount(sptr_t docLine) {
1315 return send(SCI_WRAPCOUNT, docLine, 0);
1316}
1317
1318void ScintillaEdit::setFoldLevel(sptr_t line, sptr_t level) {
1319 send(SCI_SETFOLDLEVEL, line, level);
1320}
1321
1322sptr_t ScintillaEdit::foldLevel(sptr_t line) const {
1323 return send(SCI_GETFOLDLEVEL, line, 0);
1324}
1325
1326sptr_t ScintillaEdit::lastChild(sptr_t line, sptr_t level) const {
1327 return send(SCI_GETLASTCHILD, line, level);
1328}
1329
1330sptr_t ScintillaEdit::foldParent(sptr_t line) const {
1331 return send(SCI_GETFOLDPARENT, line, 0);
1332}
1333
1334void ScintillaEdit::showLines(sptr_t lineStart, sptr_t lineEnd) {
1335 send(SCI_SHOWLINES, lineStart, lineEnd);
1336}
1337
1338void ScintillaEdit::hideLines(sptr_t lineStart, sptr_t lineEnd) {
1339 send(SCI_HIDELINES, lineStart, lineEnd);
1340}
1341
1342bool ScintillaEdit::lineVisible(sptr_t line) const {
1343 return send(SCI_GETLINEVISIBLE, line, 0);
1344}
1345
1346bool ScintillaEdit::allLinesVisible() const {
1347 return send(SCI_GETALLLINESVISIBLE, 0, 0);
1348}
1349
1350void ScintillaEdit::setFoldExpanded(sptr_t line, bool expanded) {
1351 send(SCI_SETFOLDEXPANDED, line, expanded);
1352}
1353
1354bool ScintillaEdit::foldExpanded(sptr_t line) const {
1355 return send(SCI_GETFOLDEXPANDED, line, 0);
1356}
1357
1358void ScintillaEdit::toggleFold(sptr_t line) {
1359 send(SCI_TOGGLEFOLD, line, 0);
1360}
1361
1362void ScintillaEdit::toggleFoldShowText(sptr_t line, const char * text) {
1363 send(SCI_TOGGLEFOLDSHOWTEXT, line, (sptr_t)text);
1364}
1365
1366void ScintillaEdit::foldDisplayTextSetStyle(sptr_t style) {
1367 send(SCI_FOLDDISPLAYTEXTSETSTYLE, style, 0);
1368}
1369
1370sptr_t ScintillaEdit::foldDisplayTextStyle() const {
1371 return send(SCI_FOLDDISPLAYTEXTGETSTYLE, 0, 0);
1372}
1373
1374void ScintillaEdit::setDefaultFoldDisplayText(const char * text) {
1375 send(SCI_SETDEFAULTFOLDDISPLAYTEXT, 0, (sptr_t)text);
1376}
1377
1378QByteArray ScintillaEdit::getDefaultFoldDisplayText() {
1379 return TextReturner(SCI_GETDEFAULTFOLDDISPLAYTEXT, 0);
1380}
1381
1382void ScintillaEdit::foldLine(sptr_t line, sptr_t action) {
1383 send(SCI_FOLDLINE, line, action);
1384}
1385
1386void ScintillaEdit::foldChildren(sptr_t line, sptr_t action) {
1387 send(SCI_FOLDCHILDREN, line, action);
1388}
1389
1390void ScintillaEdit::expandChildren(sptr_t line, sptr_t level) {
1391 send(SCI_EXPANDCHILDREN, line, level);
1392}
1393
1394void ScintillaEdit::foldAll(sptr_t action) {
1395 send(SCI_FOLDALL, action, 0);
1396}
1397
1398void ScintillaEdit::ensureVisible(sptr_t line) {
1399 send(SCI_ENSUREVISIBLE, line, 0);
1400}
1401
1402void ScintillaEdit::setAutomaticFold(sptr_t automaticFold) {
1403 send(SCI_SETAUTOMATICFOLD, automaticFold, 0);
1404}
1405
1406sptr_t ScintillaEdit::automaticFold() const {
1407 return send(SCI_GETAUTOMATICFOLD, 0, 0);
1408}
1409
1410void ScintillaEdit::setFoldFlags(sptr_t flags) {
1411 send(SCI_SETFOLDFLAGS, flags, 0);
1412}
1413
1414void ScintillaEdit::ensureVisibleEnforcePolicy(sptr_t line) {
1415 send(SCI_ENSUREVISIBLEENFORCEPOLICY, line, 0);
1416}
1417
1418void ScintillaEdit::setTabIndents(bool tabIndents) {
1419 send(SCI_SETTABINDENTS, tabIndents, 0);
1420}
1421
1422bool ScintillaEdit::tabIndents() const {
1423 return send(SCI_GETTABINDENTS, 0, 0);
1424}
1425
1426void ScintillaEdit::setBackSpaceUnIndents(bool bsUnIndents) {
1427 send(SCI_SETBACKSPACEUNINDENTS, bsUnIndents, 0);
1428}
1429
1430bool ScintillaEdit::backSpaceUnIndents() const {
1431 return send(SCI_GETBACKSPACEUNINDENTS, 0, 0);
1432}
1433
1434void ScintillaEdit::setMouseDwellTime(sptr_t periodMilliseconds) {
1435 send(SCI_SETMOUSEDWELLTIME, periodMilliseconds, 0);
1436}
1437
1438sptr_t ScintillaEdit::mouseDwellTime() const {
1439 return send(SCI_GETMOUSEDWELLTIME, 0, 0);
1440}
1441
1442sptr_t ScintillaEdit::wordStartPosition(sptr_t pos, bool onlyWordCharacters) {
1443 return send(SCI_WORDSTARTPOSITION, pos, onlyWordCharacters);
1444}
1445
1446sptr_t ScintillaEdit::wordEndPosition(sptr_t pos, bool onlyWordCharacters) {
1447 return send(SCI_WORDENDPOSITION, pos, onlyWordCharacters);
1448}
1449
1450bool ScintillaEdit::isRangeWord(sptr_t start, sptr_t end) {
1451 return send(SCI_ISRANGEWORD, start, end);
1452}
1453
1454void ScintillaEdit::setIdleStyling(sptr_t idleStyling) {
1455 send(SCI_SETIDLESTYLING, idleStyling, 0);
1456}
1457
1458sptr_t ScintillaEdit::idleStyling() const {
1459 return send(SCI_GETIDLESTYLING, 0, 0);
1460}
1461
1462void ScintillaEdit::setWrapMode(sptr_t wrapMode) {
1463 send(SCI_SETWRAPMODE, wrapMode, 0);
1464}
1465
1466sptr_t ScintillaEdit::wrapMode() const {
1467 return send(SCI_GETWRAPMODE, 0, 0);
1468}
1469
1470void ScintillaEdit::setWrapVisualFlags(sptr_t wrapVisualFlags) {
1471 send(SCI_SETWRAPVISUALFLAGS, wrapVisualFlags, 0);
1472}
1473
1474sptr_t ScintillaEdit::wrapVisualFlags() const {
1475 return send(SCI_GETWRAPVISUALFLAGS, 0, 0);
1476}
1477
1478void ScintillaEdit::setWrapVisualFlagsLocation(sptr_t wrapVisualFlagsLocation) {
1479 send(SCI_SETWRAPVISUALFLAGSLOCATION, wrapVisualFlagsLocation, 0);
1480}
1481
1482sptr_t ScintillaEdit::wrapVisualFlagsLocation() const {
1483 return send(SCI_GETWRAPVISUALFLAGSLOCATION, 0, 0);
1484}
1485
1486void ScintillaEdit::setWrapStartIndent(sptr_t indent) {
1487 send(SCI_SETWRAPSTARTINDENT, indent, 0);
1488}
1489
1490sptr_t ScintillaEdit::wrapStartIndent() const {
1491 return send(SCI_GETWRAPSTARTINDENT, 0, 0);
1492}
1493
1494void ScintillaEdit::setWrapIndentMode(sptr_t wrapIndentMode) {
1495 send(SCI_SETWRAPINDENTMODE, wrapIndentMode, 0);
1496}
1497
1498sptr_t ScintillaEdit::wrapIndentMode() const {
1499 return send(SCI_GETWRAPINDENTMODE, 0, 0);
1500}
1501
1502void ScintillaEdit::setLayoutCache(sptr_t cacheMode) {
1503 send(SCI_SETLAYOUTCACHE, cacheMode, 0);
1504}
1505
1506sptr_t ScintillaEdit::layoutCache() const {
1507 return send(SCI_GETLAYOUTCACHE, 0, 0);
1508}
1509
1510void ScintillaEdit::setScrollWidth(sptr_t pixelWidth) {
1511 send(SCI_SETSCROLLWIDTH, pixelWidth, 0);
1512}
1513
1514sptr_t ScintillaEdit::scrollWidth() const {
1515 return send(SCI_GETSCROLLWIDTH, 0, 0);
1516}
1517
1518void ScintillaEdit::setScrollWidthTracking(bool tracking) {
1519 send(SCI_SETSCROLLWIDTHTRACKING, tracking, 0);
1520}
1521
1522bool ScintillaEdit::scrollWidthTracking() const {
1523 return send(SCI_GETSCROLLWIDTHTRACKING, 0, 0);
1524}
1525
1526sptr_t ScintillaEdit::textWidth(sptr_t style, const char * text) {
1527 return send(SCI_TEXTWIDTH, style, (sptr_t)text);
1528}
1529
1530void ScintillaEdit::setEndAtLastLine(bool endAtLastLine) {
1531 send(SCI_SETENDATLASTLINE, endAtLastLine, 0);
1532}
1533
1534bool ScintillaEdit::endAtLastLine() const {
1535 return send(SCI_GETENDATLASTLINE, 0, 0);
1536}
1537
1538sptr_t ScintillaEdit::textHeight(sptr_t line) {
1539 return send(SCI_TEXTHEIGHT, line, 0);
1540}
1541
1542void ScintillaEdit::setVScrollBar(bool visible) {
1543 send(SCI_SETVSCROLLBAR, visible, 0);
1544}
1545
1546bool ScintillaEdit::vScrollBar() const {
1547 return send(SCI_GETVSCROLLBAR, 0, 0);
1548}
1549
1550void ScintillaEdit::appendText(sptr_t length, const char * text) {
1551 send(SCI_APPENDTEXT, length, (sptr_t)text);
1552}
1553
1554sptr_t ScintillaEdit::phasesDraw() const {
1555 return send(SCI_GETPHASESDRAW, 0, 0);
1556}
1557
1558void ScintillaEdit::setPhasesDraw(sptr_t phases) {
1559 send(SCI_SETPHASESDRAW, phases, 0);
1560}
1561
1562void ScintillaEdit::setFontQuality(sptr_t fontQuality) {
1563 send(SCI_SETFONTQUALITY, fontQuality, 0);
1564}
1565
1566sptr_t ScintillaEdit::fontQuality() const {
1567 return send(SCI_GETFONTQUALITY, 0, 0);
1568}
1569
1570void ScintillaEdit::setFirstVisibleLine(sptr_t displayLine) {
1571 send(SCI_SETFIRSTVISIBLELINE, displayLine, 0);
1572}
1573
1574void ScintillaEdit::setMultiPaste(sptr_t multiPaste) {
1575 send(SCI_SETMULTIPASTE, multiPaste, 0);
1576}
1577
1578sptr_t ScintillaEdit::multiPaste() const {
1579 return send(SCI_GETMULTIPASTE, 0, 0);
1580}
1581
1582QByteArray ScintillaEdit::tag(sptr_t tagNumber) const {
1583 return TextReturner(SCI_GETTAG, tagNumber);
1584}
1585
1586void ScintillaEdit::linesJoin() {
1587 send(SCI_LINESJOIN, 0, 0);
1588}
1589
1590void ScintillaEdit::linesSplit(sptr_t pixelWidth) {
1591 send(SCI_LINESSPLIT, pixelWidth, 0);
1592}
1593
1594void ScintillaEdit::setFoldMarginColour(bool useSetting, sptr_t back) {
1595 send(SCI_SETFOLDMARGINCOLOUR, useSetting, back);
1596}
1597
1598void ScintillaEdit::setFoldMarginHiColour(bool useSetting, sptr_t fore) {
1599 send(SCI_SETFOLDMARGINHICOLOUR, useSetting, fore);
1600}
1601
1602void ScintillaEdit::setAccessibility(sptr_t accessibility) {
1603 send(SCI_SETACCESSIBILITY, accessibility, 0);
1604}
1605
1606sptr_t ScintillaEdit::accessibility() const {
1607 return send(SCI_GETACCESSIBILITY, 0, 0);
1608}
1609
1610void ScintillaEdit::lineDown() {
1611 send(SCI_LINEDOWN, 0, 0);
1612}
1613
1614void ScintillaEdit::lineDownExtend() {
1615 send(SCI_LINEDOWNEXTEND, 0, 0);
1616}
1617
1618void ScintillaEdit::lineUp() {
1619 send(SCI_LINEUP, 0, 0);
1620}
1621
1622void ScintillaEdit::lineUpExtend() {
1623 send(SCI_LINEUPEXTEND, 0, 0);
1624}
1625
1626void ScintillaEdit::charLeft() {
1627 send(SCI_CHARLEFT, 0, 0);
1628}
1629
1630void ScintillaEdit::charLeftExtend() {
1631 send(SCI_CHARLEFTEXTEND, 0, 0);
1632}
1633
1634void ScintillaEdit::charRight() {
1635 send(SCI_CHARRIGHT, 0, 0);
1636}
1637
1638void ScintillaEdit::charRightExtend() {
1639 send(SCI_CHARRIGHTEXTEND, 0, 0);
1640}
1641
1642void ScintillaEdit::wordLeft() {
1643 send(SCI_WORDLEFT, 0, 0);
1644}
1645
1646void ScintillaEdit::wordLeftExtend() {
1647 send(SCI_WORDLEFTEXTEND, 0, 0);
1648}
1649
1650void ScintillaEdit::wordRight() {
1651 send(SCI_WORDRIGHT, 0, 0);
1652}
1653
1654void ScintillaEdit::wordRightExtend() {
1655 send(SCI_WORDRIGHTEXTEND, 0, 0);
1656}
1657
1658void ScintillaEdit::home() {
1659 send(SCI_HOME, 0, 0);
1660}
1661
1662void ScintillaEdit::homeExtend() {
1663 send(SCI_HOMEEXTEND, 0, 0);
1664}
1665
1666void ScintillaEdit::lineEnd() {
1667 send(SCI_LINEEND, 0, 0);
1668}
1669
1670void ScintillaEdit::lineEndExtend() {
1671 send(SCI_LINEENDEXTEND, 0, 0);
1672}
1673
1674void ScintillaEdit::documentStart() {
1675 send(SCI_DOCUMENTSTART, 0, 0);
1676}
1677
1678void ScintillaEdit::documentStartExtend() {
1679 send(SCI_DOCUMENTSTARTEXTEND, 0, 0);
1680}
1681
1682void ScintillaEdit::documentEnd() {
1683 send(SCI_DOCUMENTEND, 0, 0);
1684}
1685
1686void ScintillaEdit::documentEndExtend() {
1687 send(SCI_DOCUMENTENDEXTEND, 0, 0);
1688}
1689
1690void ScintillaEdit::pageUp() {
1691 send(SCI_PAGEUP, 0, 0);
1692}
1693
1694void ScintillaEdit::pageUpExtend() {
1695 send(SCI_PAGEUPEXTEND, 0, 0);
1696}
1697
1698void ScintillaEdit::pageDown() {
1699 send(SCI_PAGEDOWN, 0, 0);
1700}
1701
1702void ScintillaEdit::pageDownExtend() {
1703 send(SCI_PAGEDOWNEXTEND, 0, 0);
1704}
1705
1706void ScintillaEdit::editToggleOvertype() {
1707 send(SCI_EDITTOGGLEOVERTYPE, 0, 0);
1708}
1709
1710void ScintillaEdit::cancel() {
1711 send(SCI_CANCEL, 0, 0);
1712}
1713
1714void ScintillaEdit::deleteBack() {
1715 send(SCI_DELETEBACK, 0, 0);
1716}
1717
1718void ScintillaEdit::tab() {
1719 send(SCI_TAB, 0, 0);
1720}
1721
1722void ScintillaEdit::backTab() {
1723 send(SCI_BACKTAB, 0, 0);
1724}
1725
1726void ScintillaEdit::newLine() {
1727 send(SCI_NEWLINE, 0, 0);
1728}
1729
1730void ScintillaEdit::formFeed() {
1731 send(SCI_FORMFEED, 0, 0);
1732}
1733
1734void ScintillaEdit::vCHome() {
1735 send(SCI_VCHOME, 0, 0);
1736}
1737
1738void ScintillaEdit::vCHomeExtend() {
1739 send(SCI_VCHOMEEXTEND, 0, 0);
1740}
1741
1742void ScintillaEdit::zoomIn() {
1743 send(SCI_ZOOMIN, 0, 0);
1744}
1745
1746void ScintillaEdit::zoomOut() {
1747 send(SCI_ZOOMOUT, 0, 0);
1748}
1749
1750void ScintillaEdit::delWordLeft() {
1751 send(SCI_DELWORDLEFT, 0, 0);
1752}
1753
1754void ScintillaEdit::delWordRight() {
1755 send(SCI_DELWORDRIGHT, 0, 0);
1756}
1757
1758void ScintillaEdit::delWordRightEnd() {
1759 send(SCI_DELWORDRIGHTEND, 0, 0);
1760}
1761
1762void ScintillaEdit::lineCut() {
1763 send(SCI_LINECUT, 0, 0);
1764}
1765
1766void ScintillaEdit::lineDelete() {
1767 send(SCI_LINEDELETE, 0, 0);
1768}
1769
1770void ScintillaEdit::lineTranspose() {
1771 send(SCI_LINETRANSPOSE, 0, 0);
1772}
1773
1774void ScintillaEdit::lineReverse() {
1775 send(SCI_LINEREVERSE, 0, 0);
1776}
1777
1778void ScintillaEdit::lineDuplicate() {
1779 send(SCI_LINEDUPLICATE, 0, 0);
1780}
1781
1782void ScintillaEdit::lowerCase() {
1783 send(SCI_LOWERCASE, 0, 0);
1784}
1785
1786void ScintillaEdit::upperCase() {
1787 send(SCI_UPPERCASE, 0, 0);
1788}
1789
1790void ScintillaEdit::lineScrollDown() {
1791 send(SCI_LINESCROLLDOWN, 0, 0);
1792}
1793
1794void ScintillaEdit::lineScrollUp() {
1795 send(SCI_LINESCROLLUP, 0, 0);
1796}
1797
1798void ScintillaEdit::deleteBackNotLine() {
1799 send(SCI_DELETEBACKNOTLINE, 0, 0);
1800}
1801
1802void ScintillaEdit::homeDisplay() {
1803 send(SCI_HOMEDISPLAY, 0, 0);
1804}
1805
1806void ScintillaEdit::homeDisplayExtend() {
1807 send(SCI_HOMEDISPLAYEXTEND, 0, 0);
1808}
1809
1810void ScintillaEdit::lineEndDisplay() {
1811 send(SCI_LINEENDDISPLAY, 0, 0);
1812}
1813
1814void ScintillaEdit::lineEndDisplayExtend() {
1815 send(SCI_LINEENDDISPLAYEXTEND, 0, 0);
1816}
1817
1818void ScintillaEdit::homeWrap() {
1819 send(SCI_HOMEWRAP, 0, 0);
1820}
1821
1822void ScintillaEdit::homeWrapExtend() {
1823 send(SCI_HOMEWRAPEXTEND, 0, 0);
1824}
1825
1826void ScintillaEdit::lineEndWrap() {
1827 send(SCI_LINEENDWRAP, 0, 0);
1828}
1829
1830void ScintillaEdit::lineEndWrapExtend() {
1831 send(SCI_LINEENDWRAPEXTEND, 0, 0);
1832}
1833
1834void ScintillaEdit::vCHomeWrap() {
1835 send(SCI_VCHOMEWRAP, 0, 0);
1836}
1837
1838void ScintillaEdit::vCHomeWrapExtend() {
1839 send(SCI_VCHOMEWRAPEXTEND, 0, 0);
1840}
1841
1842void ScintillaEdit::lineCopy() {
1843 send(SCI_LINECOPY, 0, 0);
1844}
1845
1846void ScintillaEdit::moveCaretInsideView() {
1847 send(SCI_MOVECARETINSIDEVIEW, 0, 0);
1848}
1849
1850sptr_t ScintillaEdit::lineLength(sptr_t line) {
1851 return send(SCI_LINELENGTH, line, 0);
1852}
1853
1854void ScintillaEdit::braceHighlight(sptr_t posA, sptr_t posB) {
1855 send(SCI_BRACEHIGHLIGHT, posA, posB);
1856}
1857
1858void ScintillaEdit::braceHighlightIndicator(bool useSetting, sptr_t indicator) {
1859 send(SCI_BRACEHIGHLIGHTINDICATOR, useSetting, indicator);
1860}
1861
1862void ScintillaEdit::braceBadLight(sptr_t pos) {
1863 send(SCI_BRACEBADLIGHT, pos, 0);
1864}
1865
1866void ScintillaEdit::braceBadLightIndicator(bool useSetting, sptr_t indicator) {
1867 send(SCI_BRACEBADLIGHTINDICATOR, useSetting, indicator);
1868}
1869
1870sptr_t ScintillaEdit::braceMatch(sptr_t pos, sptr_t maxReStyle) {
1871 return send(SCI_BRACEMATCH, pos, maxReStyle);
1872}
1873
1874sptr_t ScintillaEdit::braceMatchNext(sptr_t pos, sptr_t startPos) {
1875 return send(SCI_BRACEMATCHNEXT, pos, startPos);
1876}
1877
1878bool ScintillaEdit::viewEOL() const {
1879 return send(SCI_GETVIEWEOL, 0, 0);
1880}
1881
1882void ScintillaEdit::setViewEOL(bool visible) {
1883 send(SCI_SETVIEWEOL, visible, 0);
1884}
1885
1886sptr_t ScintillaEdit::docPointer() const {
1887 return send(SCI_GETDOCPOINTER, 0, 0);
1888}
1889
1890void ScintillaEdit::setDocPointer(sptr_t doc) {
1891 send(SCI_SETDOCPOINTER, 0, doc);
1892}
1893
1894void ScintillaEdit::setModEventMask(sptr_t eventMask) {
1895 send(SCI_SETMODEVENTMASK, eventMask, 0);
1896}
1897
1898sptr_t ScintillaEdit::edgeColumn() const {
1899 return send(SCI_GETEDGECOLUMN, 0, 0);
1900}
1901
1902void ScintillaEdit::setEdgeColumn(sptr_t column) {
1903 send(SCI_SETEDGECOLUMN, column, 0);
1904}
1905
1906sptr_t ScintillaEdit::edgeMode() const {
1907 return send(SCI_GETEDGEMODE, 0, 0);
1908}
1909
1910void ScintillaEdit::setEdgeMode(sptr_t edgeMode) {
1911 send(SCI_SETEDGEMODE, edgeMode, 0);
1912}
1913
1914sptr_t ScintillaEdit::edgeColour() const {
1915 return send(SCI_GETEDGECOLOUR, 0, 0);
1916}
1917
1918void ScintillaEdit::setEdgeColour(sptr_t edgeColour) {
1919 send(SCI_SETEDGECOLOUR, edgeColour, 0);
1920}
1921
1922void ScintillaEdit::multiEdgeAddLine(sptr_t column, sptr_t edgeColour) {
1923 send(SCI_MULTIEDGEADDLINE, column, edgeColour);
1924}
1925
1926void ScintillaEdit::multiEdgeClearAll() {
1927 send(SCI_MULTIEDGECLEARALL, 0, 0);
1928}
1929
1930sptr_t ScintillaEdit::multiEdgeColumn(sptr_t which) const {
1931 return send(SCI_GETMULTIEDGECOLUMN, which, 0);
1932}
1933
1934void ScintillaEdit::searchAnchor() {
1935 send(SCI_SEARCHANCHOR, 0, 0);
1936}
1937
1938sptr_t ScintillaEdit::searchNext(sptr_t searchFlags, const char * text) {
1939 return send(SCI_SEARCHNEXT, searchFlags, (sptr_t)text);
1940}
1941
1942sptr_t ScintillaEdit::searchPrev(sptr_t searchFlags, const char * text) {
1943 return send(SCI_SEARCHPREV, searchFlags, (sptr_t)text);
1944}
1945
1946sptr_t ScintillaEdit::linesOnScreen() const {
1947 return send(SCI_LINESONSCREEN, 0, 0);
1948}
1949
1950void ScintillaEdit::usePopUp(sptr_t popUpMode) {
1951 send(SCI_USEPOPUP, popUpMode, 0);
1952}
1953
1954bool ScintillaEdit::selectionIsRectangle() const {
1955 return send(SCI_SELECTIONISRECTANGLE, 0, 0);
1956}
1957
1958void ScintillaEdit::setZoom(sptr_t zoomInPoints) {
1959 send(SCI_SETZOOM, zoomInPoints, 0);
1960}
1961
1962sptr_t ScintillaEdit::zoom() const {
1963 return send(SCI_GETZOOM, 0, 0);
1964}
1965
1966sptr_t ScintillaEdit::createDocument(sptr_t bytes, sptr_t documentOptions) {
1967 return send(SCI_CREATEDOCUMENT, bytes, documentOptions);
1968}
1969
1970void ScintillaEdit::addRefDocument(sptr_t doc) {
1971 send(SCI_ADDREFDOCUMENT, 0, doc);
1972}
1973
1974void ScintillaEdit::releaseDocument(sptr_t doc) {
1975 send(SCI_RELEASEDOCUMENT, 0, doc);
1976}
1977
1978sptr_t ScintillaEdit::documentOptions() const {
1979 return send(SCI_GETDOCUMENTOPTIONS, 0, 0);
1980}
1981
1982sptr_t ScintillaEdit::modEventMask() const {
1983 return send(SCI_GETMODEVENTMASK, 0, 0);
1984}
1985
1986void ScintillaEdit::setCommandEvents(bool commandEvents) {
1987 send(SCI_SETCOMMANDEVENTS, commandEvents, 0);
1988}
1989
1990bool ScintillaEdit::commandEvents() const {
1991 return send(SCI_GETCOMMANDEVENTS, 0, 0);
1992}
1993
1994void ScintillaEdit::setFocus(bool focus) {
1995 send(SCI_SETFOCUS, focus, 0);
1996}
1997
1998bool ScintillaEdit::focus() const {
1999 return send(SCI_GETFOCUS, 0, 0);
2000}
2001
2002void ScintillaEdit::setStatus(sptr_t status) {
2003 send(SCI_SETSTATUS, status, 0);
2004}
2005
2006sptr_t ScintillaEdit::status() const {
2007 return send(SCI_GETSTATUS, 0, 0);
2008}
2009
2010void ScintillaEdit::setMouseDownCaptures(bool captures) {
2011 send(SCI_SETMOUSEDOWNCAPTURES, captures, 0);
2012}
2013
2014bool ScintillaEdit::mouseDownCaptures() const {
2015 return send(SCI_GETMOUSEDOWNCAPTURES, 0, 0);
2016}
2017
2018void ScintillaEdit::setMouseWheelCaptures(bool captures) {
2019 send(SCI_SETMOUSEWHEELCAPTURES, captures, 0);
2020}
2021
2022bool ScintillaEdit::mouseWheelCaptures() const {
2023 return send(SCI_GETMOUSEWHEELCAPTURES, 0, 0);
2024}
2025
2026void ScintillaEdit::setCursor(sptr_t cursorType) {
2027 send(SCI_SETCURSOR, cursorType, 0);
2028}
2029
2030sptr_t ScintillaEdit::cursor() const {
2031 return send(SCI_GETCURSOR, 0, 0);
2032}
2033
2034void ScintillaEdit::setControlCharSymbol(sptr_t symbol) {
2035 send(SCI_SETCONTROLCHARSYMBOL, symbol, 0);
2036}
2037
2038sptr_t ScintillaEdit::controlCharSymbol() const {
2039 return send(SCI_GETCONTROLCHARSYMBOL, 0, 0);
2040}
2041
2042void ScintillaEdit::wordPartLeft() {
2043 send(SCI_WORDPARTLEFT, 0, 0);
2044}
2045
2046void ScintillaEdit::wordPartLeftExtend() {
2047 send(SCI_WORDPARTLEFTEXTEND, 0, 0);
2048}
2049
2050void ScintillaEdit::wordPartRight() {
2051 send(SCI_WORDPARTRIGHT, 0, 0);
2052}
2053
2054void ScintillaEdit::wordPartRightExtend() {
2055 send(SCI_WORDPARTRIGHTEXTEND, 0, 0);
2056}
2057
2058void ScintillaEdit::setVisiblePolicy(sptr_t visiblePolicy, sptr_t visibleSlop) {
2059 send(SCI_SETVISIBLEPOLICY, visiblePolicy, visibleSlop);
2060}
2061
2062void ScintillaEdit::delLineLeft() {
2063 send(SCI_DELLINELEFT, 0, 0);
2064}
2065
2066void ScintillaEdit::delLineRight() {
2067 send(SCI_DELLINERIGHT, 0, 0);
2068}
2069
2070void ScintillaEdit::setXOffset(sptr_t xOffset) {
2071 send(SCI_SETXOFFSET, xOffset, 0);
2072}
2073
2074sptr_t ScintillaEdit::xOffset() const {
2075 return send(SCI_GETXOFFSET, 0, 0);
2076}
2077
2078void ScintillaEdit::chooseCaretX() {
2079 send(SCI_CHOOSECARETX, 0, 0);
2080}
2081
2082void ScintillaEdit::grabFocus() {
2083 send(SCI_GRABFOCUS, 0, 0);
2084}
2085
2086void ScintillaEdit::setXCaretPolicy(sptr_t caretPolicy, sptr_t caretSlop) {
2087 send(SCI_SETXCARETPOLICY, caretPolicy, caretSlop);
2088}
2089
2090void ScintillaEdit::setYCaretPolicy(sptr_t caretPolicy, sptr_t caretSlop) {
2091 send(SCI_SETYCARETPOLICY, caretPolicy, caretSlop);
2092}
2093
2094void ScintillaEdit::setPrintWrapMode(sptr_t wrapMode) {
2095 send(SCI_SETPRINTWRAPMODE, wrapMode, 0);
2096}
2097
2098sptr_t ScintillaEdit::printWrapMode() const {
2099 return send(SCI_GETPRINTWRAPMODE, 0, 0);
2100}
2101
2102void ScintillaEdit::setHotspotActiveFore(bool useSetting, sptr_t fore) {
2103 send(SCI_SETHOTSPOTACTIVEFORE, useSetting, fore);
2104}
2105
2106sptr_t ScintillaEdit::hotspotActiveFore() const {
2107 return send(SCI_GETHOTSPOTACTIVEFORE, 0, 0);
2108}
2109
2110void ScintillaEdit::setHotspotActiveBack(bool useSetting, sptr_t back) {
2111 send(SCI_SETHOTSPOTACTIVEBACK, useSetting, back);
2112}
2113
2114sptr_t ScintillaEdit::hotspotActiveBack() const {
2115 return send(SCI_GETHOTSPOTACTIVEBACK, 0, 0);
2116}
2117
2118void ScintillaEdit::setHotspotActiveUnderline(bool underline) {
2119 send(SCI_SETHOTSPOTACTIVEUNDERLINE, underline, 0);
2120}
2121
2122bool ScintillaEdit::hotspotActiveUnderline() const {
2123 return send(SCI_GETHOTSPOTACTIVEUNDERLINE, 0, 0);
2124}
2125
2126void ScintillaEdit::setHotspotSingleLine(bool singleLine) {
2127 send(SCI_SETHOTSPOTSINGLELINE, singleLine, 0);
2128}
2129
2130bool ScintillaEdit::hotspotSingleLine() const {
2131 return send(SCI_GETHOTSPOTSINGLELINE, 0, 0);
2132}
2133
2134void ScintillaEdit::paraDown() {
2135 send(SCI_PARADOWN, 0, 0);
2136}
2137
2138void ScintillaEdit::paraDownExtend() {
2139 send(SCI_PARADOWNEXTEND, 0, 0);
2140}
2141
2142void ScintillaEdit::paraUp() {
2143 send(SCI_PARAUP, 0, 0);
2144}
2145
2146void ScintillaEdit::paraUpExtend() {
2147 send(SCI_PARAUPEXTEND, 0, 0);
2148}
2149
2150sptr_t ScintillaEdit::positionBefore(sptr_t pos) {
2151 return send(SCI_POSITIONBEFORE, pos, 0);
2152}
2153
2154sptr_t ScintillaEdit::positionAfter(sptr_t pos) {
2155 return send(SCI_POSITIONAFTER, pos, 0);
2156}
2157
2158sptr_t ScintillaEdit::positionRelative(sptr_t pos, sptr_t relative) {
2159 return send(SCI_POSITIONRELATIVE, pos, relative);
2160}
2161
2162sptr_t ScintillaEdit::positionRelativeCodeUnits(sptr_t pos, sptr_t relative) {
2163 return send(SCI_POSITIONRELATIVECODEUNITS, pos, relative);
2164}
2165
2166void ScintillaEdit::copyRange(sptr_t start, sptr_t end) {
2167 send(SCI_COPYRANGE, start, end);
2168}
2169
2170void ScintillaEdit::copyText(sptr_t length, const char * text) {
2171 send(SCI_COPYTEXT, length, (sptr_t)text);
2172}
2173
2174void ScintillaEdit::setSelectionMode(sptr_t selectionMode) {
2175 send(SCI_SETSELECTIONMODE, selectionMode, 0);
2176}
2177
2178sptr_t ScintillaEdit::selectionMode() const {
2179 return send(SCI_GETSELECTIONMODE, 0, 0);
2180}
2181
2182bool ScintillaEdit::moveExtendsSelection() const {
2183 return send(SCI_GETMOVEEXTENDSSELECTION, 0, 0);
2184}
2185
2186sptr_t ScintillaEdit::getLineSelStartPosition(sptr_t line) {
2187 return send(SCI_GETLINESELSTARTPOSITION, line, 0);
2188}
2189
2190sptr_t ScintillaEdit::getLineSelEndPosition(sptr_t line) {
2191 return send(SCI_GETLINESELENDPOSITION, line, 0);
2192}
2193
2194void ScintillaEdit::lineDownRectExtend() {
2195 send(SCI_LINEDOWNRECTEXTEND, 0, 0);
2196}
2197
2198void ScintillaEdit::lineUpRectExtend() {
2199 send(SCI_LINEUPRECTEXTEND, 0, 0);
2200}
2201
2202void ScintillaEdit::charLeftRectExtend() {
2203 send(SCI_CHARLEFTRECTEXTEND, 0, 0);
2204}
2205
2206void ScintillaEdit::charRightRectExtend() {
2207 send(SCI_CHARRIGHTRECTEXTEND, 0, 0);
2208}
2209
2210void ScintillaEdit::homeRectExtend() {
2211 send(SCI_HOMERECTEXTEND, 0, 0);
2212}
2213
2214void ScintillaEdit::vCHomeRectExtend() {
2215 send(SCI_VCHOMERECTEXTEND, 0, 0);
2216}
2217
2218void ScintillaEdit::lineEndRectExtend() {
2219 send(SCI_LINEENDRECTEXTEND, 0, 0);
2220}
2221
2222void ScintillaEdit::pageUpRectExtend() {
2223 send(SCI_PAGEUPRECTEXTEND, 0, 0);
2224}
2225
2226void ScintillaEdit::pageDownRectExtend() {
2227 send(SCI_PAGEDOWNRECTEXTEND, 0, 0);
2228}
2229
2230void ScintillaEdit::stutteredPageUp() {
2231 send(SCI_STUTTEREDPAGEUP, 0, 0);
2232}
2233
2234void ScintillaEdit::stutteredPageUpExtend() {
2235 send(SCI_STUTTEREDPAGEUPEXTEND, 0, 0);
2236}
2237
2238void ScintillaEdit::stutteredPageDown() {
2239 send(SCI_STUTTEREDPAGEDOWN, 0, 0);
2240}
2241
2242void ScintillaEdit::stutteredPageDownExtend() {
2243 send(SCI_STUTTEREDPAGEDOWNEXTEND, 0, 0);
2244}
2245
2246void ScintillaEdit::wordLeftEnd() {
2247 send(SCI_WORDLEFTEND, 0, 0);
2248}
2249
2250void ScintillaEdit::wordLeftEndExtend() {
2251 send(SCI_WORDLEFTENDEXTEND, 0, 0);
2252}
2253
2254void ScintillaEdit::wordRightEnd() {
2255 send(SCI_WORDRIGHTEND, 0, 0);
2256}
2257
2258void ScintillaEdit::wordRightEndExtend() {
2259 send(SCI_WORDRIGHTENDEXTEND, 0, 0);
2260}
2261
2262void ScintillaEdit::setWhitespaceChars(const char * characters) {
2263 send(SCI_SETWHITESPACECHARS, 0, (sptr_t)characters);
2264}
2265
2266QByteArray ScintillaEdit::whitespaceChars() const {
2267 return TextReturner(SCI_GETWHITESPACECHARS, 0);
2268}
2269
2270void ScintillaEdit::setPunctuationChars(const char * characters) {
2271 send(SCI_SETPUNCTUATIONCHARS, 0, (sptr_t)characters);
2272}
2273
2274QByteArray ScintillaEdit::punctuationChars() const {
2275 return TextReturner(SCI_GETPUNCTUATIONCHARS, 0);
2276}
2277
2278void ScintillaEdit::setCharsDefault() {
2279 send(SCI_SETCHARSDEFAULT, 0, 0);
2280}
2281
2282sptr_t ScintillaEdit::autoCCurrent() const {
2283 return send(SCI_AUTOCGETCURRENT, 0, 0);
2284}
2285
2286QByteArray ScintillaEdit::autoCCurrentText() const {
2287 return TextReturner(SCI_AUTOCGETCURRENTTEXT, 0);
2288}
2289
2290void ScintillaEdit::autoCSetCaseInsensitiveBehaviour(sptr_t behaviour) {
2291 send(SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR, behaviour, 0);
2292}
2293
2294sptr_t ScintillaEdit::autoCCaseInsensitiveBehaviour() const {
2295 return send(SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR, 0, 0);
2296}
2297
2298void ScintillaEdit::autoCSetMulti(sptr_t multi) {
2299 send(SCI_AUTOCSETMULTI, multi, 0);
2300}
2301
2302sptr_t ScintillaEdit::autoCMulti() const {
2303 return send(SCI_AUTOCGETMULTI, 0, 0);
2304}
2305
2306void ScintillaEdit::autoCSetOrder(sptr_t order) {
2307 send(SCI_AUTOCSETORDER, order, 0);
2308}
2309
2310sptr_t ScintillaEdit::autoCOrder() const {
2311 return send(SCI_AUTOCGETORDER, 0, 0);
2312}
2313
2314void ScintillaEdit::allocate(sptr_t bytes) {
2315 send(SCI_ALLOCATE, bytes, 0);
2316}
2317
2318QByteArray ScintillaEdit::targetAsUTF8() {
2319 return TextReturner(SCI_TARGETASUTF8, 0);
2320}
2321
2322void ScintillaEdit::setLengthForEncode(sptr_t bytes) {
2323 send(SCI_SETLENGTHFORENCODE, bytes, 0);
2324}
2325
2326QByteArray ScintillaEdit::encodedFromUTF8(const char * utf8) {
2327 return TextReturner(SCI_ENCODEDFROMUTF8, (sptr_t)utf8);
2328}
2329
2330sptr_t ScintillaEdit::findColumn(sptr_t line, sptr_t column) {
2331 return send(SCI_FINDCOLUMN, line, column);
2332}
2333
2334sptr_t ScintillaEdit::caretSticky() const {
2335 return send(SCI_GETCARETSTICKY, 0, 0);
2336}
2337
2338void ScintillaEdit::setCaretSticky(sptr_t useCaretStickyBehaviour) {
2339 send(SCI_SETCARETSTICKY, useCaretStickyBehaviour, 0);
2340}
2341
2342void ScintillaEdit::toggleCaretSticky() {
2343 send(SCI_TOGGLECARETSTICKY, 0, 0);
2344}
2345
2346void ScintillaEdit::setPasteConvertEndings(bool convert) {
2347 send(SCI_SETPASTECONVERTENDINGS, convert, 0);
2348}
2349
2350bool ScintillaEdit::pasteConvertEndings() const {
2351 return send(SCI_GETPASTECONVERTENDINGS, 0, 0);
2352}
2353
2354void ScintillaEdit::replaceRectangular(sptr_t length, const char * text) {
2355 send(SCI_REPLACERECTANGULAR, length, (sptr_t)text);
2356}
2357
2358void ScintillaEdit::selectionDuplicate() {
2359 send(SCI_SELECTIONDUPLICATE, 0, 0);
2360}
2361
2362void ScintillaEdit::setCaretLineBackAlpha(sptr_t alpha) {
2363 send(SCI_SETCARETLINEBACKALPHA, alpha, 0);
2364}
2365
2366sptr_t ScintillaEdit::caretLineBackAlpha() const {
2367 return send(SCI_GETCARETLINEBACKALPHA, 0, 0);
2368}
2369
2370void ScintillaEdit::setCaretStyle(sptr_t caretStyle) {
2371 send(SCI_SETCARETSTYLE, caretStyle, 0);
2372}
2373
2374sptr_t ScintillaEdit::caretStyle() const {
2375 return send(SCI_GETCARETSTYLE, 0, 0);
2376}
2377
2378void ScintillaEdit::setIndicatorCurrent(sptr_t indicator) {
2379 send(SCI_SETINDICATORCURRENT, indicator, 0);
2380}
2381
2382sptr_t ScintillaEdit::indicatorCurrent() const {
2383 return send(SCI_GETINDICATORCURRENT, 0, 0);
2384}
2385
2386void ScintillaEdit::setIndicatorValue(sptr_t value) {
2387 send(SCI_SETINDICATORVALUE, value, 0);
2388}
2389
2390sptr_t ScintillaEdit::indicatorValue() const {
2391 return send(SCI_GETINDICATORVALUE, 0, 0);
2392}
2393
2394void ScintillaEdit::indicatorFillRange(sptr_t start, sptr_t lengthFill) {
2395 send(SCI_INDICATORFILLRANGE, start, lengthFill);
2396}
2397
2398void ScintillaEdit::indicatorClearRange(sptr_t start, sptr_t lengthClear) {
2399 send(SCI_INDICATORCLEARRANGE, start, lengthClear);
2400}
2401
2402sptr_t ScintillaEdit::indicatorAllOnFor(sptr_t pos) {
2403 return send(SCI_INDICATORALLONFOR, pos, 0);
2404}
2405
2406sptr_t ScintillaEdit::indicatorValueAt(sptr_t indicator, sptr_t pos) {
2407 return send(SCI_INDICATORVALUEAT, indicator, pos);
2408}
2409
2410sptr_t ScintillaEdit::indicatorStart(sptr_t indicator, sptr_t pos) {
2411 return send(SCI_INDICATORSTART, indicator, pos);
2412}
2413
2414sptr_t ScintillaEdit::indicatorEnd(sptr_t indicator, sptr_t pos) {
2415 return send(SCI_INDICATOREND, indicator, pos);
2416}
2417
2418void ScintillaEdit::setPositionCache(sptr_t size) {
2419 send(SCI_SETPOSITIONCACHE, size, 0);
2420}
2421
2422sptr_t ScintillaEdit::positionCache() const {
2423 return send(SCI_GETPOSITIONCACHE, 0, 0);
2424}
2425
2426void ScintillaEdit::copyAllowLine() {
2427 send(SCI_COPYALLOWLINE, 0, 0);
2428}
2429
2430sptr_t ScintillaEdit::characterPointer() const {
2431 return send(SCI_GETCHARACTERPOINTER, 0, 0);
2432}
2433
2434sptr_t ScintillaEdit::rangePointer(sptr_t start, sptr_t lengthRange) const {
2435 return send(SCI_GETRANGEPOINTER, start, lengthRange);
2436}
2437
2438sptr_t ScintillaEdit::gapPosition() const {
2439 return send(SCI_GETGAPPOSITION, 0, 0);
2440}
2441
2442void ScintillaEdit::indicSetAlpha(sptr_t indicator, sptr_t alpha) {
2443 send(SCI_INDICSETALPHA, indicator, alpha);
2444}
2445
2446sptr_t ScintillaEdit::indicAlpha(sptr_t indicator) const {
2447 return send(SCI_INDICGETALPHA, indicator, 0);
2448}
2449
2450void ScintillaEdit::indicSetOutlineAlpha(sptr_t indicator, sptr_t alpha) {
2451 send(SCI_INDICSETOUTLINEALPHA, indicator, alpha);
2452}
2453
2454sptr_t ScintillaEdit::indicOutlineAlpha(sptr_t indicator) const {
2455 return send(SCI_INDICGETOUTLINEALPHA, indicator, 0);
2456}
2457
2458void ScintillaEdit::setExtraAscent(sptr_t extraAscent) {
2459 send(SCI_SETEXTRAASCENT, extraAscent, 0);
2460}
2461
2462sptr_t ScintillaEdit::extraAscent() const {
2463 return send(SCI_GETEXTRAASCENT, 0, 0);
2464}
2465
2466void ScintillaEdit::setExtraDescent(sptr_t extraDescent) {
2467 send(SCI_SETEXTRADESCENT, extraDescent, 0);
2468}
2469
2470sptr_t ScintillaEdit::extraDescent() const {
2471 return send(SCI_GETEXTRADESCENT, 0, 0);
2472}
2473
2474sptr_t ScintillaEdit::markerSymbolDefined(sptr_t markerNumber) {
2475 return send(SCI_MARKERSYMBOLDEFINED, markerNumber, 0);
2476}
2477
2478void ScintillaEdit::marginSetText(sptr_t line, const char * text) {
2479 send(SCI_MARGINSETTEXT, line, (sptr_t)text);
2480}
2481
2482QByteArray ScintillaEdit::marginText(sptr_t line) const {
2483 return TextReturner(SCI_MARGINGETTEXT, line);
2484}
2485
2486void ScintillaEdit::marginSetStyle(sptr_t line, sptr_t style) {
2487 send(SCI_MARGINSETSTYLE, line, style);
2488}
2489
2490sptr_t ScintillaEdit::marginStyle(sptr_t line) const {
2491 return send(SCI_MARGINGETSTYLE, line, 0);
2492}
2493
2494void ScintillaEdit::marginSetStyles(sptr_t line, const char * styles) {
2495 send(SCI_MARGINSETSTYLES, line, (sptr_t)styles);
2496}
2497
2498QByteArray ScintillaEdit::marginStyles(sptr_t line) const {
2499 return TextReturner(SCI_MARGINGETSTYLES, line);
2500}
2501
2502void ScintillaEdit::marginTextClearAll() {
2503 send(SCI_MARGINTEXTCLEARALL, 0, 0);
2504}
2505
2506void ScintillaEdit::marginSetStyleOffset(sptr_t style) {
2507 send(SCI_MARGINSETSTYLEOFFSET, style, 0);
2508}
2509
2510sptr_t ScintillaEdit::marginStyleOffset() const {
2511 return send(SCI_MARGINGETSTYLEOFFSET, 0, 0);
2512}
2513
2514void ScintillaEdit::setMarginOptions(sptr_t marginOptions) {
2515 send(SCI_SETMARGINOPTIONS, marginOptions, 0);
2516}
2517
2518sptr_t ScintillaEdit::marginOptions() const {
2519 return send(SCI_GETMARGINOPTIONS, 0, 0);
2520}
2521
2522void ScintillaEdit::annotationSetText(sptr_t line, const char * text) {
2523 send(SCI_ANNOTATIONSETTEXT, line, (sptr_t)text);
2524}
2525
2526QByteArray ScintillaEdit::annotationText(sptr_t line) const {
2527 return TextReturner(SCI_ANNOTATIONGETTEXT, line);
2528}
2529
2530void ScintillaEdit::annotationSetStyle(sptr_t line, sptr_t style) {
2531 send(SCI_ANNOTATIONSETSTYLE, line, style);
2532}
2533
2534sptr_t ScintillaEdit::annotationStyle(sptr_t line) const {
2535 return send(SCI_ANNOTATIONGETSTYLE, line, 0);
2536}
2537
2538void ScintillaEdit::annotationSetStyles(sptr_t line, const char * styles) {
2539 send(SCI_ANNOTATIONSETSTYLES, line, (sptr_t)styles);
2540}
2541
2542QByteArray ScintillaEdit::annotationStyles(sptr_t line) const {
2543 return TextReturner(SCI_ANNOTATIONGETSTYLES, line);
2544}
2545
2546sptr_t ScintillaEdit::annotationLines(sptr_t line) const {
2547 return send(SCI_ANNOTATIONGETLINES, line, 0);
2548}
2549
2550void ScintillaEdit::annotationClearAll() {
2551 send(SCI_ANNOTATIONCLEARALL, 0, 0);
2552}
2553
2554void ScintillaEdit::annotationSetVisible(sptr_t visible) {
2555 send(SCI_ANNOTATIONSETVISIBLE, visible, 0);
2556}
2557
2558sptr_t ScintillaEdit::annotationVisible() const {
2559 return send(SCI_ANNOTATIONGETVISIBLE, 0, 0);
2560}
2561
2562void ScintillaEdit::annotationSetStyleOffset(sptr_t style) {
2563 send(SCI_ANNOTATIONSETSTYLEOFFSET, style, 0);
2564}
2565
2566sptr_t ScintillaEdit::annotationStyleOffset() const {
2567 return send(SCI_ANNOTATIONGETSTYLEOFFSET, 0, 0);
2568}
2569
2570void ScintillaEdit::releaseAllExtendedStyles() {
2571 send(SCI_RELEASEALLEXTENDEDSTYLES, 0, 0);
2572}
2573
2574sptr_t ScintillaEdit::allocateExtendedStyles(sptr_t numberStyles) {
2575 return send(SCI_ALLOCATEEXTENDEDSTYLES, numberStyles, 0);
2576}
2577
2578void ScintillaEdit::addUndoAction(sptr_t token, sptr_t flags) {
2579 send(SCI_ADDUNDOACTION, token, flags);
2580}
2581
2582sptr_t ScintillaEdit::charPositionFromPoint(sptr_t x, sptr_t y) {
2583 return send(SCI_CHARPOSITIONFROMPOINT, x, y);
2584}
2585
2586sptr_t ScintillaEdit::charPositionFromPointClose(sptr_t x, sptr_t y) {
2587 return send(SCI_CHARPOSITIONFROMPOINTCLOSE, x, y);
2588}
2589
2590void ScintillaEdit::setMouseSelectionRectangularSwitch(bool mouseSelectionRectangularSwitch) {
2591 send(SCI_SETMOUSESELECTIONRECTANGULARSWITCH, mouseSelectionRectangularSwitch, 0);
2592}
2593
2594bool ScintillaEdit::mouseSelectionRectangularSwitch() const {
2595 return send(SCI_GETMOUSESELECTIONRECTANGULARSWITCH, 0, 0);
2596}
2597
2598void ScintillaEdit::setMultipleSelection(bool multipleSelection) {
2599 send(SCI_SETMULTIPLESELECTION, multipleSelection, 0);
2600}
2601
2602bool ScintillaEdit::multipleSelection() const {
2603 return send(SCI_GETMULTIPLESELECTION, 0, 0);
2604}
2605
2606void ScintillaEdit::setAdditionalSelectionTyping(bool additionalSelectionTyping) {
2607 send(SCI_SETADDITIONALSELECTIONTYPING, additionalSelectionTyping, 0);
2608}
2609
2610bool ScintillaEdit::additionalSelectionTyping() const {
2611 return send(SCI_GETADDITIONALSELECTIONTYPING, 0, 0);
2612}
2613
2614void ScintillaEdit::setAdditionalCaretsBlink(bool additionalCaretsBlink) {
2615 send(SCI_SETADDITIONALCARETSBLINK, additionalCaretsBlink, 0);
2616}
2617
2618bool ScintillaEdit::additionalCaretsBlink() const {
2619 return send(SCI_GETADDITIONALCARETSBLINK, 0, 0);
2620}
2621
2622void ScintillaEdit::setAdditionalCaretsVisible(bool additionalCaretsVisible) {
2623 send(SCI_SETADDITIONALCARETSVISIBLE, additionalCaretsVisible, 0);
2624}
2625
2626bool ScintillaEdit::additionalCaretsVisible() const {
2627 return send(SCI_GETADDITIONALCARETSVISIBLE, 0, 0);
2628}
2629
2630sptr_t ScintillaEdit::selections() const {
2631 return send(SCI_GETSELECTIONS, 0, 0);
2632}
2633
2634bool ScintillaEdit::selectionEmpty() const {
2635 return send(SCI_GETSELECTIONEMPTY, 0, 0);
2636}
2637
2638void ScintillaEdit::clearSelections() {
2639 send(SCI_CLEARSELECTIONS, 0, 0);
2640}
2641
2642void ScintillaEdit::setSelection(sptr_t caret, sptr_t anchor) {
2643 send(SCI_SETSELECTION, caret, anchor);
2644}
2645
2646void ScintillaEdit::addSelection(sptr_t caret, sptr_t anchor) {
2647 send(SCI_ADDSELECTION, caret, anchor);
2648}
2649
2650void ScintillaEdit::dropSelectionN(sptr_t selection) {
2651 send(SCI_DROPSELECTIONN, selection, 0);
2652}
2653
2654void ScintillaEdit::setMainSelection(sptr_t selection) {
2655 send(SCI_SETMAINSELECTION, selection, 0);
2656}
2657
2658sptr_t ScintillaEdit::mainSelection() const {
2659 return send(SCI_GETMAINSELECTION, 0, 0);
2660}
2661
2662void ScintillaEdit::setSelectionNCaret(sptr_t selection, sptr_t caret) {
2663 send(SCI_SETSELECTIONNCARET, selection, caret);
2664}
2665
2666sptr_t ScintillaEdit::selectionNCaret(sptr_t selection) const {
2667 return send(SCI_GETSELECTIONNCARET, selection, 0);
2668}
2669
2670void ScintillaEdit::setSelectionNAnchor(sptr_t selection, sptr_t anchor) {
2671 send(SCI_SETSELECTIONNANCHOR, selection, anchor);
2672}
2673
2674sptr_t ScintillaEdit::selectionNAnchor(sptr_t selection) const {
2675 return send(SCI_GETSELECTIONNANCHOR, selection, 0);
2676}
2677
2678void ScintillaEdit::setSelectionNCaretVirtualSpace(sptr_t selection, sptr_t space) {
2679 send(SCI_SETSELECTIONNCARETVIRTUALSPACE, selection, space);
2680}
2681
2682sptr_t ScintillaEdit::selectionNCaretVirtualSpace(sptr_t selection) const {
2683 return send(SCI_GETSELECTIONNCARETVIRTUALSPACE, selection, 0);
2684}
2685
2686void ScintillaEdit::setSelectionNAnchorVirtualSpace(sptr_t selection, sptr_t space) {
2687 send(SCI_SETSELECTIONNANCHORVIRTUALSPACE, selection, space);
2688}
2689
2690sptr_t ScintillaEdit::selectionNAnchorVirtualSpace(sptr_t selection) const {
2691 return send(SCI_GETSELECTIONNANCHORVIRTUALSPACE, selection, 0);
2692}
2693
2694void ScintillaEdit::setSelectionNStart(sptr_t selection, sptr_t anchor) {
2695 send(SCI_SETSELECTIONNSTART, selection, anchor);
2696}
2697
2698sptr_t ScintillaEdit::selectionNStart(sptr_t selection) const {
2699 return send(SCI_GETSELECTIONNSTART, selection, 0);
2700}
2701
2702sptr_t ScintillaEdit::selectionNStartVirtualSpace(sptr_t selection) const {
2703 return send(SCI_GETSELECTIONNSTARTVIRTUALSPACE, selection, 0);
2704}
2705
2706void ScintillaEdit::setSelectionNEnd(sptr_t selection, sptr_t caret) {
2707 send(SCI_SETSELECTIONNEND, selection, caret);
2708}
2709
2710sptr_t ScintillaEdit::selectionNEndVirtualSpace(sptr_t selection) const {
2711 return send(SCI_GETSELECTIONNENDVIRTUALSPACE, selection, 0);
2712}
2713
2714sptr_t ScintillaEdit::selectionNEnd(sptr_t selection) const {
2715 return send(SCI_GETSELECTIONNEND, selection, 0);
2716}
2717
2718void ScintillaEdit::setRectangularSelectionCaret(sptr_t caret) {
2719 send(SCI_SETRECTANGULARSELECTIONCARET, caret, 0);
2720}
2721
2722sptr_t ScintillaEdit::rectangularSelectionCaret() const {
2723 return send(SCI_GETRECTANGULARSELECTIONCARET, 0, 0);
2724}
2725
2726void ScintillaEdit::setRectangularSelectionAnchor(sptr_t anchor) {
2727 send(SCI_SETRECTANGULARSELECTIONANCHOR, anchor, 0);
2728}
2729
2730sptr_t ScintillaEdit::rectangularSelectionAnchor() const {
2731 return send(SCI_GETRECTANGULARSELECTIONANCHOR, 0, 0);
2732}
2733
2734void ScintillaEdit::setRectangularSelectionCaretVirtualSpace(sptr_t space) {
2735 send(SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE, space, 0);
2736}
2737
2738sptr_t ScintillaEdit::rectangularSelectionCaretVirtualSpace() const {
2739 return send(SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE, 0, 0);
2740}
2741
2742void ScintillaEdit::setRectangularSelectionAnchorVirtualSpace(sptr_t space) {
2743 send(SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE, space, 0);
2744}
2745
2746sptr_t ScintillaEdit::rectangularSelectionAnchorVirtualSpace() const {
2747 return send(SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE, 0, 0);
2748}
2749
2750void ScintillaEdit::setVirtualSpaceOptions(sptr_t virtualSpaceOptions) {
2751 send(SCI_SETVIRTUALSPACEOPTIONS, virtualSpaceOptions, 0);
2752}
2753
2754sptr_t ScintillaEdit::virtualSpaceOptions() const {
2755 return send(SCI_GETVIRTUALSPACEOPTIONS, 0, 0);
2756}
2757
2758void ScintillaEdit::setRectangularSelectionModifier(sptr_t modifier) {
2759 send(SCI_SETRECTANGULARSELECTIONMODIFIER, modifier, 0);
2760}
2761
2762sptr_t ScintillaEdit::rectangularSelectionModifier() const {
2763 return send(SCI_GETRECTANGULARSELECTIONMODIFIER, 0, 0);
2764}
2765
2766void ScintillaEdit::setAdditionalSelFore(sptr_t fore) {
2767 send(SCI_SETADDITIONALSELFORE, fore, 0);
2768}
2769
2770void ScintillaEdit::setAdditionalSelBack(sptr_t back) {
2771 send(SCI_SETADDITIONALSELBACK, back, 0);
2772}
2773
2774void ScintillaEdit::setAdditionalSelAlpha(sptr_t alpha) {
2775 send(SCI_SETADDITIONALSELALPHA, alpha, 0);
2776}
2777
2778sptr_t ScintillaEdit::additionalSelAlpha() const {
2779 return send(SCI_GETADDITIONALSELALPHA, 0, 0);
2780}
2781
2782void ScintillaEdit::setAdditionalCaretFore(sptr_t fore) {
2783 send(SCI_SETADDITIONALCARETFORE, fore, 0);
2784}
2785
2786sptr_t ScintillaEdit::additionalCaretFore() const {
2787 return send(SCI_GETADDITIONALCARETFORE, 0, 0);
2788}
2789
2790void ScintillaEdit::rotateSelection() {
2791 send(SCI_ROTATESELECTION, 0, 0);
2792}
2793
2794void ScintillaEdit::swapMainAnchorCaret() {
2795 send(SCI_SWAPMAINANCHORCARET, 0, 0);
2796}
2797
2798void ScintillaEdit::multipleSelectAddNext() {
2799 send(SCI_MULTIPLESELECTADDNEXT, 0, 0);
2800}
2801
2802void ScintillaEdit::multipleSelectAddEach() {
2803 send(SCI_MULTIPLESELECTADDEACH, 0, 0);
2804}
2805
2806sptr_t ScintillaEdit::changeLexerState(sptr_t start, sptr_t end) {
2807 return send(SCI_CHANGELEXERSTATE, start, end);
2808}
2809
2810sptr_t ScintillaEdit::contractedFoldNext(sptr_t lineStart) {
2811 return send(SCI_CONTRACTEDFOLDNEXT, lineStart, 0);
2812}
2813
2814void ScintillaEdit::verticalCentreCaret() {
2815 send(SCI_VERTICALCENTRECARET, 0, 0);
2816}
2817
2818void ScintillaEdit::moveSelectedLinesUp() {
2819 send(SCI_MOVESELECTEDLINESUP, 0, 0);
2820}
2821
2822void ScintillaEdit::moveSelectedLinesDown() {
2823 send(SCI_MOVESELECTEDLINESDOWN, 0, 0);
2824}
2825
2826void ScintillaEdit::setIdentifier(sptr_t identifier) {
2827 send(SCI_SETIDENTIFIER, identifier, 0);
2828}
2829
2830sptr_t ScintillaEdit::identifier() const {
2831 return send(SCI_GETIDENTIFIER, 0, 0);
2832}
2833
2834void ScintillaEdit::rGBAImageSetWidth(sptr_t width) {
2835 send(SCI_RGBAIMAGESETWIDTH, width, 0);
2836}
2837
2838void ScintillaEdit::rGBAImageSetHeight(sptr_t height) {
2839 send(SCI_RGBAIMAGESETHEIGHT, height, 0);
2840}
2841
2842void ScintillaEdit::rGBAImageSetScale(sptr_t scalePercent) {
2843 send(SCI_RGBAIMAGESETSCALE, scalePercent, 0);
2844}
2845
2846void ScintillaEdit::markerDefineRGBAImage(sptr_t markerNumber, const char * pixels) {
2847 send(SCI_MARKERDEFINERGBAIMAGE, markerNumber, (sptr_t)pixels);
2848}
2849
2850void ScintillaEdit::registerRGBAImage(sptr_t type, const char * pixels) {
2851 send(SCI_REGISTERRGBAIMAGE, type, (sptr_t)pixels);
2852}
2853
2854void ScintillaEdit::scrollToStart() {
2855 send(SCI_SCROLLTOSTART, 0, 0);
2856}
2857
2858void ScintillaEdit::scrollToEnd() {
2859 send(SCI_SCROLLTOEND, 0, 0);
2860}
2861
2862void ScintillaEdit::setTechnology(sptr_t technology) {
2863 send(SCI_SETTECHNOLOGY, technology, 0);
2864}
2865
2866sptr_t ScintillaEdit::technology() const {
2867 return send(SCI_GETTECHNOLOGY, 0, 0);
2868}
2869
2870sptr_t ScintillaEdit::createLoader(sptr_t bytes, sptr_t documentOptions) {
2871 return send(SCI_CREATELOADER, bytes, documentOptions);
2872}
2873
2874void ScintillaEdit::findIndicatorShow(sptr_t start, sptr_t end) {
2875 send(SCI_FINDINDICATORSHOW, start, end);
2876}
2877
2878void ScintillaEdit::findIndicatorFlash(sptr_t start, sptr_t end) {
2879 send(SCI_FINDINDICATORFLASH, start, end);
2880}
2881
2882void ScintillaEdit::findIndicatorHide() {
2883 send(SCI_FINDINDICATORHIDE, 0, 0);
2884}
2885
2886void ScintillaEdit::vCHomeDisplay() {
2887 send(SCI_VCHOMEDISPLAY, 0, 0);
2888}
2889
2890void ScintillaEdit::vCHomeDisplayExtend() {
2891 send(SCI_VCHOMEDISPLAYEXTEND, 0, 0);
2892}
2893
2894bool ScintillaEdit::caretLineVisibleAlways() const {
2895 return send(SCI_GETCARETLINEVISIBLEALWAYS, 0, 0);
2896}
2897
2898void ScintillaEdit::setCaretLineVisibleAlways(bool alwaysVisible) {
2899 send(SCI_SETCARETLINEVISIBLEALWAYS, alwaysVisible, 0);
2900}
2901
2902void ScintillaEdit::setLineEndTypesAllowed(sptr_t lineEndBitSet) {
2903 send(SCI_SETLINEENDTYPESALLOWED, lineEndBitSet, 0);
2904}
2905
2906sptr_t ScintillaEdit::lineEndTypesAllowed() const {
2907 return send(SCI_GETLINEENDTYPESALLOWED, 0, 0);
2908}
2909
2910sptr_t ScintillaEdit::lineEndTypesActive() const {
2911 return send(SCI_GETLINEENDTYPESACTIVE, 0, 0);
2912}
2913
2914void ScintillaEdit::setRepresentation(const char * encodedCharacter, const char * representation) {
2915 send(SCI_SETREPRESENTATION, (sptr_t)encodedCharacter, (sptr_t)representation);
2916}
2917
2918QByteArray ScintillaEdit::representation(const char * encodedCharacter) const {
2919 return TextReturner(SCI_GETREPRESENTATION, (sptr_t)encodedCharacter);
2920}
2921
2922void ScintillaEdit::clearRepresentation(const char * encodedCharacter) {
2923 send(SCI_CLEARREPRESENTATION, (sptr_t)encodedCharacter, 0);
2924}
2925
2926void ScintillaEdit::clearAllRepresentations() {
2927 send(SCI_CLEARALLREPRESENTATIONS, 0, 0);
2928}
2929
2930void ScintillaEdit::setRepresentationAppearance(const char * encodedCharacter, sptr_t appearance) {
2931 send(SCI_SETREPRESENTATIONAPPEARANCE, (sptr_t)encodedCharacter, appearance);
2932}
2933
2934sptr_t ScintillaEdit::representationAppearance(const char * encodedCharacter) const {
2935 return send(SCI_GETREPRESENTATIONAPPEARANCE, (sptr_t)encodedCharacter, 0);
2936}
2937
2938void ScintillaEdit::setRepresentationColour(const char * encodedCharacter, sptr_t colour) {
2939 send(SCI_SETREPRESENTATIONCOLOUR, (sptr_t)encodedCharacter, colour);
2940}
2941
2942sptr_t ScintillaEdit::representationColour(const char * encodedCharacter) const {
2943 return send(SCI_GETREPRESENTATIONCOLOUR, (sptr_t)encodedCharacter, 0);
2944}
2945
2946void ScintillaEdit::eOLAnnotationSetText(sptr_t line, const char * text) {
2947 send(SCI_EOLANNOTATIONSETTEXT, line, (sptr_t)text);
2948}
2949
2950QByteArray ScintillaEdit::eOLAnnotationText(sptr_t line) const {
2951 return TextReturner(SCI_EOLANNOTATIONGETTEXT, line);
2952}
2953
2954void ScintillaEdit::eOLAnnotationSetStyle(sptr_t line, sptr_t style) {
2955 send(SCI_EOLANNOTATIONSETSTYLE, line, style);
2956}
2957
2958sptr_t ScintillaEdit::eOLAnnotationStyle(sptr_t line) const {
2959 return send(SCI_EOLANNOTATIONGETSTYLE, line, 0);
2960}
2961
2962void ScintillaEdit::eOLAnnotationClearAll() {
2963 send(SCI_EOLANNOTATIONCLEARALL, 0, 0);
2964}
2965
2966void ScintillaEdit::eOLAnnotationSetVisible(sptr_t visible) {
2967 send(SCI_EOLANNOTATIONSETVISIBLE, visible, 0);
2968}
2969
2970sptr_t ScintillaEdit::eOLAnnotationVisible() const {
2971 return send(SCI_EOLANNOTATIONGETVISIBLE, 0, 0);
2972}
2973
2974void ScintillaEdit::eOLAnnotationSetStyleOffset(sptr_t style) {
2975 send(SCI_EOLANNOTATIONSETSTYLEOFFSET, style, 0);
2976}
2977
2978sptr_t ScintillaEdit::eOLAnnotationStyleOffset() const {
2979 return send(SCI_EOLANNOTATIONGETSTYLEOFFSET, 0, 0);
2980}
2981
2982bool ScintillaEdit::supportsFeature(sptr_t feature) const {
2983 return send(SCI_SUPPORTSFEATURE, feature, 0);
2984}
2985
2986sptr_t ScintillaEdit::lineCharacterIndex() const {
2987 return send(SCI_GETLINECHARACTERINDEX, 0, 0);
2988}
2989
2990void ScintillaEdit::allocateLineCharacterIndex(sptr_t lineCharacterIndex) {
2991 send(SCI_ALLOCATELINECHARACTERINDEX, lineCharacterIndex, 0);
2992}
2993
2994void ScintillaEdit::releaseLineCharacterIndex(sptr_t lineCharacterIndex) {
2995 send(SCI_RELEASELINECHARACTERINDEX, lineCharacterIndex, 0);
2996}
2997
2998sptr_t ScintillaEdit::lineFromIndexPosition(sptr_t pos, sptr_t lineCharacterIndex) {
2999 return send(SCI_LINEFROMINDEXPOSITION, pos, lineCharacterIndex);
3000}
3001
3002sptr_t ScintillaEdit::indexPositionFromLine(sptr_t line, sptr_t lineCharacterIndex) {
3003 return send(SCI_INDEXPOSITIONFROMLINE, line, lineCharacterIndex);
3004}
3005
3006void ScintillaEdit::startRecord() {
3007 send(SCI_STARTRECORD, 0, 0);
3008}
3009
3010void ScintillaEdit::stopRecord() {
3011 send(SCI_STOPRECORD, 0, 0);
3012}
3013
3014sptr_t ScintillaEdit::lexer() const {
3015 return send(SCI_GETLEXER, 0, 0);
3016}
3017
3018void ScintillaEdit::colourise(sptr_t start, sptr_t end) {
3019 send(SCI_COLOURISE, start, end);
3020}
3021
3022void ScintillaEdit::setProperty(const char * key, const char * value) {
3023 send(SCI_SETPROPERTY, (sptr_t)key, (sptr_t)value);
3024}
3025
3026void ScintillaEdit::setKeyWords(sptr_t keyWordSet, const char * keyWords) {
3027 send(SCI_SETKEYWORDS, keyWordSet, (sptr_t)keyWords);
3028}
3029
3030QByteArray ScintillaEdit::property(const char * key) const {
3031 return TextReturner(SCI_GETPROPERTY, (sptr_t)key);
3032}
3033
3034QByteArray ScintillaEdit::propertyExpanded(const char * key) const {
3035 return TextReturner(SCI_GETPROPERTYEXPANDED, (sptr_t)key);
3036}
3037
3038sptr_t ScintillaEdit::propertyInt(const char * key, sptr_t defaultValue) const {
3039 return send(SCI_GETPROPERTYINT, (sptr_t)key, defaultValue);
3040}
3041
3042QByteArray ScintillaEdit::lexerLanguage() const {
3043 return TextReturner(SCI_GETLEXERLANGUAGE, 0);
3044}
3045
3046sptr_t ScintillaEdit::privateLexerCall(sptr_t operation, sptr_t pointer) {
3047 return send(SCI_PRIVATELEXERCALL, operation, pointer);
3048}
3049
3050QByteArray ScintillaEdit::propertyNames() {
3051 return TextReturner(SCI_PROPERTYNAMES, 0);
3052}
3053
3054sptr_t ScintillaEdit::propertyType(const char * name) {
3055 return send(SCI_PROPERTYTYPE, (sptr_t)name, 0);
3056}
3057
3058QByteArray ScintillaEdit::describeProperty(const char * name) {
3059 return TextReturner(SCI_DESCRIBEPROPERTY, (sptr_t)name);
3060}
3061
3062QByteArray ScintillaEdit::describeKeyWordSets() {
3063 return TextReturner(SCI_DESCRIBEKEYWORDSETS, 0);
3064}
3065
3066sptr_t ScintillaEdit::lineEndTypesSupported() const {
3067 return send(SCI_GETLINEENDTYPESSUPPORTED, 0, 0);
3068}
3069
3070sptr_t ScintillaEdit::allocateSubStyles(sptr_t styleBase, sptr_t numberStyles) {
3071 return send(SCI_ALLOCATESUBSTYLES, styleBase, numberStyles);
3072}
3073
3074sptr_t ScintillaEdit::subStylesStart(sptr_t styleBase) const {
3075 return send(SCI_GETSUBSTYLESSTART, styleBase, 0);
3076}
3077
3078sptr_t ScintillaEdit::subStylesLength(sptr_t styleBase) const {
3079 return send(SCI_GETSUBSTYLESLENGTH, styleBase, 0);
3080}
3081
3082sptr_t ScintillaEdit::styleFromSubStyle(sptr_t subStyle) const {
3083 return send(SCI_GETSTYLEFROMSUBSTYLE, subStyle, 0);
3084}
3085
3086sptr_t ScintillaEdit::primaryStyleFromStyle(sptr_t style) const {
3087 return send(SCI_GETPRIMARYSTYLEFROMSTYLE, style, 0);
3088}
3089
3090void ScintillaEdit::freeSubStyles() {
3091 send(SCI_FREESUBSTYLES, 0, 0);
3092}
3093
3094void ScintillaEdit::setIdentifiers(sptr_t style, const char * identifiers) {
3095 send(SCI_SETIDENTIFIERS, style, (sptr_t)identifiers);
3096}
3097
3098sptr_t ScintillaEdit::distanceToSecondaryStyles() const {
3099 return send(SCI_DISTANCETOSECONDARYSTYLES, 0, 0);
3100}
3101
3102QByteArray ScintillaEdit::subStyleBases() const {
3103 return TextReturner(SCI_GETSUBSTYLEBASES, 0);
3104}
3105
3106sptr_t ScintillaEdit::namedStyles() const {
3107 return send(SCI_GETNAMEDSTYLES, 0, 0);
3108}
3109
3110QByteArray ScintillaEdit::nameOfStyle(sptr_t style) {
3111 return TextReturner(SCI_NAMEOFSTYLE, style);
3112}
3113
3114QByteArray ScintillaEdit::tagsOfStyle(sptr_t style) {
3115 return TextReturner(SCI_TAGSOFSTYLE, style);
3116}
3117
3118QByteArray ScintillaEdit::descriptionOfStyle(sptr_t style) {
3119 return TextReturner(SCI_DESCRIPTIONOFSTYLE, style);
3120}
3121
3122void ScintillaEdit::setILexer(sptr_t ilexer) {
3123 send(SCI_SETILEXER, 0, ilexer);
3124}
3125
3126sptr_t ScintillaEdit::bidirectional() const {
3127 return send(SCI_GETBIDIRECTIONAL, 0, 0);
3128}
3129
3130void ScintillaEdit::setBidirectional(sptr_t bidirectional) {
3131 send(SCI_SETBIDIRECTIONAL, bidirectional, 0);
3132}
3133
3134/* --Autogenerated -- end of section automatically generated from Scintilla.iface */
3135