]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/mac/stc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxRect swig_types[0]
210#define SWIGTYPE_p_wxColour swig_types[1]
211#define SWIGTYPE_p_wxObject swig_types[2]
212#define SWIGTYPE_p_wxScrollBar swig_types[3]
213#define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
214#define SWIGTYPE_p_wxWindow swig_types[5]
215#define SWIGTYPE_p_wxCommandEvent swig_types[6]
216#define SWIGTYPE_p_wxBitmap swig_types[7]
217#define SWIGTYPE_p_void swig_types[8]
218#define SWIGTYPE_p_wxPoint swig_types[9]
4d5c3d91
RD
219#define SWIGTYPE_p_wxDC swig_types[10]
220#define SWIGTYPE_p_char swig_types[11]
96b3fa7c
RD
221#define SWIGTYPE_p_wxEvtHandler swig_types[12]
222#define SWIGTYPE_p_wxStyledTextCtrl swig_types[13]
223#define SWIGTYPE_p_wxFont swig_types[14]
224#define SWIGTYPE_p_wxControl swig_types[15]
225#define SWIGTYPE_p_wxEvent swig_types[16]
226#define SWIGTYPE_p_int swig_types[17]
227#define SWIGTYPE_p_wxMemoryBuffer swig_types[18]
228static swig_type_info *swig_types[20];
d14a1e28
RD
229
230/* -------- TYPES TABLE (END) -------- */
231
232
233/*-----------------------------------------------
234 @(target):= _stc.so
235 ------------------------------------------------*/
236#define SWIG_init init_stc
237
238#define SWIG_name "_stc"
239
15afbcd0 240/* Auxiliar swig macros */
994141e6 241
994141e6 242#ifdef __cplusplus
15afbcd0 243#define SWIGSTATICINLINE(a) static inline a
994141e6 244#define SWIGSTATIC(a) static a
15afbcd0
RD
245#define swig_new_array(type, size) (new type[(size)])
246#define swig_delete_array(cptr) delete[] cptr
247#define swig_const_cast(type,a) const_cast<type>(a)
248#define swig_static_cast(type,a) static_cast<type>(a)
249#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 250
994141e6 251#ifdef HAVE_NUMERIC_CAST
15afbcd0 252#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 253#else
15afbcd0 254#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
255#endif
256
15afbcd0
RD
257#else /* C case */
258
259#define SWIGSTATICINLINE(a) static a
260#define SWIGSTATIC(a) static a
261#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
262#define swig_delete_array(cptr) free((char*)cptr)
263#define swig_const_cast(type,a) (type)(a)
264#define swig_static_cast(type,a) (type)(a)
265#define swig_reinterpret_cast(type,a) (type)(a)
266#define swig_numeric_cast(type,a) (type)(a)
267
268#endif /* __cplusplus */
994141e6
RD
269
270
15afbcd0
RD
271#define SWIG_FromSignedChar PyInt_FromLong
272#define SWIG_FromUnsignedChar PyInt_FromLong
273#define SWIG_FromShort PyInt_FromLong
274#define SWIG_FromUnsignedShort PyInt_FromLong
275#define SWIG_FromInt PyInt_FromLong
276#define SWIG_FromLong PyInt_FromLong
277#define SWIG_FromFloat PyFloat_FromDouble
278#define SWIG_FromDouble PyFloat_FromDouble
279#define SWIG_FromFloat PyFloat_FromDouble
280#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
281
282
d14a1e28
RD
283#include "wx/wxPython/wxPython.h"
284#include "wx/wxPython/pyclasses.h"
285#include <wx/stc/stc.h>
286
d14a1e28 287
b2dc1044 288 static const wxString wxPySTCNameStr(wxSTCNameStr);
d14a1e28 289
15afbcd0
RD
290#include <limits.h>
291
292
293SWIGSTATICINLINE(long)
294SWIG_CheckLongInRange(long value, const char* type,
295 long min_value, long max_value)
296{
297 if (!PyErr_Occurred()) {
298 if (value < min_value) {
299 PyObject *err =
300 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
301 value, type, min_value);
302
303 PyErr_SetObject(PyExc_OverflowError, err);
304 Py_DECREF(err);
305 } else if (value > max_value) {
306 PyObject *err =
307 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
308 value, type, max_value);
309 PyErr_SetObject(PyExc_OverflowError, err);
310 Py_DECREF(err);
311 }
312 }
313 return value;
314}
315
316
317SWIGSTATICINLINE(long)
318SWIG_AsLong(PyObject * obj)
319{
69223c70
RD
320 if (PyNumber_Check(obj))
321 return PyInt_AsLong(obj);
322 else {
323 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
324 obj->ob_type->tp_name);
325 PyErr_SetObject(PyExc_TypeError, errmsg);
326 Py_DECREF(errmsg);
327 return 0;
328 }
15afbcd0
RD
329}
330
331
332#if INT_MAX != LONG_MAX
333SWIGSTATICINLINE(int)
334SWIG_AsInt(PyObject *obj)
994141e6 335{
15afbcd0
RD
336 return swig_numeric_cast(int,
337 SWIG_CheckLongInRange(SWIG_AsLong(obj),
338 "int", INT_MIN, INT_MAX));
994141e6 339}
15afbcd0
RD
340#else
341#define SWIG_AsInt SWIG_AsLong
342#endif
994141e6
RD
343
344
15afbcd0
RD
345SWIGSTATICINLINE(int)
346SWIG_CheckInt(PyObject* obj)
994141e6 347{
15afbcd0
RD
348 SWIG_AsInt(obj);
349 if (PyErr_Occurred()) {
350 PyErr_Clear();
351 return 0;
352 } else {
353 return 1;
354 }
355}
356
357
358SWIGSTATICINLINE(int)
359SWIG_CheckLong(PyObject* obj)
360{
361 SWIG_AsLong(obj);
362 if (PyErr_Occurred()) {
363 PyErr_Clear();
364 return 0;
365 } else {
366 return 1;
367 }
994141e6
RD
368}
369
370
15afbcd0
RD
371SWIGSTATICINLINE(bool)
372SWIG_AsBool(PyObject *obj)
994141e6
RD
373{
374 return PyObject_IsTrue(obj) ? true : false;
375}
376
377
15afbcd0
RD
378SWIGSTATICINLINE(int)
379SWIG_CheckBool(PyObject* obj)
380{
381 SWIG_AsBool(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
388}
389
390
d14a1e28
RD
391static PyObject* t_output_helper(PyObject* target, PyObject* o) {
392 PyObject* o2;
393 PyObject* o3;
394
395 if (!target) {
396 target = o;
397 } else if (target == Py_None) {
398 Py_DECREF(Py_None);
399 target = o;
400 } else {
401 if (!PyTuple_Check(target)) {
402 o2 = target;
403 target = PyTuple_New(1);
404 PyTuple_SetItem(target, 0, o2);
405 }
406 o3 = PyTuple_New(1);
407 PyTuple_SetItem(o3, 0, o);
408
409 o2 = target;
410 target = PySequence_Concat(o2, o3);
411 Py_DECREF(o2);
412 Py_DECREF(o3);
413 }
414 return target;
415}
416
15afbcd0
RD
417
418/* returns '1' if the input is a raw char*, '0' if is a PyString */
419SWIGSTATIC(int)
420SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
421{
422 static swig_type_info* pchar_info = 0;
423 int psize = 0;
424 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
425
426 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
427 PyErr_Clear();
428 PyString_AsStringAndSize(obj, cptr, &psize);
429 if (PyErr_Occurred()) {
430 PyErr_Clear();
431 PyErr_SetString(PyExc_TypeError,"a string is expected");
432 }
433 if (size) *size = psize;
434 return 0;
435 } else {
436 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
437 return 1;
438 }
439}
440
441
442SWIGSTATICINLINE(char* )
443SWIG_AsCharPtr(PyObject *obj)
444{
445 char* cptr;
446 SWIG_AsCharPtrAndSize(obj, &cptr, 0);
447 if (PyErr_Occurred()) {
448 PyErr_Clear();
449 PyErr_SetString(PyExc_TypeError, "a char* is expected");
450 }
451 return cptr;
452}
453
d14a1e28
RD
454#ifdef __cplusplus
455extern "C" {
456#endif
a95a7133 457static int _wrap_STCNameStr_set(PyObject *_val) {
b2dc1044
RD
458 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
459 return 1;
460}
461
462
463static PyObject *_wrap_STCNameStr_get() {
464 PyObject *pyobj;
465
466 {
467#if wxUSE_UNICODE
468 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
469#else
470 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
471#endif
472 }
473 return pyobj;
474}
475
476
a95a7133 477static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
478 PyObject *resultobj;
479 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 480 int arg2 ;
d14a1e28
RD
481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
483 wxSize const &arg4_defvalue = wxDefaultSize ;
484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
485 long arg5 = (long) 0 ;
486 wxString const &arg6_defvalue = wxPySTCNameStr ;
487 wxString *arg6 = (wxString *) &arg6_defvalue ;
488 wxStyledTextCtrl *result;
489 wxPoint temp3 ;
490 wxSize temp4 ;
e811c8ce 491 bool temp6 = False ;
d14a1e28 492 PyObject * obj0 = 0 ;
994141e6 493 PyObject * obj1 = 0 ;
d14a1e28
RD
494 PyObject * obj2 = 0 ;
495 PyObject * obj3 = 0 ;
994141e6 496 PyObject * obj4 = 0 ;
d14a1e28
RD
497 PyObject * obj5 = 0 ;
498 char *kwnames[] = {
499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
500 };
501
994141e6 502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
505 arg2 = (int) SWIG_AsInt(obj1);
506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
507 if (obj2) {
508 {
509 arg3 = &temp3;
510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
511 }
512 }
513 if (obj3) {
514 {
515 arg4 = &temp4;
516 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
517 }
518 }
994141e6 519 if (obj4) {
15afbcd0
RD
520 arg5 = (long) SWIG_AsLong(obj4);
521 if (PyErr_Occurred()) SWIG_fail;
994141e6 522 }
d14a1e28
RD
523 if (obj5) {
524 {
525 arg6 = wxString_in_helper(obj5);
526 if (arg6 == NULL) SWIG_fail;
e811c8ce 527 temp6 = True;
d14a1e28
RD
528 }
529 }
530 {
0439c23b 531 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
532 PyThreadState* __tstate = wxPyBeginAllowThreads();
533 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
534
535 wxPyEndAllowThreads(__tstate);
0439c23b 536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 537 }
15afbcd0 538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
539 {
540 if (temp6)
541 delete arg6;
542 }
543 return resultobj;
544 fail:
545 {
546 if (temp6)
547 delete arg6;
548 }
549 return NULL;
550}
551
552
a95a7133 553static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
554 PyObject *resultobj;
555 wxStyledTextCtrl *result;
556 char *kwnames[] = {
557 NULL
558 };
559
560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
561 {
0439c23b 562 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
563 PyThreadState* __tstate = wxPyBeginAllowThreads();
564 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
565
566 wxPyEndAllowThreads(__tstate);
0439c23b 567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 568 }
15afbcd0 569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
570 return resultobj;
571 fail:
572 return NULL;
573}
574
575
a95a7133 576static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
577 PyObject *resultobj;
578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
579 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 580 int arg3 ;
d14a1e28
RD
581 wxPoint const &arg4_defvalue = wxDefaultPosition ;
582 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
583 wxSize const &arg5_defvalue = wxDefaultSize ;
584 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
585 long arg6 = (long) 0 ;
586 wxString const &arg7_defvalue = wxSTCNameStr ;
587 wxString *arg7 = (wxString *) &arg7_defvalue ;
588 wxPoint temp4 ;
589 wxSize temp5 ;
e811c8ce 590 bool temp7 = False ;
d14a1e28
RD
591 PyObject * obj0 = 0 ;
592 PyObject * obj1 = 0 ;
994141e6 593 PyObject * obj2 = 0 ;
d14a1e28
RD
594 PyObject * obj3 = 0 ;
595 PyObject * obj4 = 0 ;
994141e6 596 PyObject * obj5 = 0 ;
d14a1e28
RD
597 PyObject * obj6 = 0 ;
598 char *kwnames[] = {
599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
600 };
601
994141e6 602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
607 arg3 = (int) SWIG_AsInt(obj2);
608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
609 if (obj3) {
610 {
611 arg4 = &temp4;
612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
613 }
614 }
615 if (obj4) {
616 {
617 arg5 = &temp5;
618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
619 }
620 }
994141e6 621 if (obj5) {
15afbcd0
RD
622 arg6 = (long) SWIG_AsLong(obj5);
623 if (PyErr_Occurred()) SWIG_fail;
994141e6 624 }
d14a1e28
RD
625 if (obj6) {
626 {
627 arg7 = wxString_in_helper(obj6);
628 if (arg7 == NULL) SWIG_fail;
e811c8ce 629 temp7 = True;
d14a1e28
RD
630 }
631 }
632 {
633 PyThreadState* __tstate = wxPyBeginAllowThreads();
634 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
635
636 wxPyEndAllowThreads(__tstate);
637 if (PyErr_Occurred()) SWIG_fail;
638 }
639 Py_INCREF(Py_None); resultobj = Py_None;
640 {
641 if (temp7)
642 delete arg7;
643 }
644 return resultobj;
645 fail:
646 {
647 if (temp7)
648 delete arg7;
649 }
650 return NULL;
651}
652
653
a95a7133 654static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
655 PyObject *resultobj;
656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
657 wxString *arg2 = 0 ;
e811c8ce 658 bool temp2 = False ;
d14a1e28
RD
659 PyObject * obj0 = 0 ;
660 PyObject * obj1 = 0 ;
661 char *kwnames[] = {
662 (char *) "self",(char *) "text", NULL
663 };
664
665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
668 {
669 arg2 = wxString_in_helper(obj1);
670 if (arg2 == NULL) SWIG_fail;
e811c8ce 671 temp2 = True;
d14a1e28
RD
672 }
673 {
674 PyThreadState* __tstate = wxPyBeginAllowThreads();
675 (arg1)->AddText((wxString const &)*arg2);
676
677 wxPyEndAllowThreads(__tstate);
678 if (PyErr_Occurred()) SWIG_fail;
679 }
680 Py_INCREF(Py_None); resultobj = Py_None;
681 {
682 if (temp2)
683 delete arg2;
684 }
685 return resultobj;
686 fail:
687 {
688 if (temp2)
689 delete arg2;
690 }
691 return NULL;
692}
693
694
a95a7133 695static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
696 PyObject *resultobj;
697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
698 wxMemoryBuffer *arg2 = 0 ;
3adfb63b 699 bool temp2 = False ;
d14a1e28
RD
700 PyObject * obj0 = 0 ;
701 PyObject * obj1 = 0 ;
702 char *kwnames[] = {
703 (char *) "self",(char *) "data", NULL
704 };
705
706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
709 {
710 if (!PyString_Check(obj1)) {
711 PyErr_SetString(PyExc_TypeError, "String buffer expected");
712 SWIG_fail;
713 }
714 char* str = PyString_AS_STRING(obj1);
715 int len = PyString_GET_SIZE(obj1);
716 arg2 = new wxMemoryBuffer(len);
717 temp2 = True;
718 memcpy(arg2->GetData(), str, len);
0346c964 719 arg2->SetDataLen(len);
d14a1e28
RD
720 }
721 {
722 PyThreadState* __tstate = wxPyBeginAllowThreads();
723 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
724
725 wxPyEndAllowThreads(__tstate);
726 if (PyErr_Occurred()) SWIG_fail;
727 }
728 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
729 {
730 if (temp2) delete arg2;
731 }
d14a1e28
RD
732 return resultobj;
733 fail:
3adfb63b
RD
734 {
735 if (temp2) delete arg2;
736 }
d14a1e28
RD
737 return NULL;
738}
739
740
a95a7133 741static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
742 PyObject *resultobj;
743 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
744 int arg2 ;
745 wxString *arg3 = 0 ;
e811c8ce 746 bool temp3 = False ;
d14a1e28 747 PyObject * obj0 = 0 ;
994141e6 748 PyObject * obj1 = 0 ;
d14a1e28
RD
749 PyObject * obj2 = 0 ;
750 char *kwnames[] = {
751 (char *) "self",(char *) "pos",(char *) "text", NULL
752 };
753
994141e6 754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
757 arg2 = (int) SWIG_AsInt(obj1);
758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
759 {
760 arg3 = wxString_in_helper(obj2);
761 if (arg3 == NULL) SWIG_fail;
e811c8ce 762 temp3 = True;
d14a1e28
RD
763 }
764 {
765 PyThreadState* __tstate = wxPyBeginAllowThreads();
766 (arg1)->InsertText(arg2,(wxString const &)*arg3);
767
768 wxPyEndAllowThreads(__tstate);
769 if (PyErr_Occurred()) SWIG_fail;
770 }
771 Py_INCREF(Py_None); resultobj = Py_None;
772 {
773 if (temp3)
774 delete arg3;
775 }
776 return resultobj;
777 fail:
778 {
779 if (temp3)
780 delete arg3;
781 }
782 return NULL;
783}
784
785
a95a7133 786static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
787 PyObject *resultobj;
788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
789 PyObject * obj0 = 0 ;
790 char *kwnames[] = {
791 (char *) "self", NULL
792 };
793
794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
797 {
798 PyThreadState* __tstate = wxPyBeginAllowThreads();
799 (arg1)->ClearAll();
800
801 wxPyEndAllowThreads(__tstate);
802 if (PyErr_Occurred()) SWIG_fail;
803 }
804 Py_INCREF(Py_None); resultobj = Py_None;
805 return resultobj;
806 fail:
807 return NULL;
808}
809
810
a95a7133 811static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
812 PyObject *resultobj;
813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
814 PyObject * obj0 = 0 ;
815 char *kwnames[] = {
816 (char *) "self", NULL
817 };
818
819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
822 {
823 PyThreadState* __tstate = wxPyBeginAllowThreads();
824 (arg1)->ClearDocumentStyle();
825
826 wxPyEndAllowThreads(__tstate);
827 if (PyErr_Occurred()) SWIG_fail;
828 }
829 Py_INCREF(Py_None); resultobj = Py_None;
830 return resultobj;
831 fail:
832 return NULL;
833}
834
835
a95a7133 836static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
837 PyObject *resultobj;
838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
839 int result;
840 PyObject * obj0 = 0 ;
841 char *kwnames[] = {
842 (char *) "self", NULL
843 };
844
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
848 {
849 PyThreadState* __tstate = wxPyBeginAllowThreads();
850 result = (int)(arg1)->GetLength();
851
852 wxPyEndAllowThreads(__tstate);
853 if (PyErr_Occurred()) SWIG_fail;
854 }
15afbcd0 855 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
856 return resultobj;
857 fail:
858 return NULL;
859}
860
861
a95a7133 862static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
863 PyObject *resultobj;
864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
865 int arg2 ;
866 int result;
867 PyObject * obj0 = 0 ;
994141e6 868 PyObject * obj1 = 0 ;
d14a1e28
RD
869 char *kwnames[] = {
870 (char *) "self",(char *) "pos", NULL
871 };
872
994141e6 873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
876 arg2 = (int) SWIG_AsInt(obj1);
877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
878 {
879 PyThreadState* __tstate = wxPyBeginAllowThreads();
880 result = (int)(arg1)->GetCharAt(arg2);
881
882 wxPyEndAllowThreads(__tstate);
883 if (PyErr_Occurred()) SWIG_fail;
884 }
15afbcd0 885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
886 return resultobj;
887 fail:
888 return NULL;
889}
890
891
a95a7133 892static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
893 PyObject *resultobj;
894 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
895 int result;
896 PyObject * obj0 = 0 ;
897 char *kwnames[] = {
898 (char *) "self", NULL
899 };
900
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
904 {
905 PyThreadState* __tstate = wxPyBeginAllowThreads();
906 result = (int)(arg1)->GetCurrentPos();
907
908 wxPyEndAllowThreads(__tstate);
909 if (PyErr_Occurred()) SWIG_fail;
910 }
15afbcd0 911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
912 return resultobj;
913 fail:
914 return NULL;
915}
916
917
a95a7133 918static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
919 PyObject *resultobj;
920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
921 int result;
922 PyObject * obj0 = 0 ;
923 char *kwnames[] = {
924 (char *) "self", NULL
925 };
926
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
930 {
931 PyThreadState* __tstate = wxPyBeginAllowThreads();
932 result = (int)(arg1)->GetAnchor();
933
934 wxPyEndAllowThreads(__tstate);
935 if (PyErr_Occurred()) SWIG_fail;
936 }
15afbcd0 937 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
938 return resultobj;
939 fail:
940 return NULL;
941}
942
943
a95a7133 944static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
945 PyObject *resultobj;
946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
947 int arg2 ;
948 int result;
949 PyObject * obj0 = 0 ;
994141e6 950 PyObject * obj1 = 0 ;
d14a1e28
RD
951 char *kwnames[] = {
952 (char *) "self",(char *) "pos", NULL
953 };
954
994141e6 955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
958 arg2 = (int) SWIG_AsInt(obj1);
959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
960 {
961 PyThreadState* __tstate = wxPyBeginAllowThreads();
962 result = (int)(arg1)->GetStyleAt(arg2);
963
964 wxPyEndAllowThreads(__tstate);
965 if (PyErr_Occurred()) SWIG_fail;
966 }
15afbcd0 967 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
968 return resultobj;
969 fail:
970 return NULL;
971}
972
973
a95a7133 974static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
975 PyObject *resultobj;
976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
977 PyObject * obj0 = 0 ;
978 char *kwnames[] = {
979 (char *) "self", NULL
980 };
981
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
985 {
986 PyThreadState* __tstate = wxPyBeginAllowThreads();
987 (arg1)->Redo();
988
989 wxPyEndAllowThreads(__tstate);
990 if (PyErr_Occurred()) SWIG_fail;
991 }
992 Py_INCREF(Py_None); resultobj = Py_None;
993 return resultobj;
994 fail:
995 return NULL;
996}
997
998
a95a7133 999static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1000 PyObject *resultobj;
1001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1002 bool arg2 ;
1003 PyObject * obj0 = 0 ;
1004 PyObject * obj1 = 0 ;
1005 char *kwnames[] = {
1006 (char *) "self",(char *) "collectUndo", NULL
1007 };
1008
1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1012 arg2 = (bool) SWIG_AsBool(obj1);
1013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1014 {
1015 PyThreadState* __tstate = wxPyBeginAllowThreads();
1016 (arg1)->SetUndoCollection(arg2);
1017
1018 wxPyEndAllowThreads(__tstate);
1019 if (PyErr_Occurred()) SWIG_fail;
1020 }
1021 Py_INCREF(Py_None); resultobj = Py_None;
1022 return resultobj;
1023 fail:
1024 return NULL;
1025}
1026
1027
a95a7133 1028static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1029 PyObject *resultobj;
1030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1031 PyObject * obj0 = 0 ;
1032 char *kwnames[] = {
1033 (char *) "self", NULL
1034 };
1035
1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
1037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1039 {
1040 PyThreadState* __tstate = wxPyBeginAllowThreads();
1041 (arg1)->SelectAll();
1042
1043 wxPyEndAllowThreads(__tstate);
1044 if (PyErr_Occurred()) SWIG_fail;
1045 }
1046 Py_INCREF(Py_None); resultobj = Py_None;
1047 return resultobj;
1048 fail:
1049 return NULL;
1050}
1051
1052
a95a7133 1053static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1054 PyObject *resultobj;
1055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1056 PyObject * obj0 = 0 ;
1057 char *kwnames[] = {
1058 (char *) "self", NULL
1059 };
1060
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
1062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1064 {
1065 PyThreadState* __tstate = wxPyBeginAllowThreads();
1066 (arg1)->SetSavePoint();
1067
1068 wxPyEndAllowThreads(__tstate);
1069 if (PyErr_Occurred()) SWIG_fail;
1070 }
1071 Py_INCREF(Py_None); resultobj = Py_None;
1072 return resultobj;
1073 fail:
1074 return NULL;
1075}
1076
1077
a95a7133 1078static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1079 PyObject *resultobj;
1080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1081 int arg2 ;
1082 int arg3 ;
1083 wxMemoryBuffer result;
1084 PyObject * obj0 = 0 ;
994141e6
RD
1085 PyObject * obj1 = 0 ;
1086 PyObject * obj2 = 0 ;
d14a1e28
RD
1087 char *kwnames[] = {
1088 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1089 };
1090
994141e6 1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1094 arg2 = (int) SWIG_AsInt(obj1);
1095 if (PyErr_Occurred()) SWIG_fail;
1096 arg3 = (int) SWIG_AsInt(obj2);
1097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1098 {
1099 PyThreadState* __tstate = wxPyBeginAllowThreads();
1100 result = (arg1)->GetStyledText(arg2,arg3);
1101
1102 wxPyEndAllowThreads(__tstate);
1103 if (PyErr_Occurred()) SWIG_fail;
1104 }
1105 {
3adfb63b 1106 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
d14a1e28
RD
1107 }
1108 return resultobj;
1109 fail:
1110 return NULL;
1111}
1112
1113
a95a7133 1114static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1115 PyObject *resultobj;
1116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1117 bool result;
1118 PyObject * obj0 = 0 ;
1119 char *kwnames[] = {
1120 (char *) "self", NULL
1121 };
1122
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
1124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1126 {
1127 PyThreadState* __tstate = wxPyBeginAllowThreads();
1128 result = (bool)(arg1)->CanRedo();
1129
1130 wxPyEndAllowThreads(__tstate);
1131 if (PyErr_Occurred()) SWIG_fail;
1132 }
4f89f6a3
RD
1133 {
1134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1135 }
d14a1e28
RD
1136 return resultobj;
1137 fail:
1138 return NULL;
1139}
1140
1141
a95a7133 1142static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1143 PyObject *resultobj;
1144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1145 int arg2 ;
1146 int result;
1147 PyObject * obj0 = 0 ;
994141e6 1148 PyObject * obj1 = 0 ;
d14a1e28
RD
1149 char *kwnames[] = {
1150 (char *) "self",(char *) "handle", NULL
1151 };
1152
994141e6 1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1156 arg2 = (int) SWIG_AsInt(obj1);
1157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1158 {
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
15afbcd0 1165 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1166 return resultobj;
1167 fail:
1168 return NULL;
1169}
1170
1171
a95a7133 1172static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1173 PyObject *resultobj;
1174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1175 int arg2 ;
1176 PyObject * obj0 = 0 ;
994141e6 1177 PyObject * obj1 = 0 ;
d14a1e28
RD
1178 char *kwnames[] = {
1179 (char *) "self",(char *) "handle", NULL
1180 };
1181
994141e6 1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1185 arg2 = (int) SWIG_AsInt(obj1);
1186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 (arg1)->MarkerDeleteHandle(arg2);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) SWIG_fail;
1193 }
1194 Py_INCREF(Py_None); resultobj = Py_None;
1195 return resultobj;
1196 fail:
1197 return NULL;
1198}
1199
1200
a95a7133 1201static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1202 PyObject *resultobj;
1203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1204 bool result;
1205 PyObject * obj0 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
15afbcd0
RD
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1213 {
1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
1215 result = (bool)(arg1)->GetUndoCollection();
1216
1217 wxPyEndAllowThreads(__tstate);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
4f89f6a3
RD
1220 {
1221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1222 }
d14a1e28
RD
1223 return resultobj;
1224 fail:
1225 return NULL;
1226}
1227
1228
a95a7133 1229static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1230 PyObject *resultobj;
1231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1232 int result;
1233 PyObject * obj0 = 0 ;
1234 char *kwnames[] = {
1235 (char *) "self", NULL
1236 };
1237
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
15afbcd0
RD
1239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1241 {
1242 PyThreadState* __tstate = wxPyBeginAllowThreads();
1243 result = (int)(arg1)->GetViewWhiteSpace();
1244
1245 wxPyEndAllowThreads(__tstate);
1246 if (PyErr_Occurred()) SWIG_fail;
1247 }
15afbcd0 1248 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1249 return resultobj;
1250 fail:
1251 return NULL;
1252}
1253
1254
a95a7133 1255static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1256 PyObject *resultobj;
1257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1258 int arg2 ;
1259 PyObject * obj0 = 0 ;
994141e6 1260 PyObject * obj1 = 0 ;
d14a1e28
RD
1261 char *kwnames[] = {
1262 (char *) "self",(char *) "viewWS", NULL
1263 };
1264
994141e6 1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1268 arg2 = (int) SWIG_AsInt(obj1);
1269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 (arg1)->SetViewWhiteSpace(arg2);
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281}
1282
1283
a95a7133 1284static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1285 PyObject *resultobj;
1286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1287 wxPoint arg2 ;
1288 int result;
1289 wxPoint *argp2 ;
1290 PyObject * obj0 = 0 ;
1291 PyObject * obj1 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "self",(char *) "pt", NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1299 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1300 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1301 arg2 = *argp2;
d14a1e28
RD
1302 {
1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
1304 result = (int)(arg1)->PositionFromPoint(arg2);
1305
1306 wxPyEndAllowThreads(__tstate);
1307 if (PyErr_Occurred()) SWIG_fail;
1308 }
15afbcd0 1309 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1310 return resultobj;
1311 fail:
1312 return NULL;
1313}
1314
1315
a95a7133 1316static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1317 PyObject *resultobj;
1318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1319 int arg2 ;
1320 int arg3 ;
1321 int result;
1322 PyObject * obj0 = 0 ;
994141e6
RD
1323 PyObject * obj1 = 0 ;
1324 PyObject * obj2 = 0 ;
d14a1e28
RD
1325 char *kwnames[] = {
1326 (char *) "self",(char *) "x",(char *) "y", NULL
1327 };
1328
994141e6 1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1332 arg2 = (int) SWIG_AsInt(obj1);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 arg3 = (int) SWIG_AsInt(obj2);
1335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
15afbcd0 1343 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1344 return resultobj;
1345 fail:
1346 return NULL;
1347}
1348
1349
a95a7133 1350static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1351 PyObject *resultobj;
1352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1353 int arg2 ;
1354 PyObject * obj0 = 0 ;
994141e6 1355 PyObject * obj1 = 0 ;
d14a1e28
RD
1356 char *kwnames[] = {
1357 (char *) "self",(char *) "line", NULL
1358 };
1359
994141e6 1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1363 arg2 = (int) SWIG_AsInt(obj1);
1364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 (arg1)->GotoLine(arg2);
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 Py_INCREF(Py_None); resultobj = Py_None;
1373 return resultobj;
1374 fail:
1375 return NULL;
1376}
1377
1378
a95a7133 1379static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1380 PyObject *resultobj;
1381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1382 int arg2 ;
1383 PyObject * obj0 = 0 ;
994141e6 1384 PyObject * obj1 = 0 ;
d14a1e28
RD
1385 char *kwnames[] = {
1386 (char *) "self",(char *) "pos", NULL
1387 };
1388
994141e6 1389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1392 arg2 = (int) SWIG_AsInt(obj1);
1393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 (arg1)->GotoPos(arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 Py_INCREF(Py_None); resultobj = Py_None;
1402 return resultobj;
1403 fail:
1404 return NULL;
1405}
1406
1407
a95a7133 1408static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1409 PyObject *resultobj;
1410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1411 int arg2 ;
1412 PyObject * obj0 = 0 ;
994141e6 1413 PyObject * obj1 = 0 ;
d14a1e28
RD
1414 char *kwnames[] = {
1415 (char *) "self",(char *) "posAnchor", NULL
1416 };
1417
994141e6 1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1421 arg2 = (int) SWIG_AsInt(obj1);
1422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1423 {
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 (arg1)->SetAnchor(arg2);
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 Py_INCREF(Py_None); resultobj = Py_None;
1431 return resultobj;
1432 fail:
1433 return NULL;
1434}
1435
1436
a95a7133 1437static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1438 PyObject *resultobj;
1439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1440 int *arg2 = (int *) 0 ;
1441 wxString result;
1442 int temp2 ;
1443 PyObject * obj0 = 0 ;
1444 char *kwnames[] = {
1445 (char *) "self", NULL
1446 };
1447
1448 arg2 = &temp2;
1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
1450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 result = (arg1)->GetCurLine(arg2);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 {
1460#if wxUSE_UNICODE
1461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1462#else
1463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1464#endif
1465 }
1466 {
1467 PyObject *o = PyInt_FromLong((long) (*arg2));
1468 resultobj = t_output_helper(resultobj,o);
1469 }
1470 return resultobj;
1471 fail:
1472 return NULL;
1473}
1474
1475
a95a7133 1476static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1477 PyObject *resultobj;
1478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1479 int result;
1480 PyObject * obj0 = 0 ;
1481 char *kwnames[] = {
1482 (char *) "self", NULL
1483 };
1484
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (int)(arg1)->GetEndStyled();
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
15afbcd0 1495 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1496 return resultobj;
1497 fail:
1498 return NULL;
1499}
1500
1501
a95a7133 1502static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1503 PyObject *resultobj;
1504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1505 int arg2 ;
1506 PyObject * obj0 = 0 ;
994141e6 1507 PyObject * obj1 = 0 ;
d14a1e28
RD
1508 char *kwnames[] = {
1509 (char *) "self",(char *) "eolMode", NULL
1510 };
1511
994141e6 1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1515 arg2 = (int) SWIG_AsInt(obj1);
1516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 (arg1)->ConvertEOLs(arg2);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 Py_INCREF(Py_None); resultobj = Py_None;
1525 return resultobj;
1526 fail:
1527 return NULL;
1528}
1529
1530
a95a7133 1531static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1532 PyObject *resultobj;
1533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1534 int result;
1535 PyObject * obj0 = 0 ;
1536 char *kwnames[] = {
1537 (char *) "self", NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
1541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1543 {
1544 PyThreadState* __tstate = wxPyBeginAllowThreads();
1545 result = (int)(arg1)->GetEOLMode();
1546
1547 wxPyEndAllowThreads(__tstate);
1548 if (PyErr_Occurred()) SWIG_fail;
1549 }
15afbcd0 1550 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1551 return resultobj;
1552 fail:
1553 return NULL;
1554}
1555
1556
a95a7133 1557static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1558 PyObject *resultobj;
1559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1560 int arg2 ;
1561 PyObject * obj0 = 0 ;
994141e6 1562 PyObject * obj1 = 0 ;
d14a1e28
RD
1563 char *kwnames[] = {
1564 (char *) "self",(char *) "eolMode", NULL
1565 };
1566
994141e6 1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1570 arg2 = (int) SWIG_AsInt(obj1);
1571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 (arg1)->SetEOLMode(arg2);
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 Py_INCREF(Py_None); resultobj = Py_None;
1580 return resultobj;
1581 fail:
1582 return NULL;
1583}
1584
1585
a95a7133 1586static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1587 PyObject *resultobj;
1588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1589 int arg2 ;
1590 int arg3 ;
1591 PyObject * obj0 = 0 ;
994141e6
RD
1592 PyObject * obj1 = 0 ;
1593 PyObject * obj2 = 0 ;
d14a1e28
RD
1594 char *kwnames[] = {
1595 (char *) "self",(char *) "pos",(char *) "mask", NULL
1596 };
1597
994141e6 1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1601 arg2 = (int) SWIG_AsInt(obj1);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 arg3 = (int) SWIG_AsInt(obj2);
1604 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 (arg1)->StartStyling(arg2,arg3);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
a95a7133 1619static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1620 PyObject *resultobj;
1621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1622 int arg2 ;
1623 int arg3 ;
1624 PyObject * obj0 = 0 ;
994141e6
RD
1625 PyObject * obj1 = 0 ;
1626 PyObject * obj2 = 0 ;
d14a1e28
RD
1627 char *kwnames[] = {
1628 (char *) "self",(char *) "length",(char *) "style", NULL
1629 };
1630
994141e6 1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1634 arg2 = (int) SWIG_AsInt(obj1);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 arg3 = (int) SWIG_AsInt(obj2);
1637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 (arg1)->SetStyling(arg2,arg3);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 Py_INCREF(Py_None); resultobj = Py_None;
1646 return resultobj;
1647 fail:
1648 return NULL;
1649}
1650
1651
a95a7133 1652static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1653 PyObject *resultobj;
1654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1655 bool result;
1656 PyObject * obj0 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
15afbcd0
RD
1662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1664 {
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 result = (bool)(arg1)->GetBufferedDraw();
1667
1668 wxPyEndAllowThreads(__tstate);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
4f89f6a3
RD
1671 {
1672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1673 }
d14a1e28
RD
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
a95a7133 1680static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1681 PyObject *resultobj;
1682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1683 bool arg2 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "buffered", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1693 arg2 = (bool) SWIG_AsBool(obj1);
1694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 (arg1)->SetBufferedDraw(arg2);
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 Py_INCREF(Py_None); resultobj = Py_None;
1703 return resultobj;
1704 fail:
1705 return NULL;
1706}
1707
1708
a95a7133 1709static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1710 PyObject *resultobj;
1711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1712 int arg2 ;
1713 PyObject * obj0 = 0 ;
994141e6 1714 PyObject * obj1 = 0 ;
d14a1e28
RD
1715 char *kwnames[] = {
1716 (char *) "self",(char *) "tabWidth", NULL
1717 };
1718
994141e6 1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1722 arg2 = (int) SWIG_AsInt(obj1);
1723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 (arg1)->SetTabWidth(arg2);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 Py_INCREF(Py_None); resultobj = Py_None;
1732 return resultobj;
1733 fail:
1734 return NULL;
1735}
1736
1737
a95a7133 1738static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1739 PyObject *resultobj;
1740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1741 int result;
1742 PyObject * obj0 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 result = (int)(arg1)->GetTabWidth();
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
15afbcd0 1757 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1758 return resultobj;
1759 fail:
1760 return NULL;
1761}
1762
1763
a95a7133 1764static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1765 PyObject *resultobj;
1766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1767 int arg2 ;
1768 PyObject * obj0 = 0 ;
994141e6 1769 PyObject * obj1 = 0 ;
d14a1e28
RD
1770 char *kwnames[] = {
1771 (char *) "self",(char *) "codePage", NULL
1772 };
1773
994141e6 1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1777 arg2 = (int) SWIG_AsInt(obj1);
1778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1779 {
1780 PyThreadState* __tstate = wxPyBeginAllowThreads();
1781 (arg1)->SetCodePage(arg2);
1782
1783 wxPyEndAllowThreads(__tstate);
1784 if (PyErr_Occurred()) SWIG_fail;
1785 }
1786 Py_INCREF(Py_None); resultobj = Py_None;
1787 return resultobj;
1788 fail:
1789 return NULL;
1790}
1791
1792
a95a7133 1793static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1794 PyObject *resultobj;
1795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1796 int arg2 ;
1797 int arg3 ;
1798 wxColour const &arg4_defvalue = wxNullColour ;
1799 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1800 wxColour const &arg5_defvalue = wxNullColour ;
1801 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1802 wxColour temp4 ;
1803 wxColour temp5 ;
1804 PyObject * obj0 = 0 ;
994141e6
RD
1805 PyObject * obj1 = 0 ;
1806 PyObject * obj2 = 0 ;
d14a1e28
RD
1807 PyObject * obj3 = 0 ;
1808 PyObject * obj4 = 0 ;
1809 char *kwnames[] = {
1810 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1811 };
1812
994141e6 1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
1814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1816 arg2 = (int) SWIG_AsInt(obj1);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 arg3 = (int) SWIG_AsInt(obj2);
1819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1820 if (obj3) {
1821 {
1822 arg4 = &temp4;
1823 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1824 }
1825 }
1826 if (obj4) {
1827 {
1828 arg5 = &temp5;
1829 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1830 }
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 return resultobj;
1841 fail:
1842 return NULL;
1843}
1844
1845
a95a7133 1846static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1847 PyObject *resultobj;
1848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1849 int arg2 ;
1850 wxColour *arg3 = 0 ;
1851 wxColour temp3 ;
1852 PyObject * obj0 = 0 ;
994141e6 1853 PyObject * obj1 = 0 ;
d14a1e28
RD
1854 PyObject * obj2 = 0 ;
1855 char *kwnames[] = {
1856 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1857 };
1858
994141e6 1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1862 arg2 = (int) SWIG_AsInt(obj1);
1863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1864 {
1865 arg3 = &temp3;
1866 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1867 }
1868 {
1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
1870 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1871
1872 wxPyEndAllowThreads(__tstate);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 }
1875 Py_INCREF(Py_None); resultobj = Py_None;
1876 return resultobj;
1877 fail:
1878 return NULL;
1879}
1880
1881
a95a7133 1882static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1883 PyObject *resultobj;
1884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1885 int arg2 ;
1886 wxColour *arg3 = 0 ;
1887 wxColour temp3 ;
1888 PyObject * obj0 = 0 ;
994141e6 1889 PyObject * obj1 = 0 ;
d14a1e28
RD
1890 PyObject * obj2 = 0 ;
1891 char *kwnames[] = {
1892 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1893 };
1894
994141e6 1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1898 arg2 = (int) SWIG_AsInt(obj1);
1899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1900 {
1901 arg3 = &temp3;
1902 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1903 }
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 }
1911 Py_INCREF(Py_None); resultobj = Py_None;
1912 return resultobj;
1913 fail:
1914 return NULL;
1915}
1916
1917
a95a7133 1918static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1919 PyObject *resultobj;
1920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1921 int arg2 ;
1922 int arg3 ;
1923 int result;
1924 PyObject * obj0 = 0 ;
994141e6
RD
1925 PyObject * obj1 = 0 ;
1926 PyObject * obj2 = 0 ;
d14a1e28
RD
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1929 };
1930
994141e6 1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 arg2 = (int) SWIG_AsInt(obj1);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 arg3 = (int) SWIG_AsInt(obj2);
1937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
15afbcd0 1945 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1946 return resultobj;
1947 fail:
1948 return NULL;
1949}
1950
1951
a95a7133 1952static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1953 PyObject *resultobj;
1954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1955 int arg2 ;
1956 int arg3 ;
1957 PyObject * obj0 = 0 ;
994141e6
RD
1958 PyObject * obj1 = 0 ;
1959 PyObject * obj2 = 0 ;
d14a1e28
RD
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1962 };
1963
994141e6 1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1967 arg2 = (int) SWIG_AsInt(obj1);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 arg3 = (int) SWIG_AsInt(obj2);
1970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1971 {
1972 PyThreadState* __tstate = wxPyBeginAllowThreads();
1973 (arg1)->MarkerDelete(arg2,arg3);
1974
1975 wxPyEndAllowThreads(__tstate);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 }
1978 Py_INCREF(Py_None); resultobj = Py_None;
1979 return resultobj;
1980 fail:
1981 return NULL;
1982}
1983
1984
a95a7133 1985static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1986 PyObject *resultobj;
1987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1988 int arg2 ;
1989 PyObject * obj0 = 0 ;
994141e6 1990 PyObject * obj1 = 0 ;
d14a1e28
RD
1991 char *kwnames[] = {
1992 (char *) "self",(char *) "markerNumber", NULL
1993 };
1994
994141e6 1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1998 arg2 = (int) SWIG_AsInt(obj1);
1999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 (arg1)->MarkerDeleteAll(arg2);
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
a95a7133 2014static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2015 PyObject *resultobj;
2016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2017 int arg2 ;
2018 int result;
2019 PyObject * obj0 = 0 ;
994141e6 2020 PyObject * obj1 = 0 ;
d14a1e28
RD
2021 char *kwnames[] = {
2022 (char *) "self",(char *) "line", NULL
2023 };
2024
994141e6 2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2028 arg2 = (int) SWIG_AsInt(obj1);
2029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 result = (int)(arg1)->MarkerGet(arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
15afbcd0 2037 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2038 return resultobj;
2039 fail:
2040 return NULL;
2041}
2042
2043
a95a7133 2044static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2045 PyObject *resultobj;
2046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2047 int arg2 ;
2048 int arg3 ;
2049 int result;
2050 PyObject * obj0 = 0 ;
994141e6
RD
2051 PyObject * obj1 = 0 ;
2052 PyObject * obj2 = 0 ;
d14a1e28
RD
2053 char *kwnames[] = {
2054 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2055 };
2056
994141e6 2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2060 arg2 = (int) SWIG_AsInt(obj1);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 arg3 = (int) SWIG_AsInt(obj2);
2063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (int)(arg1)->MarkerNext(arg2,arg3);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
15afbcd0 2071 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2072 return resultobj;
2073 fail:
2074 return NULL;
2075}
2076
2077
a95a7133 2078static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2079 PyObject *resultobj;
2080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2081 int arg2 ;
2082 int arg3 ;
2083 int result;
2084 PyObject * obj0 = 0 ;
994141e6
RD
2085 PyObject * obj1 = 0 ;
2086 PyObject * obj2 = 0 ;
d14a1e28
RD
2087 char *kwnames[] = {
2088 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2089 };
2090
994141e6 2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2094 arg2 = (int) SWIG_AsInt(obj1);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 arg3 = (int) SWIG_AsInt(obj2);
2097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2098 {
2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
2100 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2101
2102 wxPyEndAllowThreads(__tstate);
2103 if (PyErr_Occurred()) SWIG_fail;
2104 }
15afbcd0 2105 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2106 return resultobj;
2107 fail:
2108 return NULL;
2109}
2110
2111
a95a7133 2112static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2113 PyObject *resultobj;
2114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2115 int arg2 ;
2116 wxBitmap *arg3 = 0 ;
2117 PyObject * obj0 = 0 ;
994141e6 2118 PyObject * obj1 = 0 ;
d14a1e28
RD
2119 PyObject * obj2 = 0 ;
2120 char *kwnames[] = {
2121 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2122 };
2123
994141e6 2124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2127 arg2 = (int) SWIG_AsInt(obj1);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2130 SWIG_POINTER_EXCEPTION | 0)) == -1)
2131 SWIG_fail;
d14a1e28 2132 if (arg3 == NULL) {
15afbcd0
RD
2133 PyErr_SetString(PyExc_TypeError,"null reference");
2134 SWIG_fail;
d14a1e28
RD
2135 }
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 Py_INCREF(Py_None); resultobj = Py_None;
2144 return resultobj;
2145 fail:
2146 return NULL;
2147}
2148
2149
a95a7133 2150static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2151 PyObject *resultobj;
2152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2153 int arg2 ;
2154 int arg3 ;
2155 PyObject * obj0 = 0 ;
994141e6
RD
2156 PyObject * obj1 = 0 ;
2157 PyObject * obj2 = 0 ;
d14a1e28
RD
2158 char *kwnames[] = {
2159 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2160 };
2161
994141e6 2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2165 arg2 = (int) SWIG_AsInt(obj1);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 arg3 = (int) SWIG_AsInt(obj2);
2168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->SetMarginType(arg2,arg3);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
a95a7133 2183static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2184 PyObject *resultobj;
2185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2186 int arg2 ;
2187 int result;
2188 PyObject * obj0 = 0 ;
994141e6 2189 PyObject * obj1 = 0 ;
d14a1e28
RD
2190 char *kwnames[] = {
2191 (char *) "self",(char *) "margin", NULL
2192 };
2193
994141e6 2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2197 arg2 = (int) SWIG_AsInt(obj1);
2198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (int)(arg1)->GetMarginType(arg2);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
15afbcd0 2206 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2207 return resultobj;
2208 fail:
2209 return NULL;
2210}
2211
2212
a95a7133 2213static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2214 PyObject *resultobj;
2215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2216 int arg2 ;
2217 int arg3 ;
2218 PyObject * obj0 = 0 ;
994141e6
RD
2219 PyObject * obj1 = 0 ;
2220 PyObject * obj2 = 0 ;
d14a1e28
RD
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2223 };
2224
994141e6 2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 arg2 = (int) SWIG_AsInt(obj1);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 arg3 = (int) SWIG_AsInt(obj2);
2231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 (arg1)->SetMarginWidth(arg2,arg3);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 Py_INCREF(Py_None); resultobj = Py_None;
2240 return resultobj;
2241 fail:
2242 return NULL;
2243}
2244
2245
a95a7133 2246static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2247 PyObject *resultobj;
2248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2249 int arg2 ;
2250 int result;
2251 PyObject * obj0 = 0 ;
994141e6 2252 PyObject * obj1 = 0 ;
d14a1e28
RD
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "margin", NULL
2255 };
2256
994141e6 2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2260 arg2 = (int) SWIG_AsInt(obj1);
2261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (int)(arg1)->GetMarginWidth(arg2);
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
15afbcd0 2269 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2270 return resultobj;
2271 fail:
2272 return NULL;
2273}
2274
2275
a95a7133 2276static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2277 PyObject *resultobj;
2278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2279 int arg2 ;
2280 int arg3 ;
2281 PyObject * obj0 = 0 ;
994141e6
RD
2282 PyObject * obj1 = 0 ;
2283 PyObject * obj2 = 0 ;
d14a1e28
RD
2284 char *kwnames[] = {
2285 (char *) "self",(char *) "margin",(char *) "mask", NULL
2286 };
2287
994141e6 2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2291 arg2 = (int) SWIG_AsInt(obj1);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 arg3 = (int) SWIG_AsInt(obj2);
2294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 (arg1)->SetMarginMask(arg2,arg3);
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 Py_INCREF(Py_None); resultobj = Py_None;
2303 return resultobj;
2304 fail:
2305 return NULL;
2306}
2307
2308
a95a7133 2309static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2310 PyObject *resultobj;
2311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2312 int arg2 ;
2313 int result;
2314 PyObject * obj0 = 0 ;
994141e6 2315 PyObject * obj1 = 0 ;
d14a1e28
RD
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "margin", NULL
2318 };
2319
994141e6 2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2323 arg2 = (int) SWIG_AsInt(obj1);
2324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 result = (int)(arg1)->GetMarginMask(arg2);
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
15afbcd0 2332 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
a95a7133 2339static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2340 PyObject *resultobj;
2341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2342 int arg2 ;
2343 bool arg3 ;
2344 PyObject * obj0 = 0 ;
994141e6 2345 PyObject * obj1 = 0 ;
d14a1e28
RD
2346 PyObject * obj2 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2349 };
2350
994141e6 2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2354 arg2 = (int) SWIG_AsInt(obj1);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 arg3 = (bool) SWIG_AsBool(obj2);
2357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 (arg1)->SetMarginSensitive(arg2,arg3);
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) SWIG_fail;
2364 }
2365 Py_INCREF(Py_None); resultobj = Py_None;
2366 return resultobj;
2367 fail:
2368 return NULL;
2369}
2370
2371
a95a7133 2372static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2373 PyObject *resultobj;
2374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2375 int arg2 ;
2376 bool result;
2377 PyObject * obj0 = 0 ;
994141e6 2378 PyObject * obj1 = 0 ;
d14a1e28
RD
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "margin", NULL
2381 };
2382
994141e6 2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 arg2 = (int) SWIG_AsInt(obj1);
2387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 result = (bool)(arg1)->GetMarginSensitive(arg2);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
4f89f6a3
RD
2395 {
2396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2397 }
d14a1e28
RD
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
a95a7133 2404static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2405 PyObject *resultobj;
2406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2407 PyObject * obj0 = 0 ;
2408 char *kwnames[] = {
2409 (char *) "self", NULL
2410 };
2411
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
2413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 (arg1)->StyleClearAll();
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 Py_INCREF(Py_None); resultobj = Py_None;
2423 return resultobj;
2424 fail:
2425 return NULL;
2426}
2427
2428
a95a7133 2429static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2430 PyObject *resultobj;
2431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2432 int arg2 ;
2433 wxColour *arg3 = 0 ;
2434 wxColour temp3 ;
2435 PyObject * obj0 = 0 ;
994141e6 2436 PyObject * obj1 = 0 ;
d14a1e28
RD
2437 PyObject * obj2 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "style",(char *) "fore", NULL
2440 };
2441
994141e6 2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2445 arg2 = (int) SWIG_AsInt(obj1);
2446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2447 {
2448 arg3 = &temp3;
2449 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2450 }
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
a95a7133 2465static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2466 PyObject *resultobj;
2467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2468 int arg2 ;
2469 wxColour *arg3 = 0 ;
2470 wxColour temp3 ;
2471 PyObject * obj0 = 0 ;
994141e6 2472 PyObject * obj1 = 0 ;
d14a1e28
RD
2473 PyObject * obj2 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self",(char *) "style",(char *) "back", NULL
2476 };
2477
994141e6 2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2481 arg2 = (int) SWIG_AsInt(obj1);
2482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2483 {
2484 arg3 = &temp3;
2485 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498}
2499
2500
a95a7133 2501static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2502 PyObject *resultobj;
2503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2504 int arg2 ;
2505 bool arg3 ;
2506 PyObject * obj0 = 0 ;
994141e6 2507 PyObject * obj1 = 0 ;
d14a1e28
RD
2508 PyObject * obj2 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "self",(char *) "style",(char *) "bold", NULL
2511 };
2512
994141e6 2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 arg2 = (int) SWIG_AsInt(obj1);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 arg3 = (bool) SWIG_AsBool(obj2);
2519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2520 {
2521 PyThreadState* __tstate = wxPyBeginAllowThreads();
2522 (arg1)->StyleSetBold(arg2,arg3);
2523
2524 wxPyEndAllowThreads(__tstate);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 Py_INCREF(Py_None); resultobj = Py_None;
2528 return resultobj;
2529 fail:
2530 return NULL;
2531}
2532
2533
a95a7133 2534static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2535 PyObject *resultobj;
2536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2537 int arg2 ;
2538 bool arg3 ;
2539 PyObject * obj0 = 0 ;
994141e6 2540 PyObject * obj1 = 0 ;
d14a1e28
RD
2541 PyObject * obj2 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self",(char *) "style",(char *) "italic", NULL
2544 };
2545
994141e6 2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2549 arg2 = (int) SWIG_AsInt(obj1);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 arg3 = (bool) SWIG_AsBool(obj2);
2552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 (arg1)->StyleSetItalic(arg2,arg3);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 Py_INCREF(Py_None); resultobj = Py_None;
2561 return resultobj;
2562 fail:
2563 return NULL;
2564}
2565
2566
a95a7133 2567static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2568 PyObject *resultobj;
2569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2570 int arg2 ;
2571 int arg3 ;
2572 PyObject * obj0 = 0 ;
994141e6
RD
2573 PyObject * obj1 = 0 ;
2574 PyObject * obj2 = 0 ;
d14a1e28
RD
2575 char *kwnames[] = {
2576 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2577 };
2578
994141e6 2579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2582 arg2 = (int) SWIG_AsInt(obj1);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 arg3 = (int) SWIG_AsInt(obj2);
2585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2586 {
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 (arg1)->StyleSetSize(arg2,arg3);
2589
2590 wxPyEndAllowThreads(__tstate);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 Py_INCREF(Py_None); resultobj = Py_None;
2594 return resultobj;
2595 fail:
2596 return NULL;
2597}
2598
2599
a95a7133 2600static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2601 PyObject *resultobj;
2602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2603 int arg2 ;
2604 wxString *arg3 = 0 ;
e811c8ce 2605 bool temp3 = False ;
d14a1e28 2606 PyObject * obj0 = 0 ;
994141e6 2607 PyObject * obj1 = 0 ;
d14a1e28
RD
2608 PyObject * obj2 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self",(char *) "style",(char *) "fontName", NULL
2611 };
2612
994141e6 2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2616 arg2 = (int) SWIG_AsInt(obj1);
2617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2618 {
2619 arg3 = wxString_in_helper(obj2);
2620 if (arg3 == NULL) SWIG_fail;
e811c8ce 2621 temp3 = True;
d14a1e28
RD
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 Py_INCREF(Py_None); resultobj = Py_None;
2631 {
2632 if (temp3)
2633 delete arg3;
2634 }
2635 return resultobj;
2636 fail:
2637 {
2638 if (temp3)
2639 delete arg3;
2640 }
2641 return NULL;
2642}
2643
2644
a95a7133 2645static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2646 PyObject *resultobj;
2647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2648 int arg2 ;
2649 bool arg3 ;
2650 PyObject * obj0 = 0 ;
994141e6 2651 PyObject * obj1 = 0 ;
d14a1e28
RD
2652 PyObject * obj2 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self",(char *) "style",(char *) "filled", NULL
2655 };
2656
994141e6 2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2660 arg2 = (int) SWIG_AsInt(obj1);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 arg3 = (bool) SWIG_AsBool(obj2);
2663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
2666 (arg1)->StyleSetEOLFilled(arg2,arg3);
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 return resultobj;
2673 fail:
2674 return NULL;
2675}
2676
2677
a95a7133 2678static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2679 PyObject *resultobj;
2680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2681 PyObject * obj0 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
2687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 (arg1)->StyleResetDefault();
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 Py_INCREF(Py_None); resultobj = Py_None;
2697 return resultobj;
2698 fail:
2699 return NULL;
2700}
2701
2702
a95a7133 2703static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2704 PyObject *resultobj;
2705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2706 int arg2 ;
2707 bool arg3 ;
2708 PyObject * obj0 = 0 ;
994141e6 2709 PyObject * obj1 = 0 ;
d14a1e28
RD
2710 PyObject * obj2 = 0 ;
2711 char *kwnames[] = {
2712 (char *) "self",(char *) "style",(char *) "underline", NULL
2713 };
2714
994141e6 2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2718 arg2 = (int) SWIG_AsInt(obj1);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 arg3 = (bool) SWIG_AsBool(obj2);
2721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 (arg1)->StyleSetUnderline(arg2,arg3);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733}
2734
2735
a95a7133 2736static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2737 PyObject *resultobj;
2738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2739 int arg2 ;
2740 int arg3 ;
2741 PyObject * obj0 = 0 ;
994141e6
RD
2742 PyObject * obj1 = 0 ;
2743 PyObject * obj2 = 0 ;
d14a1e28
RD
2744 char *kwnames[] = {
2745 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2746 };
2747
994141e6 2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2751 arg2 = (int) SWIG_AsInt(obj1);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 arg3 = (int) SWIG_AsInt(obj2);
2754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 (arg1)->StyleSetCase(arg2,arg3);
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 Py_INCREF(Py_None); resultobj = Py_None;
2763 return resultobj;
2764 fail:
2765 return NULL;
2766}
2767
2768
a95a7133 2769static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2770 PyObject *resultobj;
2771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2772 int arg2 ;
2773 int arg3 ;
2774 PyObject * obj0 = 0 ;
994141e6
RD
2775 PyObject * obj1 = 0 ;
2776 PyObject * obj2 = 0 ;
d14a1e28
RD
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2779 };
2780
994141e6 2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2784 arg2 = (int) SWIG_AsInt(obj1);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 arg3 = (int) SWIG_AsInt(obj2);
2787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2788 {
2789 PyThreadState* __tstate = wxPyBeginAllowThreads();
2790 (arg1)->StyleSetCharacterSet(arg2,arg3);
2791
2792 wxPyEndAllowThreads(__tstate);
2793 if (PyErr_Occurred()) SWIG_fail;
2794 }
2795 Py_INCREF(Py_None); resultobj = Py_None;
2796 return resultobj;
2797 fail:
2798 return NULL;
2799}
2800
2801
a95a7133 2802static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2803 PyObject *resultobj;
2804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2805 int arg2 ;
2806 bool arg3 ;
2807 PyObject * obj0 = 0 ;
994141e6 2808 PyObject * obj1 = 0 ;
d14a1e28
RD
2809 PyObject * obj2 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2812 };
2813
994141e6 2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2817 arg2 = (int) SWIG_AsInt(obj1);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 arg3 = (bool) SWIG_AsBool(obj2);
2820 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 (arg1)->StyleSetHotSpot(arg2,arg3);
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 Py_INCREF(Py_None); resultobj = Py_None;
2829 return resultobj;
2830 fail:
2831 return NULL;
2832}
2833
2834
a95a7133 2835static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2836 PyObject *resultobj;
2837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2838 bool arg2 ;
2839 wxColour *arg3 = 0 ;
2840 wxColour temp3 ;
2841 PyObject * obj0 = 0 ;
2842 PyObject * obj1 = 0 ;
2843 PyObject * obj2 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2851 arg2 = (bool) SWIG_AsBool(obj1);
2852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2853 {
2854 arg3 = &temp3;
2855 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868}
2869
2870
a95a7133 2871static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2872 PyObject *resultobj;
2873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2874 bool arg2 ;
2875 wxColour *arg3 = 0 ;
2876 wxColour temp3 ;
2877 PyObject * obj0 = 0 ;
2878 PyObject * obj1 = 0 ;
2879 PyObject * obj2 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2887 arg2 = (bool) SWIG_AsBool(obj1);
2888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2889 {
2890 arg3 = &temp3;
2891 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2892 }
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904}
2905
2906
a95a7133 2907static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2908 PyObject *resultobj;
2909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2910 wxColour *arg2 = 0 ;
2911 wxColour temp2 ;
2912 PyObject * obj0 = 0 ;
2913 PyObject * obj1 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "fore", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2921 {
2922 arg2 = &temp2;
2923 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 Py_INCREF(Py_None); resultobj = Py_None;
2933 return resultobj;
2934 fail:
2935 return NULL;
2936}
2937
2938
a95a7133 2939static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2940 PyObject *resultobj;
2941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2942 int arg2 ;
2943 int arg3 ;
2944 int arg4 ;
2945 PyObject * obj0 = 0 ;
994141e6
RD
2946 PyObject * obj1 = 0 ;
2947 PyObject * obj2 = 0 ;
2948 PyObject * obj3 = 0 ;
d14a1e28
RD
2949 char *kwnames[] = {
2950 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2951 };
2952
994141e6 2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2956 arg2 = (int) SWIG_AsInt(obj1);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 arg3 = (int) SWIG_AsInt(obj2);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 arg4 = (int) SWIG_AsInt(obj3);
2961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
a95a7133 2976static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2977 PyObject *resultobj;
2978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2979 int arg2 ;
2980 int arg3 ;
2981 PyObject * obj0 = 0 ;
994141e6
RD
2982 PyObject * obj1 = 0 ;
2983 PyObject * obj2 = 0 ;
d14a1e28
RD
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2986 };
2987
994141e6 2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2991 arg2 = (int) SWIG_AsInt(obj1);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 arg3 = (int) SWIG_AsInt(obj2);
2994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->CmdKeyClear(arg2,arg3);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
a95a7133 3009static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3010 PyObject *resultobj;
3011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3012 PyObject * obj0 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
3018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 (arg1)->CmdKeyClearAll();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 Py_INCREF(Py_None); resultobj = Py_None;
3028 return resultobj;
3029 fail:
3030 return NULL;
3031}
3032
3033
a95a7133 3034static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3035 PyObject *resultobj;
3036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3037 int arg2 ;
3038 char *arg3 ;
3039 PyObject * obj0 = 0 ;
994141e6
RD
3040 PyObject * obj1 = 0 ;
3041 PyObject * obj2 = 0 ;
d14a1e28
RD
3042 char *kwnames[] = {
3043 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3044 };
3045
994141e6 3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3049 arg2 = (int) SWIG_AsInt(obj1);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 arg3 = SWIG_AsCharPtr(obj2);
3052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 (arg1)->SetStyleBytes(arg2,arg3);
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 Py_INCREF(Py_None); resultobj = Py_None;
3061 return resultobj;
3062 fail:
3063 return NULL;
3064}
3065
3066
a95a7133 3067static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3068 PyObject *resultobj;
3069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3070 int arg2 ;
3071 bool arg3 ;
3072 PyObject * obj0 = 0 ;
994141e6 3073 PyObject * obj1 = 0 ;
d14a1e28
RD
3074 PyObject * obj2 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self",(char *) "style",(char *) "visible", NULL
3077 };
3078
994141e6 3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3082 arg2 = (int) SWIG_AsInt(obj1);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 arg3 = (bool) SWIG_AsBool(obj2);
3085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->StyleSetVisible(arg2,arg3);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097}
3098
3099
a95a7133 3100static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3101 PyObject *resultobj;
3102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3103 int result;
3104 PyObject * obj0 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
15afbcd0
RD
3110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (int)(arg1)->GetCaretPeriod();
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
15afbcd0 3119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3120 return resultobj;
3121 fail:
3122 return NULL;
3123}
3124
3125
a95a7133 3126static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3127 PyObject *resultobj;
3128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3129 int arg2 ;
3130 PyObject * obj0 = 0 ;
994141e6 3131 PyObject * obj1 = 0 ;
d14a1e28
RD
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "periodMilliseconds", NULL
3134 };
3135
994141e6 3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3139 arg2 = (int) SWIG_AsInt(obj1);
3140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->SetCaretPeriod(arg2);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152}
3153
3154
a95a7133 3155static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3156 PyObject *resultobj;
3157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3158 wxString *arg2 = 0 ;
e811c8ce 3159 bool temp2 = False ;
d14a1e28
RD
3160 PyObject * obj0 = 0 ;
3161 PyObject * obj1 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "characters", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3169 {
3170 arg2 = wxString_in_helper(obj1);
3171 if (arg2 == NULL) SWIG_fail;
e811c8ce 3172 temp2 = True;
d14a1e28
RD
3173 }
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 (arg1)->SetWordChars((wxString const &)*arg2);
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 Py_INCREF(Py_None); resultobj = Py_None;
3182 {
3183 if (temp2)
3184 delete arg2;
3185 }
3186 return resultobj;
3187 fail:
3188 {
3189 if (temp2)
3190 delete arg2;
3191 }
3192 return NULL;
3193}
3194
3195
a95a7133 3196static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3197 PyObject *resultobj;
3198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3199 PyObject * obj0 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
3205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->BeginUndoAction();
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218}
3219
3220
a95a7133 3221static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3222 PyObject *resultobj;
3223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3224 PyObject * obj0 = 0 ;
3225 char *kwnames[] = {
3226 (char *) "self", NULL
3227 };
3228
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
3230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 (arg1)->EndUndoAction();
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 Py_INCREF(Py_None); resultobj = Py_None;
3240 return resultobj;
3241 fail:
3242 return NULL;
3243}
3244
3245
a95a7133 3246static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3247 PyObject *resultobj;
3248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3249 int arg2 ;
3250 int arg3 ;
3251 PyObject * obj0 = 0 ;
994141e6
RD
3252 PyObject * obj1 = 0 ;
3253 PyObject * obj2 = 0 ;
d14a1e28
RD
3254 char *kwnames[] = {
3255 (char *) "self",(char *) "indic",(char *) "style", NULL
3256 };
3257
994141e6 3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3261 arg2 = (int) SWIG_AsInt(obj1);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 arg3 = (int) SWIG_AsInt(obj2);
3264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 (arg1)->IndicatorSetStyle(arg2,arg3);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
a95a7133 3279static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3280 PyObject *resultobj;
3281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3282 int arg2 ;
3283 int result;
3284 PyObject * obj0 = 0 ;
994141e6 3285 PyObject * obj1 = 0 ;
d14a1e28
RD
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "indic", NULL
3288 };
3289
994141e6 3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 arg2 = (int) SWIG_AsInt(obj1);
3294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = (int)(arg1)->IndicatorGetStyle(arg2);
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
15afbcd0 3302 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3303 return resultobj;
3304 fail:
3305 return NULL;
3306}
3307
3308
a95a7133 3309static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3310 PyObject *resultobj;
3311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3312 int arg2 ;
3313 wxColour *arg3 = 0 ;
3314 wxColour temp3 ;
3315 PyObject * obj0 = 0 ;
994141e6 3316 PyObject * obj1 = 0 ;
d14a1e28
RD
3317 PyObject * obj2 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "indic",(char *) "fore", NULL
3320 };
3321
994141e6 3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 arg2 = (int) SWIG_AsInt(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3327 {
3328 arg3 = &temp3;
3329 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3330 }
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 Py_INCREF(Py_None); resultobj = Py_None;
3339 return resultobj;
3340 fail:
3341 return NULL;
3342}
3343
3344
a95a7133 3345static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3346 PyObject *resultobj;
3347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3348 int arg2 ;
3349 wxColour result;
3350 PyObject * obj0 = 0 ;
994141e6 3351 PyObject * obj1 = 0 ;
d14a1e28
RD
3352 char *kwnames[] = {
3353 (char *) "self",(char *) "indic", NULL
3354 };
3355
994141e6 3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 arg2 = (int) SWIG_AsInt(obj1);
3360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 result = (arg1)->IndicatorGetForeground(arg2);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 {
3369 wxColour * resultptr;
3370 resultptr = new wxColour((wxColour &) result);
15afbcd0 3371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3372 }
3373 return resultobj;
3374 fail:
3375 return NULL;
3376}
3377
3378
a95a7133 3379static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3380 PyObject *resultobj;
3381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3382 bool arg2 ;
3383 wxColour *arg3 = 0 ;
3384 wxColour temp3 ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 PyObject * obj2 = 0 ;
3388 char *kwnames[] = {
3389 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3390 };
3391
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3395 arg2 = (bool) SWIG_AsBool(obj1);
3396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3397 {
3398 arg3 = &temp3;
3399 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3400 }
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 Py_INCREF(Py_None); resultobj = Py_None;
3409 return resultobj;
3410 fail:
3411 return NULL;
3412}
3413
3414
a95a7133 3415static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3416 PyObject *resultobj;
3417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3418 bool arg2 ;
3419 wxColour *arg3 = 0 ;
3420 wxColour temp3 ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 PyObject * obj2 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 arg2 = (bool) SWIG_AsBool(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3433 {
3434 arg3 = &temp3;
3435 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3436 }
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 return resultobj;
3446 fail:
3447 return NULL;
3448}
3449
3450
a95a7133 3451static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3452 PyObject *resultobj;
3453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3454 int arg2 ;
3455 PyObject * obj0 = 0 ;
994141e6 3456 PyObject * obj1 = 0 ;
d14a1e28
RD
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "bits", NULL
3459 };
3460
994141e6 3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3464 arg2 = (int) SWIG_AsInt(obj1);
3465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 (arg1)->SetStyleBits(arg2);
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 Py_INCREF(Py_None); resultobj = Py_None;
3474 return resultobj;
3475 fail:
3476 return NULL;
3477}
3478
3479
a95a7133 3480static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3481 PyObject *resultobj;
3482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3483 int result;
3484 PyObject * obj0 = 0 ;
3485 char *kwnames[] = {
3486 (char *) "self", NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
15afbcd0
RD
3490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 result = (int)(arg1)->GetStyleBits();
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
15afbcd0 3499 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3500 return resultobj;
3501 fail:
3502 return NULL;
3503}
3504
3505
a95a7133 3506static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3507 PyObject *resultobj;
3508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3509 int arg2 ;
3510 int arg3 ;
3511 PyObject * obj0 = 0 ;
994141e6
RD
3512 PyObject * obj1 = 0 ;
3513 PyObject * obj2 = 0 ;
d14a1e28
RD
3514 char *kwnames[] = {
3515 (char *) "self",(char *) "line",(char *) "state", NULL
3516 };
3517
994141e6 3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3521 arg2 = (int) SWIG_AsInt(obj1);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 arg3 = (int) SWIG_AsInt(obj2);
3524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->SetLineState(arg2,arg3);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 return resultobj;
3534 fail:
3535 return NULL;
3536}
3537
3538
a95a7133 3539static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3540 PyObject *resultobj;
3541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3542 int arg2 ;
3543 int result;
3544 PyObject * obj0 = 0 ;
994141e6 3545 PyObject * obj1 = 0 ;
d14a1e28
RD
3546 char *kwnames[] = {
3547 (char *) "self",(char *) "line", NULL
3548 };
3549
994141e6 3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3553 arg2 = (int) SWIG_AsInt(obj1);
3554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (int)(arg1)->GetLineState(arg2);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
15afbcd0 3562 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3563 return resultobj;
3564 fail:
3565 return NULL;
3566}
3567
3568
a95a7133 3569static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3570 PyObject *resultobj;
3571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3572 int result;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
15afbcd0
RD
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (int)(arg1)->GetMaxLineState();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
15afbcd0 3588 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
a95a7133 3595static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3596 PyObject *resultobj;
3597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3598 bool result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
3605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 result = (bool)(arg1)->GetCaretLineVisible();
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
4f89f6a3
RD
3614 {
3615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3616 }
d14a1e28
RD
3617 return resultobj;
3618 fail:
3619 return NULL;
3620}
3621
3622
a95a7133 3623static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3624 PyObject *resultobj;
3625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3626 bool arg2 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "show", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3636 arg2 = (bool) SWIG_AsBool(obj1);
3637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->SetCaretLineVisible(arg2);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649}
3650
3651
a95a7133 3652static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3653 PyObject *resultobj;
3654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3655 wxColour result;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
15afbcd0
RD
3662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (arg1)->GetCaretLineBack();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 {
3672 wxColour * resultptr;
3673 resultptr = new wxColour((wxColour &) result);
15afbcd0 3674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3675 }
3676 return resultobj;
3677 fail:
3678 return NULL;
3679}
3680
3681
a95a7133 3682static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3683 PyObject *resultobj;
3684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3685 wxColour *arg2 = 0 ;
3686 wxColour temp2 ;
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "back", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3696 {
3697 arg2 = &temp2;
3698 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
a95a7133 3714static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3715 PyObject *resultobj;
3716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3717 int arg2 ;
3718 bool arg3 ;
3719 PyObject * obj0 = 0 ;
994141e6 3720 PyObject * obj1 = 0 ;
d14a1e28
RD
3721 PyObject * obj2 = 0 ;
3722 char *kwnames[] = {
3723 (char *) "self",(char *) "style",(char *) "changeable", NULL
3724 };
3725
994141e6 3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3729 arg2 = (int) SWIG_AsInt(obj1);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 arg3 = (bool) SWIG_AsBool(obj2);
3732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3733 {
3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
3735 (arg1)->StyleSetChangeable(arg2,arg3);
3736
3737 wxPyEndAllowThreads(__tstate);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 }
3740 Py_INCREF(Py_None); resultobj = Py_None;
3741 return resultobj;
3742 fail:
3743 return NULL;
3744}
3745
3746
a95a7133 3747static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3748 PyObject *resultobj;
3749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3750 int arg2 ;
3751 wxString *arg3 = 0 ;
e811c8ce 3752 bool temp3 = False ;
d14a1e28 3753 PyObject * obj0 = 0 ;
994141e6 3754 PyObject * obj1 = 0 ;
d14a1e28
RD
3755 PyObject * obj2 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3758 };
3759
994141e6 3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3763 arg2 = (int) SWIG_AsInt(obj1);
3764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3765 {
3766 arg3 = wxString_in_helper(obj2);
3767 if (arg3 == NULL) SWIG_fail;
e811c8ce 3768 temp3 = True;
d14a1e28
RD
3769 }
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 Py_INCREF(Py_None); resultobj = Py_None;
3778 {
3779 if (temp3)
3780 delete arg3;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp3)
3786 delete arg3;
3787 }
3788 return NULL;
3789}
3790
3791
a95a7133 3792static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3793 PyObject *resultobj;
3794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 (arg1)->AutoCompCancel();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 Py_INCREF(Py_None); resultobj = Py_None;
3811 return resultobj;
3812 fail:
3813 return NULL;
3814}
3815
3816
a95a7133 3817static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3818 PyObject *resultobj;
3819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3820 bool result;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (bool)(arg1)->AutoCompActive();
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
4f89f6a3
RD
3836 {
3837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3838 }
d14a1e28
RD
3839 return resultobj;
3840 fail:
3841 return NULL;
3842}
3843
3844
a95a7133 3845static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3846 PyObject *resultobj;
3847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3848 int result;
3849 PyObject * obj0 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
3855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (int)(arg1)->AutoCompPosStart();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
15afbcd0 3864 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3865 return resultobj;
3866 fail:
3867 return NULL;
3868}
3869
3870
a95a7133 3871static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3872 PyObject *resultobj;
3873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3874 PyObject * obj0 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
15afbcd0
RD
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 (arg1)->AutoCompComplete();
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 Py_INCREF(Py_None); resultobj = Py_None;
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
a95a7133 3896static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3897 PyObject *resultobj;
3898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3899 wxString *arg2 = 0 ;
e811c8ce 3900 bool temp2 = False ;
d14a1e28
RD
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 char *kwnames[] = {
3904 (char *) "self",(char *) "characterSet", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3910 {
3911 arg2 = wxString_in_helper(obj1);
3912 if (arg2 == NULL) SWIG_fail;
e811c8ce 3913 temp2 = True;
d14a1e28
RD
3914 }
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 (arg1)->AutoCompStops((wxString const &)*arg2);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 Py_INCREF(Py_None); resultobj = Py_None;
3923 {
3924 if (temp2)
3925 delete arg2;
3926 }
3927 return resultobj;
3928 fail:
3929 {
3930 if (temp2)
3931 delete arg2;
3932 }
3933 return NULL;
3934}
3935
3936
a95a7133 3937static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3938 PyObject *resultobj;
3939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3940 int arg2 ;
3941 PyObject * obj0 = 0 ;
994141e6 3942 PyObject * obj1 = 0 ;
d14a1e28
RD
3943 char *kwnames[] = {
3944 (char *) "self",(char *) "separatorCharacter", NULL
3945 };
3946
994141e6 3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3950 arg2 = (int) SWIG_AsInt(obj1);
3951 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 (arg1)->AutoCompSetSeparator(arg2);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963}
3964
3965
a95a7133 3966static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3967 PyObject *resultobj;
3968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3969 int result;
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 result = (int)(arg1)->AutoCompGetSeparator();
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
15afbcd0 3985 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
a95a7133 3992static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3993 PyObject *resultobj;
3994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3995 wxString *arg2 = 0 ;
e811c8ce 3996 bool temp2 = False ;
d14a1e28
RD
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self",(char *) "text", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4006 {
4007 arg2 = wxString_in_helper(obj1);
4008 if (arg2 == NULL) SWIG_fail;
e811c8ce 4009 temp2 = True;
d14a1e28
RD
4010 }
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->AutoCompSelect((wxString const &)*arg2);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 {
4020 if (temp2)
4021 delete arg2;
4022 }
4023 return resultobj;
4024 fail:
4025 {
4026 if (temp2)
4027 delete arg2;
4028 }
4029 return NULL;
4030}
4031
4032
a95a7133 4033static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4034 PyObject *resultobj;
4035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4036 bool arg2 ;
4037 PyObject * obj0 = 0 ;
4038 PyObject * obj1 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "cancel", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4046 arg2 = (bool) SWIG_AsBool(obj1);
4047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 (arg1)->AutoCompSetCancelAtStart(arg2);
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 Py_INCREF(Py_None); resultobj = Py_None;
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
a95a7133 4062static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4063 PyObject *resultobj;
4064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4065 bool result;
4066 PyObject * obj0 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "self", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
4072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4f89f6a3
RD
4081 {
4082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4083 }
d14a1e28
RD
4084 return resultobj;
4085 fail:
4086 return NULL;
4087}
4088
4089
a95a7133 4090static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4091 PyObject *resultobj;
4092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4093 wxString *arg2 = 0 ;
e811c8ce 4094 bool temp2 = False ;
d14a1e28
RD
4095 PyObject * obj0 = 0 ;
4096 PyObject * obj1 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self",(char *) "characterSet", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4104 {
4105 arg2 = wxString_in_helper(obj1);
4106 if (arg2 == NULL) SWIG_fail;
e811c8ce 4107 temp2 = True;
d14a1e28
RD
4108 }
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 {
4118 if (temp2)
4119 delete arg2;
4120 }
4121 return resultobj;
4122 fail:
4123 {
4124 if (temp2)
4125 delete arg2;
4126 }
4127 return NULL;
4128}
4129
4130
a95a7133 4131static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4132 PyObject *resultobj;
4133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4134 bool arg2 ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "self",(char *) "chooseSingle", NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4144 arg2 = (bool) SWIG_AsBool(obj1);
4145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 (arg1)->AutoCompSetChooseSingle(arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
a95a7133 4160static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4161 PyObject *resultobj;
4162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4163 bool result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (bool)(arg1)->AutoCompGetChooseSingle();
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4f89f6a3
RD
4179 {
4180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4181 }
d14a1e28
RD
4182 return resultobj;
4183 fail:
4184 return NULL;
4185}
4186
4187
a95a7133 4188static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4189 PyObject *resultobj;
4190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4191 bool arg2 ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "ignoreCase", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4201 arg2 = (bool) SWIG_AsBool(obj1);
4202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 (arg1)->AutoCompSetIgnoreCase(arg2);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 Py_INCREF(Py_None); resultobj = Py_None;
4211 return resultobj;
4212 fail:
4213 return NULL;
4214}
4215
4216
a95a7133 4217static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4218 PyObject *resultobj;
4219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4220 bool result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
4227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4f89f6a3
RD
4236 {
4237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4238 }
d14a1e28
RD
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
a95a7133 4245static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4246 PyObject *resultobj;
4247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4248 int arg2 ;
4249 wxString *arg3 = 0 ;
e811c8ce 4250 bool temp3 = False ;
d14a1e28 4251 PyObject * obj0 = 0 ;
994141e6 4252 PyObject * obj1 = 0 ;
d14a1e28
RD
4253 PyObject * obj2 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4256 };
4257
994141e6 4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4261 arg2 = (int) SWIG_AsInt(obj1);
4262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4263 {
4264 arg3 = wxString_in_helper(obj2);
4265 if (arg3 == NULL) SWIG_fail;
e811c8ce 4266 temp3 = True;
d14a1e28
RD
4267 }
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 Py_INCREF(Py_None); resultobj = Py_None;
4276 {
4277 if (temp3)
4278 delete arg3;
4279 }
4280 return resultobj;
4281 fail:
4282 {
4283 if (temp3)
4284 delete arg3;
4285 }
4286 return NULL;
4287}
4288
4289
a95a7133 4290static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4291 PyObject *resultobj;
4292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4293 bool arg2 ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self",(char *) "autoHide", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4303 arg2 = (bool) SWIG_AsBool(obj1);
4304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->AutoCompSetAutoHide(arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316}
4317
4318
a95a7133 4319static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4320 PyObject *resultobj;
4321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4322 bool result;
4323 PyObject * obj0 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
15afbcd0
RD
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (bool)(arg1)->AutoCompGetAutoHide();
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4f89f6a3
RD
4338 {
4339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4340 }
d14a1e28
RD
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
a95a7133 4347static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4348 PyObject *resultobj;
4349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4350 bool arg2 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self",(char *) "dropRestOfWord", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4360 arg2 = (bool) SWIG_AsBool(obj1);
4361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->AutoCompSetDropRestOfWord(arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
a95a7133 4376static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4377 PyObject *resultobj;
4378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4379 bool result;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
15afbcd0
RD
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4f89f6a3
RD
4395 {
4396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4397 }
d14a1e28
RD
4398 return resultobj;
4399 fail:
4400 return NULL;
4401}
4402
4403
a95a7133 4404static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4405 PyObject *resultobj;
4406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4407 int arg2 ;
4408 wxBitmap *arg3 = 0 ;
4409 PyObject * obj0 = 0 ;
994141e6 4410 PyObject * obj1 = 0 ;
d14a1e28
RD
4411 PyObject * obj2 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "type",(char *) "bmp", NULL
4414 };
4415
994141e6 4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4419 arg2 = (int) SWIG_AsInt(obj1);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4422 SWIG_POINTER_EXCEPTION | 0)) == -1)
4423 SWIG_fail;
d14a1e28 4424 if (arg3 == NULL) {
15afbcd0
RD
4425 PyErr_SetString(PyExc_TypeError,"null reference");
4426 SWIG_fail;
d14a1e28
RD
4427 }
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 Py_INCREF(Py_None); resultobj = Py_None;
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
a95a7133 4442static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4443 PyObject *resultobj;
4444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4445 PyObject * obj0 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "self", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
15afbcd0
RD
4451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 (arg1)->ClearRegisteredImages();
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 Py_INCREF(Py_None); resultobj = Py_None;
4461 return resultobj;
4462 fail:
4463 return NULL;
4464}
4465
4466
a95a7133 4467static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4468 PyObject *resultobj;
4469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4470 int result;
4471 PyObject * obj0 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
4477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 result = (int)(arg1)->AutoCompGetTypeSeparator();
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
15afbcd0 4486 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4487 return resultobj;
4488 fail:
4489 return NULL;
4490}
4491
4492
a95a7133 4493static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4494 PyObject *resultobj;
4495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4496 int arg2 ;
4497 PyObject * obj0 = 0 ;
994141e6 4498 PyObject * obj1 = 0 ;
d14a1e28
RD
4499 char *kwnames[] = {
4500 (char *) "self",(char *) "separatorCharacter", NULL
4501 };
4502
994141e6 4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4506 arg2 = (int) SWIG_AsInt(obj1);
4507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->AutoCompSetTypeSeparator(arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519}
4520
4521
a95a7133 4522static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4523 PyObject *resultobj;
4524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4525 int arg2 ;
4526 PyObject * obj0 = 0 ;
994141e6 4527 PyObject * obj1 = 0 ;
d14a1e28
RD
4528 char *kwnames[] = {
4529 (char *) "self",(char *) "indentSize", NULL
4530 };
4531
994141e6 4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4535 arg2 = (int) SWIG_AsInt(obj1);
4536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->SetIndent(arg2);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 Py_INCREF(Py_None); resultobj = Py_None;
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
a95a7133 4551static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4552 PyObject *resultobj;
4553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4554 int result;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (int)(arg1)->GetIndent();
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
15afbcd0 4570 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4571 return resultobj;
4572 fail:
4573 return NULL;
4574}
4575
4576
a95a7133 4577static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4578 PyObject *resultobj;
4579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4580 bool arg2 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self",(char *) "useTabs", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4590 arg2 = (bool) SWIG_AsBool(obj1);
4591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 (arg1)->SetUseTabs(arg2);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 Py_INCREF(Py_None); resultobj = Py_None;
4600 return resultobj;
4601 fail:
4602 return NULL;
4603}
4604
4605
a95a7133 4606static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4607 PyObject *resultobj;
4608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4609 bool result;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
4616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (bool)(arg1)->GetUseTabs();
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4f89f6a3
RD
4625 {
4626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4627 }
d14a1e28
RD
4628 return resultobj;
4629 fail:
4630 return NULL;
4631}
4632
4633
a95a7133 4634static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4635 PyObject *resultobj;
4636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4637 int arg2 ;
4638 int arg3 ;
4639 PyObject * obj0 = 0 ;
994141e6
RD
4640 PyObject * obj1 = 0 ;
4641 PyObject * obj2 = 0 ;
d14a1e28
RD
4642 char *kwnames[] = {
4643 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4644 };
4645
994141e6 4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4649 arg2 = (int) SWIG_AsInt(obj1);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 arg3 = (int) SWIG_AsInt(obj2);
4652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 (arg1)->SetLineIndentation(arg2,arg3);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 Py_INCREF(Py_None); resultobj = Py_None;
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
a95a7133 4667static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4668 PyObject *resultobj;
4669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4670 int arg2 ;
4671 int result;
4672 PyObject * obj0 = 0 ;
994141e6 4673 PyObject * obj1 = 0 ;
d14a1e28
RD
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "line", NULL
4676 };
4677
994141e6 4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 arg2 = (int) SWIG_AsInt(obj1);
4682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (int)(arg1)->GetLineIndentation(arg2);
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
15afbcd0 4690 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4691 return resultobj;
4692 fail:
4693 return NULL;
4694}
4695
4696
a95a7133 4697static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4698 PyObject *resultobj;
4699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4700 int arg2 ;
4701 int result;
4702 PyObject * obj0 = 0 ;
994141e6 4703 PyObject * obj1 = 0 ;
d14a1e28
RD
4704 char *kwnames[] = {
4705 (char *) "self",(char *) "line", NULL
4706 };
4707
994141e6 4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 arg2 = (int) SWIG_AsInt(obj1);
4712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 result = (int)(arg1)->GetLineIndentPosition(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
15afbcd0 4720 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
a95a7133 4727static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4728 PyObject *resultobj;
4729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4730 int arg2 ;
4731 int result;
4732 PyObject * obj0 = 0 ;
994141e6 4733 PyObject * obj1 = 0 ;
d14a1e28
RD
4734 char *kwnames[] = {
4735 (char *) "self",(char *) "pos", NULL
4736 };
4737
994141e6 4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4741 arg2 = (int) SWIG_AsInt(obj1);
4742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (int)(arg1)->GetColumn(arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
15afbcd0 4750 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4751 return resultobj;
4752 fail:
4753 return NULL;
4754}
4755
4756
a95a7133 4757static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4758 PyObject *resultobj;
4759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4760 bool arg2 ;
4761 PyObject * obj0 = 0 ;
4762 PyObject * obj1 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "show", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (bool) SWIG_AsBool(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->SetUseHorizontalScrollBar(arg2);
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783}
4784
4785
a95a7133 4786static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4787 PyObject *resultobj;
4788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4789 bool result;
4790 PyObject * obj0 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
4796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4f89f6a3
RD
4805 {
4806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4807 }
d14a1e28
RD
4808 return resultobj;
4809 fail:
4810 return NULL;
4811}
4812
4813
a95a7133 4814static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4815 PyObject *resultobj;
4816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4817 bool arg2 ;
4818 PyObject * obj0 = 0 ;
4819 PyObject * obj1 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "self",(char *) "show", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4827 arg2 = (bool) SWIG_AsBool(obj1);
4828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 (arg1)->SetIndentationGuides(arg2);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 Py_INCREF(Py_None); resultobj = Py_None;
4837 return resultobj;
4838 fail:
4839 return NULL;
4840}
4841
4842
a95a7133 4843static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4844 PyObject *resultobj;
4845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4846 bool result;
4847 PyObject * obj0 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
15afbcd0
RD
4853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (bool)(arg1)->GetIndentationGuides();
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4f89f6a3
RD
4862 {
4863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4864 }
d14a1e28
RD
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
a95a7133 4871static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4872 PyObject *resultobj;
4873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4874 int arg2 ;
4875 PyObject * obj0 = 0 ;
994141e6 4876 PyObject * obj1 = 0 ;
d14a1e28
RD
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "column", NULL
4879 };
4880
994141e6 4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4884 arg2 = (int) SWIG_AsInt(obj1);
4885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetHighlightGuide(arg2);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
a95a7133 4900static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4901 PyObject *resultobj;
4902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4903 int result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
15afbcd0
RD
4910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (int)(arg1)->GetHighlightGuide();
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
15afbcd0 4919 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4920 return resultobj;
4921 fail:
4922 return NULL;
4923}
4924
4925
a95a7133 4926static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4927 PyObject *resultobj;
4928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4929 int arg2 ;
4930 int result;
4931 PyObject * obj0 = 0 ;
994141e6 4932 PyObject * obj1 = 0 ;
d14a1e28
RD
4933 char *kwnames[] = {
4934 (char *) "self",(char *) "line", NULL
4935 };
4936
994141e6 4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4940 arg2 = (int) SWIG_AsInt(obj1);
4941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (int)(arg1)->GetLineEndPosition(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
15afbcd0 4949 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4950 return resultobj;
4951 fail:
4952 return NULL;
4953}
4954
4955
a95a7133 4956static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4957 PyObject *resultobj;
4958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 result = (int)(arg1)->GetCodePage();
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
15afbcd0 4975 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4976 return resultobj;
4977 fail:
4978 return NULL;
4979}
4980
4981
a95a7133 4982static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4983 PyObject *resultobj;
4984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4985 wxColour result;
4986 PyObject * obj0 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 result = (arg1)->GetCaretForeground();
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 wxColour * resultptr;
5003 resultptr = new wxColour((wxColour &) result);
15afbcd0 5004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5005 }
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
a95a7133 5012static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5013 PyObject *resultobj;
5014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5015 bool result;
5016 PyObject * obj0 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "self", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
5022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (bool)(arg1)->GetReadOnly();
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
4f89f6a3
RD
5031 {
5032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5033 }
d14a1e28
RD
5034 return resultobj;
5035 fail:
5036 return NULL;
5037}
5038
5039
a95a7133 5040static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5041 PyObject *resultobj;
5042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5043 int arg2 ;
5044 PyObject * obj0 = 0 ;
994141e6 5045 PyObject * obj1 = 0 ;
d14a1e28
RD
5046 char *kwnames[] = {
5047 (char *) "self",(char *) "pos", NULL
5048 };
5049
994141e6 5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5053 arg2 = (int) SWIG_AsInt(obj1);
5054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 (arg1)->SetCurrentPos(arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
a95a7133 5069static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5070 PyObject *resultobj;
5071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5072 int arg2 ;
5073 PyObject * obj0 = 0 ;
994141e6 5074 PyObject * obj1 = 0 ;
d14a1e28
RD
5075 char *kwnames[] = {
5076 (char *) "self",(char *) "pos", NULL
5077 };
5078
994141e6 5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5082 arg2 = (int) SWIG_AsInt(obj1);
5083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 (arg1)->SetSelectionStart(arg2);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 Py_INCREF(Py_None); resultobj = Py_None;
5092 return resultobj;
5093 fail:
5094 return NULL;
5095}
5096
5097
a95a7133 5098static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5099 PyObject *resultobj;
5100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5101 int result;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
5108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 result = (int)(arg1)->GetSelectionStart();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
15afbcd0 5117 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
a95a7133 5124static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5125 PyObject *resultobj;
5126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5127 int arg2 ;
5128 PyObject * obj0 = 0 ;
994141e6 5129 PyObject * obj1 = 0 ;
d14a1e28
RD
5130 char *kwnames[] = {
5131 (char *) "self",(char *) "pos", NULL
5132 };
5133
994141e6 5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5137 arg2 = (int) SWIG_AsInt(obj1);
5138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetSelectionEnd(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
a95a7133 5153static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5154 PyObject *resultobj;
5155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5156 int result;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
5163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (int)(arg1)->GetSelectionEnd();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
15afbcd0 5172 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5173 return resultobj;
5174 fail:
5175 return NULL;
5176}
5177
5178
a95a7133 5179static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5180 PyObject *resultobj;
5181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5182 int arg2 ;
5183 PyObject * obj0 = 0 ;
994141e6 5184 PyObject * obj1 = 0 ;
d14a1e28
RD
5185 char *kwnames[] = {
5186 (char *) "self",(char *) "magnification", NULL
5187 };
5188
994141e6 5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5192 arg2 = (int) SWIG_AsInt(obj1);
5193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 (arg1)->SetPrintMagnification(arg2);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 Py_INCREF(Py_None); resultobj = Py_None;
5202 return resultobj;
5203 fail:
5204 return NULL;
5205}
5206
5207
a95a7133 5208static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5209 PyObject *resultobj;
5210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5211 int result;
5212 PyObject * obj0 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
15afbcd0
RD
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 result = (int)(arg1)->GetPrintMagnification();
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
15afbcd0 5227 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5228 return resultobj;
5229 fail:
5230 return NULL;
5231}
5232
5233
a95a7133 5234static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5235 PyObject *resultobj;
5236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5237 int arg2 ;
5238 PyObject * obj0 = 0 ;
994141e6 5239 PyObject * obj1 = 0 ;
d14a1e28
RD
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "mode", NULL
5242 };
5243
994141e6 5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5247 arg2 = (int) SWIG_AsInt(obj1);
5248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->SetPrintColourMode(arg2);
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 return resultobj;
5258 fail:
5259 return NULL;
5260}
5261
5262
a95a7133 5263static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5264 PyObject *resultobj;
5265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5266 int result;
5267 PyObject * obj0 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (int)(arg1)->GetPrintColourMode();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
15afbcd0 5282 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
a95a7133 5289static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5290 PyObject *resultobj;
5291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5292 int arg2 ;
5293 int arg3 ;
5294 wxString *arg4 = 0 ;
5295 int arg5 = (int) 0 ;
5296 int result;
e811c8ce 5297 bool temp4 = False ;
d14a1e28 5298 PyObject * obj0 = 0 ;
994141e6
RD
5299 PyObject * obj1 = 0 ;
5300 PyObject * obj2 = 0 ;
d14a1e28 5301 PyObject * obj3 = 0 ;
994141e6 5302 PyObject * obj4 = 0 ;
d14a1e28
RD
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5305 };
5306
994141e6 5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5310 arg2 = (int) SWIG_AsInt(obj1);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 arg3 = (int) SWIG_AsInt(obj2);
5313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5314 {
5315 arg4 = wxString_in_helper(obj3);
5316 if (arg4 == NULL) SWIG_fail;
e811c8ce 5317 temp4 = True;
d14a1e28 5318 }
994141e6 5319 if (obj4) {
15afbcd0
RD
5320 arg5 = (int) SWIG_AsInt(obj4);
5321 if (PyErr_Occurred()) SWIG_fail;
994141e6 5322 }
d14a1e28
RD
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
15afbcd0 5330 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5331 {
5332 if (temp4)
5333 delete arg4;
5334 }
5335 return resultobj;
5336 fail:
5337 {
5338 if (temp4)
5339 delete arg4;
5340 }
5341 return NULL;
5342}
5343
5344
a95a7133 5345static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5346 PyObject *resultobj;
5347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5348 bool arg2 ;
5349 int arg3 ;
5350 int arg4 ;
5351 wxDC *arg5 = (wxDC *) 0 ;
5352 wxDC *arg6 = (wxDC *) 0 ;
5353 wxRect arg7 ;
5354 wxRect arg8 ;
5355 int result;
5356 wxRect *argp7 ;
5357 wxRect *argp8 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
994141e6
RD
5360 PyObject * obj2 = 0 ;
5361 PyObject * obj3 = 0 ;
d14a1e28
RD
5362 PyObject * obj4 = 0 ;
5363 PyObject * obj5 = 0 ;
5364 PyObject * obj6 = 0 ;
5365 PyObject * obj7 = 0 ;
5366 char *kwnames[] = {
5367 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5368 };
5369
994141e6 5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5373 arg2 = (bool) SWIG_AsBool(obj1);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 arg3 = (int) SWIG_AsInt(obj2);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 arg4 = (int) SWIG_AsInt(obj3);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5381 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5383 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5384 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5385 arg7 = *argp7;
5386 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5387 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5388 arg8 = *argp8;
d14a1e28
RD
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
15afbcd0 5396 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
a95a7133 5403static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5404 PyObject *resultobj;
5405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5406 int result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
5413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (int)(arg1)->GetFirstVisibleLine();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
15afbcd0 5422 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5423 return resultobj;
5424 fail:
5425 return NULL;
5426}
5427
5428
a95a7133 5429static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5430 PyObject *resultobj;
5431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5432 int arg2 ;
5433 wxString result;
5434 PyObject * obj0 = 0 ;
994141e6 5435 PyObject * obj1 = 0 ;
d14a1e28
RD
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "line", NULL
5438 };
5439
994141e6 5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 arg2 = (int) SWIG_AsInt(obj1);
5444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (arg1)->GetLine(arg2);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 {
5453#if wxUSE_UNICODE
5454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5455#else
5456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5457#endif
5458 }
5459 return resultobj;
5460 fail:
5461 return NULL;
5462}
5463
5464
a95a7133 5465static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5466 PyObject *resultobj;
5467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5468 int result;
5469 PyObject * obj0 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 result = (int)(arg1)->GetLineCount();
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
15afbcd0 5484 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
a95a7133 5491static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5492 PyObject *resultobj;
5493 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5494 int arg2 ;
5495 PyObject * obj0 = 0 ;
994141e6 5496 PyObject * obj1 = 0 ;
d14a1e28
RD
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "pixelWidth", NULL
5499 };
5500
994141e6 5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5504 arg2 = (int) SWIG_AsInt(obj1);
5505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->SetMarginLeft(arg2);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517}
5518
5519
a95a7133 5520static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5521 PyObject *resultobj;
5522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5523 int result;
5524 PyObject * obj0 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
5530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 result = (int)(arg1)->GetMarginLeft();
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
15afbcd0 5539 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
a95a7133 5546static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5547 PyObject *resultobj;
5548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5549 int arg2 ;
5550 PyObject * obj0 = 0 ;
994141e6 5551 PyObject * obj1 = 0 ;
d14a1e28
RD
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "pixelWidth", NULL
5554 };
5555
994141e6 5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5559 arg2 = (int) SWIG_AsInt(obj1);
5560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetMarginRight(arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
a95a7133 5575static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5576 PyObject *resultobj;
5577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5578 int result;
5579 PyObject * obj0 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "self", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = (int)(arg1)->GetMarginRight();
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
15afbcd0 5594 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
a95a7133 5601static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5602 PyObject *resultobj;
5603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5604 bool result;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
15afbcd0
RD
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (bool)(arg1)->GetModify();
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
4f89f6a3
RD
5620 {
5621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5622 }
d14a1e28
RD
5623 return resultobj;
5624 fail:
5625 return NULL;
5626}
5627
5628
a95a7133 5629static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5630 PyObject *resultobj;
5631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5632 int arg2 ;
5633 int arg3 ;
5634 PyObject * obj0 = 0 ;
994141e6
RD
5635 PyObject * obj1 = 0 ;
5636 PyObject * obj2 = 0 ;
d14a1e28
RD
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "start",(char *) "end", NULL
5639 };
5640
994141e6 5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5644 arg2 = (int) SWIG_AsInt(obj1);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 arg3 = (int) SWIG_AsInt(obj2);
5647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->SetSelection(arg2,arg3);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
a95a7133 5662static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5663 PyObject *resultobj;
5664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5665 wxString result;
5666 PyObject * obj0 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
15afbcd0
RD
5672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (arg1)->GetSelectedText();
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 {
5682#if wxUSE_UNICODE
5683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5684#else
5685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5686#endif
5687 }
5688 return resultobj;
5689 fail:
5690 return NULL;
5691}
5692
5693
a95a7133 5694static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5695 PyObject *resultobj;
5696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5697 int arg2 ;
5698 int arg3 ;
5699 wxString result;
5700 PyObject * obj0 = 0 ;
994141e6
RD
5701 PyObject * obj1 = 0 ;
5702 PyObject * obj2 = 0 ;
d14a1e28
RD
5703 char *kwnames[] = {
5704 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5705 };
5706
994141e6 5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 arg2 = (int) SWIG_AsInt(obj1);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 arg3 = (int) SWIG_AsInt(obj2);
5713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (arg1)->GetTextRange(arg2,arg3);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 {
5722#if wxUSE_UNICODE
5723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5724#else
5725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5726#endif
5727 }
5728 return resultobj;
5729 fail:
5730 return NULL;
5731}
5732
5733
a95a7133 5734static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5735 PyObject *resultobj;
5736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5737 bool arg2 ;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "self",(char *) "normal", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5747 arg2 = (bool) SWIG_AsBool(obj1);
5748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 (arg1)->HideSelection(arg2);
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 Py_INCREF(Py_None); resultobj = Py_None;
5757 return resultobj;
5758 fail:
5759 return NULL;
5760}
5761
5762
a95a7133 5763static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5764 PyObject *resultobj;
5765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5766 int arg2 ;
5767 int result;
5768 PyObject * obj0 = 0 ;
994141e6 5769 PyObject * obj1 = 0 ;
d14a1e28
RD
5770 char *kwnames[] = {
5771 (char *) "self",(char *) "pos", NULL
5772 };
5773
994141e6 5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5777 arg2 = (int) SWIG_AsInt(obj1);
5778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (int)(arg1)->LineFromPosition(arg2);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
15afbcd0 5786 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5787 return resultobj;
5788 fail:
5789 return NULL;
5790}
5791
5792
a95a7133 5793static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5794 PyObject *resultobj;
5795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5796 int arg2 ;
5797 int result;
5798 PyObject * obj0 = 0 ;
994141e6 5799 PyObject * obj1 = 0 ;
d14a1e28
RD
5800 char *kwnames[] = {
5801 (char *) "self",(char *) "line", NULL
5802 };
5803
994141e6 5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5807 arg2 = (int) SWIG_AsInt(obj1);
5808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = (int)(arg1)->PositionFromLine(arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
15afbcd0 5816 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
a95a7133 5823static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5824 PyObject *resultobj;
5825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5826 int arg2 ;
5827 int arg3 ;
5828 PyObject * obj0 = 0 ;
994141e6
RD
5829 PyObject * obj1 = 0 ;
5830 PyObject * obj2 = 0 ;
d14a1e28
RD
5831 char *kwnames[] = {
5832 (char *) "self",(char *) "columns",(char *) "lines", NULL
5833 };
5834
994141e6 5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5838 arg2 = (int) SWIG_AsInt(obj1);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 arg3 = (int) SWIG_AsInt(obj2);
5841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 (arg1)->LineScroll(arg2,arg3);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 Py_INCREF(Py_None); resultobj = Py_None;
5850 return resultobj;
5851 fail:
5852 return NULL;
5853}
5854
5855
a95a7133 5856static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5857 PyObject *resultobj;
5858 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5859 PyObject * obj0 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
5865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 (arg1)->EnsureCaretVisible();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 Py_INCREF(Py_None); resultobj = Py_None;
5875 return resultobj;
5876 fail:
5877 return NULL;
5878}
5879
5880
a95a7133 5881static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5882 PyObject *resultobj;
5883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5884 wxString *arg2 = 0 ;
e811c8ce 5885 bool temp2 = False ;
d14a1e28
RD
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self",(char *) "text", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5895 {
5896 arg2 = wxString_in_helper(obj1);
5897 if (arg2 == NULL) SWIG_fail;
e811c8ce 5898 temp2 = True;
d14a1e28
RD
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->ReplaceSelection((wxString const &)*arg2);
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 {
5909 if (temp2)
5910 delete arg2;
5911 }
5912 return resultobj;
5913 fail:
5914 {
5915 if (temp2)
5916 delete arg2;
5917 }
5918 return NULL;
5919}
5920
5921
a95a7133 5922static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5923 PyObject *resultobj;
5924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5925 bool arg2 ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self",(char *) "readOnly", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 arg2 = (bool) SWIG_AsBool(obj1);
5936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 (arg1)->SetReadOnly(arg2);
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 Py_INCREF(Py_None); resultobj = Py_None;
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
a95a7133 5951static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5952 PyObject *resultobj;
5953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5954 bool result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 result = (bool)(arg1)->CanPaste();
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
4f89f6a3
RD
5970 {
5971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5972 }
d14a1e28
RD
5973 return resultobj;
5974 fail:
5975 return NULL;
5976}
5977
5978
a95a7133 5979static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5980 PyObject *resultobj;
5981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5982 bool result;
5983 PyObject * obj0 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 result = (bool)(arg1)->CanUndo();
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
4f89f6a3
RD
5998 {
5999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6000 }
d14a1e28
RD
6001 return resultobj;
6002 fail:
6003 return NULL;
6004}
6005
6006
a95a7133 6007static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6008 PyObject *resultobj;
6009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6010 PyObject * obj0 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 (arg1)->EmptyUndoBuffer();
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 Py_INCREF(Py_None); resultobj = Py_None;
6026 return resultobj;
6027 fail:
6028 return NULL;
6029}
6030
6031
a95a7133 6032static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6033 PyObject *resultobj;
6034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6035 PyObject * obj0 = 0 ;
6036 char *kwnames[] = {
6037 (char *) "self", NULL
6038 };
6039
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->Undo();
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 Py_INCREF(Py_None); resultobj = Py_None;
6051 return resultobj;
6052 fail:
6053 return NULL;
6054}
6055
6056
a95a7133 6057static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6058 PyObject *resultobj;
6059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
6066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 (arg1)->Cut();
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 Py_INCREF(Py_None); resultobj = Py_None;
6076 return resultobj;
6077 fail:
6078 return NULL;
6079}
6080
6081
a95a7133 6082static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6083 PyObject *resultobj;
6084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6085 PyObject * obj0 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 (arg1)->Copy();
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 Py_INCREF(Py_None); resultobj = Py_None;
6101 return resultobj;
6102 fail:
6103 return NULL;
6104}
6105
6106
a95a7133 6107static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6108 PyObject *resultobj;
6109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6110 PyObject * obj0 = 0 ;
6111 char *kwnames[] = {
6112 (char *) "self", NULL
6113 };
6114
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
6116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->Paste();
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129}
6130
6131
a95a7133 6132static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6133 PyObject *resultobj;
6134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->Clear();
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154}
6155
6156
a95a7133 6157static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6158 PyObject *resultobj;
6159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6160 wxString *arg2 = 0 ;
e811c8ce 6161 bool temp2 = False ;
d14a1e28
RD
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "self",(char *) "text", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6171 {
6172 arg2 = wxString_in_helper(obj1);
6173 if (arg2 == NULL) SWIG_fail;
e811c8ce 6174 temp2 = True;
d14a1e28
RD
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetText((wxString const &)*arg2);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 {
6185 if (temp2)
6186 delete arg2;
6187 }
6188 return resultobj;
6189 fail:
6190 {
6191 if (temp2)
6192 delete arg2;
6193 }
6194 return NULL;
6195}
6196
6197
a95a7133 6198static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6199 PyObject *resultobj;
6200 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6201 wxString result;
6202 PyObject * obj0 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
6208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (arg1)->GetText();
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218#if wxUSE_UNICODE
6219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6220#else
6221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6222#endif
6223 }
6224 return resultobj;
6225 fail:
6226 return NULL;
6227}
6228
6229
a95a7133 6230static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6231 PyObject *resultobj;
6232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6233 int result;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (int)(arg1)->GetTextLength();
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
15afbcd0 6249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
a95a7133 6256static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6257 PyObject *resultobj;
6258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6259 bool arg2 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "overtype", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 arg2 = (bool) SWIG_AsBool(obj1);
6270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 (arg1)->SetOvertype(arg2);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 Py_INCREF(Py_None); resultobj = Py_None;
6279 return resultobj;
6280 fail:
6281 return NULL;
6282}
6283
6284
a95a7133 6285static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6286 PyObject *resultobj;
6287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6288 bool result;
6289 PyObject * obj0 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
15afbcd0
RD
6295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 result = (bool)(arg1)->GetOvertype();
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
4f89f6a3
RD
6304 {
6305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6306 }
d14a1e28
RD
6307 return resultobj;
6308 fail:
6309 return NULL;
6310}
6311
6312
a95a7133 6313static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6314 PyObject *resultobj;
6315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6316 int arg2 ;
6317 PyObject * obj0 = 0 ;
994141e6 6318 PyObject * obj1 = 0 ;
d14a1e28
RD
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "pixelWidth", NULL
6321 };
6322
994141e6 6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6326 arg2 = (int) SWIG_AsInt(obj1);
6327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 (arg1)->SetCaretWidth(arg2);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 Py_INCREF(Py_None); resultobj = Py_None;
6336 return resultobj;
6337 fail:
6338 return NULL;
6339}
6340
6341
a95a7133 6342static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6343 PyObject *resultobj;
6344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6345 int result;
6346 PyObject * obj0 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "self", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
6352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (int)(arg1)->GetCaretWidth();
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
15afbcd0 6361 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
a95a7133 6368static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6369 PyObject *resultobj;
6370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6371 int arg2 ;
6372 PyObject * obj0 = 0 ;
994141e6 6373 PyObject * obj1 = 0 ;
d14a1e28
RD
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "pos", NULL
6376 };
6377
994141e6 6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 arg2 = (int) SWIG_AsInt(obj1);
6382 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 (arg1)->SetTargetStart(arg2);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
a95a7133 6397static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6398 PyObject *resultobj;
6399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6400 int result;
6401 PyObject * obj0 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
6407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 result = (int)(arg1)->GetTargetStart();
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
15afbcd0 6416 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
a95a7133 6423static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6424 PyObject *resultobj;
6425 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6426 int arg2 ;
6427 PyObject * obj0 = 0 ;
994141e6 6428 PyObject * obj1 = 0 ;
d14a1e28
RD
6429 char *kwnames[] = {
6430 (char *) "self",(char *) "pos", NULL
6431 };
6432
994141e6 6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6436 arg2 = (int) SWIG_AsInt(obj1);
6437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SetTargetEnd(arg2);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 Py_INCREF(Py_None); resultobj = Py_None;
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
a95a7133 6452static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6453 PyObject *resultobj;
6454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6455 int result;
6456 PyObject * obj0 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
6462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (int)(arg1)->GetTargetEnd();
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
15afbcd0 6471 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6472 return resultobj;
6473 fail:
6474 return NULL;
6475}
6476
6477
a95a7133 6478static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6479 PyObject *resultobj;
6480 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6481 wxString *arg2 = 0 ;
6482 int result;
e811c8ce 6483 bool temp2 = False ;
d14a1e28
RD
6484 PyObject * obj0 = 0 ;
6485 PyObject * obj1 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "text", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6493 {
6494 arg2 = wxString_in_helper(obj1);
6495 if (arg2 == NULL) SWIG_fail;
e811c8ce 6496 temp2 = True;
d14a1e28
RD
6497 }
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
15afbcd0 6505 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6506 {
6507 if (temp2)
6508 delete arg2;
6509 }
6510 return resultobj;
6511 fail:
6512 {
6513 if (temp2)
6514 delete arg2;
6515 }
6516 return NULL;
6517}
6518
6519
a95a7133 6520static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6521 PyObject *resultobj;
6522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6523 wxString *arg2 = 0 ;
6524 int result;
e811c8ce 6525 bool temp2 = False ;
d14a1e28
RD
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self",(char *) "text", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6535 {
6536 arg2 = wxString_in_helper(obj1);
6537 if (arg2 == NULL) SWIG_fail;
e811c8ce 6538 temp2 = True;
d14a1e28
RD
6539 }
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
15afbcd0 6547 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6548 {
6549 if (temp2)
6550 delete arg2;
6551 }
6552 return resultobj;
6553 fail:
6554 {
6555 if (temp2)
6556 delete arg2;
6557 }
6558 return NULL;
6559}
6560
6561
a95a7133 6562static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6563 PyObject *resultobj;
6564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6565 wxString *arg2 = 0 ;
6566 int result;
e811c8ce 6567 bool temp2 = False ;
d14a1e28
RD
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self",(char *) "text", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6577 {
6578 arg2 = wxString_in_helper(obj1);
6579 if (arg2 == NULL) SWIG_fail;
e811c8ce 6580 temp2 = True;
d14a1e28
RD
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
15afbcd0 6589 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6590 {
6591 if (temp2)
6592 delete arg2;
6593 }
6594 return resultobj;
6595 fail:
6596 {
6597 if (temp2)
6598 delete arg2;
6599 }
6600 return NULL;
6601}
6602
6603
a95a7133 6604static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6605 PyObject *resultobj;
6606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6607 int arg2 ;
6608 PyObject * obj0 = 0 ;
994141e6 6609 PyObject * obj1 = 0 ;
d14a1e28
RD
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "flags", NULL
6612 };
6613
994141e6 6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6617 arg2 = (int) SWIG_AsInt(obj1);
6618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 (arg1)->SetSearchFlags(arg2);
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 Py_INCREF(Py_None); resultobj = Py_None;
6627 return resultobj;
6628 fail:
6629 return NULL;
6630}
6631
6632
a95a7133 6633static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6634 PyObject *resultobj;
6635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6636 int result;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
6643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (int)(arg1)->GetSearchFlags();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
15afbcd0 6652 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6653 return resultobj;
6654 fail:
6655 return NULL;
6656}
6657
6658
a95a7133 6659static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6660 PyObject *resultobj;
6661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6662 int arg2 ;
6663 wxString *arg3 = 0 ;
e811c8ce 6664 bool temp3 = False ;
d14a1e28 6665 PyObject * obj0 = 0 ;
994141e6 6666 PyObject * obj1 = 0 ;
d14a1e28
RD
6667 PyObject * obj2 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "self",(char *) "pos",(char *) "definition", NULL
6670 };
6671
994141e6 6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6675 arg2 = (int) SWIG_AsInt(obj1);
6676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6677 {
6678 arg3 = wxString_in_helper(obj2);
6679 if (arg3 == NULL) SWIG_fail;
e811c8ce 6680 temp3 = True;
d14a1e28
RD
6681 }
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 Py_INCREF(Py_None); resultobj = Py_None;
6690 {
6691 if (temp3)
6692 delete arg3;
6693 }
6694 return resultobj;
6695 fail:
6696 {
6697 if (temp3)
6698 delete arg3;
6699 }
6700 return NULL;
6701}
6702
6703
a95a7133 6704static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6705 PyObject *resultobj;
6706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6707 PyObject * obj0 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 (arg1)->CallTipCancel();
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 Py_INCREF(Py_None); resultobj = Py_None;
6723 return resultobj;
6724 fail:
6725 return NULL;
6726}
6727
6728
a95a7133 6729static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6730 PyObject *resultobj;
6731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6732 bool result;
6733 PyObject * obj0 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (bool)(arg1)->CallTipActive();
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
4f89f6a3
RD
6748 {
6749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6750 }
d14a1e28
RD
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
a95a7133 6757static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6758 PyObject *resultobj;
6759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6760 int result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (int)(arg1)->CallTipPosAtStart();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
15afbcd0 6776 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6777 return resultobj;
6778 fail:
6779 return NULL;
6780}
6781
6782
a95a7133 6783static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6784 PyObject *resultobj;
6785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6786 int arg2 ;
6787 int arg3 ;
6788 PyObject * obj0 = 0 ;
994141e6
RD
6789 PyObject * obj1 = 0 ;
6790 PyObject * obj2 = 0 ;
d14a1e28
RD
6791 char *kwnames[] = {
6792 (char *) "self",(char *) "start",(char *) "end", NULL
6793 };
6794
994141e6 6795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6798 arg2 = (int) SWIG_AsInt(obj1);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 arg3 = (int) SWIG_AsInt(obj2);
6801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 (arg1)->CallTipSetHighlight(arg2,arg3);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 Py_INCREF(Py_None); resultobj = Py_None;
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
a95a7133 6816static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6817 PyObject *resultobj;
6818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6819 wxColour *arg2 = 0 ;
6820 wxColour temp2 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "self",(char *) "back", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6830 {
6831 arg2 = &temp2;
6832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6833 }
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 Py_INCREF(Py_None); resultobj = Py_None;
6842 return resultobj;
6843 fail:
6844 return NULL;
6845}
6846
6847
a95a7133 6848static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6849 PyObject *resultobj;
6850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6851 wxColour *arg2 = 0 ;
6852 wxColour temp2 ;
6853 PyObject * obj0 = 0 ;
6854 PyObject * obj1 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "fore", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6862 {
6863 arg2 = &temp2;
6864 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
a95a7133 6880static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6881 PyObject *resultobj;
6882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6883 wxColour *arg2 = 0 ;
6884 wxColour temp2 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "fore", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6894 {
6895 arg2 = &temp2;
6896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6897 }
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 Py_INCREF(Py_None); resultobj = Py_None;
6906 return resultobj;
6907 fail:
6908 return NULL;
6909}
6910
6911
a95a7133 6912static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6913 PyObject *resultobj;
6914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6915 int arg2 ;
6916 int result;
6917 PyObject * obj0 = 0 ;
994141e6 6918 PyObject * obj1 = 0 ;
d14a1e28
RD
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "line", NULL
6921 };
6922
994141e6 6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6926 arg2 = (int) SWIG_AsInt(obj1);
6927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (int)(arg1)->VisibleFromDocLine(arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
15afbcd0 6935 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
a95a7133 6942static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6945 int arg2 ;
6946 int result;
6947 PyObject * obj0 = 0 ;
994141e6 6948 PyObject * obj1 = 0 ;
d14a1e28
RD
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "lineDisplay", NULL
6951 };
6952
994141e6 6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 arg2 = (int) SWIG_AsInt(obj1);
6957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (int)(arg1)->DocLineFromVisible(arg2);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
15afbcd0 6965 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
a95a7133 6972static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6973 PyObject *resultobj;
6974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6975 int arg2 ;
6976 int arg3 ;
6977 PyObject * obj0 = 0 ;
994141e6
RD
6978 PyObject * obj1 = 0 ;
6979 PyObject * obj2 = 0 ;
d14a1e28
RD
6980 char *kwnames[] = {
6981 (char *) "self",(char *) "line",(char *) "level", NULL
6982 };
6983
994141e6 6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6987 arg2 = (int) SWIG_AsInt(obj1);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 arg3 = (int) SWIG_AsInt(obj2);
6990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 (arg1)->SetFoldLevel(arg2,arg3);
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 Py_INCREF(Py_None); resultobj = Py_None;
6999 return resultobj;
7000 fail:
7001 return NULL;
7002}
7003
7004
a95a7133 7005static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7006 PyObject *resultobj;
7007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7008 int arg2 ;
7009 int result;
7010 PyObject * obj0 = 0 ;
994141e6 7011 PyObject * obj1 = 0 ;
d14a1e28
RD
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "line", NULL
7014 };
7015
994141e6 7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7019 arg2 = (int) SWIG_AsInt(obj1);
7020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (int)(arg1)->GetFoldLevel(arg2);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
15afbcd0 7028 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7029 return resultobj;
7030 fail:
7031 return NULL;
7032}
7033
7034
a95a7133 7035static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7036 PyObject *resultobj;
7037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7038 int arg2 ;
7039 int arg3 ;
7040 int result;
7041 PyObject * obj0 = 0 ;
994141e6
RD
7042 PyObject * obj1 = 0 ;
7043 PyObject * obj2 = 0 ;
d14a1e28
RD
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "line",(char *) "level", NULL
7046 };
7047
994141e6 7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 arg2 = (int) SWIG_AsInt(obj1);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 arg3 = (int) SWIG_AsInt(obj2);
7054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (int)(arg1)->GetLastChild(arg2,arg3);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
15afbcd0 7062 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7063 return resultobj;
7064 fail:
7065 return NULL;
7066}
7067
7068
a95a7133 7069static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7070 PyObject *resultobj;
7071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7072 int arg2 ;
7073 int result;
7074 PyObject * obj0 = 0 ;
994141e6 7075 PyObject * obj1 = 0 ;
d14a1e28
RD
7076 char *kwnames[] = {
7077 (char *) "self",(char *) "line", NULL
7078 };
7079
994141e6 7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7083 arg2 = (int) SWIG_AsInt(obj1);
7084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 result = (int)(arg1)->GetFoldParent(arg2);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
15afbcd0 7092 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7093 return resultobj;
7094 fail:
7095 return NULL;
7096}
7097
7098
a95a7133 7099static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7100 PyObject *resultobj;
7101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7102 int arg2 ;
7103 int arg3 ;
7104 PyObject * obj0 = 0 ;
994141e6
RD
7105 PyObject * obj1 = 0 ;
7106 PyObject * obj2 = 0 ;
d14a1e28
RD
7107 char *kwnames[] = {
7108 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7109 };
7110
994141e6 7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7114 arg2 = (int) SWIG_AsInt(obj1);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 arg3 = (int) SWIG_AsInt(obj2);
7117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->ShowLines(arg2,arg3);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 Py_INCREF(Py_None); resultobj = Py_None;
7126 return resultobj;
7127 fail:
7128 return NULL;
7129}
7130
7131
a95a7133 7132static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7133 PyObject *resultobj;
7134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7135 int arg2 ;
7136 int arg3 ;
7137 PyObject * obj0 = 0 ;
994141e6
RD
7138 PyObject * obj1 = 0 ;
7139 PyObject * obj2 = 0 ;
d14a1e28
RD
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7142 };
7143
994141e6 7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7147 arg2 = (int) SWIG_AsInt(obj1);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 arg3 = (int) SWIG_AsInt(obj2);
7150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 (arg1)->HideLines(arg2,arg3);
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 Py_INCREF(Py_None); resultobj = Py_None;
7159 return resultobj;
7160 fail:
7161 return NULL;
7162}
7163
7164
a95a7133 7165static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7166 PyObject *resultobj;
7167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7168 int arg2 ;
7169 bool result;
7170 PyObject * obj0 = 0 ;
994141e6 7171 PyObject * obj1 = 0 ;
d14a1e28
RD
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "line", NULL
7174 };
7175
994141e6 7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7179 arg2 = (int) SWIG_AsInt(obj1);
7180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = (bool)(arg1)->GetLineVisible(arg2);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
4f89f6a3
RD
7188 {
7189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7190 }
d14a1e28
RD
7191 return resultobj;
7192 fail:
7193 return NULL;
7194}
7195
7196
a95a7133 7197static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7198 PyObject *resultobj;
7199 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7200 int arg2 ;
7201 bool arg3 ;
7202 PyObject * obj0 = 0 ;
994141e6 7203 PyObject * obj1 = 0 ;
d14a1e28
RD
7204 PyObject * obj2 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self",(char *) "line",(char *) "expanded", NULL
7207 };
7208
994141e6 7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7212 arg2 = (int) SWIG_AsInt(obj1);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 arg3 = (bool) SWIG_AsBool(obj2);
7215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 (arg1)->SetFoldExpanded(arg2,arg3);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 Py_INCREF(Py_None); resultobj = Py_None;
7224 return resultobj;
7225 fail:
7226 return NULL;
7227}
7228
7229
a95a7133 7230static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7231 PyObject *resultobj;
7232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7233 int arg2 ;
7234 bool result;
7235 PyObject * obj0 = 0 ;
994141e6 7236 PyObject * obj1 = 0 ;
d14a1e28
RD
7237 char *kwnames[] = {
7238 (char *) "self",(char *) "line", NULL
7239 };
7240
994141e6 7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7244 arg2 = (int) SWIG_AsInt(obj1);
7245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (bool)(arg1)->GetFoldExpanded(arg2);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
4f89f6a3
RD
7253 {
7254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7255 }
d14a1e28
RD
7256 return resultobj;
7257 fail:
7258 return NULL;
7259}
7260
7261
a95a7133 7262static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7263 PyObject *resultobj;
7264 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7265 int arg2 ;
7266 PyObject * obj0 = 0 ;
994141e6 7267 PyObject * obj1 = 0 ;
d14a1e28
RD
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "line", NULL
7270 };
7271
994141e6 7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7275 arg2 = (int) SWIG_AsInt(obj1);
7276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 (arg1)->ToggleFold(arg2);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 Py_INCREF(Py_None); resultobj = Py_None;
7285 return resultobj;
7286 fail:
7287 return NULL;
7288}
7289
7290
a95a7133 7291static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7292 PyObject *resultobj;
7293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7294 int arg2 ;
7295 PyObject * obj0 = 0 ;
994141e6 7296 PyObject * obj1 = 0 ;
d14a1e28
RD
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "line", NULL
7299 };
7300
994141e6 7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 arg2 = (int) SWIG_AsInt(obj1);
7305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 (arg1)->EnsureVisible(arg2);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 return resultobj;
7315 fail:
7316 return NULL;
7317}
7318
7319
a95a7133 7320static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7321 PyObject *resultobj;
7322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7323 int arg2 ;
7324 PyObject * obj0 = 0 ;
994141e6 7325 PyObject * obj1 = 0 ;
d14a1e28
RD
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "flags", NULL
7328 };
7329
994141e6 7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 arg2 = (int) SWIG_AsInt(obj1);
7334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 (arg1)->SetFoldFlags(arg2);
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 Py_INCREF(Py_None); resultobj = Py_None;
7343 return resultobj;
7344 fail:
7345 return NULL;
7346}
7347
7348
a95a7133 7349static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7350 PyObject *resultobj;
7351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7352 int arg2 ;
7353 PyObject * obj0 = 0 ;
994141e6 7354 PyObject * obj1 = 0 ;
d14a1e28
RD
7355 char *kwnames[] = {
7356 (char *) "self",(char *) "line", NULL
7357 };
7358
994141e6 7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7362 arg2 = (int) SWIG_AsInt(obj1);
7363 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375}
7376
7377
a95a7133 7378static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7379 PyObject *resultobj;
7380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7381 bool arg2 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "tabIndents", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 arg2 = (bool) SWIG_AsBool(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 (arg1)->SetTabIndents(arg2);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 return resultobj;
7402 fail:
7403 return NULL;
7404}
7405
7406
a95a7133 7407static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7408 PyObject *resultobj;
7409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7410 bool result;
7411 PyObject * obj0 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
15afbcd0
RD
7417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (bool)(arg1)->GetTabIndents();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
4f89f6a3
RD
7426 {
7427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7428 }
d14a1e28
RD
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
a95a7133 7435static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7436 PyObject *resultobj;
7437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7438 bool arg2 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "bsUnIndents", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 arg2 = (bool) SWIG_AsBool(obj1);
7449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->SetBackSpaceUnIndents(arg2);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461}
7462
7463
a95a7133 7464static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7465 PyObject *resultobj;
7466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7467 bool result;
7468 PyObject * obj0 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
15afbcd0
RD
7474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (bool)(arg1)->GetBackSpaceUnIndents();
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
4f89f6a3
RD
7483 {
7484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7485 }
d14a1e28
RD
7486 return resultobj;
7487 fail:
7488 return NULL;
7489}
7490
7491
a95a7133 7492static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7493 PyObject *resultobj;
7494 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7495 int arg2 ;
7496 PyObject * obj0 = 0 ;
994141e6 7497 PyObject * obj1 = 0 ;
d14a1e28
RD
7498 char *kwnames[] = {
7499 (char *) "self",(char *) "periodMilliseconds", NULL
7500 };
7501
994141e6 7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7505 arg2 = (int) SWIG_AsInt(obj1);
7506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 (arg1)->SetMouseDwellTime(arg2);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 Py_INCREF(Py_None); resultobj = Py_None;
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
a95a7133 7521static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7522 PyObject *resultobj;
7523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7524 int result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
7531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (int)(arg1)->GetMouseDwellTime();
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
15afbcd0 7540 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7541 return resultobj;
7542 fail:
7543 return NULL;
7544}
7545
7546
a95a7133 7547static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7548 PyObject *resultobj;
7549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7550 int arg2 ;
7551 bool arg3 ;
7552 int result;
7553 PyObject * obj0 = 0 ;
994141e6 7554 PyObject * obj1 = 0 ;
d14a1e28
RD
7555 PyObject * obj2 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7558 };
7559
994141e6 7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7563 arg2 = (int) SWIG_AsInt(obj1);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 arg3 = (bool) SWIG_AsBool(obj2);
7566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
15afbcd0 7574 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7575 return resultobj;
7576 fail:
7577 return NULL;
7578}
7579
7580
a95a7133 7581static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7582 PyObject *resultobj;
7583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7584 int arg2 ;
7585 bool arg3 ;
7586 int result;
7587 PyObject * obj0 = 0 ;
994141e6 7588 PyObject * obj1 = 0 ;
d14a1e28
RD
7589 PyObject * obj2 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7592 };
7593
994141e6 7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7597 arg2 = (int) SWIG_AsInt(obj1);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 arg3 = (bool) SWIG_AsBool(obj2);
7600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
15afbcd0 7608 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
a95a7133 7615static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7616 PyObject *resultobj;
7617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7618 int arg2 ;
7619 PyObject * obj0 = 0 ;
994141e6 7620 PyObject * obj1 = 0 ;
d14a1e28
RD
7621 char *kwnames[] = {
7622 (char *) "self",(char *) "mode", NULL
7623 };
7624
994141e6 7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 arg2 = (int) SWIG_AsInt(obj1);
7629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 (arg1)->SetWrapMode(arg2);
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 Py_INCREF(Py_None); resultobj = Py_None;
7638 return resultobj;
7639 fail:
7640 return NULL;
7641}
7642
7643
a95a7133 7644static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7645 PyObject *resultobj;
7646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7647 int result;
7648 PyObject * obj0 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
7654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (int)(arg1)->GetWrapMode();
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
15afbcd0 7663 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7664 return resultobj;
7665 fail:
7666 return NULL;
7667}
7668
7669
a95a7133 7670static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7671 PyObject *resultobj;
7672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7673 int arg2 ;
7674 PyObject * obj0 = 0 ;
994141e6 7675 PyObject * obj1 = 0 ;
d14a1e28
RD
7676 char *kwnames[] = {
7677 (char *) "self",(char *) "mode", NULL
7678 };
7679
994141e6 7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7683 arg2 = (int) SWIG_AsInt(obj1);
7684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 (arg1)->SetLayoutCache(arg2);
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 Py_INCREF(Py_None); resultobj = Py_None;
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
a95a7133 7699static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7700 PyObject *resultobj;
7701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7702 int result;
7703 PyObject * obj0 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
15afbcd0
RD
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (int)(arg1)->GetLayoutCache();
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
15afbcd0 7718 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7719 return resultobj;
7720 fail:
7721 return NULL;
7722}
7723
7724
a95a7133 7725static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7726 PyObject *resultobj;
7727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7728 int arg2 ;
7729 PyObject * obj0 = 0 ;
994141e6 7730 PyObject * obj1 = 0 ;
d14a1e28
RD
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "pixelWidth", NULL
7733 };
7734
994141e6 7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 arg2 = (int) SWIG_AsInt(obj1);
7739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 (arg1)->SetScrollWidth(arg2);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 Py_INCREF(Py_None); resultobj = Py_None;
7748 return resultobj;
7749 fail:
7750 return NULL;
7751}
7752
7753
a95a7133 7754static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7755 PyObject *resultobj;
7756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7757 int result;
7758 PyObject * obj0 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
7764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 result = (int)(arg1)->GetScrollWidth();
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
15afbcd0 7773 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
a95a7133 7780static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7781 PyObject *resultobj;
7782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7783 int arg2 ;
7784 wxString *arg3 = 0 ;
7785 int result;
e811c8ce 7786 bool temp3 = False ;
d14a1e28 7787 PyObject * obj0 = 0 ;
994141e6 7788 PyObject * obj1 = 0 ;
d14a1e28
RD
7789 PyObject * obj2 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "style",(char *) "text", NULL
7792 };
7793
994141e6 7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7797 arg2 = (int) SWIG_AsInt(obj1);
7798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7799 {
7800 arg3 = wxString_in_helper(obj2);
7801 if (arg3 == NULL) SWIG_fail;
e811c8ce 7802 temp3 = True;
d14a1e28
RD
7803 }
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
15afbcd0 7811 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7812 {
7813 if (temp3)
7814 delete arg3;
7815 }
7816 return resultobj;
7817 fail:
7818 {
7819 if (temp3)
7820 delete arg3;
7821 }
7822 return NULL;
7823}
7824
7825
a95a7133 7826static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7827 PyObject *resultobj;
7828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7829 bool arg2 ;
7830 PyObject * obj0 = 0 ;
7831 PyObject * obj1 = 0 ;
7832 char *kwnames[] = {
7833 (char *) "self",(char *) "endAtLastLine", NULL
7834 };
7835
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7839 arg2 = (bool) SWIG_AsBool(obj1);
7840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetEndAtLastLine(arg2);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852}
7853
7854
a95a7133 7855static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7856 PyObject *resultobj;
7857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7858 int result;
7859 PyObject * obj0 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "self", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
7865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 result = (int)(arg1)->GetEndAtLastLine();
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
15afbcd0 7874 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7875 return resultobj;
7876 fail:
7877 return NULL;
7878}
7879
7880
a95a7133 7881static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7882 PyObject *resultobj;
7883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7884 int arg2 ;
7885 int result;
7886 PyObject * obj0 = 0 ;
994141e6 7887 PyObject * obj1 = 0 ;
d14a1e28
RD
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "line", NULL
7890 };
7891
994141e6 7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 arg2 = (int) SWIG_AsInt(obj1);
7896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (int)(arg1)->TextHeight(arg2);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
15afbcd0 7904 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
a95a7133 7911static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7912 PyObject *resultobj;
7913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7914 bool arg2 ;
7915 PyObject * obj0 = 0 ;
7916 PyObject * obj1 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "show", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7924 arg2 = (bool) SWIG_AsBool(obj1);
7925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 (arg1)->SetUseVerticalScrollBar(arg2);
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
a95a7133 7940static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7941 PyObject *resultobj;
7942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7943 bool result;
7944 PyObject * obj0 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
7950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = (bool)(arg1)->GetUseVerticalScrollBar();
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
4f89f6a3
RD
7959 {
7960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7961 }
d14a1e28
RD
7962 return resultobj;
7963 fail:
7964 return NULL;
7965}
7966
7967
a95a7133 7968static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7969 PyObject *resultobj;
7970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7971 int arg2 ;
7972 wxString *arg3 = 0 ;
e811c8ce 7973 bool temp3 = False ;
d14a1e28 7974 PyObject * obj0 = 0 ;
994141e6 7975 PyObject * obj1 = 0 ;
d14a1e28
RD
7976 PyObject * obj2 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self",(char *) "length",(char *) "text", NULL
7979 };
7980
994141e6 7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7984 arg2 = (int) SWIG_AsInt(obj1);
7985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7986 {
7987 arg3 = wxString_in_helper(obj2);
7988 if (arg3 == NULL) SWIG_fail;
e811c8ce 7989 temp3 = True;
d14a1e28
RD
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 Py_INCREF(Py_None); resultobj = Py_None;
7999 {
8000 if (temp3)
8001 delete arg3;
8002 }
8003 return resultobj;
8004 fail:
8005 {
8006 if (temp3)
8007 delete arg3;
8008 }
8009 return NULL;
8010}
8011
8012
a95a7133 8013static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8014 PyObject *resultobj;
8015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8016 bool result;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
15afbcd0
RD
8023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (bool)(arg1)->GetTwoPhaseDraw();
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
4f89f6a3
RD
8032 {
8033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8034 }
d14a1e28
RD
8035 return resultobj;
8036 fail:
8037 return NULL;
8038}
8039
8040
a95a7133 8041static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8042 PyObject *resultobj;
8043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8044 bool arg2 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self",(char *) "twoPhase", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8054 arg2 = (bool) SWIG_AsBool(obj1);
8055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 (arg1)->SetTwoPhaseDraw(arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067}
8068
8069
a95a7133 8070static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8071 PyObject *resultobj;
8072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 (arg1)->TargetFromSelection();
8084
8085 wxPyEndAllowThreads(__tstate);
8086 if (PyErr_Occurred()) SWIG_fail;
8087 }
8088 Py_INCREF(Py_None); resultobj = Py_None;
8089 return resultobj;
8090 fail:
8091 return NULL;
8092}
8093
8094
a95a7133 8095static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8096 PyObject *resultobj;
8097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
8104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 (arg1)->LinesJoin();
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 return resultobj;
8115 fail:
8116 return NULL;
8117}
8118
8119
a95a7133 8120static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8121 PyObject *resultobj;
8122 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8123 int arg2 ;
8124 PyObject * obj0 = 0 ;
994141e6 8125 PyObject * obj1 = 0 ;
d14a1e28
RD
8126 char *kwnames[] = {
8127 (char *) "self",(char *) "pixelWidth", NULL
8128 };
8129
994141e6 8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 arg2 = (int) SWIG_AsInt(obj1);
8134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->LinesSplit(arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
a95a7133 8149static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8150 PyObject *resultobj;
8151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8152 bool arg2 ;
8153 wxColour *arg3 = 0 ;
8154 wxColour temp3 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 PyObject * obj2 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 arg2 = (bool) SWIG_AsBool(obj1);
8166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8167 {
8168 arg3 = &temp3;
8169 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8170 }
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 return resultobj;
8180 fail:
8181 return NULL;
8182}
8183
8184
a95a7133 8185static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8186 PyObject *resultobj;
8187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8188 bool arg2 ;
8189 wxColour *arg3 = 0 ;
8190 wxColour temp3 ;
8191 PyObject * obj0 = 0 ;
8192 PyObject * obj1 = 0 ;
8193 PyObject * obj2 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8196 };
8197
15afbcd0
RD
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 arg2 = (bool) SWIG_AsBool(obj1);
8202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8203 {
8204 arg3 = &temp3;
8205 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 Py_INCREF(Py_None); resultobj = Py_None;
8215 return resultobj;
8216 fail:
8217 return NULL;
8218}
8219
8220
a95a7133 8221static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8222 PyObject *resultobj;
8223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8224 PyObject * obj0 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "self", NULL
8227 };
8228
4276dc52 8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
8230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8234 (arg1)->LineDown();
d14a1e28
RD
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 return resultobj;
8241 fail:
8242 return NULL;
8243}
8244
8245
a95a7133 8246static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8247 PyObject *resultobj;
8248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8249 PyObject * obj0 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "self", NULL
8252 };
8253
4276dc52 8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8259 (arg1)->LineDownExtend();
d14a1e28
RD
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 return resultobj;
8266 fail:
8267 return NULL;
8268}
8269
8270
a95a7133 8271static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8272 PyObject *resultobj;
8273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8274 PyObject * obj0 = 0 ;
8275 char *kwnames[] = {
8276 (char *) "self", NULL
8277 };
8278
4276dc52 8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
8280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8284 (arg1)->LineUp();
d14a1e28
RD
8285
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 Py_INCREF(Py_None); resultobj = Py_None;
8290 return resultobj;
8291 fail:
8292 return NULL;
8293}
8294
8295
a95a7133 8296static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8297 PyObject *resultobj;
8298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8299 PyObject * obj0 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self", NULL
8302 };
8303
4276dc52 8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8307 {
8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8309 (arg1)->LineUpExtend();
d14a1e28
RD
8310
8311 wxPyEndAllowThreads(__tstate);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 Py_INCREF(Py_None); resultobj = Py_None;
8315 return resultobj;
8316 fail:
8317 return NULL;
8318}
8319
8320
a95a7133 8321static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8322 PyObject *resultobj;
8323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
4276dc52 8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
8330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8334 (arg1)->CharLeft();
d14a1e28
RD
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
a95a7133 8346static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8347 PyObject *resultobj;
8348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8349 PyObject * obj0 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self", NULL
8352 };
8353
4276dc52 8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8359 (arg1)->CharLeftExtend();
d14a1e28
RD
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 Py_INCREF(Py_None); resultobj = Py_None;
8365 return resultobj;
8366 fail:
8367 return NULL;
8368}
8369
8370
a95a7133 8371static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8372 PyObject *resultobj;
8373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8374 PyObject * obj0 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self", NULL
8377 };
8378
4276dc52 8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8384 (arg1)->CharRight();
d14a1e28
RD
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 Py_INCREF(Py_None); resultobj = Py_None;
8390 return resultobj;
8391 fail:
8392 return NULL;
8393}
8394
8395
a95a7133 8396static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8397 PyObject *resultobj;
8398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8399 PyObject * obj0 = 0 ;
8400 char *kwnames[] = {
4276dc52 8401 (char *) "self", NULL
d14a1e28
RD
8402 };
8403
4276dc52 8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8409 (arg1)->CharRightExtend();
d14a1e28
RD
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
4276dc52 8414 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
a95a7133 8421static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8422 PyObject *resultobj;
8423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
4276dc52 8426 (char *) "self", NULL
d14a1e28
RD
8427 };
8428
4276dc52 8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
8430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8434 (arg1)->WordLeft();
d14a1e28
RD
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 return resultobj;
8441 fail:
8442 return NULL;
8443}
8444
8445
a95a7133 8446static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8447 PyObject *resultobj;
8448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8449 PyObject * obj0 = 0 ;
8450 char *kwnames[] = {
4276dc52 8451 (char *) "self", NULL
d14a1e28
RD
8452 };
8453
4276dc52 8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8459 (arg1)->WordLeftExtend();
d14a1e28
RD
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468}
8469
8470
a95a7133 8471static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8472 PyObject *resultobj;
8473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
4276dc52 8476 (char *) "self", NULL
d14a1e28
RD
8477 };
8478
4276dc52 8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8484 (arg1)->WordRight();
d14a1e28
RD
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
4276dc52 8489 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8490 return resultobj;
8491 fail:
8492 return NULL;
8493}
8494
8495
a95a7133 8496static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8497 PyObject *resultobj;
8498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8499 PyObject * obj0 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self", NULL
8502 };
8503
4276dc52 8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8509 (arg1)->WordRightExtend();
d14a1e28
RD
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
4276dc52 8514 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8515 return resultobj;
8516 fail:
8517 return NULL;
8518}
8519
8520
a95a7133 8521static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8522 PyObject *resultobj;
8523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8524 PyObject * obj0 = 0 ;
d14a1e28 8525 char *kwnames[] = {
4276dc52 8526 (char *) "self", NULL
d14a1e28
RD
8527 };
8528
4276dc52 8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
15afbcd0
RD
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8534 (arg1)->Home();
d14a1e28
RD
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 Py_INCREF(Py_None); resultobj = Py_None;
8540 return resultobj;
8541 fail:
8542 return NULL;
8543}
8544
8545
a95a7133 8546static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8547 PyObject *resultobj;
8548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self", NULL
8552 };
8553
4276dc52 8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8559 (arg1)->HomeExtend();
d14a1e28
RD
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
4276dc52 8564 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8565 return resultobj;
8566 fail:
8567 return NULL;
8568}
8569
8570
a95a7133 8571static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8572 PyObject *resultobj;
8573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8574 PyObject * obj0 = 0 ;
d14a1e28 8575 char *kwnames[] = {
4276dc52 8576 (char *) "self", NULL
d14a1e28
RD
8577 };
8578
4276dc52 8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
8580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8584 (arg1)->LineEnd();
d14a1e28
RD
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 Py_INCREF(Py_None); resultobj = Py_None;
8590 return resultobj;
8591 fail:
8592 return NULL;
8593}
8594
8595
a95a7133 8596static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8597 PyObject *resultobj;
8598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8599 PyObject * obj0 = 0 ;
8600 char *kwnames[] = {
4276dc52 8601 (char *) "self", NULL
d14a1e28
RD
8602 };
8603
4276dc52 8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8609 (arg1)->LineEndExtend();
d14a1e28
RD
8610
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 Py_INCREF(Py_None); resultobj = Py_None;
8615 return resultobj;
8616 fail:
8617 return NULL;
8618}
8619
8620
a95a7133 8621static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8622 PyObject *resultobj;
8623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8624 PyObject * obj0 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self", NULL
8627 };
8628
4276dc52 8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8634 (arg1)->DocumentStart();
d14a1e28
RD
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
4276dc52 8639 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
a95a7133 8646static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8647 PyObject *resultobj;
8648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8649 PyObject * obj0 = 0 ;
8650 char *kwnames[] = {
4276dc52 8651 (char *) "self", NULL
d14a1e28
RD
8652 };
8653
4276dc52 8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8659 (arg1)->DocumentStartExtend();
d14a1e28
RD
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 Py_INCREF(Py_None); resultobj = Py_None;
8665 return resultobj;
8666 fail:
8667 return NULL;
8668}
8669
8670
a95a7133 8671static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8672 PyObject *resultobj;
8673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self", NULL
8677 };
8678
4276dc52 8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
8680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8684 (arg1)->DocumentEnd();
d14a1e28
RD
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
4276dc52 8689 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8690 return resultobj;
8691 fail:
8692 return NULL;
8693}
8694
8695
a95a7133 8696static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8697 PyObject *resultobj;
8698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
4276dc52 8701 (char *) "self", NULL
d14a1e28
RD
8702 };
8703
4276dc52 8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8709 (arg1)->DocumentEndExtend();
d14a1e28
RD
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 Py_INCREF(Py_None); resultobj = Py_None;
8715 return resultobj;
8716 fail:
8717 return NULL;
8718}
8719
8720
a95a7133 8721static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8722 PyObject *resultobj;
8723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self", NULL
8727 };
8728
4276dc52 8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
8730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8734 (arg1)->PageUp();
d14a1e28
RD
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
4276dc52 8739 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8740 return resultobj;
8741 fail:
8742 return NULL;
8743}
8744
8745
a95a7133 8746static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8747 PyObject *resultobj;
8748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8749 PyObject * obj0 = 0 ;
d14a1e28 8750 char *kwnames[] = {
4276dc52 8751 (char *) "self", NULL
d14a1e28
RD
8752 };
8753
4276dc52 8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8759 (arg1)->PageUpExtend();
d14a1e28
RD
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768}
8769
8770
a95a7133 8771static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8772 PyObject *resultobj;
8773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
4276dc52 8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
8780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8784 (arg1)->PageDown();
d14a1e28
RD
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793}
8794
8795
a95a7133 8796static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8797 PyObject *resultobj;
8798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8799 PyObject * obj0 = 0 ;
d14a1e28 8800 char *kwnames[] = {
4276dc52 8801 (char *) "self", NULL
d14a1e28
RD
8802 };
8803
4276dc52 8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8809 (arg1)->PageDownExtend();
d14a1e28
RD
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
4276dc52 8814 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8815 return resultobj;
8816 fail:
d14a1e28
RD
8817 return NULL;
8818}
8819
8820
a95a7133 8821static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8822 PyObject *resultobj;
8823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8824 PyObject * obj0 = 0 ;
d14a1e28 8825 char *kwnames[] = {
4276dc52 8826 (char *) "self", NULL
d14a1e28
RD
8827 };
8828
4276dc52 8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
15afbcd0
RD
8830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8834 (arg1)->EditToggleOvertype();
d14a1e28
RD
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
4276dc52 8839 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8840 return resultobj;
8841 fail:
d14a1e28
RD
8842 return NULL;
8843}
8844
8845
a95a7133 8846static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8847 PyObject *resultobj;
8848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8849 PyObject * obj0 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self", NULL
8852 };
8853
4276dc52 8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
8855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8859 (arg1)->Cancel();
d14a1e28
RD
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
4276dc52 8864 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8865 return resultobj;
8866 fail:
8867 return NULL;
8868}
8869
8870
a95a7133 8871static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8872 PyObject *resultobj;
8873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8874 PyObject * obj0 = 0 ;
d14a1e28 8875 char *kwnames[] = {
4276dc52 8876 (char *) "self", NULL
d14a1e28
RD
8877 };
8878
4276dc52 8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
15afbcd0
RD
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8884 (arg1)->DeleteBack();
d14a1e28
RD
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893}
8894
8895
a95a7133 8896static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8897 PyObject *resultobj;
8898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8899 PyObject * obj0 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self", NULL
8902 };
8903
4276dc52 8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
15afbcd0
RD
8905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8909 (arg1)->Tab();
d14a1e28
RD
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
4276dc52 8914 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8915 return resultobj;
8916 fail:
8917 return NULL;
8918}
8919
8920
a95a7133 8921static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8922 PyObject *resultobj;
8923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8924 PyObject * obj0 = 0 ;
8925 char *kwnames[] = {
4276dc52 8926 (char *) "self", NULL
d14a1e28
RD
8927 };
8928
4276dc52 8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
15afbcd0
RD
8930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8934 (arg1)->BackTab();
d14a1e28
RD
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 Py_INCREF(Py_None); resultobj = Py_None;
8940 return resultobj;
8941 fail:
8942 return NULL;
8943}
8944
8945
a95a7133 8946static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8947 PyObject *resultobj;
8948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8949 PyObject * obj0 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self", NULL
8952 };
8953
4276dc52 8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8959 (arg1)->NewLine();
d14a1e28
RD
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
4276dc52 8964 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
a95a7133 8971static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8972 PyObject *resultobj;
8973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
4276dc52 8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
15afbcd0
RD
8980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8984 (arg1)->FormFeed();
d14a1e28
RD
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
4276dc52 8989 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
a95a7133 8996static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8997 PyObject *resultobj;
8998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8999 PyObject * obj0 = 0 ;
d14a1e28 9000 char *kwnames[] = {
4276dc52 9001 (char *) "self", NULL
d14a1e28
RD
9002 };
9003
4276dc52 9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
15afbcd0
RD
9005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9009 (arg1)->VCHome();
d14a1e28
RD
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 Py_INCREF(Py_None); resultobj = Py_None;
9015 return resultobj;
9016 fail:
9017 return NULL;
9018}
9019
9020
a95a7133 9021static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9022 PyObject *resultobj;
9023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9024 PyObject * obj0 = 0 ;
d14a1e28 9025 char *kwnames[] = {
4276dc52 9026 (char *) "self", NULL
d14a1e28
RD
9027 };
9028
4276dc52 9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9034 (arg1)->VCHomeExtend();
d14a1e28
RD
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 Py_INCREF(Py_None); resultobj = Py_None;
9040 return resultobj;
9041 fail:
9042 return NULL;
9043}
9044
9045
a95a7133 9046static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9047 PyObject *resultobj;
9048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
4276dc52 9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
15afbcd0
RD
9055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9059 (arg1)->ZoomIn();
d14a1e28
RD
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
4276dc52 9064 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9065 return resultobj;
9066 fail:
9067 return NULL;
9068}
9069
9070
a95a7133 9071static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9072 PyObject *resultobj;
9073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9074 PyObject * obj0 = 0 ;
d14a1e28 9075 char *kwnames[] = {
4276dc52 9076 (char *) "self", NULL
d14a1e28
RD
9077 };
9078
4276dc52 9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9084 (arg1)->ZoomOut();
d14a1e28
RD
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 Py_INCREF(Py_None); resultobj = Py_None;
9090 return resultobj;
9091 fail:
9092 return NULL;
9093}
9094
9095
a95a7133 9096static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9097 PyObject *resultobj;
9098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
4276dc52 9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
9105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9109 (arg1)->DelWordLeft();
d14a1e28
RD
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
4276dc52 9114 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9115 return resultobj;
9116 fail:
9117 return NULL;
9118}
9119
9120
a95a7133 9121static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9122 PyObject *resultobj;
9123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9124 PyObject * obj0 = 0 ;
9125 char *kwnames[] = {
4276dc52 9126 (char *) "self", NULL
d14a1e28
RD
9127 };
9128
4276dc52 9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
9130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9134 (arg1)->DelWordRight();
d14a1e28
RD
9135
9136 wxPyEndAllowThreads(__tstate);
9137 if (PyErr_Occurred()) SWIG_fail;
9138 }
9139 Py_INCREF(Py_None); resultobj = Py_None;
9140 return resultobj;
9141 fail:
9142 return NULL;
9143}
9144
9145
a95a7133 9146static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9147 PyObject *resultobj;
9148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9149 PyObject * obj0 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self", NULL
9152 };
9153
4276dc52 9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9159 (arg1)->LineCut();
d14a1e28
RD
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
4276dc52 9164 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9165 return resultobj;
9166 fail:
9167 return NULL;
9168}
9169
9170
a95a7133 9171static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9172 PyObject *resultobj;
9173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9174 PyObject * obj0 = 0 ;
d14a1e28 9175 char *kwnames[] = {
4276dc52 9176 (char *) "self", NULL
d14a1e28
RD
9177 };
9178
4276dc52 9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
9180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9184 (arg1)->LineDelete();
d14a1e28
RD
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 Py_INCREF(Py_None); resultobj = Py_None;
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
a95a7133 9196static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9197 PyObject *resultobj;
9198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
4276dc52 9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
15afbcd0
RD
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9209 (arg1)->LineTranspose();
d14a1e28
RD
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
4276dc52 9214 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9215 return resultobj;
9216 fail:
9217 return NULL;
9218}
9219
9220
a95a7133 9221static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9222 PyObject *resultobj;
9223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
4276dc52 9226 (char *) "self", NULL
d14a1e28
RD
9227 };
9228
4276dc52 9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
15afbcd0
RD
9230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9234 (arg1)->LineDuplicate();
d14a1e28
RD
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
a95a7133 9246static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9247 PyObject *resultobj;
9248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
4276dc52 9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9259 (arg1)->LowerCase();
d14a1e28
RD
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
4276dc52 9264 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
a95a7133 9271static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9272 PyObject *resultobj;
9273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
4276dc52 9276 (char *) "self", NULL
d14a1e28
RD
9277 };
9278
4276dc52 9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
9280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9284 (arg1)->UpperCase();
d14a1e28
RD
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 Py_INCREF(Py_None); resultobj = Py_None;
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
a95a7133 9296static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9297 PyObject *resultobj;
9298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
4276dc52 9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9309 (arg1)->LineScrollDown();
d14a1e28
RD
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
4276dc52 9314 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9315 return resultobj;
9316 fail:
9317 return NULL;
9318}
9319
9320
a95a7133 9321static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9322 PyObject *resultobj;
9323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9324 PyObject * obj0 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self", NULL
9327 };
9328
4276dc52 9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9334 (arg1)->LineScrollUp();
d14a1e28
RD
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
a95a7133 9346static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9347 PyObject *resultobj;
9348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9349 PyObject * obj0 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self", NULL
9352 };
9353
4276dc52 9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9359 (arg1)->DeleteBackNotLine();
d14a1e28
RD
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368}
9369
9370
a95a7133 9371static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9372 PyObject *resultobj;
9373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9374 PyObject * obj0 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self", NULL
9377 };
9378
4276dc52 9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
15afbcd0
RD
9380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9384 (arg1)->HomeDisplay();
d14a1e28
RD
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 Py_INCREF(Py_None); resultobj = Py_None;
9390 return resultobj;
9391 fail:
9392 return NULL;
9393}
9394
9395
a95a7133 9396static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9397 PyObject *resultobj;
9398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
4276dc52 9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9409 (arg1)->HomeDisplayExtend();
d14a1e28
RD
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 Py_INCREF(Py_None); resultobj = Py_None;
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
a95a7133 9421static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9422 PyObject *resultobj;
9423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
4276dc52 9426 (char *) "self", NULL
d14a1e28
RD
9427 };
9428
4276dc52 9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
15afbcd0
RD
9430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9434 (arg1)->LineEndDisplay();
d14a1e28
RD
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 Py_INCREF(Py_None); resultobj = Py_None;
9440 return resultobj;
9441 fail:
9442 return NULL;
9443}
9444
9445
a95a7133 9446static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9447 PyObject *resultobj;
9448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
4276dc52 9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9459 (arg1)->LineEndDisplayExtend();
d14a1e28
RD
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
a95a7133 9471static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9472 PyObject *resultobj;
9473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
4276dc52 9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9484 (arg1)->HomeWrap();
d14a1e28
RD
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 Py_INCREF(Py_None); resultobj = Py_None;
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
a95a7133 9496static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9497 PyObject *resultobj;
9498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
4276dc52 9501 (char *) "self", NULL
d14a1e28
RD
9502 };
9503
4276dc52 9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9509 (arg1)->HomeWrapExtend();
d14a1e28
RD
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 Py_INCREF(Py_None); resultobj = Py_None;
9515 return resultobj;
9516 fail:
9517 return NULL;
9518}
9519
9520
a95a7133 9521static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9522 PyObject *resultobj;
9523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
4276dc52 9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9534 (arg1)->LineEndWrap();
d14a1e28
RD
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
4276dc52 9539 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9540 return resultobj;
9541 fail:
9542 return NULL;
9543}
9544
9545
a95a7133 9546static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9547 PyObject *resultobj;
9548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9549 PyObject * obj0 = 0 ;
9550 char *kwnames[] = {
9551 (char *) "self", NULL
9552 };
9553
4276dc52 9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9559 (arg1)->LineEndWrapExtend();
d14a1e28
RD
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 Py_INCREF(Py_None); resultobj = Py_None;
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
a95a7133 9571static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9572 PyObject *resultobj;
9573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9574 PyObject * obj0 = 0 ;
9575 char *kwnames[] = {
4276dc52 9576 (char *) "self", NULL
d14a1e28
RD
9577 };
9578
4276dc52 9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9584 (arg1)->VCHomeWrap();
d14a1e28
RD
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 Py_INCREF(Py_None); resultobj = Py_None;
9590 return resultobj;
9591 fail:
9592 return NULL;
9593}
9594
9595
a95a7133 9596static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9597 PyObject *resultobj;
9598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
4276dc52 9601 (char *) "self", NULL
d14a1e28
RD
9602 };
9603
4276dc52 9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9609 (arg1)->VCHomeWrapExtend();
d14a1e28
RD
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 Py_INCREF(Py_None); resultobj = Py_None;
9615 return resultobj;
9616 fail:
9617 return NULL;
9618}
9619
9620
a95a7133 9621static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9622 PyObject *resultobj;
9623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
4276dc52 9626 (char *) "self", NULL
d14a1e28
RD
9627 };
9628
4276dc52 9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9634 (arg1)->LineCopy();
d14a1e28
RD
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 Py_INCREF(Py_None); resultobj = Py_None;
9640 return resultobj;
9641 fail:
9642 return NULL;
9643}
9644
9645
a95a7133 9646static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9647 PyObject *resultobj;
9648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
4276dc52 9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
15afbcd0
RD
9655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9659 (arg1)->MoveCaretInsideView();
d14a1e28
RD
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
4276dc52 9664 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9665 return resultobj;
9666 fail:
9667 return NULL;
9668}
9669
9670
a95a7133 9671static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9672 PyObject *resultobj;
9673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9674 int arg2 ;
9675 int result;
d14a1e28
RD
9676 PyObject * obj0 = 0 ;
9677 PyObject * obj1 = 0 ;
d14a1e28 9678 char *kwnames[] = {
4276dc52 9679 (char *) "self",(char *) "line", NULL
d14a1e28
RD
9680 };
9681
4276dc52 9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9685 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9689 result = (int)(arg1)->LineLength(arg2);
d14a1e28
RD
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
4276dc52 9694 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9695 return resultobj;
9696 fail:
9697 return NULL;
9698}
9699
9700
a95a7133 9701static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9702 PyObject *resultobj;
9703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9704 int arg2 ;
9705 int arg3 ;
d14a1e28
RD
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 PyObject * obj2 = 0 ;
9709 char *kwnames[] = {
4276dc52 9710 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
d14a1e28
RD
9711 };
9712
4276dc52 9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52
RD
9716 arg2 = (int) SWIG_AsInt(obj1);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 arg3 = (int) SWIG_AsInt(obj2);
15afbcd0 9719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9722 (arg1)->BraceHighlight(arg2,arg3);
d14a1e28
RD
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
a95a7133 9734static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9735 PyObject *resultobj;
9736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9737 int arg2 ;
d14a1e28
RD
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 char *kwnames[] = {
4276dc52 9741 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
9742 };
9743
4276dc52 9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9747 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9751 (arg1)->BraceBadLight(arg2);
d14a1e28
RD
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
a95a7133 9763static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9764 PyObject *resultobj;
9765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9766 int arg2 ;
9767 int result;
96b3fa7c
RD
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
4276dc52 9771 (char *) "self",(char *) "pos", NULL
96b3fa7c
RD
9772 };
9773
4276dc52 9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9777 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9778 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9781 result = (int)(arg1)->BraceMatch(arg2);
96b3fa7c
RD
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
4276dc52 9786 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
9787 return resultobj;
9788 fail:
9789 return NULL;
9790}
9791
9792
a95a7133 9793static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9794 PyObject *resultobj;
9795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9796 bool result;
d14a1e28
RD
9797 PyObject * obj0 = 0 ;
9798 char *kwnames[] = {
4276dc52 9799 (char *) "self", NULL
d14a1e28
RD
9800 };
9801
4276dc52 9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
15afbcd0
RD
9803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9807 result = (bool)(arg1)->GetViewEOL();
d14a1e28
RD
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
4f89f6a3
RD
9812 {
9813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9814 }
d14a1e28
RD
9815 return resultobj;
9816 fail:
9817 return NULL;
9818}
9819
9820
a95a7133 9821static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9822 PyObject *resultobj;
9823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9824 bool arg2 ;
d14a1e28 9825 PyObject * obj0 = 0 ;
994141e6 9826 PyObject * obj1 = 0 ;
d14a1e28 9827 char *kwnames[] = {
4276dc52 9828 (char *) "self",(char *) "visible", NULL
d14a1e28
RD
9829 };
9830
4276dc52 9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9834 arg2 = (bool) SWIG_AsBool(obj1);
15afbcd0 9835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9838 (arg1)->SetViewEOL(arg2);
d14a1e28
RD
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
4276dc52 9843 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9844 return resultobj;
9845 fail:
9846 return NULL;
9847}
9848
9849
a95a7133 9850static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9851 PyObject *resultobj;
9852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9853 void *result;
9854 PyObject * obj0 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 result = (void *)(arg1)->GetDocPointer();
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9870 return resultobj;
9871 fail:
9872 return NULL;
9873}
9874
9875
a95a7133 9876static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
9877 PyObject *resultobj;
9878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9879 void *arg2 = (void *) 0 ;
d14a1e28 9880 PyObject * obj0 = 0 ;
994141e6 9881 PyObject * obj1 = 0 ;
d14a1e28 9882 char *kwnames[] = {
4276dc52 9883 (char *) "self",(char *) "docPointer", NULL
d14a1e28
RD
9884 };
9885
4276dc52 9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9889 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9892 (arg1)->SetDocPointer(arg2);
d14a1e28
RD
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 Py_INCREF(Py_None); resultobj = Py_None;
9898 return resultobj;
9899 fail:
9900 return NULL;
9901}
9902
9903
a95a7133 9904static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9905 PyObject *resultobj;
9906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9907 int arg2 ;
d14a1e28 9908 PyObject * obj0 = 0 ;
994141e6 9909 PyObject * obj1 = 0 ;
d14a1e28 9910 char *kwnames[] = {
4276dc52 9911 (char *) "self",(char *) "mask", NULL
d14a1e28
RD
9912 };
9913
4276dc52 9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9917 arg2 = (int) SWIG_AsInt(obj1);
9918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9921 (arg1)->SetModEventMask(arg2);
d14a1e28
RD
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9927 return resultobj;
9928 fail:
4276dc52
RD
9929 return NULL;
9930}
9931
9932
a95a7133 9933static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
9934 PyObject *resultobj;
9935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9936 int result;
9937 PyObject * obj0 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9945 {
4276dc52
RD
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (int)(arg1)->GetEdgeColumn();
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9951 }
4276dc52
RD
9952 resultobj = SWIG_FromInt((int)result);
9953 return resultobj;
9954 fail:
d14a1e28
RD
9955 return NULL;
9956}
9957
9958
a95a7133 9959static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9960 PyObject *resultobj;
9961 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9962 int arg2 ;
9963 PyObject * obj0 = 0 ;
9964 PyObject * obj1 = 0 ;
9965 char *kwnames[] = {
4276dc52 9966 (char *) "self",(char *) "column", NULL
96b3fa7c
RD
9967 };
9968
4276dc52 9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9972 arg2 = (int) SWIG_AsInt(obj1);
9973 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9976 (arg1)->SetEdgeColumn(arg2);
96b3fa7c
RD
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 return resultobj;
9983 fail:
9984 return NULL;
9985}
9986
9987
a95a7133 9988static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9989 PyObject *resultobj;
9990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9991 int result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
4276dc52 9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
9998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 10002 result = (int)(arg1)->GetEdgeMode();
96b3fa7c
RD
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
15afbcd0 10007 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
10008 return resultobj;
10009 fail:
10010 return NULL;
10011}
10012
10013
a95a7133 10014static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
10015 PyObject *resultobj;
10016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10017 int arg2 ;
96b3fa7c
RD
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
4276dc52 10021 (char *) "self",(char *) "mode", NULL
96b3fa7c
RD
10022 };
10023
4276dc52 10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 arg2 = (int) SWIG_AsInt(obj1);
10028 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 10031 (arg1)->SetEdgeMode(arg2);
96b3fa7c
RD
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
4276dc52 10036 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
10037 return resultobj;
10038 fail:
10039 return NULL;
10040}
10041
10042
a95a7133 10043static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
10044 PyObject *resultobj;
10045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
10046 wxColour result;
10047 PyObject * obj0 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "self", NULL
10050 };
10051
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
10053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (arg1)->GetEdgeColour();
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 {
10063 wxColour * resultptr;
10064 resultptr = new wxColour((wxColour &) result);
10065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10066 }
10067 return resultobj;
10068 fail:
10069 return NULL;
10070}
10071
10072
a95a7133 10073static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10074 PyObject *resultobj;
10075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10076 wxColour *arg2 = 0 ;
10077 wxColour temp2 ;
96b3fa7c
RD
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 char *kwnames[] = {
4276dc52 10081 (char *) "self",(char *) "edgeColour", NULL
96b3fa7c
RD
10082 };
10083
4276dc52 10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52
RD
10087 {
10088 arg2 = &temp2;
10089 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10090 }
96b3fa7c
RD
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 10093 (arg1)->SetEdgeColour((wxColour const &)*arg2);
96b3fa7c
RD
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
4276dc52
RD
10098 Py_INCREF(Py_None); resultobj = Py_None;
10099 return resultobj;
10100 fail:
10101 return NULL;
10102}
10103
10104
a95a7133 10105static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10106 PyObject *resultobj;
10107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
10118 (arg1)->SearchAnchor();
10119
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
10123 Py_INCREF(Py_None); resultobj = Py_None;
10124 return resultobj;
10125 fail:
10126 return NULL;
10127}
10128
10129
a95a7133 10130static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10131 PyObject *resultobj;
10132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10133 int arg2 ;
10134 wxString *arg3 = 0 ;
10135 int result;
10136 bool temp3 = False ;
10137 PyObject * obj0 = 0 ;
10138 PyObject * obj1 = 0 ;
10139 PyObject * obj2 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "flags",(char *) "text", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10147 arg2 = (int) SWIG_AsInt(obj1);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 {
10150 arg3 = wxString_in_helper(obj2);
10151 if (arg3 == NULL) SWIG_fail;
10152 temp3 = True;
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 resultobj = SWIG_FromInt((int)result);
10162 {
10163 if (temp3)
10164 delete arg3;
10165 }
10166 return resultobj;
10167 fail:
10168 {
10169 if (temp3)
10170 delete arg3;
10171 }
10172 return NULL;
10173}
10174
10175
a95a7133 10176static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10177 PyObject *resultobj;
10178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10179 int arg2 ;
10180 wxString *arg3 = 0 ;
10181 int result;
10182 bool temp3 = False ;
10183 PyObject * obj0 = 0 ;
10184 PyObject * obj1 = 0 ;
10185 PyObject * obj2 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self",(char *) "flags",(char *) "text", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 arg2 = (int) SWIG_AsInt(obj1);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 {
10196 arg3 = wxString_in_helper(obj2);
10197 if (arg3 == NULL) SWIG_fail;
10198 temp3 = True;
10199 }
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_FromInt((int)result);
10208 {
10209 if (temp3)
10210 delete arg3;
10211 }
10212 return resultobj;
10213 fail:
10214 {
10215 if (temp3)
10216 delete arg3;
10217 }
10218 return NULL;
10219}
10220
10221
a95a7133 10222static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10223 PyObject *resultobj;
10224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10225 int result;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (int)(arg1)->LinesOnScreen();
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 resultobj = SWIG_FromInt((int)result);
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
a95a7133 10248static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10249 PyObject *resultobj;
10250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10251 bool arg2 ;
10252 PyObject * obj0 = 0 ;
10253 PyObject * obj1 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self",(char *) "allowPopUp", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10261 arg2 = (bool) SWIG_AsBool(obj1);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 (arg1)->UsePopUp(arg2);
10266
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 Py_INCREF(Py_None); resultobj = Py_None;
10271 return resultobj;
10272 fail:
10273 return NULL;
10274}
10275
10276
a95a7133 10277static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10278 PyObject *resultobj;
10279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10280 bool result;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
10287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 result = (bool)(arg1)->SelectionIsRectangle();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
4f89f6a3
RD
10296 {
10297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10298 }
4276dc52
RD
10299 return resultobj;
10300 fail:
10301 return NULL;
10302}
10303
10304
a95a7133 10305static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10306 PyObject *resultobj;
10307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10308 int arg2 ;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self",(char *) "zoom", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
10316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10318 arg2 = (int) SWIG_AsInt(obj1);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetZoom(arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 Py_INCREF(Py_None); resultobj = Py_None;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331}
10332
10333
a95a7133 10334static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10335 PyObject *resultobj;
10336 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10337 int result;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (int)(arg1)->GetZoom();
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = SWIG_FromInt((int)result);
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
a95a7133 10360static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10361 PyObject *resultobj;
10362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10363 void *result;
10364 PyObject * obj0 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "self", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
10370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (void *)(arg1)->CreateDocument();
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
a95a7133 10386static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10387 PyObject *resultobj;
10388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10389 void *arg2 = (void *) 0 ;
10390 PyObject * obj0 = 0 ;
10391 PyObject * obj1 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self",(char *) "docPointer", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
10397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10399 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 (arg1)->AddRefDocument(arg2);
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 Py_INCREF(Py_None); resultobj = Py_None;
10408 return resultobj;
10409 fail:
10410 return NULL;
10411}
10412
10413
a95a7133 10414static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10415 PyObject *resultobj;
10416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10417 void *arg2 = (void *) 0 ;
10418 PyObject * obj0 = 0 ;
10419 PyObject * obj1 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "docPointer", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10427 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 (arg1)->ReleaseDocument(arg2);
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 Py_INCREF(Py_None); resultobj = Py_None;
10436 return resultobj;
10437 fail:
10438 return NULL;
10439}
10440
10441
a95a7133 10442static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10443 PyObject *resultobj;
10444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10445 int result;
10446 PyObject * obj0 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
10452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (int)(arg1)->GetModEventMask();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 resultobj = SWIG_FromInt((int)result);
10462 return resultobj;
10463 fail:
10464 return NULL;
10465}
10466
10467
a95a7133 10468static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10469 PyObject *resultobj;
10470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10471 bool arg2 ;
10472 PyObject * obj0 = 0 ;
10473 PyObject * obj1 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self",(char *) "focus", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10481 arg2 = (bool) SWIG_AsBool(obj1);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->SetSTCFocus(arg2);
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494}
10495
10496
a95a7133 10497static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10498 PyObject *resultobj;
10499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10500 bool result;
10501 PyObject * obj0 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 result = (bool)(arg1)->GetSTCFocus();
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
4f89f6a3
RD
10516 {
10517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10518 }
4276dc52
RD
10519 return resultobj;
10520 fail:
10521 return NULL;
10522}
10523
10524
a95a7133 10525static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10526 PyObject *resultobj;
10527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10528 int arg2 ;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self",(char *) "statusCode", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10538 arg2 = (int) SWIG_AsInt(obj1);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->SetStatus(arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 Py_INCREF(Py_None); resultobj = Py_None;
10548 return resultobj;
10549 fail:
10550 return NULL;
10551}
10552
10553
a95a7133 10554static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10555 PyObject *resultobj;
10556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10557 int result;
10558 PyObject * obj0 = 0 ;
10559 char *kwnames[] = {
10560 (char *) "self", NULL
10561 };
10562
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
10564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 result = (int)(arg1)->GetStatus();
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 resultobj = SWIG_FromInt((int)result);
10574 return resultobj;
10575 fail:
10576 return NULL;
10577}
10578
10579
a95a7133 10580static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10581 PyObject *resultobj;
10582 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10583 bool arg2 ;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "captures", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10593 arg2 = (bool) SWIG_AsBool(obj1);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->SetMouseDownCaptures(arg2);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 return resultobj;
10604 fail:
10605 return NULL;
10606}
10607
10608
a95a7133 10609static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10610 PyObject *resultobj;
10611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10612 bool result;
10613 PyObject * obj0 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (bool)(arg1)->GetMouseDownCaptures();
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
4f89f6a3
RD
10628 {
10629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10630 }
4276dc52
RD
10631 return resultobj;
10632 fail:
10633 return NULL;
10634}
10635
10636
a95a7133 10637static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10638 PyObject *resultobj;
10639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10640 int arg2 ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "cursorType", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10650 arg2 = (int) SWIG_AsInt(obj1);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->SetSTCCursor(arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663}
10664
10665
a95a7133 10666static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10667 PyObject *resultobj;
10668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10669 int result;
10670 PyObject * obj0 = 0 ;
10671 char *kwnames[] = {
10672 (char *) "self", NULL
10673 };
10674
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
10676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (int)(arg1)->GetSTCCursor();
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 resultobj = SWIG_FromInt((int)result);
10686 return resultobj;
10687 fail:
10688 return NULL;
10689}
10690
10691
a95a7133 10692static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10693 PyObject *resultobj;
10694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10695 int arg2 ;
10696 PyObject * obj0 = 0 ;
10697 PyObject * obj1 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self",(char *) "symbol", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10705 arg2 = (int) SWIG_AsInt(obj1);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 (arg1)->SetControlCharSymbol(arg2);
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 Py_INCREF(Py_None); resultobj = Py_None;
10715 return resultobj;
10716 fail:
10717 return NULL;
10718}
10719
10720
a95a7133 10721static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10722 PyObject *resultobj;
10723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10724 int result;
10725 PyObject * obj0 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "self", NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
10731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (int)(arg1)->GetControlCharSymbol();
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_FromInt((int)result);
10741 return resultobj;
10742 fail:
10743 return NULL;
10744}
10745
10746
a95a7133 10747static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10748 PyObject *resultobj;
10749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10750 PyObject * obj0 = 0 ;
10751 char *kwnames[] = {
10752 (char *) "self", NULL
10753 };
10754
10755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
10756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 (arg1)->WordPartLeft();
10761
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 Py_INCREF(Py_None); resultobj = Py_None;
10766 return resultobj;
10767 fail:
10768 return NULL;
10769}
10770
10771
a95a7133 10772static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10773 PyObject *resultobj;
10774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10775 PyObject * obj0 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "self", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
10781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->WordPartLeftExtend();
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794}
10795
10796
a95a7133 10797static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10798 PyObject *resultobj;
10799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10800 PyObject * obj0 = 0 ;
10801 char *kwnames[] = {
10802 (char *) "self", NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
10806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 (arg1)->WordPartRight();
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 Py_INCREF(Py_None); resultobj = Py_None;
10816 return resultobj;
10817 fail:
10818 return NULL;
10819}
10820
10821
a95a7133 10822static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10823 PyObject *resultobj;
10824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10825 PyObject * obj0 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
10831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->WordPartRightExtend();
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844}
10845
10846
a95a7133 10847static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10848 PyObject *resultobj;
10849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10850 int arg2 ;
10851 int arg3 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10862 arg2 = (int) SWIG_AsInt(obj1);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 arg3 = (int) SWIG_AsInt(obj2);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->SetVisiblePolicy(arg2,arg3);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
a95a7133 10880static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10881 PyObject *resultobj;
10882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10883 PyObject * obj0 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "self", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 (arg1)->DelLineLeft();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 Py_INCREF(Py_None); resultobj = Py_None;
10899 return resultobj;
10900 fail:
10901 return NULL;
10902}
10903
10904
a95a7133 10905static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10906 PyObject *resultobj;
10907 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->DelLineRight();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927}
10928
10929
a95a7133 10930static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10931 PyObject *resultobj;
10932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10933 int arg2 ;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "newOffset", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10943 arg2 = (int) SWIG_AsInt(obj1);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->SetXOffset(arg2);
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 Py_INCREF(Py_None); resultobj = Py_None;
10953 return resultobj;
10954 fail:
10955 return NULL;
10956}
10957
10958
a95a7133 10959static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10960 PyObject *resultobj;
10961 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10962 int result;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (int)(arg1)->GetXOffset();
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 resultobj = SWIG_FromInt((int)result);
10979 return resultobj;
10980 fail:
10981 return NULL;
10982}
10983
10984
a95a7133 10985static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
10986 PyObject *resultobj;
10987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->ChooseCaretX();
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007}
11008
11009
a95a7133 11010static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11011 PyObject *resultobj;
11012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11013 int arg2 ;
11014 int arg3 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 arg2 = (int) SWIG_AsInt(obj1);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 arg3 = (int) SWIG_AsInt(obj2);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetXCaretPolicy(arg2,arg3);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040}
11041
11042
a95a7133 11043static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11044 PyObject *resultobj;
11045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11046 int arg2 ;
11047 int arg3 ;
11048 PyObject * obj0 = 0 ;
11049 PyObject * obj1 = 0 ;
11050 PyObject * obj2 = 0 ;
11051 char *kwnames[] = {
11052 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11058 arg2 = (int) SWIG_AsInt(obj1);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 arg3 = (int) SWIG_AsInt(obj2);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 (arg1)->SetYCaretPolicy(arg2,arg3);
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 Py_INCREF(Py_None); resultobj = Py_None;
11070 return resultobj;
11071 fail:
11072 return NULL;
11073}
11074
11075
a95a7133 11076static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11077 PyObject *resultobj;
11078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11079 int arg2 ;
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self",(char *) "mode", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11089 arg2 = (int) SWIG_AsInt(obj1);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 (arg1)->SetPrintWrapMode(arg2);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 Py_INCREF(Py_None); resultobj = Py_None;
11099 return resultobj;
11100 fail:
11101 return NULL;
11102}
11103
11104
a95a7133 11105static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11106 PyObject *resultobj;
11107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11108 int result;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = (int)(arg1)->GetPrintWrapMode();
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = SWIG_FromInt((int)result);
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
a95a7133 11131static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11132 PyObject *resultobj;
11133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11134 bool arg2 ;
11135 wxColour *arg3 = 0 ;
11136 wxColour temp3 ;
11137 PyObject * obj0 = 0 ;
11138 PyObject * obj1 = 0 ;
11139 PyObject * obj2 = 0 ;
11140 char *kwnames[] = {
11141 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
11142 };
11143
11144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11147 arg2 = (bool) SWIG_AsBool(obj1);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 {
11150 arg3 = &temp3;
11151 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11152 }
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 Py_INCREF(Py_None); resultobj = Py_None;
11161 return resultobj;
11162 fail:
11163 return NULL;
11164}
11165
11166
a95a7133 11167static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11168 PyObject *resultobj;
11169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11170 bool arg2 ;
11171 wxColour *arg3 = 0 ;
11172 wxColour temp3 ;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 PyObject * obj2 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "useSetting",(char *) "back", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11183 arg2 = (bool) SWIG_AsBool(obj1);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 {
11186 arg3 = &temp3;
11187 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11188 }
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 Py_INCREF(Py_None); resultobj = Py_None;
11197 return resultobj;
11198 fail:
11199 return NULL;
11200}
11201
11202
a95a7133 11203static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11204 PyObject *resultobj;
11205 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11206 bool arg2 ;
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj1 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "underline", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 arg2 = (bool) SWIG_AsBool(obj1);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 (arg1)->SetHotspotActiveUnderline(arg2);
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 Py_INCREF(Py_None); resultobj = Py_None;
11226 return resultobj;
11227 fail:
11228 return NULL;
11229}
11230
11231
a95a7133 11232static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11233 PyObject *resultobj;
11234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11235 bool arg2 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "singleLine", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11245 arg2 = (bool) SWIG_AsBool(obj1);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->SetHotspotSingleLine(arg2);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258}
11259
11260
a95a7133 11261static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11262 PyObject *resultobj;
11263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11264 PyObject * obj0 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 (arg1)->ParaDown();
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 Py_INCREF(Py_None); resultobj = Py_None;
11280 return resultobj;
11281 fail:
11282 return NULL;
11283}
11284
11285
a95a7133 11286static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11287 PyObject *resultobj;
11288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11289 PyObject * obj0 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 (arg1)->ParaDownExtend();
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 Py_INCREF(Py_None); resultobj = Py_None;
11305 return resultobj;
11306 fail:
11307 return NULL;
11308}
11309
11310
a95a7133 11311static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11312 PyObject *resultobj;
11313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->ParaUp();
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 Py_INCREF(Py_None); resultobj = Py_None;
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
a95a7133 11336static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11337 PyObject *resultobj;
11338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->ParaUpExtend();
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 return resultobj;
11356 fail:
11357 return NULL;
11358}
11359
11360
a95a7133 11361static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11362 PyObject *resultobj;
11363 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11364 int arg2 ;
11365 int result;
11366 PyObject * obj0 = 0 ;
11367 PyObject * obj1 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self",(char *) "pos", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11375 arg2 = (int) SWIG_AsInt(obj1);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (int)(arg1)->PositionBefore(arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_FromInt((int)result);
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
a95a7133 11391static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11392 PyObject *resultobj;
11393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11394 int arg2 ;
11395 int result;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self",(char *) "pos", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11405 arg2 = (int) SWIG_AsInt(obj1);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (int)(arg1)->PositionAfter(arg2);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_FromInt((int)result);
11415 return resultobj;
11416 fail:
11417 return NULL;
11418}
11419
11420
a95a7133 11421static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11422 PyObject *resultobj;
11423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11424 int arg2 ;
11425 int arg3 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "start",(char *) "end", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11436 arg2 = (int) SWIG_AsInt(obj1);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 arg3 = (int) SWIG_AsInt(obj2);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->CopyRange(arg2,arg3);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
a95a7133 11454static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11455 PyObject *resultobj;
11456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11457 int arg2 ;
11458 wxString *arg3 = 0 ;
11459 bool temp3 = False ;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 PyObject * obj2 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "length",(char *) "text", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11470 arg2 = (int) SWIG_AsInt(obj1);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 {
11473 arg3 = wxString_in_helper(obj2);
11474 if (arg3 == NULL) SWIG_fail;
11475 temp3 = True;
11476 }
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 (arg1)->CopyText(arg2,(wxString const &)*arg3);
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 Py_INCREF(Py_None); resultobj = Py_None;
11485 {
11486 if (temp3)
11487 delete arg3;
11488 }
11489 return resultobj;
11490 fail:
11491 {
11492 if (temp3)
11493 delete arg3;
11494 }
11495 return NULL;
11496}
11497
11498
a95a7133 11499static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11500 PyObject *resultobj;
11501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11502 int arg2 ;
11503 PyObject * obj0 = 0 ;
11504 PyObject * obj1 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self",(char *) "mode", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 arg2 = (int) SWIG_AsInt(obj1);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 (arg1)->SetSelectionMode(arg2);
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 Py_INCREF(Py_None); resultobj = Py_None;
11522 return resultobj;
11523 fail:
11524 return NULL;
11525}
11526
11527
a95a7133 11528static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11529 PyObject *resultobj;
11530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11531 int result;
11532 PyObject * obj0 = 0 ;
11533 char *kwnames[] = {
11534 (char *) "self", NULL
11535 };
11536
11537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
11538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (int)(arg1)->GetSelectionMode();
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 resultobj = SWIG_FromInt((int)result);
11548 return resultobj;
11549 fail:
11550 return NULL;
11551}
11552
11553
a95a7133 11554static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11555 PyObject *resultobj;
11556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11557 int arg2 ;
11558 int result;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self",(char *) "line", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11568 arg2 = (int) SWIG_AsInt(obj1);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 result = (int)(arg1)->GetLineSelStartPosition(arg2);
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 resultobj = SWIG_FromInt((int)result);
11578 return resultobj;
11579 fail:
11580 return NULL;
11581}
11582
11583
a95a7133 11584static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11585 PyObject *resultobj;
11586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11587 int arg2 ;
11588 int result;
11589 PyObject * obj0 = 0 ;
11590 PyObject * obj1 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self",(char *) "line", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 arg2 = (int) SWIG_AsInt(obj1);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (int)(arg1)->GetLineSelEndPosition(arg2);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_FromInt((int)result);
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
a95a7133 11614static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11615 PyObject *resultobj;
11616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11617 PyObject * obj0 = 0 ;
11618 char *kwnames[] = {
11619 (char *) "self", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
11623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 (arg1)->LineDownRectExtend();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 Py_INCREF(Py_None); resultobj = Py_None;
11633 return resultobj;
11634 fail:
11635 return NULL;
11636}
11637
11638
a95a7133 11639static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11640 PyObject *resultobj;
11641 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11642 PyObject * obj0 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
11648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->LineUpRectExtend();
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 Py_INCREF(Py_None); resultobj = Py_None;
11658 return resultobj;
11659 fail:
11660 return NULL;
11661}
11662
11663
a95a7133 11664static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11665 PyObject *resultobj;
11666 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11667 PyObject * obj0 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 (arg1)->CharLeftRectExtend();
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 Py_INCREF(Py_None); resultobj = Py_None;
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
a95a7133 11689static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11690 PyObject *resultobj;
11691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11692 PyObject * obj0 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
11698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->CharRightRectExtend();
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711}
11712
11713
a95a7133 11714static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11715 PyObject *resultobj;
11716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11717 PyObject * obj0 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
11723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 (arg1)->HomeRectExtend();
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 Py_INCREF(Py_None); resultobj = Py_None;
11733 return resultobj;
11734 fail:
11735 return NULL;
11736}
11737
11738
a95a7133 11739static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11740 PyObject *resultobj;
11741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11742 PyObject * obj0 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
11748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 (arg1)->VCHomeRectExtend();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 Py_INCREF(Py_None); resultobj = Py_None;
11758 return resultobj;
11759 fail:
11760 return NULL;
11761}
11762
11763
a95a7133 11764static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11765 PyObject *resultobj;
11766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11767 PyObject * obj0 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 (arg1)->LineEndRectExtend();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 Py_INCREF(Py_None); resultobj = Py_None;
11783 return resultobj;
11784 fail:
11785 return NULL;
11786}
11787
11788
a95a7133 11789static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11790 PyObject *resultobj;
11791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11792 PyObject * obj0 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "self", NULL
11795 };
11796
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
11798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->PageUpRectExtend();
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 Py_INCREF(Py_None); resultobj = Py_None;
11808 return resultobj;
11809 fail:
11810 return NULL;
11811}
11812
11813
a95a7133 11814static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11815 PyObject *resultobj;
11816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11817 PyObject * obj0 = 0 ;
11818 char *kwnames[] = {
11819 (char *) "self", NULL
11820 };
11821
11822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
11823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 (arg1)->PageDownRectExtend();
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 Py_INCREF(Py_None); resultobj = Py_None;
11833 return resultobj;
11834 fail:
11835 return NULL;
11836}
11837
11838
a95a7133 11839static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11840 PyObject *resultobj;
11841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11842 PyObject * obj0 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
11848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->StutteredPageUp();
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
a95a7133 11864static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11865 PyObject *resultobj;
11866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11867 PyObject * obj0 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->StutteredPageUpExtend();
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 Py_INCREF(Py_None); resultobj = Py_None;
11883 return resultobj;
11884 fail:
11885 return NULL;
11886}
11887
11888
a95a7133 11889static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11890 PyObject *resultobj;
11891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11892 PyObject * obj0 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "self", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 (arg1)->StutteredPageDown();
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 Py_INCREF(Py_None); resultobj = Py_None;
11908 return resultobj;
11909 fail:
11910 return NULL;
11911}
11912
11913
a95a7133 11914static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11915 PyObject *resultobj;
11916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11917 PyObject * obj0 = 0 ;
11918 char *kwnames[] = {
11919 (char *) "self", NULL
11920 };
11921
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
11923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->StutteredPageDownExtend();
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 Py_INCREF(Py_None); resultobj = Py_None;
11933 return resultobj;
11934 fail:
11935 return NULL;
11936}
11937
11938
a95a7133 11939static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11940 PyObject *resultobj;
11941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 (arg1)->WordLeftEnd();
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 Py_INCREF(Py_None); resultobj = Py_None;
11958 return resultobj;
11959 fail:
11960 return NULL;
11961}
11962
11963
a95a7133 11964static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11965 PyObject *resultobj;
11966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 (arg1)->WordLeftEndExtend();
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 Py_INCREF(Py_None); resultobj = Py_None;
11983 return resultobj;
11984 fail:
11985 return NULL;
11986}
11987
11988
a95a7133 11989static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11990 PyObject *resultobj;
11991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11992 PyObject * obj0 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->WordRightEnd();
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 return resultobj;
12009 fail:
12010 return NULL;
12011}
12012
12013
a95a7133 12014static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12015 PyObject *resultobj;
12016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12017 PyObject * obj0 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
12023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 (arg1)->WordRightEndExtend();
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
12033 return resultobj;
12034 fail:
12035 return NULL;
12036}
12037
12038
a95a7133 12039static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
12040 PyObject *resultobj;
12041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12042 wxString *arg2 = 0 ;
12043 bool temp2 = False ;
12044 PyObject * obj0 = 0 ;
12045 PyObject * obj1 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self",(char *) "characters", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
12053 {
12054 arg2 = wxString_in_helper(obj1);
12055 if (arg2 == NULL) SWIG_fail;
12056 temp2 = True;
12057 }
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 Py_INCREF(Py_None); resultobj = Py_None;
12066 {
12067 if (temp2)
12068 delete arg2;
12069 }
12070 return resultobj;
12071 fail:
12072 {
12073 if (temp2)
12074 delete arg2;
12075 }
12076 return NULL;
12077}
12078
12079
a95a7133 12080static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
12081 PyObject *resultobj;
12082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12083 PyObject * obj0 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
12089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetCharsDefault();
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 Py_INCREF(Py_None); resultobj = Py_None;
12099 return resultobj;
12100 fail:
12101 return NULL;
12102}
12103
12104
a95a7133 12105static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
12106 PyObject *resultobj;
12107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12108 int result;
12109 PyObject * obj0 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)(arg1)->AutoCompGetCurrent();
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
15afbcd0 12124 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
a95a7133 12131static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12132 PyObject *resultobj;
12133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12134 PyObject * obj0 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
15afbcd0
RD
12140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 (arg1)->StartRecord();
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 Py_INCREF(Py_None); resultobj = Py_None;
12150 return resultobj;
12151 fail:
12152 return NULL;
12153}
12154
12155
a95a7133 12156static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12157 PyObject *resultobj;
12158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12159 PyObject * obj0 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
15afbcd0
RD
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->StopRecord();
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
a95a7133 12181static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12182 PyObject *resultobj;
12183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12184 int arg2 ;
12185 PyObject * obj0 = 0 ;
994141e6 12186 PyObject * obj1 = 0 ;
d14a1e28
RD
12187 char *kwnames[] = {
12188 (char *) "self",(char *) "lexer", NULL
12189 };
12190
994141e6 12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12194 arg2 = (int) SWIG_AsInt(obj1);
12195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetLexer(arg2);
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 Py_INCREF(Py_None); resultobj = Py_None;
12204 return resultobj;
12205 fail:
12206 return NULL;
12207}
12208
12209
a95a7133 12210static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12211 PyObject *resultobj;
12212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12213 int result;
12214 PyObject * obj0 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "self", NULL
12217 };
12218
12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
15afbcd0
RD
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (int)(arg1)->GetLexer();
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
15afbcd0 12229 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12230 return resultobj;
12231 fail:
12232 return NULL;
12233}
12234
12235
a95a7133 12236static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12237 PyObject *resultobj;
12238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12239 int arg2 ;
12240 int arg3 ;
12241 PyObject * obj0 = 0 ;
994141e6
RD
12242 PyObject * obj1 = 0 ;
12243 PyObject * obj2 = 0 ;
d14a1e28
RD
12244 char *kwnames[] = {
12245 (char *) "self",(char *) "start",(char *) "end", NULL
12246 };
12247
994141e6 12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12251 arg2 = (int) SWIG_AsInt(obj1);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 arg3 = (int) SWIG_AsInt(obj2);
12254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 (arg1)->Colourise(arg2,arg3);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 Py_INCREF(Py_None); resultobj = Py_None;
12263 return resultobj;
12264 fail:
12265 return NULL;
12266}
12267
12268
a95a7133 12269static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12270 PyObject *resultobj;
12271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12272 wxString *arg2 = 0 ;
12273 wxString *arg3 = 0 ;
e811c8ce
RD
12274 bool temp2 = False ;
12275 bool temp3 = False ;
d14a1e28
RD
12276 PyObject * obj0 = 0 ;
12277 PyObject * obj1 = 0 ;
12278 PyObject * obj2 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "key",(char *) "value", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12286 {
12287 arg2 = wxString_in_helper(obj1);
12288 if (arg2 == NULL) SWIG_fail;
e811c8ce 12289 temp2 = True;
d14a1e28
RD
12290 }
12291 {
12292 arg3 = wxString_in_helper(obj2);
12293 if (arg3 == NULL) SWIG_fail;
e811c8ce 12294 temp3 = True;
d14a1e28
RD
12295 }
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 Py_INCREF(Py_None); resultobj = Py_None;
12304 {
12305 if (temp2)
12306 delete arg2;
12307 }
12308 {
12309 if (temp3)
12310 delete arg3;
12311 }
12312 return resultobj;
12313 fail:
12314 {
12315 if (temp2)
12316 delete arg2;
12317 }
12318 {
12319 if (temp3)
12320 delete arg3;
12321 }
12322 return NULL;
12323}
12324
12325
a95a7133 12326static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12327 PyObject *resultobj;
12328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12329 int arg2 ;
12330 wxString *arg3 = 0 ;
e811c8ce 12331 bool temp3 = False ;
d14a1e28 12332 PyObject * obj0 = 0 ;
994141e6 12333 PyObject * obj1 = 0 ;
d14a1e28
RD
12334 PyObject * obj2 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
12337 };
12338
994141e6 12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12342 arg2 = (int) SWIG_AsInt(obj1);
12343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12344 {
12345 arg3 = wxString_in_helper(obj2);
12346 if (arg3 == NULL) SWIG_fail;
e811c8ce 12347 temp3 = True;
d14a1e28
RD
12348 }
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 Py_INCREF(Py_None); resultobj = Py_None;
12357 {
12358 if (temp3)
12359 delete arg3;
12360 }
12361 return resultobj;
12362 fail:
12363 {
12364 if (temp3)
12365 delete arg3;
12366 }
12367 return NULL;
12368}
12369
12370
a95a7133 12371static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12372 PyObject *resultobj;
12373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12374 wxString *arg2 = 0 ;
e811c8ce 12375 bool temp2 = False ;
d14a1e28
RD
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self",(char *) "language", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12385 {
12386 arg2 = wxString_in_helper(obj1);
12387 if (arg2 == NULL) SWIG_fail;
e811c8ce 12388 temp2 = True;
d14a1e28
RD
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->SetLexerLanguage((wxString const &)*arg2);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 {
12399 if (temp2)
12400 delete arg2;
12401 }
12402 return resultobj;
12403 fail:
12404 {
12405 if (temp2)
12406 delete arg2;
12407 }
12408 return NULL;
12409}
12410
12411
a95a7133 12412static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12413 PyObject *resultobj;
12414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12415 int result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (int)(arg1)->GetCurrentLine();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
15afbcd0 12431 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
a95a7133 12438static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12439 PyObject *resultobj;
12440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12441 int arg2 ;
12442 wxString *arg3 = 0 ;
e811c8ce 12443 bool temp3 = False ;
d14a1e28 12444 PyObject * obj0 = 0 ;
994141e6 12445 PyObject * obj1 = 0 ;
d14a1e28
RD
12446 PyObject * obj2 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
12449 };
12450
994141e6 12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12454 arg2 = (int) SWIG_AsInt(obj1);
12455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12456 {
12457 arg3 = wxString_in_helper(obj2);
12458 if (arg3 == NULL) SWIG_fail;
e811c8ce 12459 temp3 = True;
d14a1e28
RD
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 {
12470 if (temp3)
12471 delete arg3;
12472 }
12473 return resultobj;
12474 fail:
12475 {
12476 if (temp3)
12477 delete arg3;
12478 }
12479 return NULL;
12480}
12481
12482
a95a7133 12483static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12484 PyObject *resultobj;
12485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12486 int arg2 ;
12487 wxFont *arg3 = 0 ;
12488 PyObject * obj0 = 0 ;
994141e6 12489 PyObject * obj1 = 0 ;
d14a1e28
RD
12490 PyObject * obj2 = 0 ;
12491 char *kwnames[] = {
12492 (char *) "self",(char *) "styleNum",(char *) "font", NULL
12493 };
12494
994141e6 12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12498 arg2 = (int) SWIG_AsInt(obj1);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1)
12502 SWIG_fail;
d14a1e28 12503 if (arg3 == NULL) {
15afbcd0
RD
12504 PyErr_SetString(PyExc_TypeError,"null reference");
12505 SWIG_fail;
d14a1e28
RD
12506 }
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 (arg1)->StyleSetFont(arg2,*arg3);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 Py_INCREF(Py_None); resultobj = Py_None;
12515 return resultobj;
12516 fail:
12517 return NULL;
12518}
12519
12520
a95a7133 12521static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12522 PyObject *resultobj;
12523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12524 int arg2 ;
12525 int arg3 ;
12526 wxString *arg4 = 0 ;
12527 bool arg5 ;
12528 bool arg6 ;
12529 bool arg7 ;
e811c8ce 12530 bool temp4 = False ;
d14a1e28 12531 PyObject * obj0 = 0 ;
994141e6
RD
12532 PyObject * obj1 = 0 ;
12533 PyObject * obj2 = 0 ;
d14a1e28
RD
12534 PyObject * obj3 = 0 ;
12535 PyObject * obj4 = 0 ;
12536 PyObject * obj5 = 0 ;
12537 PyObject * obj6 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
12540 };
12541
994141e6 12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
12543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12545 arg2 = (int) SWIG_AsInt(obj1);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 arg3 = (int) SWIG_AsInt(obj2);
12548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12549 {
12550 arg4 = wxString_in_helper(obj3);
12551 if (arg4 == NULL) SWIG_fail;
e811c8ce 12552 temp4 = True;
d14a1e28 12553 }
15afbcd0
RD
12554 arg5 = (bool) SWIG_AsBool(obj4);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 arg6 = (bool) SWIG_AsBool(obj5);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 arg7 = (bool) SWIG_AsBool(obj6);
12559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 {
12569 if (temp4)
12570 delete arg4;
12571 }
12572 return resultobj;
12573 fail:
12574 {
12575 if (temp4)
12576 delete arg4;
12577 }
12578 return NULL;
12579}
12580
12581
a95a7133 12582static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12583 PyObject *resultobj;
12584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12585 int arg2 ;
12586 PyObject * obj0 = 0 ;
994141e6 12587 PyObject * obj1 = 0 ;
d14a1e28
RD
12588 char *kwnames[] = {
12589 (char *) "self",(char *) "cmd", NULL
12590 };
12591
994141e6 12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12595 arg2 = (int) SWIG_AsInt(obj1);
12596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->CmdKeyExecute(arg2);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608}
12609
12610
a95a7133 12611static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12612 PyObject *resultobj;
12613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12614 int arg2 ;
12615 int arg3 ;
12616 PyObject * obj0 = 0 ;
994141e6
RD
12617 PyObject * obj1 = 0 ;
12618 PyObject * obj2 = 0 ;
d14a1e28
RD
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "left",(char *) "right", NULL
12621 };
12622
994141e6 12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12626 arg2 = (int) SWIG_AsInt(obj1);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 arg3 = (int) SWIG_AsInt(obj2);
12629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 (arg1)->SetMargins(arg2,arg3);
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 Py_INCREF(Py_None); resultobj = Py_None;
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
a95a7133 12644static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12645 PyObject *resultobj;
12646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12647 int *arg2 = (int *) 0 ;
12648 int *arg3 = (int *) 0 ;
12649 int temp2 ;
12650 int temp3 ;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 arg2 = &temp2;
12657 arg3 = &temp3;
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 (arg1)->GetSelection(arg2,arg3);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 Py_INCREF(Py_None); resultobj = Py_None;
12669 {
12670 PyObject *o = PyInt_FromLong((long) (*arg2));
12671 resultobj = t_output_helper(resultobj,o);
12672 }
12673 {
12674 PyObject *o = PyInt_FromLong((long) (*arg3));
12675 resultobj = t_output_helper(resultobj,o);
12676 }
12677 return resultobj;
12678 fail:
12679 return NULL;
12680}
12681
12682
a95a7133 12683static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12684 PyObject *resultobj;
12685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12686 int arg2 ;
12687 wxPoint result;
12688 PyObject * obj0 = 0 ;
994141e6 12689 PyObject * obj1 = 0 ;
d14a1e28
RD
12690 char *kwnames[] = {
12691 (char *) "self",(char *) "pos", NULL
12692 };
12693
994141e6 12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12697 arg2 = (int) SWIG_AsInt(obj1);
12698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 result = (arg1)->PointFromPosition(arg2);
12702
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 {
12707 wxPoint * resultptr;
12708 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 12709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12710 }
12711 return resultobj;
12712 fail:
12713 return NULL;
12714}
12715
12716
a95a7133 12717static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12718 PyObject *resultobj;
12719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12720 int arg2 ;
12721 PyObject * obj0 = 0 ;
994141e6 12722 PyObject * obj1 = 0 ;
d14a1e28
RD
12723 char *kwnames[] = {
12724 (char *) "self",(char *) "line", NULL
12725 };
12726
994141e6 12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12730 arg2 = (int) SWIG_AsInt(obj1);
12731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 (arg1)->ScrollToLine(arg2);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 Py_INCREF(Py_None); resultobj = Py_None;
12740 return resultobj;
12741 fail:
12742 return NULL;
12743}
12744
12745
a95a7133 12746static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12747 PyObject *resultobj;
12748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12749 int arg2 ;
12750 PyObject * obj0 = 0 ;
994141e6 12751 PyObject * obj1 = 0 ;
d14a1e28
RD
12752 char *kwnames[] = {
12753 (char *) "self",(char *) "column", NULL
12754 };
12755
994141e6 12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12759 arg2 = (int) SWIG_AsInt(obj1);
12760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 (arg1)->ScrollToColumn(arg2);
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 Py_INCREF(Py_None); resultobj = Py_None;
12769 return resultobj;
12770 fail:
12771 return NULL;
12772}
12773
12774
a95a7133 12775static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12776 PyObject *resultobj;
12777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12778 int arg2 ;
12779 long arg3 = (long) 0 ;
12780 long arg4 = (long) 0 ;
12781 long result;
12782 PyObject * obj0 = 0 ;
994141e6
RD
12783 PyObject * obj1 = 0 ;
12784 PyObject * obj2 = 0 ;
12785 PyObject * obj3 = 0 ;
d14a1e28
RD
12786 char *kwnames[] = {
12787 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
12788 };
12789
994141e6 12790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12793 arg2 = (int) SWIG_AsInt(obj1);
12794 if (PyErr_Occurred()) SWIG_fail;
994141e6 12795 if (obj2) {
15afbcd0
RD
12796 arg3 = (long) SWIG_AsLong(obj2);
12797 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12798 }
12799 if (obj3) {
15afbcd0
RD
12800 arg4 = (long) SWIG_AsLong(obj3);
12801 if (PyErr_Occurred()) SWIG_fail;
994141e6 12802 }
d14a1e28
RD
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
15afbcd0 12810 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12811 return resultobj;
12812 fail:
12813 return NULL;
12814}
12815
12816
a95a7133 12817static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12818 PyObject *resultobj;
12819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12820 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "bar", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 (arg1)->SetVScrollBar(arg2);
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 Py_INCREF(Py_None); resultobj = Py_None;
12840 return resultobj;
12841 fail:
12842 return NULL;
12843}
12844
12845
a95a7133 12846static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12847 PyObject *resultobj;
12848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12849 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12850 PyObject * obj0 = 0 ;
12851 PyObject * obj1 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self",(char *) "bar", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 (arg1)->SetHScrollBar(arg2);
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 Py_INCREF(Py_None); resultobj = Py_None;
12869 return resultobj;
12870 fail:
12871 return NULL;
12872}
12873
12874
a95a7133 12875static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12876 PyObject *resultobj;
12877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12878 bool result;
12879 PyObject * obj0 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15afbcd0
RD
12885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)(arg1)->GetLastKeydownProcessed();
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
4f89f6a3
RD
12894 {
12895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12896 }
d14a1e28
RD
12897 return resultobj;
12898 fail:
12899 return NULL;
12900}
12901
12902
a95a7133 12903static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12904 PyObject *resultobj;
12905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12906 bool arg2 ;
12907 PyObject * obj0 = 0 ;
12908 PyObject * obj1 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self",(char *) "val", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12916 arg2 = (bool) SWIG_AsBool(obj1);
12917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 (arg1)->SetLastKeydownProcessed(arg2);
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 Py_INCREF(Py_None); resultobj = Py_None;
12926 return resultobj;
12927 fail:
12928 return NULL;
12929}
12930
12931
a95a7133 12932static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12933 PyObject *resultobj;
12934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12935 wxString *arg2 = 0 ;
12936 bool result;
e811c8ce 12937 bool temp2 = False ;
d14a1e28
RD
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "filename", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12947 {
12948 arg2 = wxString_in_helper(obj1);
12949 if (arg2 == NULL) SWIG_fail;
e811c8ce 12950 temp2 = True;
d14a1e28
RD
12951 }
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
4f89f6a3
RD
12959 {
12960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12961 }
d14a1e28
RD
12962 {
12963 if (temp2)
12964 delete arg2;
12965 }
12966 return resultobj;
12967 fail:
12968 {
12969 if (temp2)
12970 delete arg2;
12971 }
12972 return NULL;
12973}
12974
12975
a95a7133 12976static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12977 PyObject *resultobj;
12978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12979 wxString *arg2 = 0 ;
12980 bool result;
e811c8ce 12981 bool temp2 = False ;
d14a1e28
RD
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 char *kwnames[] = {
12985 (char *) "self",(char *) "filename", NULL
12986 };
12987
12988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12991 {
12992 arg2 = wxString_in_helper(obj1);
12993 if (arg2 == NULL) SWIG_fail;
e811c8ce 12994 temp2 = True;
d14a1e28
RD
12995 }
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
4f89f6a3
RD
13003 {
13004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13005 }
d14a1e28
RD
13006 {
13007 if (temp2)
13008 delete arg2;
13009 }
13010 return resultobj;
13011 fail:
13012 {
13013 if (temp2)
13014 delete arg2;
13015 }
13016 return NULL;
13017}
13018
13019
a95a7133 13020static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13021 PyObject *resultobj;
13022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
e811c8ce
RD
13023 int arg2 ;
13024 int arg3 ;
96b3fa7c
RD
13025 int arg4 ;
13026 int result;
d14a1e28 13027 PyObject * obj0 = 0 ;
994141e6
RD
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
d14a1e28
RD
13030 PyObject * obj3 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
13033 };
13034
994141e6 13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 arg2 = (int) SWIG_AsInt(obj1);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 arg3 = (int) SWIG_AsInt(obj2);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 arg4 = (wxDragResult) SWIG_AsInt(obj3);
13043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 13046 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
13047
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
15afbcd0 13051 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13052 return resultobj;
13053 fail:
13054 return NULL;
13055}
13056
13057
a95a7133 13058static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13059 PyObject *resultobj;
13060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13061 long arg2 ;
13062 long arg3 ;
13063 wxString *arg4 = 0 ;
13064 bool result;
e811c8ce 13065 bool temp4 = False ;
d14a1e28 13066 PyObject * obj0 = 0 ;
994141e6
RD
13067 PyObject * obj1 = 0 ;
13068 PyObject * obj2 = 0 ;
d14a1e28
RD
13069 PyObject * obj3 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
13072 };
13073
994141e6 13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13077 arg2 = (long) SWIG_AsLong(obj1);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 arg3 = (long) SWIG_AsLong(obj2);
13080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13081 {
13082 arg4 = wxString_in_helper(obj3);
13083 if (arg4 == NULL) SWIG_fail;
e811c8ce 13084 temp4 = True;
d14a1e28
RD
13085 }
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
4f89f6a3
RD
13093 {
13094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13095 }
d14a1e28
RD
13096 {
13097 if (temp4)
13098 delete arg4;
13099 }
13100 return resultobj;
13101 fail:
13102 {
13103 if (temp4)
13104 delete arg4;
13105 }
13106 return NULL;
13107}
13108
13109
a95a7133 13110static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
db914595
RD
13111 PyObject *resultobj;
13112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13113 bool arg2 ;
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self",(char *) "useAA", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13123 arg2 = (bool) SWIG_AsBool(obj1);
13124 if (PyErr_Occurred()) SWIG_fail;
db914595
RD
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 (arg1)->SetUseAntiAliasing(arg2);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 Py_INCREF(Py_None); resultobj = Py_None;
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
a95a7133 13139static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
db914595
RD
13140 PyObject *resultobj;
13141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13142 bool result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
13149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 result = (bool)(arg1)->GetUseAntiAliasing();
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
4f89f6a3
RD
13158 {
13159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13160 }
db914595
RD
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
a95a7133 13167static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
13168 PyObject *obj;
13169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13170 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
13171 Py_INCREF(obj);
13172 return Py_BuildValue((char *)"");
13173}
a95a7133 13174static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13175 PyObject *resultobj;
13176 wxEventType arg1 = (wxEventType) 0 ;
13177 int arg2 = (int) 0 ;
13178 wxStyledTextEvent *result;
994141e6
RD
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
d14a1e28
RD
13181 char *kwnames[] = {
13182 (char *) "commandType",(char *) "id", NULL
13183 };
13184
994141e6
RD
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
13186 if (obj0) {
15afbcd0
RD
13187 arg1 = (wxEventType) SWIG_AsInt(obj0);
13188 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13189 }
13190 if (obj1) {
15afbcd0
RD
13191 arg2 = (int) SWIG_AsInt(obj1);
13192 if (PyErr_Occurred()) SWIG_fail;
994141e6 13193 }
d14a1e28
RD
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
15afbcd0 13201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
d14a1e28
RD
13202 return resultobj;
13203 fail:
13204 return NULL;
13205}
13206
13207
a95a7133 13208static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13209 PyObject *resultobj;
13210 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13211 PyObject * obj0 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self", NULL
13214 };
13215
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 delete arg1;
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 Py_INCREF(Py_None); resultobj = Py_None;
13227 return resultobj;
13228 fail:
13229 return NULL;
13230}
13231
13232
a95a7133 13233static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13234 PyObject *resultobj;
13235 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13236 int arg2 ;
13237 PyObject * obj0 = 0 ;
994141e6 13238 PyObject * obj1 = 0 ;
d14a1e28
RD
13239 char *kwnames[] = {
13240 (char *) "self",(char *) "pos", NULL
13241 };
13242
994141e6 13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13246 arg2 = (int) SWIG_AsInt(obj1);
13247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 (arg1)->SetPosition(arg2);
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 Py_INCREF(Py_None); resultobj = Py_None;
13256 return resultobj;
13257 fail:
13258 return NULL;
13259}
13260
13261
a95a7133 13262static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13263 PyObject *resultobj;
13264 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13265 int arg2 ;
13266 PyObject * obj0 = 0 ;
994141e6 13267 PyObject * obj1 = 0 ;
d14a1e28
RD
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "k", NULL
13270 };
13271
994141e6 13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13275 arg2 = (int) SWIG_AsInt(obj1);
13276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 (arg1)->SetKey(arg2);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
a95a7133 13291static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13292 PyObject *resultobj;
13293 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13294 int arg2 ;
13295 PyObject * obj0 = 0 ;
994141e6 13296 PyObject * obj1 = 0 ;
d14a1e28
RD
13297 char *kwnames[] = {
13298 (char *) "self",(char *) "m", NULL
13299 };
13300
994141e6 13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13304 arg2 = (int) SWIG_AsInt(obj1);
13305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 (arg1)->SetModifiers(arg2);
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 Py_INCREF(Py_None); resultobj = Py_None;
13314 return resultobj;
13315 fail:
13316 return NULL;
13317}
13318
13319
a95a7133 13320static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13321 PyObject *resultobj;
13322 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13323 int arg2 ;
13324 PyObject * obj0 = 0 ;
994141e6 13325 PyObject * obj1 = 0 ;
d14a1e28
RD
13326 char *kwnames[] = {
13327 (char *) "self",(char *) "t", NULL
13328 };
13329
994141e6 13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13333 arg2 = (int) SWIG_AsInt(obj1);
13334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->SetModificationType(arg2);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 Py_INCREF(Py_None); resultobj = Py_None;
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
a95a7133 13349static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13350 PyObject *resultobj;
13351 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13352 wxString *arg2 = 0 ;
e811c8ce 13353 bool temp2 = False ;
d14a1e28
RD
13354 PyObject * obj0 = 0 ;
13355 PyObject * obj1 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "self",(char *) "t", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13363 {
13364 arg2 = wxString_in_helper(obj1);
13365 if (arg2 == NULL) SWIG_fail;
e811c8ce 13366 temp2 = True;
d14a1e28
RD
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->SetText((wxString const &)*arg2);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 Py_INCREF(Py_None); resultobj = Py_None;
13376 {
13377 if (temp2)
13378 delete arg2;
13379 }
13380 return resultobj;
13381 fail:
13382 {
13383 if (temp2)
13384 delete arg2;
13385 }
13386 return NULL;
13387}
13388
13389
a95a7133 13390static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13391 PyObject *resultobj;
13392 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13393 int arg2 ;
13394 PyObject * obj0 = 0 ;
994141e6 13395 PyObject * obj1 = 0 ;
d14a1e28
RD
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "len", NULL
13398 };
13399
994141e6 13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13403 arg2 = (int) SWIG_AsInt(obj1);
13404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->SetLength(arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
a95a7133 13419static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13420 PyObject *resultobj;
13421 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13422 int arg2 ;
13423 PyObject * obj0 = 0 ;
994141e6 13424 PyObject * obj1 = 0 ;
d14a1e28
RD
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "num", NULL
13427 };
13428
994141e6 13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13432 arg2 = (int) SWIG_AsInt(obj1);
13433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 (arg1)->SetLinesAdded(arg2);
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 Py_INCREF(Py_None); resultobj = Py_None;
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
a95a7133 13448static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13449 PyObject *resultobj;
13450 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13451 int arg2 ;
13452 PyObject * obj0 = 0 ;
994141e6 13453 PyObject * obj1 = 0 ;
d14a1e28
RD
13454 char *kwnames[] = {
13455 (char *) "self",(char *) "val", NULL
13456 };
13457
994141e6 13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13461 arg2 = (int) SWIG_AsInt(obj1);
13462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 (arg1)->SetLine(arg2);
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 Py_INCREF(Py_None); resultobj = Py_None;
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
a95a7133 13477static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13478 PyObject *resultobj;
13479 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13480 int arg2 ;
13481 PyObject * obj0 = 0 ;
994141e6 13482 PyObject * obj1 = 0 ;
d14a1e28
RD
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "val", NULL
13485 };
13486
994141e6 13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13490 arg2 = (int) SWIG_AsInt(obj1);
13491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 (arg1)->SetFoldLevelNow(arg2);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 Py_INCREF(Py_None); resultobj = Py_None;
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
a95a7133 13506static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13507 PyObject *resultobj;
13508 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13509 int arg2 ;
13510 PyObject * obj0 = 0 ;
994141e6 13511 PyObject * obj1 = 0 ;
d14a1e28
RD
13512 char *kwnames[] = {
13513 (char *) "self",(char *) "val", NULL
13514 };
13515
994141e6 13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 arg2 = (int) SWIG_AsInt(obj1);
13520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->SetFoldLevelPrev(arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 Py_INCREF(Py_None); resultobj = Py_None;
13529 return resultobj;
13530 fail:
13531 return NULL;
13532}
13533
13534
a95a7133 13535static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13536 PyObject *resultobj;
13537 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13538 int arg2 ;
13539 PyObject * obj0 = 0 ;
994141e6 13540 PyObject * obj1 = 0 ;
d14a1e28
RD
13541 char *kwnames[] = {
13542 (char *) "self",(char *) "val", NULL
13543 };
13544
994141e6 13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13548 arg2 = (int) SWIG_AsInt(obj1);
13549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->SetMargin(arg2);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 Py_INCREF(Py_None); resultobj = Py_None;
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
a95a7133 13564static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13565 PyObject *resultobj;
13566 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13567 int arg2 ;
13568 PyObject * obj0 = 0 ;
994141e6 13569 PyObject * obj1 = 0 ;
d14a1e28
RD
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "val", NULL
13572 };
13573
994141e6 13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13577 arg2 = (int) SWIG_AsInt(obj1);
13578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->SetMessage(arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
a95a7133 13593static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13594 PyObject *resultobj;
13595 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13596 int arg2 ;
13597 PyObject * obj0 = 0 ;
994141e6 13598 PyObject * obj1 = 0 ;
d14a1e28
RD
13599 char *kwnames[] = {
13600 (char *) "self",(char *) "val", NULL
13601 };
13602
994141e6 13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13606 arg2 = (int) SWIG_AsInt(obj1);
13607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->SetWParam(arg2);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 Py_INCREF(Py_None); resultobj = Py_None;
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
a95a7133 13622static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13623 PyObject *resultobj;
13624 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13625 int arg2 ;
13626 PyObject * obj0 = 0 ;
994141e6 13627 PyObject * obj1 = 0 ;
d14a1e28
RD
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "val", NULL
13630 };
13631
994141e6 13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 arg2 = (int) SWIG_AsInt(obj1);
13636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->SetLParam(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648}
13649
13650
a95a7133 13651static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13652 PyObject *resultobj;
13653 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13654 int arg2 ;
13655 PyObject * obj0 = 0 ;
994141e6 13656 PyObject * obj1 = 0 ;
d14a1e28
RD
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "val", NULL
13659 };
13660
994141e6 13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13664 arg2 = (int) SWIG_AsInt(obj1);
13665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->SetListType(arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677}
13678
13679
a95a7133 13680static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13681 PyObject *resultobj;
13682 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13683 int arg2 ;
13684 PyObject * obj0 = 0 ;
994141e6 13685 PyObject * obj1 = 0 ;
d14a1e28
RD
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "val", NULL
13688 };
13689
994141e6 13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 arg2 = (int) SWIG_AsInt(obj1);
13694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 (arg1)->SetX(arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
a95a7133 13709static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13710 PyObject *resultobj;
13711 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13712 int arg2 ;
13713 PyObject * obj0 = 0 ;
994141e6 13714 PyObject * obj1 = 0 ;
d14a1e28
RD
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "val", NULL
13717 };
13718
994141e6 13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13722 arg2 = (int) SWIG_AsInt(obj1);
13723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 (arg1)->SetY(arg2);
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
13731 Py_INCREF(Py_None); resultobj = Py_None;
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
a95a7133 13738static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13739 PyObject *resultobj;
13740 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13741 wxString *arg2 = 0 ;
e811c8ce 13742 bool temp2 = False ;
d14a1e28
RD
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj1 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "val", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13752 {
13753 arg2 = wxString_in_helper(obj1);
13754 if (arg2 == NULL) SWIG_fail;
e811c8ce 13755 temp2 = True;
d14a1e28
RD
13756 }
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 (arg1)->SetDragText((wxString const &)*arg2);
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 Py_INCREF(Py_None); resultobj = Py_None;
13765 {
13766 if (temp2)
13767 delete arg2;
13768 }
13769 return resultobj;
13770 fail:
13771 {
13772 if (temp2)
13773 delete arg2;
13774 }
13775 return NULL;
13776}
13777
13778
a95a7133 13779static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13780 PyObject *resultobj;
13781 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13782 bool arg2 ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self",(char *) "val", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13792 arg2 = (bool) SWIG_AsBool(obj1);
13793 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 (arg1)->SetDragAllowMove(arg2);
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 Py_INCREF(Py_None); resultobj = Py_None;
13802 return resultobj;
13803 fail:
13804 return NULL;
13805}
13806
13807
a95a7133 13808static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13809 PyObject *resultobj;
13810 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 13811 int arg2 ;
d14a1e28
RD
13812 PyObject * obj0 = 0 ;
13813 PyObject * obj1 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self",(char *) "val", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13821 arg2 = (wxDragResult) SWIG_AsInt(obj1);
13822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 13825 (arg1)->SetDragResult((wxDragResult )arg2);
d14a1e28
RD
13826
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 Py_INCREF(Py_None); resultobj = Py_None;
13831 return resultobj;
13832 fail:
13833 return NULL;
13834}
13835
13836
a95a7133 13837static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13838 PyObject *resultobj;
13839 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13840 int result;
13841 PyObject * obj0 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
15afbcd0 13856 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13857 return resultobj;
13858 fail:
13859 return NULL;
13860}
13861
13862
a95a7133 13863static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13864 PyObject *resultobj;
13865 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13866 int result;
13867 PyObject * obj0 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
13873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
15afbcd0 13882 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13883 return resultobj;
13884 fail:
13885 return NULL;
13886}
13887
13888
a95a7133 13889static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13890 PyObject *resultobj;
13891 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13892 int result;
13893 PyObject * obj0 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
13899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
13904
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
15afbcd0 13908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13909 return resultobj;
13910 fail:
13911 return NULL;
13912}
13913
13914
a95a7133 13915static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13916 PyObject *resultobj;
13917 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13918 int result;
13919 PyObject * obj0 = 0 ;
13920 char *kwnames[] = {
13921 (char *) "self", NULL
13922 };
13923
13924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
15afbcd0
RD
13925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13927 {
13928 PyThreadState* __tstate = wxPyBeginAllowThreads();
13929 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
13930
13931 wxPyEndAllowThreads(__tstate);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
15afbcd0 13934 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
a95a7133 13941static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13942 PyObject *resultobj;
13943 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13944 wxString result;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
13951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = ((wxStyledTextEvent const *)arg1)->GetText();
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 {
13961#if wxUSE_UNICODE
13962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13963#else
13964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13965#endif
13966 }
13967 return resultobj;
13968 fail:
13969 return NULL;
13970}
13971
13972
a95a7133 13973static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13974 PyObject *resultobj;
13975 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13976 int result;
13977 PyObject * obj0 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self", NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
13983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
15afbcd0 13992 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13993 return resultobj;
13994 fail:
13995 return NULL;
13996}
13997
13998
a95a7133 13999static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14000 PyObject *resultobj;
14001 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14002 int result;
14003 PyObject * obj0 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
15afbcd0
RD
14009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
15afbcd0 14018 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
a95a7133 14025static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14026 PyObject *resultobj;
14027 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14028 int result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
15afbcd0 14044 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14045 return resultobj;
14046 fail:
14047 return NULL;
14048}
14049
14050
a95a7133 14051static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14052 PyObject *resultobj;
14053 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14054 int result;
14055 PyObject * obj0 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
15afbcd0 14070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14071 return resultobj;
14072 fail:
14073 return NULL;
14074}
14075
14076
a95a7133 14077static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14078 PyObject *resultobj;
14079 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14080 int result;
14081 PyObject * obj0 = 0 ;
14082 char *kwnames[] = {
14083 (char *) "self", NULL
14084 };
14085
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
15afbcd0
RD
14087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
15afbcd0 14096 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14097 return resultobj;
14098 fail:
14099 return NULL;
14100}
14101
14102
a95a7133 14103static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14104 PyObject *resultobj;
14105 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14106 int result;
14107 PyObject * obj0 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
15afbcd0 14122 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14123 return resultobj;
14124 fail:
14125 return NULL;
14126}
14127
14128
a95a7133 14129static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14130 PyObject *resultobj;
14131 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14132 int result;
14133 PyObject * obj0 = 0 ;
14134 char *kwnames[] = {
14135 (char *) "self", NULL
14136 };
14137
14138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
14139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
15afbcd0 14148 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14149 return resultobj;
14150 fail:
14151 return NULL;
14152}
14153
14154
a95a7133 14155static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14156 PyObject *resultobj;
14157 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14158 int result;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
15afbcd0
RD
14165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
15afbcd0 14174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14175 return resultobj;
14176 fail:
14177 return NULL;
14178}
14179
14180
a95a7133 14181static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14182 PyObject *resultobj;
14183 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14184 int result;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
15afbcd0
RD
14191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
15afbcd0 14200 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14201 return resultobj;
14202 fail:
14203 return NULL;
14204}
14205
14206
a95a7133 14207static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14208 PyObject *resultobj;
14209 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14210 int result;
14211 PyObject * obj0 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
15afbcd0
RD
14217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
15afbcd0 14226 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14227 return resultobj;
14228 fail:
14229 return NULL;
14230}
14231
14232
a95a7133 14233static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14234 PyObject *resultobj;
14235 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14236 int result;
14237 PyObject * obj0 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
15afbcd0 14252 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
a95a7133 14259static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14260 PyObject *resultobj;
14261 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14262 int result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
15afbcd0 14278 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
a95a7133 14285static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14286 PyObject *resultobj;
14287 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14288 wxString result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
15afbcd0
RD
14295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (arg1)->GetDragText();
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 {
14305#if wxUSE_UNICODE
14306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14307#else
14308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14309#endif
14310 }
14311 return resultobj;
14312 fail:
14313 return NULL;
14314}
14315
14316
a95a7133 14317static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14318 PyObject *resultobj;
14319 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14320 bool result;
14321 PyObject * obj0 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (bool)(arg1)->GetDragAllowMove();
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
4f89f6a3
RD
14336 {
14337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14338 }
d14a1e28
RD
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
a95a7133 14345static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14346 PyObject *resultobj;
14347 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 14348 int result;
d14a1e28
RD
14349 PyObject * obj0 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
15afbcd0
RD
14355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 14359 result = (int)(arg1)->GetDragResult();
d14a1e28
RD
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
15afbcd0 14364 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14365 return resultobj;
14366 fail:
14367 return NULL;
14368}
14369
14370
a95a7133 14371static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14372 PyObject *resultobj;
14373 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14374 bool result;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
15afbcd0
RD
14381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
4f89f6a3
RD
14390 {
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 }
d14a1e28
RD
14393 return resultobj;
14394 fail:
14395 return NULL;
14396}
14397
14398
a95a7133 14399static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14400 PyObject *resultobj;
14401 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14402 bool result;
14403 PyObject * obj0 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
14409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
4f89f6a3
RD
14418 {
14419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14420 }
d14a1e28
RD
14421 return resultobj;
14422 fail:
14423 return NULL;
14424}
14425
14426
a95a7133 14427static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14428 PyObject *resultobj;
14429 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14430 bool result;
14431 PyObject * obj0 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
15afbcd0
RD
14437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
4f89f6a3
RD
14446 {
14447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14448 }
d14a1e28
RD
14449 return resultobj;
14450 fail:
14451 return NULL;
14452}
14453
14454
a95a7133 14455static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14456 PyObject *resultobj;
14457 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14458 wxEvent *result;
14459 PyObject * obj0 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
14465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
15afbcd0 14474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
14475 return resultobj;
14476 fail:
14477 return NULL;
14478}
14479
14480
a95a7133 14481static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
14482 PyObject *obj;
14483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14484 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
14485 Py_INCREF(obj);
14486 return Py_BuildValue((char *)"");
14487}
14488static PyMethodDef SwigMethods[] = {
a95a7133
RD
14489 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14490 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14491 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
14492 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
14493 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
14494 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
14495 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
14496 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
14497 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
14498 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
14499 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14500 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
14501 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
14502 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
14503 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14504 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
14505 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
14506 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
14507 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
14508 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
14509 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
14510 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14511 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14512 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14513 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
14514 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
14515 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
14516 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
14517 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
14518 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
14519 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
14520 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
14521 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
14522 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
14523 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
14524 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
14525 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14526 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14527 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
14528 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
14529 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
14530 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
14531 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
14532 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
14533 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
14534 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
14535 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
14536 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
14537 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
14538 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
14539 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
14540 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
14541 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
14542 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14543 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14544 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
14545 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
14546 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14547 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14548 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
14549 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
14550 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
14551 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
14552 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
14553 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
14554 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
14555 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
14556 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
14557 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
14558 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
14559 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
14560 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
14561 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
14562 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
14563 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14564 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
14565 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
14566 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
14567 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
14568 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
14569 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14570 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14571 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
14572 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
14573 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
14574 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
14575 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
14576 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
14577 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
14578 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
14579 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
14580 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
14581 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
14582 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
14583 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
14584 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
14585 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14586 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14587 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14588 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14589 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
14590 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
14591 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
14592 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
14593 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
14594 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
14595 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
14596 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
14597 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
14598 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
14599 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14600 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14601 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
14602 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14603 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14604 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14605 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14606 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
14607 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
14608 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
14609 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14610 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14611 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
14612 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
14613 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14614 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14615 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
14616 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
14617 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
14618 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
14619 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14620 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14621 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
14622 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
14623 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14624 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14625 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14626 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14627 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14628 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14629 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
14630 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
14631 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14632 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
14633 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14634 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14635 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14636 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14637 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14638 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14639 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14640 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14641 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14642 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
14643 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
14644 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
14645 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
14646 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
14647 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14648 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14649 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
14650 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
14651 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
14652 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
14653 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
14654 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
14655 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
14656 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
14657 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
14658 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
14659 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
14660 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
14661 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14662 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
14663 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
14664 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
14665 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
14666 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
14667 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
14668 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
14669 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
14670 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
14671 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
14672 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
14673 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
14674 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
14675 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14676 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14677 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
14678 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
14679 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14680 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14681 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
14682 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
14683 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
14684 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14685 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14686 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
14687 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
14688 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
14689 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
14690 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
14691 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
14692 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
14693 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
14694 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
14695 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
14696 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14697 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14698 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
14699 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
14700 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
14701 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
14702 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
14703 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14704 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14705 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
14706 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
14707 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
14708 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
14709 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
14710 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
14711 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14712 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14713 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14714 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14715 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
14716 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
14717 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
14718 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
14719 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14720 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14721 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14722 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14723 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
14724 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14725 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14726 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
14727 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14728 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14729 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
14730 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14731 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14732 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
14733 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
14734 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
14735 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
14736 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
14737 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS },
14738 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS },
14739 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS },
14740 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS },
14741 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS },
14742 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS },
14743 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS },
14744 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS },
14745 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS },
14746 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS },
14747 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS },
14748 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS },
14749 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS },
14750 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS },
14751 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS },
14752 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS },
14753 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS },
14754 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS },
14755 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS },
14756 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS },
14757 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS },
14758 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS },
14759 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS },
14760 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS },
14761 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS },
14762 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS },
14763 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS },
14764 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS },
14765 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS },
14766 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS },
14767 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS },
14768 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS },
14769 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS },
14770 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS },
14771 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS },
14772 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS },
14773 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS },
14774 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS },
14775 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS },
14776 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS },
14777 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
14778 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS },
14779 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS },
14780 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS },
14781 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS },
14782 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS },
14783 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
14784 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14785 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
14786 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14787 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS },
14788 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14789 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS },
14790 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS },
14791 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS },
14792 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14793 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
14794 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
14795 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
14796 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
14797 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
14798 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
14799 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
14800 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
14801 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
14802 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
14803 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
14804 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14805 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14806 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14807 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14808 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14809 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14810 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
14811 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
14812 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
14813 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
14814 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
14815 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
14816 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
14817 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
14818 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
14819 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
14820 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
14821 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
14822 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14823 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14824 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
14825 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
14826 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14827 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14828 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14829 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14830 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14831 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14832 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
14833 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
14834 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
14835 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
14836 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
14837 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
14838 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
14839 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
14840 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
14841 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
14842 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14843 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14844 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14845 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14846 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
14847 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
14848 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
14849 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
14850 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS },
14851 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS },
14852 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS },
14853 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS },
14854 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
14855 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
14856 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
14857 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
14858 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14859 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14860 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
14861 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
14862 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14863 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14864 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS },
14865 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS },
14866 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14867 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14868 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS },
14869 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14870 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14871 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS },
14872 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS },
14873 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS },
14874 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS },
14875 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS },
14876 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS },
14877 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS },
14878 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS },
14879 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
14880 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
14881 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
14882 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
14883 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
14884 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
14885 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
14886 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
14887 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
14888 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
14889 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
14890 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
14891 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
14892 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
14893 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
14894 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
14895 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
14896 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
14897 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
14898 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
14899 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
14900 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
14901 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
14902 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
14903 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14904 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14905 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
14906 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
14907 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
14908 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
14909 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14910 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14911 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
14912 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14913 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14914 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
14915 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
14916 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
14917 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
14918 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
14919 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
14920 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14921 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
14922 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14923 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14924 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
14925 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
14926 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
14927 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
14928 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
14929 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
14930 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
14931 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
14932 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14933 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
14934 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14935 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
14936 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
14937 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
14938 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
14939 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
14940 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14941 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
14942 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14943 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14944 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
14945 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
14946 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
14947 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
14948 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
14949 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
14950 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
14951 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
14952 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14953 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
14954 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
14955 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14956 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
14957 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
14958 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
14959 { NULL, NULL }
d14a1e28
RD
14960};
14961
14962
14963/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14964
14965static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14966 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14967}
14968static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14969 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14970}
14971static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14972 return (void *)((wxObject *) ((wxSizerItem *) x));
14973}
14974static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14976}
14977static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14978 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14979}
14980static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14981 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14982}
14983static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14984 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14985}
14986static void *_p_wxSizerTo_p_wxObject(void *x) {
14987 return (void *)((wxObject *) ((wxSizer *) x));
14988}
14989static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14990 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14991}
96b3fa7c
RD
14992static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
14993 return (void *)((wxObject *) ((wxFileHistory *) x));
14994}
d14a1e28
RD
14995static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14997}
14998static void *_p_wxEventTo_p_wxObject(void *x) {
14999 return (void *)((wxObject *) ((wxEvent *) x));
15000}
15001static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15002 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15003}
15004static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15005 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15006}
15007static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15008 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15009}
d14a1e28
RD
15010static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15011 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15012}
15013static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15014 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15015}
0df68c9f
RD
15016static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
15017 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
15018}
d14a1e28
RD
15019static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15020 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15021}
15022static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15023 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15024}
15025static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15026 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15027}
15028static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15029 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15030}
15031static void *_p_wxControlTo_p_wxObject(void *x) {
15032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15033}
15034static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15035 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15036}
96b3fa7c
RD
15037static void *_p_wxTimerEventTo_p_wxObject(void *x) {
15038 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
15039}
d14a1e28
RD
15040static void *_p_wxFSFileTo_p_wxObject(void *x) {
15041 return (void *)((wxObject *) ((wxFSFile *) x));
15042}
96b3fa7c
RD
15043static void *_p_wxClipboardTo_p_wxObject(void *x) {
15044 return (void *)((wxObject *) ((wxClipboard *) x));
15045}
d14a1e28
RD
15046static void *_p_wxPySizerTo_p_wxObject(void *x) {
15047 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15048}
15049static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
15050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15051}
15052static void *_p_wxPyEventTo_p_wxObject(void *x) {
15053 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15054}
15055static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15057}
15058static void *_p_wxShowEventTo_p_wxObject(void *x) {
15059 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15060}
96b3fa7c
RD
15061static void *_p_wxToolTipTo_p_wxObject(void *x) {
15062 return (void *)((wxObject *) ((wxToolTip *) x));
15063}
d14a1e28
RD
15064static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15065 return (void *)((wxObject *) ((wxMenuItem *) x));
15066}
15067static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15068 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15069}
15070static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15072}
15073static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15074 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15075}
15076static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15077 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15078}
15079static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15080 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15081}
15082static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15083 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15084}
15085static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15086 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15087}
15088static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15089 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15090}
15091static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15092 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15093}
15094static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15095 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15096}
15097static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15098 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15099}
15100static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15101 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15102}
15103static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15104 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15105}
15106static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15107 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15108}
15109static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15111}
15112static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15114}
15115static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15116 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15117}
15118static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15119 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15120}
15121static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15122 return (void *)((wxObject *) ((wxImageHandler *) x));
15123}
15124static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15125 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15126}
15127static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15128 return (void *)((wxObject *) ((wxEvtHandler *) x));
15129}
0df68c9f
RD
15130static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15131 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15132}
d14a1e28
RD
15133static void *_p_wxImageTo_p_wxObject(void *x) {
15134 return (void *)((wxObject *) ((wxImage *) x));
15135}
15136static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15137 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15138}
96b3fa7c
RD
15139static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
15140 return (void *)((wxObject *) ((wxSystemOptions *) x));
15141}
15142static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
15143 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
15144}
d14a1e28
RD
15145static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15147}
15148static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15149 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15150}
15151static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15152 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15153}
15154static void *_p_wxWindowTo_p_wxObject(void *x) {
15155 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15156}
15157static void *_p_wxMenuTo_p_wxObject(void *x) {
15158 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15159}
15160static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15162}
96b3fa7c
RD
15163static void *_p_wxPyProcessTo_p_wxObject(void *x) {
15164 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
15165}
d14a1e28
RD
15166static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15167 return (void *)((wxObject *) ((wxFileSystem *) x));
15168}
15169static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15170 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15171}
15172static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15173 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15174}
15175static void *_p_wxPyAppTo_p_wxObject(void *x) {
15176 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15177}
15178static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15179 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15180}
15181static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15182 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15183}
15184static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15185 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15186}
96b3fa7c
RD
15187static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
15188 return (void *)((wxObject *) ((wxBusyInfo *) x));
15189}
d14a1e28
RD
15190static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15191 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15192}
15193static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15194 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15195}
15196static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15197 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15198}
15199static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15200 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15201}
15202static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15204}
96b3fa7c
RD
15205static void *_p_wxProcessEventTo_p_wxObject(void *x) {
15206 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
15207}
d14a1e28
RD
15208static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15210}
15211static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15212 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15213}
15214static void *_p_wxValidatorTo_p_wxObject(void *x) {
15215 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15216}
96b3fa7c
RD
15217static void *_p_wxPyTimerTo_p_wxObject(void *x) {
15218 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
15219}
d14a1e28
RD
15220static void *_p_wxControlTo_p_wxWindow(void *x) {
15221 return (void *)((wxWindow *) ((wxControl *) x));
15222}
15223static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15224 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15225}
15226static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
15227 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
15228}
15229static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15230 return (void *)((wxWindow *) ((wxMenuBar *) x));
15231}
15232static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15233 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15234}
15235static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15236 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15237}
15238static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15239 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15240}
15241static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15242 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15243}
15244static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
15245 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
15246}
15247static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15248 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15249}
15250static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15251 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15252}
15253static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15254 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15255}
15256static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15257 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15258}
15259static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15260 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15261}
15262static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15263 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15264}
15265static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15267}
15268static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15269 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15270}
96b3fa7c
RD
15271static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
15272 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
15273}
d14a1e28
RD
15274static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
15275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15276}
15277static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15278 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15279}
15280static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15281 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15282}
15283static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15284 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15285}
15286static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15287 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15288}
96b3fa7c
RD
15289static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
15290 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
15291}
d14a1e28
RD
15292static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15293 return (void *)((wxControl *) ((wxControlWithItems *) x));
15294}
15295static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
15296 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
15297}
15298static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15299 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15300}
15301static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15302 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15303}
15304static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15305 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15306}
15307static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15308 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15309}
15310static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15311 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15312}
15313static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15314 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15315}
96b3fa7c
RD
15316static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
15317 return (void *)((wxEvent *) ((wxTimerEvent *) x));
15318}
d14a1e28
RD
15319static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15320 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15321}
15322static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15324}
15325static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15326 return (void *)((wxEvent *) ((wxPyEvent *) x));
15327}
15328static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15329 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15330}
96b3fa7c
RD
15331static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
15332 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
15333}
d14a1e28
RD
15334static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15335 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15336}
15337static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15338 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15339}
15340static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15341 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15342}
15343static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15344 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15345}
15346static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15347 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15348}
15349static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15350 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15351}
15352static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15353 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15354}
15355static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15356 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15357}
15358static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15359 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15360}
15361static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15362 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15363}
15364static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
15365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
15366}
15367static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15368 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15369}
15370static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15371 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15372}
15373static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15374 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15375}
15376static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15377 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15378}
15379static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15380 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15381}
15382static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15383 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15384}
15385static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15386 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15387}
15388static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15389 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15390}
96b3fa7c
RD
15391static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
15392 return (void *)((wxEvent *) ((wxProcessEvent *) x));
15393}
d14a1e28
RD
15394static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15395 return (void *)((wxEvent *) ((wxShowEvent *) x));
15396}
15397static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15398 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15399}
15400static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15402}
15403static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15404 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15405}
15406static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15407 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15408}
15409static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15410 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15411}
15412static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15413 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15414}
15afbcd0
RD
15415static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15416static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15417static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15418static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15419static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15420static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15421static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15422static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15423static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15424static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15425static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15426static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15427static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15428static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15429static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15430static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15431static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15432static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15433static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
15434
15435static swig_type_info *swig_types_initial[] = {
15436_swigt__p_wxRect,
15437_swigt__p_wxColour,
15438_swigt__p_wxObject,
15439_swigt__p_wxScrollBar,
15440_swigt__p_wxStyledTextEvent,
15441_swigt__p_wxWindow,
15442_swigt__p_wxCommandEvent,
15443_swigt__p_wxBitmap,
15444_swigt__p_void,
15445_swigt__p_wxPoint,
15446_swigt__p_wxDC,
4d5c3d91 15447_swigt__p_char,
d14a1e28
RD
15448_swigt__p_wxEvtHandler,
15449_swigt__p_wxStyledTextCtrl,
15450_swigt__p_wxFont,
15451_swigt__p_wxControl,
15452_swigt__p_wxEvent,
15453_swigt__p_int,
15454_swigt__p_wxMemoryBuffer,
154550
15456};
15457
15458
15459/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15460
15461static swig_const_info swig_const_table[] = {
a95a7133 15462{0}};
d14a1e28
RD
15463
15464#ifdef __cplusplus
15465}
15466#endif
15467
15468#ifdef __cplusplus
15469extern "C"
15470#endif
15471SWIGEXPORT(void) SWIG_init(void) {
15472 static PyObject *SWIG_globals = 0;
15473 static int typeinit = 0;
15474 PyObject *m, *d;
15475 int i;
15476 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15477 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15478 d = PyModule_GetDict(m);
15479
15480 if (!typeinit) {
15481 for (i = 0; swig_types_initial[i]; i++) {
15482 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15483 }
15484 typeinit = 1;
15485 }
15486 SWIG_InstallConstants(d,swig_const_table);
15487
b2dc1044
RD
15488 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15489 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
15afbcd0
RD
15490 PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1));
15491 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1));
15492 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1));
15493 PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000));
15494 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000));
15495 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000));
15496 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0));
15497 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1));
15498 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2));
15499 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0));
15500 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1));
15501 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2));
15502 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001));
15503 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1));
15504 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31));
15505 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0));
15506 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1));
15507 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2));
15508 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3));
15509 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4));
15510 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5));
15511 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6));
15512 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7));
15513 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8));
15514 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9));
15515 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10));
15516 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11));
15517 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12));
15518 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13));
15519 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14));
15520 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15));
15521 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16));
15522 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17));
15523 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18));
15524 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19));
15525 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20));
15526 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21));
15527 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22));
15528 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23));
15529 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24));
15530 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25));
15531 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000));
15532 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25));
15533 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26));
15534 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27));
15535 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28));
15536 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29));
15537 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30));
15538 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31));
15539 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000));
15540 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0));
15541 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1));
15542 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32));
15543 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33));
15544 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34));
15545 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35));
15546 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36));
15547 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37));
15548 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39));
15549 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127));
15550 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0));
15551 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1));
15552 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186));
15553 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136));
15554 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238));
15555 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134));
15556 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161));
15557 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129));
15558 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77));
15559 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255));
15560 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204));
15561 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128));
15562 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2));
15563 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162));
15564 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130));
15565 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177));
15566 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178));
15567 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163));
15568 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222));
15569 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0));
15570 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1));
15571 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2));
15572 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7));
15573 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0));
15574 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1));
15575 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2));
15576 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3));
15577 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4));
15578 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5));
15579 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6));
15580 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20));
15581 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40));
15582 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80));
15583 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0));
15584 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0));
15585 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1));
15586 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2));
15587 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3));
15588 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4));
15589 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2));
15590 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4));
15591 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000));
15592 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000));
15593 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000));
15594 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400));
15595 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000));
15596 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000));
15597 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000));
15598 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000));
15599 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000));
15600 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000));
15601 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF));
15602 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002));
15603 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004));
15604 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008));
15605 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010));
15606 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040));
15607 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001));
15608 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000));
15609 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0));
15610 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1));
15611 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0));
15612 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1));
15613 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2));
15614 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3));
15615 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0));
15616 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1));
15617 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2));
15618 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1));
15619 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4));
15620 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01));
15621 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04));
15622 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01));
15623 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04));
15624 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10));
15625 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08));
15626 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0));
15627 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1));
15628 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2));
15629 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8));
15630 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1));
15631 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2));
15632 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4));
15633 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8));
15634 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10));
15635 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20));
15636 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40));
15637 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100));
15638 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200));
15639 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400));
15640 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800));
15641 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77));
15642 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300));
15643 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301));
15644 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302));
15645 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303));
15646 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304));
15647 PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305));
15648 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306));
15649 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307));
15650 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308));
15651 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309));
15652 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7));
15653 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8));
15654 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9));
15655 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13));
15656 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310));
15657 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311));
15658 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312));
15659 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1));
15660 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2));
15661 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4));
15662 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0));
15663 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1));
15664 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2));
15665 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3));
15666 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4));
15667 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5));
15668 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6));
15669 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7));
15670 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8));
15671 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9));
15672 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10));
15673 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11));
15674 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12));
15675 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13));
15676 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14));
15677 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15));
15678 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16));
15679 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17));
15680 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18));
15681 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19));
15682 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20));
15683 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21));
15684 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22));
15685 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23));
15686 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24));
15687 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25));
15688 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26));
15689 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27));
15690 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28));
15691 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29));
15692 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30));
15693 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31));
15694 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32));
15695 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33));
15696 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34));
15697 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35));
15698 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36));
15699 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37));
15700 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38));
15701 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39));
15702 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40));
15703 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41));
15704 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42));
15705 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43));
15706 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44));
15707 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45));
15708 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46));
15709 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47));
15710 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48));
15711 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49));
15712 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50));
15713 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51));
15714 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52));
15715 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53));
15716 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54));
15717 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000));
15718 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0));
15719 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1));
15720 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2));
15721 PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3));
15722 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4));
15723 PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5));
15724 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6));
15725 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7));
15726 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8));
15727 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9));
15728 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10));
15729 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11));
15730 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12));
15731 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13));
15732 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0));
15733 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1));
15734 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2));
15735 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3));
15736 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4));
15737 PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5));
15738 PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6));
15739 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7));
15740 PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8));
15741 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9));
15742 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10));
15743 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11));
15744 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12));
15745 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13));
15746 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14));
15747 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15));
15748 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16));
15749 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17));
15750 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18));
15751 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19));
15752 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0));
15753 PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1));
15754 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2));
15755 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3));
15756 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4));
15757 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5));
15758 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6));
15759 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7));
15760 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8));
15761 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9));
15762 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10));
15763 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11));
15764 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12));
15765 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13));
15766 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14));
15767 PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15));
15768 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16));
15769 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17));
15770 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18));
15771 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19));
15772 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20));
15773 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21));
15774 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22));
15775 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23));
15776 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24));
15777 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25));
15778 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26));
15779 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27));
15780 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28));
15781 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29));
15782 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30));
15783 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31));
15784 PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40));
15785 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41));
15786 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42));
15787 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43));
15788 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44));
15789 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45));
15790 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46));
15791 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47));
15792 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48));
15793 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49));
15794 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50));
15795 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51));
15796 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52));
15797 PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55));
15798 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56));
15799 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57));
15800 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58));
15801 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59));
15802 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60));
15803 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61));
15804 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62));
15805 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63));
15806 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64));
15807 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65));
15808 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66));
15809 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67));
15810 PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70));
15811 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71));
15812 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72));
15813 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73));
15814 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74));
15815 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75));
15816 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76));
15817 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77));
15818 PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80));
15819 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81));
15820 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82));
15821 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83));
15822 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84));
15823 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85));
15824 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86));
15825 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87));
15826 PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90));
15827 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91));
15828 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92));
15829 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93));
15830 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94));
15831 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95));
15832 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96));
15833 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97));
15834 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98));
15835 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99));
15836 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100));
15837 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101));
15838 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102));
15839 PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105));
15840 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106));
15841 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107));
15842 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108));
15843 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109));
15844 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110));
15845 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111));
15846 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112));
15847 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113));
15848 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114));
15849 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115));
15850 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116));
15851 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117));
15852 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118));
15853 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119));
15854 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120));
15855 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121));
15856 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122));
15857 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123));
15858 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124));
15859 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125));
15860 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126));
15861 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127));
15862 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0));
15863 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1));
15864 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2));
15865 PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3));
15866 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4));
15867 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5));
15868 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6));
15869 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7));
15870 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8));
15871 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9));
15872 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10));
15873 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11));
15874 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12));
15875 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13));
15876 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14));
15877 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15));
15878 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17));
15879 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18));
15880 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19));
15881 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20));
15882 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21));
15883 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22));
15884 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23));
15885 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24));
15886 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25));
15887 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26));
15888 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27));
15889 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28));
15890 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29));
15891 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30));
15892 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0));
15893 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1));
15894 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2));
15895 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3));
15896 PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4));
15897 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5));
15898 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6));
15899 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7));
15900 PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8));
15901 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9));
15902 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10));
15903 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11));
15904 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12));
15905 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0));
15906 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1));
15907 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2));
15908 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3));
15909 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4));
15910 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0));
15911 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1));
15912 PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2));
15913 PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3));
15914 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4));
15915 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0));
15916 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1));
15917 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2));
15918 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3));
15919 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4));
15920 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5));
15921 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6));
15922 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7));
15923 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8));
15924 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9));
15925 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10));
15926 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11));
15927 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12));
15928 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13));
15929 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14));
15930 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15));
15931 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16));
15932 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17));
15933 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18));
15934 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19));
15935 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0));
15936 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1));
15937 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2));
15938 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3));
15939 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4));
15940 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5));
15941 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6));
15942 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7));
15943 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8));
15944 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9));
15945 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10));
15946 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11));
15947 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12));
15948 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13));
15949 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14));
15950 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15));
15951 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16));
15952 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17));
15953 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18));
15954 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0));
15955 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1));
15956 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2));
15957 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3));
15958 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4));
15959 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5));
15960 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6));
15961 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7));
15962 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0));
15963 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1));
15964 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2));
15965 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3));
15966 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4));
15967 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5));
15968 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9));
15969 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0));
15970 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1));
15971 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2));
15972 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3));
15973 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4));
15974 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5));
15975 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6));
15976 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0));
15977 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1));
15978 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2));
15979 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3));
15980 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4));
15981 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5));
15982 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6));
15983 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7));
15984 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8));
15985 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9));
15986 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0));
15987 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1));
15988 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2));
15989 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3));
15990 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6));
15991 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7));
15992 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8));
15993 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9));
15994 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10));
15995 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11));
15996 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12));
15997 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13));
15998 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14));
15999 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15));
16000 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16));
16001 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0));
16002 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1));
16003 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2));
16004 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3));
16005 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4));
16006 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5));
16007 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6));
16008 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7));
16009 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8));
16010 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9));
16011 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10));
16012 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11));
16013 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0));
16014 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1));
16015 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2));
16016 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3));
16017 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4));
16018 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5));
16019 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6));
16020 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7));
16021 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8));
16022 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9));
16023 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10));
16024 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0));
16025 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1));
16026 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2));
16027 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3));
16028 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6));
16029 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8));
16030 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9));
16031 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10));
16032 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0));
16033 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1));
16034 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2));
16035 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3));
16036 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4));
16037 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5));
16038 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6));
16039 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7));
16040 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8));
16041 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0));
16042 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1));
16043 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2));
16044 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3));
16045 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4));
16046 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5));
16047 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6));
16048 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7));
16049 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8));
16050 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9));
16051 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10));
16052 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0));
16053 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1));
16054 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2));
16055 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3));
16056 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4));
16057 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5));
16058 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6));
16059 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7));
16060 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8));
16061 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9));
16062 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10));
16063 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11));
16064 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0));
16065 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1));
16066 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2));
16067 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3));
16068 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4));
16069 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5));
16070 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6));
16071 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7));
16072 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8));
16073 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0));
16074 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1));
16075 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2));
16076 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3));
16077 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4));
16078 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5));
16079 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6));
16080 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7));
16081 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8));
16082 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9));
16083 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10));
16084 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11));
16085 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12));
16086 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13));
16087 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14));
16088 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15));
16089 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0));
16090 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1));
16091 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2));
16092 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3));
16093 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4));
16094 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5));
16095 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6));
16096 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7));
16097 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8));
16098 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9));
16099 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10));
16100 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11));
16101 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12));
16102 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13));
16103 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14));
16104 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0));
16105 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1));
16106 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2));
16107 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3));
16108 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4));
16109 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5));
16110 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6));
16111 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7));
16112 PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8));
16113 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9));
16114 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10));
16115 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11));
16116 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12));
16117 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13));
16118 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14));
16119 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0));
16120 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1));
16121 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2));
16122 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3));
16123 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4));
16124 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5));
16125 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6));
16126 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7));
16127 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8));
16128 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9));
16129 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10));
16130 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11));
16131 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12));
16132 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13));
16133 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14));
16134 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0));
16135 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1));
16136 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2));
16137 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3));
16138 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4));
16139 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5));
16140 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6));
16141 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7));
16142 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8));
16143 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9));
16144 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10));
16145 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11));
16146 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12));
16147 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13));
16148 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14));
16149 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15));
16150 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16));
16151 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0));
16152 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1));
16153 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2));
16154 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3));
16155 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4));
16156 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5));
16157 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6));
16158 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7));
16159 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8));
16160 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9));
16161 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10));
16162 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0));
16163 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1));
16164 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2));
16165 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3));
16166 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4));
16167 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5));
16168 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6));
16169 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7));
16170 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8));
16171 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9));
16172 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10));
16173 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11));
16174 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0));
16175 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1));
16176 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2));
16177 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3));
16178 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4));
16179 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5));
16180 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6));
16181 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7));
16182 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8));
16183 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9));
16184 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10));
16185 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11));
16186 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12));
16187 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13));
16188 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14));
16189 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15));
16190 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0));
16191 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1));
16192 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2));
16193 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3));
16194 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4));
16195 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5));
16196 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6));
16197 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7));
16198 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8));
16199 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9));
16200 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10));
16201 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11));
16202 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12));
16203 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13));
16204 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0));
16205 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1));
16206 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2));
16207 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3));
16208 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4));
16209 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5));
16210 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6));
16211 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7));
16212 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8));
16213 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9));
16214 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10));
16215 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11));
16216 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12));
16217 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13));
16218 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14));
16219 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15));
16220 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16));
16221 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17));
16222 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0));
16223 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1));
16224 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2));
16225 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3));
16226 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4));
16227 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5));
16228 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6));
16229 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7));
16230 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8));
16231 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9));
16232 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10));
16233 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11));
16234 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12));
16235 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13));
16236 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14));
16237 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0));
16238 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1));
16239 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2));
16240 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3));
16241 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4));
16242 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5));
16243 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6));
16244 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0));
16245 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1));
16246 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2));
16247 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3));
16248 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4));
16249 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5));
16250 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6));
16251 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7));
16252 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8));
16253 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0));
16254 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1));
16255 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2));
16256 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3));
16257 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4));
16258 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5));
16259 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0));
16260 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1));
16261 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2));
16262 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3));
16263 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4));
16264 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5));
16265 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6));
16266 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0));
16267 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1));
16268 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2));
16269 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3));
16270 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4));
16271 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5));
16272 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6));
16273 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7));
16274 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8));
16275 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9));
16276 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10));
16277 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11));
16278 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12));
16279 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13));
16280 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31));
16281 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011));
16282 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013));
16283 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176));
16284 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177));
16285 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178));
16286 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179));
16287 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180));
16288 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300));
16289 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301));
16290 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302));
16291 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303));
16292 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304));
16293 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305));
16294 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306));
16295 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307));
16296 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308));
16297 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309));
16298 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310));
16299 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311));
16300 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312));
16301 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313));
16302 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314));
16303 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315));
16304 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316));
16305 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317));
16306 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318));
16307 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319));
16308 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320));
16309 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321));
16310 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322));
16311 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323));
16312 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324));
16313 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325));
16314 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326));
16315 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327));
16316 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328));
16317 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329));
16318 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330));
16319 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331));
16320 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332));
16321 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333));
16322 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334));
16323 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335));
16324 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336));
16325 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337));
16326 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338));
16327 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339));
16328 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404));
16329 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340));
16330 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341));
16331 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342));
16332 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343));
16333 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344));
16334 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345));
16335 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346));
16336 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347));
16337 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348));
16338 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349));
16339 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450));
16340 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451));
16341 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452));
16342 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453));
16343 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454));
4276dc52 16344 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455));
15afbcd0
RD
16345 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390));
16346 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391));
16347 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392));
16348 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393));
16349 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395));
16350 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396));
16351 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413));
16352 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414));
16353 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415));
16354 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416));
16355 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426));
16356 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427));
16357 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428));
16358 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429));
16359 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430));
16360 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431));
16361 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432));
16362 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433));
16363 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434));
16364 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435));
16365 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436));
16366 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437));
16367 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438));
16368 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439));
16369 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440));
16370 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441));
16371 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442));
16372 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE));
16373 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED));
16374 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED));
16375 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
16376 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
16377 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
16378 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY));
16379 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK));
16380 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI));
16381 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED));
16382 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD));
16383 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK));
16384 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN));
15afbcd0
RD
16385 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED));
16386 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION));
16387 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED));
16388 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART));
16389 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND));
16390 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG));
16391 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER));
16392 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP));
16393 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM));
16394 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
16395 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
16396 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
d14a1e28
RD
16397
16398
16399}
16400