]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/stc_wrap.cpp
Add GetMaxTotalWidth
[wxWidgets.git] / wxPython / contrib / stc / 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{
320 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
321}
322
323
324#if INT_MAX != LONG_MAX
325SWIGSTATICINLINE(int)
326SWIG_AsInt(PyObject *obj)
994141e6 327{
15afbcd0
RD
328 return swig_numeric_cast(int,
329 SWIG_CheckLongInRange(SWIG_AsLong(obj),
330 "int", INT_MIN, INT_MAX));
994141e6 331}
15afbcd0
RD
332#else
333#define SWIG_AsInt SWIG_AsLong
334#endif
994141e6
RD
335
336
15afbcd0
RD
337SWIGSTATICINLINE(int)
338SWIG_CheckInt(PyObject* obj)
994141e6 339{
15afbcd0
RD
340 SWIG_AsInt(obj);
341 if (PyErr_Occurred()) {
342 PyErr_Clear();
343 return 0;
344 } else {
345 return 1;
346 }
347}
348
349
350SWIGSTATICINLINE(int)
351SWIG_CheckLong(PyObject* obj)
352{
353 SWIG_AsLong(obj);
354 if (PyErr_Occurred()) {
355 PyErr_Clear();
356 return 0;
357 } else {
358 return 1;
359 }
994141e6
RD
360}
361
362
15afbcd0
RD
363SWIGSTATICINLINE(bool)
364SWIG_AsBool(PyObject *obj)
994141e6
RD
365{
366 return PyObject_IsTrue(obj) ? true : false;
367}
368
369
15afbcd0
RD
370SWIGSTATICINLINE(int)
371SWIG_CheckBool(PyObject* obj)
372{
373 SWIG_AsBool(obj);
374 if (PyErr_Occurred()) {
375 PyErr_Clear();
376 return 0;
377 } else {
378 return 1;
379 }
380}
381
382
d14a1e28
RD
383static PyObject* t_output_helper(PyObject* target, PyObject* o) {
384 PyObject* o2;
385 PyObject* o3;
386
387 if (!target) {
388 target = o;
389 } else if (target == Py_None) {
390 Py_DECREF(Py_None);
391 target = o;
392 } else {
393 if (!PyTuple_Check(target)) {
394 o2 = target;
395 target = PyTuple_New(1);
396 PyTuple_SetItem(target, 0, o2);
397 }
398 o3 = PyTuple_New(1);
399 PyTuple_SetItem(o3, 0, o);
400
401 o2 = target;
402 target = PySequence_Concat(o2, o3);
403 Py_DECREF(o2);
404 Py_DECREF(o3);
405 }
406 return target;
407}
408
15afbcd0
RD
409
410/* returns '1' if the input is a raw char*, '0' if is a PyString */
411SWIGSTATIC(int)
412SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
413{
414 static swig_type_info* pchar_info = 0;
415 int psize = 0;
416 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
417
418 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
419 PyErr_Clear();
420 PyString_AsStringAndSize(obj, cptr, &psize);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 PyErr_SetString(PyExc_TypeError,"a string is expected");
424 }
425 if (size) *size = psize;
426 return 0;
427 } else {
428 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
429 return 1;
430 }
431}
432
433
434SWIGSTATICINLINE(char* )
435SWIG_AsCharPtr(PyObject *obj)
436{
437 char* cptr;
438 SWIG_AsCharPtrAndSize(obj, &cptr, 0);
439 if (PyErr_Occurred()) {
440 PyErr_Clear();
441 PyErr_SetString(PyExc_TypeError, "a char* is expected");
442 }
443 return cptr;
444}
445
d14a1e28
RD
446#ifdef __cplusplus
447extern "C" {
448#endif
b88bce5f 449static int _wrap_STCNameStr_set(PyObject *_val) {
b2dc1044
RD
450 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
451 return 1;
452}
453
454
455static PyObject *_wrap_STCNameStr_get() {
456 PyObject *pyobj;
457
458 {
459#if wxUSE_UNICODE
460 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
461#else
462 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
463#endif
464 }
465 return pyobj;
466}
467
468
d14a1e28
RD
469static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
470 PyObject *resultobj;
471 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 472 int arg2 ;
d14a1e28
RD
473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
475 wxSize const &arg4_defvalue = wxDefaultSize ;
476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
477 long arg5 = (long) 0 ;
478 wxString const &arg6_defvalue = wxPySTCNameStr ;
479 wxString *arg6 = (wxString *) &arg6_defvalue ;
480 wxStyledTextCtrl *result;
481 wxPoint temp3 ;
482 wxSize temp4 ;
e811c8ce 483 bool temp6 = False ;
d14a1e28 484 PyObject * obj0 = 0 ;
994141e6 485 PyObject * obj1 = 0 ;
d14a1e28
RD
486 PyObject * obj2 = 0 ;
487 PyObject * obj3 = 0 ;
994141e6 488 PyObject * obj4 = 0 ;
d14a1e28
RD
489 PyObject * obj5 = 0 ;
490 char *kwnames[] = {
491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
492 };
493
994141e6 494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
497 arg2 = (int) SWIG_AsInt(obj1);
498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
499 if (obj2) {
500 {
501 arg3 = &temp3;
502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
503 }
504 }
505 if (obj3) {
506 {
507 arg4 = &temp4;
508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
509 }
510 }
994141e6 511 if (obj4) {
15afbcd0
RD
512 arg5 = (long) SWIG_AsLong(obj4);
513 if (PyErr_Occurred()) SWIG_fail;
994141e6 514 }
d14a1e28
RD
515 if (obj5) {
516 {
517 arg6 = wxString_in_helper(obj5);
518 if (arg6 == NULL) SWIG_fail;
e811c8ce 519 temp6 = True;
d14a1e28
RD
520 }
521 }
522 {
523 PyThreadState* __tstate = wxPyBeginAllowThreads();
524 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
525
526 wxPyEndAllowThreads(__tstate);
527 if (PyErr_Occurred()) SWIG_fail;
528 }
15afbcd0 529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
530 {
531 if (temp6)
532 delete arg6;
533 }
534 return resultobj;
535 fail:
536 {
537 if (temp6)
538 delete arg6;
539 }
540 return NULL;
541}
542
543
544static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject *resultobj;
546 wxStyledTextCtrl *result;
547 char *kwnames[] = {
548 NULL
549 };
550
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
552 {
553 PyThreadState* __tstate = wxPyBeginAllowThreads();
554 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
555
556 wxPyEndAllowThreads(__tstate);
557 if (PyErr_Occurred()) SWIG_fail;
558 }
15afbcd0 559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
560 return resultobj;
561 fail:
562 return NULL;
563}
564
565
566static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
567 PyObject *resultobj;
568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
569 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 570 int arg3 ;
d14a1e28
RD
571 wxPoint const &arg4_defvalue = wxDefaultPosition ;
572 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
573 wxSize const &arg5_defvalue = wxDefaultSize ;
574 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
575 long arg6 = (long) 0 ;
576 wxString const &arg7_defvalue = wxSTCNameStr ;
577 wxString *arg7 = (wxString *) &arg7_defvalue ;
578 wxPoint temp4 ;
579 wxSize temp5 ;
e811c8ce 580 bool temp7 = False ;
d14a1e28
RD
581 PyObject * obj0 = 0 ;
582 PyObject * obj1 = 0 ;
994141e6 583 PyObject * obj2 = 0 ;
d14a1e28
RD
584 PyObject * obj3 = 0 ;
585 PyObject * obj4 = 0 ;
994141e6 586 PyObject * obj5 = 0 ;
d14a1e28
RD
587 PyObject * obj6 = 0 ;
588 char *kwnames[] = {
589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
590 };
591
994141e6 592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
597 arg3 = (int) SWIG_AsInt(obj2);
598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
599 if (obj3) {
600 {
601 arg4 = &temp4;
602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
603 }
604 }
605 if (obj4) {
606 {
607 arg5 = &temp5;
608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
609 }
610 }
994141e6 611 if (obj5) {
15afbcd0
RD
612 arg6 = (long) SWIG_AsLong(obj5);
613 if (PyErr_Occurred()) SWIG_fail;
994141e6 614 }
d14a1e28
RD
615 if (obj6) {
616 {
617 arg7 = wxString_in_helper(obj6);
618 if (arg7 == NULL) SWIG_fail;
e811c8ce 619 temp7 = True;
d14a1e28
RD
620 }
621 }
622 {
623 PyThreadState* __tstate = wxPyBeginAllowThreads();
624 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
625
626 wxPyEndAllowThreads(__tstate);
627 if (PyErr_Occurred()) SWIG_fail;
628 }
629 Py_INCREF(Py_None); resultobj = Py_None;
630 {
631 if (temp7)
632 delete arg7;
633 }
634 return resultobj;
635 fail:
636 {
637 if (temp7)
638 delete arg7;
639 }
640 return NULL;
641}
642
643
644static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
645 PyObject *resultobj;
646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
647 wxString *arg2 = 0 ;
e811c8ce 648 bool temp2 = False ;
d14a1e28
RD
649 PyObject * obj0 = 0 ;
650 PyObject * obj1 = 0 ;
651 char *kwnames[] = {
652 (char *) "self",(char *) "text", NULL
653 };
654
655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
658 {
659 arg2 = wxString_in_helper(obj1);
660 if (arg2 == NULL) SWIG_fail;
e811c8ce 661 temp2 = True;
d14a1e28
RD
662 }
663 {
664 PyThreadState* __tstate = wxPyBeginAllowThreads();
665 (arg1)->AddText((wxString const &)*arg2);
666
667 wxPyEndAllowThreads(__tstate);
668 if (PyErr_Occurred()) SWIG_fail;
669 }
670 Py_INCREF(Py_None); resultobj = Py_None;
671 {
672 if (temp2)
673 delete arg2;
674 }
675 return resultobj;
676 fail:
677 {
678 if (temp2)
679 delete arg2;
680 }
681 return NULL;
682}
683
684
685static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject *resultobj;
687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
688 wxMemoryBuffer *arg2 = 0 ;
3adfb63b 689 bool temp2 = False ;
d14a1e28
RD
690 PyObject * obj0 = 0 ;
691 PyObject * obj1 = 0 ;
692 char *kwnames[] = {
693 (char *) "self",(char *) "data", NULL
694 };
695
696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
699 {
700 if (!PyString_Check(obj1)) {
701 PyErr_SetString(PyExc_TypeError, "String buffer expected");
702 SWIG_fail;
703 }
704 char* str = PyString_AS_STRING(obj1);
705 int len = PyString_GET_SIZE(obj1);
706 arg2 = new wxMemoryBuffer(len);
707 temp2 = True;
708 memcpy(arg2->GetData(), str, len);
d14a1e28
RD
709 }
710 {
711 PyThreadState* __tstate = wxPyBeginAllowThreads();
712 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
713
714 wxPyEndAllowThreads(__tstate);
715 if (PyErr_Occurred()) SWIG_fail;
716 }
717 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
718 {
719 if (temp2) delete arg2;
720 }
d14a1e28
RD
721 return resultobj;
722 fail:
3adfb63b
RD
723 {
724 if (temp2) delete arg2;
725 }
d14a1e28
RD
726 return NULL;
727}
728
729
730static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
731 PyObject *resultobj;
732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
733 int arg2 ;
734 wxString *arg3 = 0 ;
e811c8ce 735 bool temp3 = False ;
d14a1e28 736 PyObject * obj0 = 0 ;
994141e6 737 PyObject * obj1 = 0 ;
d14a1e28
RD
738 PyObject * obj2 = 0 ;
739 char *kwnames[] = {
740 (char *) "self",(char *) "pos",(char *) "text", NULL
741 };
742
994141e6 743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
746 arg2 = (int) SWIG_AsInt(obj1);
747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
748 {
749 arg3 = wxString_in_helper(obj2);
750 if (arg3 == NULL) SWIG_fail;
e811c8ce 751 temp3 = True;
d14a1e28
RD
752 }
753 {
754 PyThreadState* __tstate = wxPyBeginAllowThreads();
755 (arg1)->InsertText(arg2,(wxString const &)*arg3);
756
757 wxPyEndAllowThreads(__tstate);
758 if (PyErr_Occurred()) SWIG_fail;
759 }
760 Py_INCREF(Py_None); resultobj = Py_None;
761 {
762 if (temp3)
763 delete arg3;
764 }
765 return resultobj;
766 fail:
767 {
768 if (temp3)
769 delete arg3;
770 }
771 return NULL;
772}
773
774
775static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject *resultobj;
777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
778 PyObject * obj0 = 0 ;
779 char *kwnames[] = {
780 (char *) "self", NULL
781 };
782
783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
786 {
787 PyThreadState* __tstate = wxPyBeginAllowThreads();
788 (arg1)->ClearAll();
789
790 wxPyEndAllowThreads(__tstate);
791 if (PyErr_Occurred()) SWIG_fail;
792 }
793 Py_INCREF(Py_None); resultobj = Py_None;
794 return resultobj;
795 fail:
796 return NULL;
797}
798
799
800static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
801 PyObject *resultobj;
802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
803 PyObject * obj0 = 0 ;
804 char *kwnames[] = {
805 (char *) "self", NULL
806 };
807
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
811 {
812 PyThreadState* __tstate = wxPyBeginAllowThreads();
813 (arg1)->ClearDocumentStyle();
814
815 wxPyEndAllowThreads(__tstate);
816 if (PyErr_Occurred()) SWIG_fail;
817 }
818 Py_INCREF(Py_None); resultobj = Py_None;
819 return resultobj;
820 fail:
821 return NULL;
822}
823
824
825static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject *resultobj;
827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
828 int result;
829 PyObject * obj0 = 0 ;
830 char *kwnames[] = {
831 (char *) "self", NULL
832 };
833
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
837 {
838 PyThreadState* __tstate = wxPyBeginAllowThreads();
839 result = (int)(arg1)->GetLength();
840
841 wxPyEndAllowThreads(__tstate);
842 if (PyErr_Occurred()) SWIG_fail;
843 }
15afbcd0 844 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
845 return resultobj;
846 fail:
847 return NULL;
848}
849
850
851static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
852 PyObject *resultobj;
853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
854 int arg2 ;
855 int result;
856 PyObject * obj0 = 0 ;
994141e6 857 PyObject * obj1 = 0 ;
d14a1e28
RD
858 char *kwnames[] = {
859 (char *) "self",(char *) "pos", NULL
860 };
861
994141e6 862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
865 arg2 = (int) SWIG_AsInt(obj1);
866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
867 {
868 PyThreadState* __tstate = wxPyBeginAllowThreads();
869 result = (int)(arg1)->GetCharAt(arg2);
870
871 wxPyEndAllowThreads(__tstate);
872 if (PyErr_Occurred()) SWIG_fail;
873 }
15afbcd0 874 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
875 return resultobj;
876 fail:
877 return NULL;
878}
879
880
881static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
882 PyObject *resultobj;
883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
884 int result;
885 PyObject * obj0 = 0 ;
886 char *kwnames[] = {
887 (char *) "self", NULL
888 };
889
890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
893 {
894 PyThreadState* __tstate = wxPyBeginAllowThreads();
895 result = (int)(arg1)->GetCurrentPos();
896
897 wxPyEndAllowThreads(__tstate);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
15afbcd0 900 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
901 return resultobj;
902 fail:
903 return NULL;
904}
905
906
907static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
908 PyObject *resultobj;
909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
910 int result;
911 PyObject * obj0 = 0 ;
912 char *kwnames[] = {
913 (char *) "self", NULL
914 };
915
916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
919 {
920 PyThreadState* __tstate = wxPyBeginAllowThreads();
921 result = (int)(arg1)->GetAnchor();
922
923 wxPyEndAllowThreads(__tstate);
924 if (PyErr_Occurred()) SWIG_fail;
925 }
15afbcd0 926 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
927 return resultobj;
928 fail:
929 return NULL;
930}
931
932
933static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject *resultobj;
935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
936 int arg2 ;
937 int result;
938 PyObject * obj0 = 0 ;
994141e6 939 PyObject * obj1 = 0 ;
d14a1e28
RD
940 char *kwnames[] = {
941 (char *) "self",(char *) "pos", NULL
942 };
943
994141e6 944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
947 arg2 = (int) SWIG_AsInt(obj1);
948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 result = (int)(arg1)->GetStyleAt(arg2);
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
15afbcd0 956 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
957 return resultobj;
958 fail:
959 return NULL;
960}
961
962
963static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject *resultobj;
965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
966 PyObject * obj0 = 0 ;
967 char *kwnames[] = {
968 (char *) "self", NULL
969 };
970
971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
974 {
975 PyThreadState* __tstate = wxPyBeginAllowThreads();
976 (arg1)->Redo();
977
978 wxPyEndAllowThreads(__tstate);
979 if (PyErr_Occurred()) SWIG_fail;
980 }
981 Py_INCREF(Py_None); resultobj = Py_None;
982 return resultobj;
983 fail:
984 return NULL;
985}
986
987
988static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject *resultobj;
990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
991 bool arg2 ;
992 PyObject * obj0 = 0 ;
993 PyObject * obj1 = 0 ;
994 char *kwnames[] = {
995 (char *) "self",(char *) "collectUndo", NULL
996 };
997
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1001 arg2 = (bool) SWIG_AsBool(obj1);
1002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1003 {
1004 PyThreadState* __tstate = wxPyBeginAllowThreads();
1005 (arg1)->SetUndoCollection(arg2);
1006
1007 wxPyEndAllowThreads(__tstate);
1008 if (PyErr_Occurred()) SWIG_fail;
1009 }
1010 Py_INCREF(Py_None); resultobj = Py_None;
1011 return resultobj;
1012 fail:
1013 return NULL;
1014}
1015
1016
1017static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject *resultobj;
1019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1020 PyObject * obj0 = 0 ;
1021 char *kwnames[] = {
1022 (char *) "self", NULL
1023 };
1024
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
1026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->SelectAll();
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039}
1040
1041
1042static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1045 PyObject * obj0 = 0 ;
1046 char *kwnames[] = {
1047 (char *) "self", NULL
1048 };
1049
1050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
1051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1053 {
1054 PyThreadState* __tstate = wxPyBeginAllowThreads();
1055 (arg1)->SetSavePoint();
1056
1057 wxPyEndAllowThreads(__tstate);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 }
1060 Py_INCREF(Py_None); resultobj = Py_None;
1061 return resultobj;
1062 fail:
1063 return NULL;
1064}
1065
1066
1067static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject *resultobj;
1069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1070 int arg2 ;
1071 int arg3 ;
1072 wxMemoryBuffer result;
1073 PyObject * obj0 = 0 ;
994141e6
RD
1074 PyObject * obj1 = 0 ;
1075 PyObject * obj2 = 0 ;
d14a1e28
RD
1076 char *kwnames[] = {
1077 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1078 };
1079
994141e6 1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1083 arg2 = (int) SWIG_AsInt(obj1);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 arg3 = (int) SWIG_AsInt(obj2);
1086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 result = (arg1)->GetStyledText(arg2,arg3);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 {
3adfb63b 1095 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
d14a1e28
RD
1096 }
1097 return resultobj;
1098 fail:
1099 return NULL;
1100}
1101
1102
1103static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject *resultobj;
1105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1106 bool result;
1107 PyObject * obj0 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "self", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
1113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1115 {
1116 PyThreadState* __tstate = wxPyBeginAllowThreads();
1117 result = (bool)(arg1)->CanRedo();
1118
1119 wxPyEndAllowThreads(__tstate);
1120 if (PyErr_Occurred()) SWIG_fail;
1121 }
4d5c3d91 1122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1123 return resultobj;
1124 fail:
1125 return NULL;
1126}
1127
1128
1129static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject *resultobj;
1131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1132 int arg2 ;
1133 int result;
1134 PyObject * obj0 = 0 ;
994141e6 1135 PyObject * obj1 = 0 ;
d14a1e28
RD
1136 char *kwnames[] = {
1137 (char *) "self",(char *) "handle", NULL
1138 };
1139
994141e6 1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1143 arg2 = (int) SWIG_AsInt(obj1);
1144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) SWIG_fail;
1151 }
15afbcd0 1152 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1153 return resultobj;
1154 fail:
1155 return NULL;
1156}
1157
1158
1159static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1162 int arg2 ;
1163 PyObject * obj0 = 0 ;
994141e6 1164 PyObject * obj1 = 0 ;
d14a1e28
RD
1165 char *kwnames[] = {
1166 (char *) "self",(char *) "handle", NULL
1167 };
1168
994141e6 1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1172 arg2 = (int) SWIG_AsInt(obj1);
1173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 (arg1)->MarkerDeleteHandle(arg2);
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 Py_INCREF(Py_None); resultobj = Py_None;
1182 return resultobj;
1183 fail:
1184 return NULL;
1185}
1186
1187
1188static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1191 bool result;
1192 PyObject * obj0 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
15afbcd0
RD
1198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 result = (bool)(arg1)->GetUndoCollection();
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 }
4d5c3d91 1207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1208 return resultobj;
1209 fail:
1210 return NULL;
1211}
1212
1213
1214static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject *resultobj;
1216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1217 int result;
1218 PyObject * obj0 = 0 ;
1219 char *kwnames[] = {
1220 (char *) "self", NULL
1221 };
1222
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
15afbcd0
RD
1224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (int)(arg1)->GetViewWhiteSpace();
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
15afbcd0 1233 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1234 return resultobj;
1235 fail:
1236 return NULL;
1237}
1238
1239
1240static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject *resultobj;
1242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1243 int arg2 ;
1244 PyObject * obj0 = 0 ;
994141e6 1245 PyObject * obj1 = 0 ;
d14a1e28
RD
1246 char *kwnames[] = {
1247 (char *) "self",(char *) "viewWS", NULL
1248 };
1249
994141e6 1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1253 arg2 = (int) SWIG_AsInt(obj1);
1254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 (arg1)->SetViewWhiteSpace(arg2);
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 Py_INCREF(Py_None); resultobj = Py_None;
1263 return resultobj;
1264 fail:
1265 return NULL;
1266}
1267
1268
1269static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1272 wxPoint arg2 ;
1273 int result;
1274 wxPoint *argp2 ;
1275 PyObject * obj0 = 0 ;
1276 PyObject * obj1 = 0 ;
1277 char *kwnames[] = {
1278 (char *) "self",(char *) "pt", NULL
1279 };
1280
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1284 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1285 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1286 arg2 = *argp2;
d14a1e28
RD
1287 {
1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
1289 result = (int)(arg1)->PositionFromPoint(arg2);
1290
1291 wxPyEndAllowThreads(__tstate);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
15afbcd0 1294 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1295 return resultobj;
1296 fail:
1297 return NULL;
1298}
1299
1300
1301static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject *resultobj;
1303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1304 int arg2 ;
1305 int arg3 ;
1306 int result;
1307 PyObject * obj0 = 0 ;
994141e6
RD
1308 PyObject * obj1 = 0 ;
1309 PyObject * obj2 = 0 ;
d14a1e28
RD
1310 char *kwnames[] = {
1311 (char *) "self",(char *) "x",(char *) "y", NULL
1312 };
1313
994141e6 1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1317 arg2 = (int) SWIG_AsInt(obj1);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 arg3 = (int) SWIG_AsInt(obj2);
1320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
15afbcd0 1328 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1329 return resultobj;
1330 fail:
1331 return NULL;
1332}
1333
1334
1335static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1338 int arg2 ;
1339 PyObject * obj0 = 0 ;
994141e6 1340 PyObject * obj1 = 0 ;
d14a1e28
RD
1341 char *kwnames[] = {
1342 (char *) "self",(char *) "line", NULL
1343 };
1344
994141e6 1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1348 arg2 = (int) SWIG_AsInt(obj1);
1349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1350 {
1351 PyThreadState* __tstate = wxPyBeginAllowThreads();
1352 (arg1)->GotoLine(arg2);
1353
1354 wxPyEndAllowThreads(__tstate);
1355 if (PyErr_Occurred()) SWIG_fail;
1356 }
1357 Py_INCREF(Py_None); resultobj = Py_None;
1358 return resultobj;
1359 fail:
1360 return NULL;
1361}
1362
1363
1364static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1367 int arg2 ;
1368 PyObject * obj0 = 0 ;
994141e6 1369 PyObject * obj1 = 0 ;
d14a1e28
RD
1370 char *kwnames[] = {
1371 (char *) "self",(char *) "pos", NULL
1372 };
1373
994141e6 1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1377 arg2 = (int) SWIG_AsInt(obj1);
1378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 (arg1)->GotoPos(arg2);
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 Py_INCREF(Py_None); resultobj = Py_None;
1387 return resultobj;
1388 fail:
1389 return NULL;
1390}
1391
1392
1393static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject *resultobj;
1395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1396 int arg2 ;
1397 PyObject * obj0 = 0 ;
994141e6 1398 PyObject * obj1 = 0 ;
d14a1e28
RD
1399 char *kwnames[] = {
1400 (char *) "self",(char *) "posAnchor", NULL
1401 };
1402
994141e6 1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1406 arg2 = (int) SWIG_AsInt(obj1);
1407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 (arg1)->SetAnchor(arg2);
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 Py_INCREF(Py_None); resultobj = Py_None;
1416 return resultobj;
1417 fail:
1418 return NULL;
1419}
1420
1421
1422static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1425 int *arg2 = (int *) 0 ;
1426 wxString result;
1427 int temp2 ;
1428 PyObject * obj0 = 0 ;
1429 char *kwnames[] = {
1430 (char *) "self", NULL
1431 };
1432
1433 arg2 = &temp2;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
1435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1437 {
1438 PyThreadState* __tstate = wxPyBeginAllowThreads();
1439 result = (arg1)->GetCurLine(arg2);
1440
1441 wxPyEndAllowThreads(__tstate);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 {
1445#if wxUSE_UNICODE
1446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1447#else
1448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1449#endif
1450 }
1451 {
1452 PyObject *o = PyInt_FromLong((long) (*arg2));
1453 resultobj = t_output_helper(resultobj,o);
1454 }
1455 return resultobj;
1456 fail:
1457 return NULL;
1458}
1459
1460
1461static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1462 PyObject *resultobj;
1463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1464 int result;
1465 PyObject * obj0 = 0 ;
1466 char *kwnames[] = {
1467 (char *) "self", NULL
1468 };
1469
1470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1473 {
1474 PyThreadState* __tstate = wxPyBeginAllowThreads();
1475 result = (int)(arg1)->GetEndStyled();
1476
1477 wxPyEndAllowThreads(__tstate);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
15afbcd0 1480 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1481 return resultobj;
1482 fail:
1483 return NULL;
1484}
1485
1486
1487static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1490 int arg2 ;
1491 PyObject * obj0 = 0 ;
994141e6 1492 PyObject * obj1 = 0 ;
d14a1e28
RD
1493 char *kwnames[] = {
1494 (char *) "self",(char *) "eolMode", NULL
1495 };
1496
994141e6 1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1500 arg2 = (int) SWIG_AsInt(obj1);
1501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 (arg1)->ConvertEOLs(arg2);
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 Py_INCREF(Py_None); resultobj = Py_None;
1510 return resultobj;
1511 fail:
1512 return NULL;
1513}
1514
1515
1516static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1519 int result;
1520 PyObject * obj0 = 0 ;
1521 char *kwnames[] = {
1522 (char *) "self", NULL
1523 };
1524
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
1526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1528 {
1529 PyThreadState* __tstate = wxPyBeginAllowThreads();
1530 result = (int)(arg1)->GetEOLMode();
1531
1532 wxPyEndAllowThreads(__tstate);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
15afbcd0 1535 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1536 return resultobj;
1537 fail:
1538 return NULL;
1539}
1540
1541
1542static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject *resultobj;
1544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1545 int arg2 ;
1546 PyObject * obj0 = 0 ;
994141e6 1547 PyObject * obj1 = 0 ;
d14a1e28
RD
1548 char *kwnames[] = {
1549 (char *) "self",(char *) "eolMode", NULL
1550 };
1551
994141e6 1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1555 arg2 = (int) SWIG_AsInt(obj1);
1556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->SetEOLMode(arg2);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 return resultobj;
1566 fail:
1567 return NULL;
1568}
1569
1570
1571static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject *resultobj;
1573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1574 int arg2 ;
1575 int arg3 ;
1576 PyObject * obj0 = 0 ;
994141e6
RD
1577 PyObject * obj1 = 0 ;
1578 PyObject * obj2 = 0 ;
d14a1e28
RD
1579 char *kwnames[] = {
1580 (char *) "self",(char *) "pos",(char *) "mask", NULL
1581 };
1582
994141e6 1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 arg2 = (int) SWIG_AsInt(obj1);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 arg3 = (int) SWIG_AsInt(obj2);
1589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 (arg1)->StartStyling(arg2,arg3);
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601}
1602
1603
1604static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1607 int arg2 ;
1608 int arg3 ;
1609 PyObject * obj0 = 0 ;
994141e6
RD
1610 PyObject * obj1 = 0 ;
1611 PyObject * obj2 = 0 ;
d14a1e28
RD
1612 char *kwnames[] = {
1613 (char *) "self",(char *) "length",(char *) "style", NULL
1614 };
1615
994141e6 1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1619 arg2 = (int) SWIG_AsInt(obj1);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 arg3 = (int) SWIG_AsInt(obj2);
1622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->SetStyling(arg2,arg3);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634}
1635
1636
1637static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1640 bool result;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
15afbcd0
RD
1647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1649 {
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 result = (bool)(arg1)->GetBufferedDraw();
1652
1653 wxPyEndAllowThreads(__tstate);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
4d5c3d91 1656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1657 return resultobj;
1658 fail:
1659 return NULL;
1660}
1661
1662
1663static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject *resultobj;
1665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1666 bool arg2 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1669 char *kwnames[] = {
1670 (char *) "self",(char *) "buffered", NULL
1671 };
1672
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1676 arg2 = (bool) SWIG_AsBool(obj1);
1677 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 (arg1)->SetBufferedDraw(arg2);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 Py_INCREF(Py_None); resultobj = Py_None;
1686 return resultobj;
1687 fail:
1688 return NULL;
1689}
1690
1691
1692static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1695 int arg2 ;
1696 PyObject * obj0 = 0 ;
994141e6 1697 PyObject * obj1 = 0 ;
d14a1e28
RD
1698 char *kwnames[] = {
1699 (char *) "self",(char *) "tabWidth", NULL
1700 };
1701
994141e6 1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1705 arg2 = (int) SWIG_AsInt(obj1);
1706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 (arg1)->SetTabWidth(arg2);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 return resultobj;
1716 fail:
1717 return NULL;
1718}
1719
1720
1721static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1724 int result;
1725 PyObject * obj0 = 0 ;
1726 char *kwnames[] = {
1727 (char *) "self", NULL
1728 };
1729
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 result = (int)(arg1)->GetTabWidth();
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
15afbcd0 1740 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1741 return resultobj;
1742 fail:
1743 return NULL;
1744}
1745
1746
1747static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1750 int arg2 ;
1751 PyObject * obj0 = 0 ;
994141e6 1752 PyObject * obj1 = 0 ;
d14a1e28
RD
1753 char *kwnames[] = {
1754 (char *) "self",(char *) "codePage", NULL
1755 };
1756
994141e6 1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1760 arg2 = (int) SWIG_AsInt(obj1);
1761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->SetCodePage(arg2);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 return resultobj;
1771 fail:
1772 return NULL;
1773}
1774
1775
1776static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1779 int arg2 ;
1780 int arg3 ;
1781 wxColour const &arg4_defvalue = wxNullColour ;
1782 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1783 wxColour const &arg5_defvalue = wxNullColour ;
1784 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1785 wxColour temp4 ;
1786 wxColour temp5 ;
1787 PyObject * obj0 = 0 ;
994141e6
RD
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
d14a1e28
RD
1790 PyObject * obj3 = 0 ;
1791 PyObject * obj4 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1794 };
1795
994141e6 1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
1797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1799 arg2 = (int) SWIG_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 arg3 = (int) SWIG_AsInt(obj2);
1802 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1803 if (obj3) {
1804 {
1805 arg4 = &temp4;
1806 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1807 }
1808 }
1809 if (obj4) {
1810 {
1811 arg5 = &temp5;
1812 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1813 }
1814 }
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 Py_INCREF(Py_None); resultobj = Py_None;
1823 return resultobj;
1824 fail:
1825 return NULL;
1826}
1827
1828
1829static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1830 PyObject *resultobj;
1831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1832 int arg2 ;
1833 wxColour *arg3 = 0 ;
1834 wxColour temp3 ;
1835 PyObject * obj0 = 0 ;
994141e6 1836 PyObject * obj1 = 0 ;
d14a1e28
RD
1837 PyObject * obj2 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1840 };
1841
994141e6 1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1847 {
1848 arg3 = &temp3;
1849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1868 int arg2 ;
1869 wxColour *arg3 = 0 ;
1870 wxColour temp3 ;
1871 PyObject * obj0 = 0 ;
994141e6 1872 PyObject * obj1 = 0 ;
d14a1e28
RD
1873 PyObject * obj2 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1876 };
1877
994141e6 1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1881 arg2 = (int) SWIG_AsInt(obj1);
1882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1883 {
1884 arg3 = &temp3;
1885 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1886 }
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
1901static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1904 int arg2 ;
1905 int arg3 ;
1906 int result;
1907 PyObject * obj0 = 0 ;
994141e6
RD
1908 PyObject * obj1 = 0 ;
1909 PyObject * obj2 = 0 ;
d14a1e28
RD
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1912 };
1913
994141e6 1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1917 arg2 = (int) SWIG_AsInt(obj1);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 arg3 = (int) SWIG_AsInt(obj2);
1920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
15afbcd0 1928 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1929 return resultobj;
1930 fail:
1931 return NULL;
1932}
1933
1934
1935static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1938 int arg2 ;
1939 int arg3 ;
1940 PyObject * obj0 = 0 ;
994141e6
RD
1941 PyObject * obj1 = 0 ;
1942 PyObject * obj2 = 0 ;
d14a1e28
RD
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1945 };
1946
994141e6 1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1950 arg2 = (int) SWIG_AsInt(obj1);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 arg3 = (int) SWIG_AsInt(obj2);
1953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->MarkerDelete(arg2,arg3);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965}
1966
1967
1968static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1971 int arg2 ;
1972 PyObject * obj0 = 0 ;
994141e6 1973 PyObject * obj1 = 0 ;
d14a1e28
RD
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "markerNumber", NULL
1976 };
1977
994141e6 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (int) SWIG_AsInt(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 (arg1)->MarkerDeleteAll(arg2);
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 }
1990 Py_INCREF(Py_None); resultobj = Py_None;
1991 return resultobj;
1992 fail:
1993 return NULL;
1994}
1995
1996
1997static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2000 int arg2 ;
2001 int result;
2002 PyObject * obj0 = 0 ;
994141e6 2003 PyObject * obj1 = 0 ;
d14a1e28
RD
2004 char *kwnames[] = {
2005 (char *) "self",(char *) "line", NULL
2006 };
2007
994141e6 2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2011 arg2 = (int) SWIG_AsInt(obj1);
2012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (int)(arg1)->MarkerGet(arg2);
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
15afbcd0 2020 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2021 return resultobj;
2022 fail:
2023 return NULL;
2024}
2025
2026
2027static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2030 int arg2 ;
2031 int arg3 ;
2032 int result;
2033 PyObject * obj0 = 0 ;
994141e6
RD
2034 PyObject * obj1 = 0 ;
2035 PyObject * obj2 = 0 ;
d14a1e28
RD
2036 char *kwnames[] = {
2037 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2038 };
2039
994141e6 2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2043 arg2 = (int) SWIG_AsInt(obj1);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 arg3 = (int) SWIG_AsInt(obj2);
2046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = (int)(arg1)->MarkerNext(arg2,arg3);
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
15afbcd0 2054 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2055 return resultobj;
2056 fail:
2057 return NULL;
2058}
2059
2060
2061static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject *resultobj;
2063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2064 int arg2 ;
2065 int arg3 ;
2066 int result;
2067 PyObject * obj0 = 0 ;
994141e6
RD
2068 PyObject * obj1 = 0 ;
2069 PyObject * obj2 = 0 ;
d14a1e28
RD
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2072 };
2073
994141e6 2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg2 = (int) SWIG_AsInt(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 arg3 = (int) SWIG_AsInt(obj2);
2080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
15afbcd0 2088 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2089 return resultobj;
2090 fail:
2091 return NULL;
2092}
2093
2094
2095static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2098 int arg2 ;
2099 wxBitmap *arg3 = 0 ;
2100 PyObject * obj0 = 0 ;
994141e6 2101 PyObject * obj1 = 0 ;
d14a1e28
RD
2102 PyObject * obj2 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2105 };
2106
994141e6 2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 arg2 = (int) SWIG_AsInt(obj1);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1)
2114 SWIG_fail;
d14a1e28 2115 if (arg3 == NULL) {
15afbcd0
RD
2116 PyErr_SetString(PyExc_TypeError,"null reference");
2117 SWIG_fail;
d14a1e28
RD
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 return resultobj;
2128 fail:
2129 return NULL;
2130}
2131
2132
2133static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2136 int arg2 ;
2137 int arg3 ;
2138 PyObject * obj0 = 0 ;
994141e6
RD
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
d14a1e28
RD
2141 char *kwnames[] = {
2142 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2143 };
2144
994141e6 2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2148 arg2 = (int) SWIG_AsInt(obj1);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 arg3 = (int) SWIG_AsInt(obj2);
2151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 (arg1)->SetMarginType(arg2,arg3);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163}
2164
2165
2166static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2169 int arg2 ;
2170 int result;
2171 PyObject * obj0 = 0 ;
994141e6 2172 PyObject * obj1 = 0 ;
d14a1e28
RD
2173 char *kwnames[] = {
2174 (char *) "self",(char *) "margin", NULL
2175 };
2176
994141e6 2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2180 arg2 = (int) SWIG_AsInt(obj1);
2181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = (int)(arg1)->GetMarginType(arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
15afbcd0 2189 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2190 return resultobj;
2191 fail:
2192 return NULL;
2193}
2194
2195
2196static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2199 int arg2 ;
2200 int arg3 ;
2201 PyObject * obj0 = 0 ;
994141e6
RD
2202 PyObject * obj1 = 0 ;
2203 PyObject * obj2 = 0 ;
d14a1e28
RD
2204 char *kwnames[] = {
2205 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2206 };
2207
994141e6 2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2211 arg2 = (int) SWIG_AsInt(obj1);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 arg3 = (int) SWIG_AsInt(obj2);
2214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 (arg1)->SetMarginWidth(arg2,arg3);
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 return resultobj;
2224 fail:
2225 return NULL;
2226}
2227
2228
2229static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2232 int arg2 ;
2233 int result;
2234 PyObject * obj0 = 0 ;
994141e6 2235 PyObject * obj1 = 0 ;
d14a1e28
RD
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "margin", NULL
2238 };
2239
994141e6 2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 arg2 = (int) SWIG_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (int)(arg1)->GetMarginWidth(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
15afbcd0 2252 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2262 int arg2 ;
2263 int arg3 ;
2264 PyObject * obj0 = 0 ;
994141e6
RD
2265 PyObject * obj1 = 0 ;
2266 PyObject * obj2 = 0 ;
d14a1e28
RD
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "margin",(char *) "mask", NULL
2269 };
2270
994141e6 2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2274 arg2 = (int) SWIG_AsInt(obj1);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 arg3 = (int) SWIG_AsInt(obj2);
2277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 (arg1)->SetMarginMask(arg2,arg3);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 return resultobj;
2287 fail:
2288 return NULL;
2289}
2290
2291
2292static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject *resultobj;
2294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2295 int arg2 ;
2296 int result;
2297 PyObject * obj0 = 0 ;
994141e6 2298 PyObject * obj1 = 0 ;
d14a1e28
RD
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "margin", NULL
2301 };
2302
994141e6 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2306 arg2 = (int) SWIG_AsInt(obj1);
2307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = (int)(arg1)->GetMarginMask(arg2);
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
15afbcd0 2315 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2316 return resultobj;
2317 fail:
2318 return NULL;
2319}
2320
2321
2322static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject *resultobj;
2324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2325 int arg2 ;
2326 bool arg3 ;
2327 PyObject * obj0 = 0 ;
994141e6 2328 PyObject * obj1 = 0 ;
d14a1e28
RD
2329 PyObject * obj2 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2332 };
2333
994141e6 2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2337 arg2 = (int) SWIG_AsInt(obj1);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 arg3 = (bool) SWIG_AsBool(obj2);
2340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 (arg1)->SetMarginSensitive(arg2,arg3);
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 Py_INCREF(Py_None); resultobj = Py_None;
2349 return resultobj;
2350 fail:
2351 return NULL;
2352}
2353
2354
2355static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2358 int arg2 ;
2359 bool result;
2360 PyObject * obj0 = 0 ;
994141e6 2361 PyObject * obj1 = 0 ;
d14a1e28
RD
2362 char *kwnames[] = {
2363 (char *) "self",(char *) "margin", NULL
2364 };
2365
994141e6 2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2369 arg2 = (int) SWIG_AsInt(obj1);
2370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 result = (bool)(arg1)->GetMarginSensitive(arg2);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
4d5c3d91 2378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2379 return resultobj;
2380 fail:
2381 return NULL;
2382}
2383
2384
2385static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2388 PyObject * obj0 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
2394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->StyleClearAll();
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
2410static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2413 int arg2 ;
2414 wxColour *arg3 = 0 ;
2415 wxColour temp3 ;
2416 PyObject * obj0 = 0 ;
994141e6 2417 PyObject * obj1 = 0 ;
d14a1e28
RD
2418 PyObject * obj2 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self",(char *) "style",(char *) "fore", NULL
2421 };
2422
994141e6 2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2426 arg2 = (int) SWIG_AsInt(obj1);
2427 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2428 {
2429 arg3 = &temp3;
2430 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2431 }
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443}
2444
2445
2446static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2449 int arg2 ;
2450 wxColour *arg3 = 0 ;
2451 wxColour temp3 ;
2452 PyObject * obj0 = 0 ;
994141e6 2453 PyObject * obj1 = 0 ;
d14a1e28
RD
2454 PyObject * obj2 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "style",(char *) "back", NULL
2457 };
2458
994141e6 2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2462 arg2 = (int) SWIG_AsInt(obj1);
2463 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2464 {
2465 arg3 = &temp3;
2466 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479}
2480
2481
2482static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2485 int arg2 ;
2486 bool arg3 ;
2487 PyObject * obj0 = 0 ;
994141e6 2488 PyObject * obj1 = 0 ;
d14a1e28
RD
2489 PyObject * obj2 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "style",(char *) "bold", NULL
2492 };
2493
994141e6 2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2497 arg2 = (int) SWIG_AsInt(obj1);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 arg3 = (bool) SWIG_AsBool(obj2);
2500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 (arg1)->StyleSetBold(arg2,arg3);
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 Py_INCREF(Py_None); resultobj = Py_None;
2509 return resultobj;
2510 fail:
2511 return NULL;
2512}
2513
2514
2515static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2518 int arg2 ;
2519 bool arg3 ;
2520 PyObject * obj0 = 0 ;
994141e6 2521 PyObject * obj1 = 0 ;
d14a1e28
RD
2522 PyObject * obj2 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "style",(char *) "italic", NULL
2525 };
2526
994141e6 2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 arg2 = (int) SWIG_AsInt(obj1);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 arg3 = (bool) SWIG_AsBool(obj2);
2533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 (arg1)->StyleSetItalic(arg2,arg3);
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 Py_INCREF(Py_None); resultobj = Py_None;
2542 return resultobj;
2543 fail:
2544 return NULL;
2545}
2546
2547
2548static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2551 int arg2 ;
2552 int arg3 ;
2553 PyObject * obj0 = 0 ;
994141e6
RD
2554 PyObject * obj1 = 0 ;
2555 PyObject * obj2 = 0 ;
d14a1e28
RD
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2558 };
2559
994141e6 2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 arg2 = (int) SWIG_AsInt(obj1);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 arg3 = (int) SWIG_AsInt(obj2);
2566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 (arg1)->StyleSetSize(arg2,arg3);
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 Py_INCREF(Py_None); resultobj = Py_None;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578}
2579
2580
2581static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2584 int arg2 ;
2585 wxString *arg3 = 0 ;
e811c8ce 2586 bool temp3 = False ;
d14a1e28 2587 PyObject * obj0 = 0 ;
994141e6 2588 PyObject * obj1 = 0 ;
d14a1e28
RD
2589 PyObject * obj2 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "style",(char *) "fontName", NULL
2592 };
2593
994141e6 2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2597 arg2 = (int) SWIG_AsInt(obj1);
2598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2599 {
2600 arg3 = wxString_in_helper(obj2);
2601 if (arg3 == NULL) SWIG_fail;
e811c8ce 2602 temp3 = True;
d14a1e28
RD
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 {
2613 if (temp3)
2614 delete arg3;
2615 }
2616 return resultobj;
2617 fail:
2618 {
2619 if (temp3)
2620 delete arg3;
2621 }
2622 return NULL;
2623}
2624
2625
2626static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2629 int arg2 ;
2630 bool arg3 ;
2631 PyObject * obj0 = 0 ;
994141e6 2632 PyObject * obj1 = 0 ;
d14a1e28
RD
2633 PyObject * obj2 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self",(char *) "style",(char *) "filled", NULL
2636 };
2637
994141e6 2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2641 arg2 = (int) SWIG_AsInt(obj1);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 arg3 = (bool) SWIG_AsBool(obj2);
2644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 (arg1)->StyleSetEOLFilled(arg2,arg3);
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 Py_INCREF(Py_None); resultobj = Py_None;
2653 return resultobj;
2654 fail:
2655 return NULL;
2656}
2657
2658
2659static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2662 PyObject * obj0 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 (arg1)->StyleResetDefault();
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 Py_INCREF(Py_None); resultobj = Py_None;
2678 return resultobj;
2679 fail:
2680 return NULL;
2681}
2682
2683
2684static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2687 int arg2 ;
2688 bool arg3 ;
2689 PyObject * obj0 = 0 ;
994141e6 2690 PyObject * obj1 = 0 ;
d14a1e28
RD
2691 PyObject * obj2 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self",(char *) "style",(char *) "underline", NULL
2694 };
2695
994141e6 2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2699 arg2 = (int) SWIG_AsInt(obj1);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 arg3 = (bool) SWIG_AsBool(obj2);
2702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 (arg1)->StyleSetUnderline(arg2,arg3);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 Py_INCREF(Py_None); resultobj = Py_None;
2711 return resultobj;
2712 fail:
2713 return NULL;
2714}
2715
2716
2717static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2720 int arg2 ;
2721 int arg3 ;
2722 PyObject * obj0 = 0 ;
994141e6
RD
2723 PyObject * obj1 = 0 ;
2724 PyObject * obj2 = 0 ;
d14a1e28
RD
2725 char *kwnames[] = {
2726 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2727 };
2728
994141e6 2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2732 arg2 = (int) SWIG_AsInt(obj1);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 arg3 = (int) SWIG_AsInt(obj2);
2735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->StyleSetCase(arg2,arg3);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747}
2748
2749
2750static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2753 int arg2 ;
2754 int arg3 ;
2755 PyObject * obj0 = 0 ;
994141e6
RD
2756 PyObject * obj1 = 0 ;
2757 PyObject * obj2 = 0 ;
d14a1e28
RD
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2760 };
2761
994141e6 2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 arg2 = (int) SWIG_AsInt(obj1);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 arg3 = (int) SWIG_AsInt(obj2);
2768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 (arg1)->StyleSetCharacterSet(arg2,arg3);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
2783static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2786 int arg2 ;
2787 bool arg3 ;
2788 PyObject * obj0 = 0 ;
994141e6 2789 PyObject * obj1 = 0 ;
d14a1e28
RD
2790 PyObject * obj2 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2793 };
2794
994141e6 2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 arg2 = (int) SWIG_AsInt(obj1);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 arg3 = (bool) SWIG_AsBool(obj2);
2801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 (arg1)->StyleSetHotSpot(arg2,arg3);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 Py_INCREF(Py_None); resultobj = Py_None;
2810 return resultobj;
2811 fail:
2812 return NULL;
2813}
2814
2815
2816static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2819 bool arg2 ;
2820 wxColour *arg3 = 0 ;
2821 wxColour temp3 ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj1 = 0 ;
2824 PyObject * obj2 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2832 arg2 = (bool) SWIG_AsBool(obj1);
2833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2834 {
2835 arg3 = &temp3;
2836 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849}
2850
2851
2852static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2855 bool arg2 ;
2856 wxColour *arg3 = 0 ;
2857 wxColour temp3 ;
2858 PyObject * obj0 = 0 ;
2859 PyObject * obj1 = 0 ;
2860 PyObject * obj2 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2868 arg2 = (bool) SWIG_AsBool(obj1);
2869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2870 {
2871 arg3 = &temp3;
2872 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 Py_INCREF(Py_None); resultobj = Py_None;
2882 return resultobj;
2883 fail:
2884 return NULL;
2885}
2886
2887
2888static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2891 wxColour *arg2 = 0 ;
2892 wxColour temp2 ;
2893 PyObject * obj0 = 0 ;
2894 PyObject * obj1 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "fore", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2902 {
2903 arg2 = &temp2;
2904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 return resultobj;
2915 fail:
2916 return NULL;
2917}
2918
2919
2920static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2923 int arg2 ;
2924 int arg3 ;
2925 int arg4 ;
2926 PyObject * obj0 = 0 ;
994141e6
RD
2927 PyObject * obj1 = 0 ;
2928 PyObject * obj2 = 0 ;
2929 PyObject * obj3 = 0 ;
d14a1e28
RD
2930 char *kwnames[] = {
2931 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2932 };
2933
994141e6 2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2937 arg2 = (int) SWIG_AsInt(obj1);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 arg3 = (int) SWIG_AsInt(obj2);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 arg4 = (int) SWIG_AsInt(obj3);
2942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954}
2955
2956
2957static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2960 int arg2 ;
2961 int arg3 ;
2962 PyObject * obj0 = 0 ;
994141e6
RD
2963 PyObject * obj1 = 0 ;
2964 PyObject * obj2 = 0 ;
d14a1e28
RD
2965 char *kwnames[] = {
2966 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2967 };
2968
994141e6 2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2972 arg2 = (int) SWIG_AsInt(obj1);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 arg3 = (int) SWIG_AsInt(obj2);
2975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 (arg1)->CmdKeyClear(arg2,arg3);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 Py_INCREF(Py_None); resultobj = Py_None;
2984 return resultobj;
2985 fail:
2986 return NULL;
2987}
2988
2989
2990static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject *resultobj;
2992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2993 PyObject * obj0 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
2999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3001 {
3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
3003 (arg1)->CmdKeyClearAll();
3004
3005 wxPyEndAllowThreads(__tstate);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 Py_INCREF(Py_None); resultobj = Py_None;
3009 return resultobj;
3010 fail:
3011 return NULL;
3012}
3013
3014
3015static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3018 int arg2 ;
3019 char *arg3 ;
3020 PyObject * obj0 = 0 ;
994141e6
RD
3021 PyObject * obj1 = 0 ;
3022 PyObject * obj2 = 0 ;
d14a1e28
RD
3023 char *kwnames[] = {
3024 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3025 };
3026
994141e6 3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3030 arg2 = (int) SWIG_AsInt(obj1);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 arg3 = SWIG_AsCharPtr(obj2);
3033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3034 {
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 (arg1)->SetStyleBytes(arg2,arg3);
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 Py_INCREF(Py_None); resultobj = Py_None;
3042 return resultobj;
3043 fail:
3044 return NULL;
3045}
3046
3047
3048static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3051 int arg2 ;
3052 bool arg3 ;
3053 PyObject * obj0 = 0 ;
994141e6 3054 PyObject * obj1 = 0 ;
d14a1e28
RD
3055 PyObject * obj2 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "style",(char *) "visible", NULL
3058 };
3059
994141e6 3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3063 arg2 = (int) SWIG_AsInt(obj1);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 arg3 = (bool) SWIG_AsBool(obj2);
3066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 (arg1)->StyleSetVisible(arg2,arg3);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078}
3079
3080
3081static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3084 int result;
3085 PyObject * obj0 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
15afbcd0
RD
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = (int)(arg1)->GetCaretPeriod();
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
15afbcd0 3100 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
3107static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3110 int arg2 ;
3111 PyObject * obj0 = 0 ;
994141e6 3112 PyObject * obj1 = 0 ;
d14a1e28
RD
3113 char *kwnames[] = {
3114 (char *) "self",(char *) "periodMilliseconds", NULL
3115 };
3116
994141e6 3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3120 arg2 = (int) SWIG_AsInt(obj1);
3121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->SetCaretPeriod(arg2);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
3136static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3139 wxString *arg2 = 0 ;
e811c8ce 3140 bool temp2 = False ;
d14a1e28
RD
3141 PyObject * obj0 = 0 ;
3142 PyObject * obj1 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "characters", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3150 {
3151 arg2 = wxString_in_helper(obj1);
3152 if (arg2 == NULL) SWIG_fail;
e811c8ce 3153 temp2 = True;
d14a1e28
RD
3154 }
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 (arg1)->SetWordChars((wxString const &)*arg2);
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
3162 Py_INCREF(Py_None); resultobj = Py_None;
3163 {
3164 if (temp2)
3165 delete arg2;
3166 }
3167 return resultobj;
3168 fail:
3169 {
3170 if (temp2)
3171 delete arg2;
3172 }
3173 return NULL;
3174}
3175
3176
3177static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3180 PyObject * obj0 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
3186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 (arg1)->BeginUndoAction();
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 Py_INCREF(Py_None); resultobj = Py_None;
3196 return resultobj;
3197 fail:
3198 return NULL;
3199}
3200
3201
3202static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3205 PyObject * obj0 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->EndUndoAction();
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224}
3225
3226
3227static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3230 int arg2 ;
3231 int arg3 ;
3232 PyObject * obj0 = 0 ;
994141e6
RD
3233 PyObject * obj1 = 0 ;
3234 PyObject * obj2 = 0 ;
d14a1e28
RD
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "indic",(char *) "style", NULL
3237 };
3238
994141e6 3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 arg2 = (int) SWIG_AsInt(obj1);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 arg3 = (int) SWIG_AsInt(obj2);
3245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 (arg1)->IndicatorSetStyle(arg2,arg3);
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 Py_INCREF(Py_None); resultobj = Py_None;
3254 return resultobj;
3255 fail:
3256 return NULL;
3257}
3258
3259
3260static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3263 int arg2 ;
3264 int result;
3265 PyObject * obj0 = 0 ;
994141e6 3266 PyObject * obj1 = 0 ;
d14a1e28
RD
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "indic", NULL
3269 };
3270
994141e6 3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3274 arg2 = (int) SWIG_AsInt(obj1);
3275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (int)(arg1)->IndicatorGetStyle(arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
15afbcd0 3283 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3284 return resultobj;
3285 fail:
3286 return NULL;
3287}
3288
3289
3290static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3293 int arg2 ;
3294 wxColour *arg3 = 0 ;
3295 wxColour temp3 ;
3296 PyObject * obj0 = 0 ;
994141e6 3297 PyObject * obj1 = 0 ;
d14a1e28
RD
3298 PyObject * obj2 = 0 ;
3299 char *kwnames[] = {
3300 (char *) "self",(char *) "indic",(char *) "fore", NULL
3301 };
3302
994141e6 3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3306 arg2 = (int) SWIG_AsInt(obj1);
3307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3308 {
3309 arg3 = &temp3;
3310 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 Py_INCREF(Py_None); resultobj = Py_None;
3320 return resultobj;
3321 fail:
3322 return NULL;
3323}
3324
3325
3326static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject *resultobj;
3328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3329 int arg2 ;
3330 wxColour result;
3331 PyObject * obj0 = 0 ;
994141e6 3332 PyObject * obj1 = 0 ;
d14a1e28
RD
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "indic", NULL
3335 };
3336
994141e6 3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3340 arg2 = (int) SWIG_AsInt(obj1);
3341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (arg1)->IndicatorGetForeground(arg2);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 {
3350 wxColour * resultptr;
3351 resultptr = new wxColour((wxColour &) result);
15afbcd0 3352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3353 }
3354 return resultobj;
3355 fail:
3356 return NULL;
3357}
3358
3359
3360static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3363 bool arg2 ;
3364 wxColour *arg3 = 0 ;
3365 wxColour temp3 ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3376 arg2 = (bool) SWIG_AsBool(obj1);
3377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3378 {
3379 arg3 = &temp3;
3380 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3381 }
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393}
3394
3395
3396static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3399 bool arg2 ;
3400 wxColour *arg3 = 0 ;
3401 wxColour temp3 ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 PyObject * obj2 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 arg2 = (bool) SWIG_AsBool(obj1);
3413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3414 {
3415 arg3 = &temp3;
3416 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3417 }
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
3432static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3435 int arg2 ;
3436 PyObject * obj0 = 0 ;
994141e6 3437 PyObject * obj1 = 0 ;
d14a1e28
RD
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "bits", NULL
3440 };
3441
994141e6 3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 arg2 = (int) SWIG_AsInt(obj1);
3446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetStyleBits(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
3461static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3464 int result;
3465 PyObject * obj0 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
15afbcd0
RD
3471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (int)(arg1)->GetStyleBits();
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
15afbcd0 3480 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3481 return resultobj;
3482 fail:
3483 return NULL;
3484}
3485
3486
3487static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj;
3489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3490 int arg2 ;
3491 int arg3 ;
3492 PyObject * obj0 = 0 ;
994141e6
RD
3493 PyObject * obj1 = 0 ;
3494 PyObject * obj2 = 0 ;
d14a1e28
RD
3495 char *kwnames[] = {
3496 (char *) "self",(char *) "line",(char *) "state", NULL
3497 };
3498
994141e6 3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3502 arg2 = (int) SWIG_AsInt(obj1);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 arg3 = (int) SWIG_AsInt(obj2);
3505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 (arg1)->SetLineState(arg2,arg3);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 Py_INCREF(Py_None); resultobj = Py_None;
3514 return resultobj;
3515 fail:
3516 return NULL;
3517}
3518
3519
3520static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3523 int arg2 ;
3524 int result;
3525 PyObject * obj0 = 0 ;
994141e6 3526 PyObject * obj1 = 0 ;
d14a1e28
RD
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "line", NULL
3529 };
3530
994141e6 3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 arg2 = (int) SWIG_AsInt(obj1);
3535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (int)(arg1)->GetLineState(arg2);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
15afbcd0 3543 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
3550static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3553 int result;
3554 PyObject * obj0 = 0 ;
3555 char *kwnames[] = {
3556 (char *) "self", NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
15afbcd0
RD
3560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (int)(arg1)->GetMaxLineState();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
15afbcd0 3569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3570 return resultobj;
3571 fail:
3572 return NULL;
3573}
3574
3575
3576static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3579 bool result;
3580 PyObject * obj0 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
3586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (bool)(arg1)->GetCaretLineVisible();
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
4d5c3d91 3595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3596 return resultobj;
3597 fail:
3598 return NULL;
3599}
3600
3601
3602static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj;
3604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3605 bool arg2 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char *kwnames[] = {
3609 (char *) "self",(char *) "show", NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3615 arg2 = (bool) SWIG_AsBool(obj1);
3616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 (arg1)->SetCaretLineVisible(arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 Py_INCREF(Py_None); resultobj = Py_None;
3625 return resultobj;
3626 fail:
3627 return NULL;
3628}
3629
3630
3631static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3634 wxColour result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
15afbcd0
RD
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (arg1)->GetCaretLineBack();
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 {
3651 wxColour * resultptr;
3652 resultptr = new wxColour((wxColour &) result);
15afbcd0 3653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3654 }
3655 return resultobj;
3656 fail:
3657 return NULL;
3658}
3659
3660
3661static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3664 wxColour *arg2 = 0 ;
3665 wxColour temp2 ;
3666 PyObject * obj0 = 0 ;
3667 PyObject * obj1 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self",(char *) "back", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3675 {
3676 arg2 = &temp2;
3677 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3678 }
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 Py_INCREF(Py_None); resultobj = Py_None;
3687 return resultobj;
3688 fail:
3689 return NULL;
3690}
3691
3692
3693static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3696 int arg2 ;
3697 bool arg3 ;
3698 PyObject * obj0 = 0 ;
994141e6 3699 PyObject * obj1 = 0 ;
d14a1e28
RD
3700 PyObject * obj2 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self",(char *) "style",(char *) "changeable", NULL
3703 };
3704
994141e6 3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3708 arg2 = (int) SWIG_AsInt(obj1);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 arg3 = (bool) SWIG_AsBool(obj2);
3711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 (arg1)->StyleSetChangeable(arg2,arg3);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 Py_INCREF(Py_None); resultobj = Py_None;
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
3726static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3729 int arg2 ;
3730 wxString *arg3 = 0 ;
e811c8ce 3731 bool temp3 = False ;
d14a1e28 3732 PyObject * obj0 = 0 ;
994141e6 3733 PyObject * obj1 = 0 ;
d14a1e28
RD
3734 PyObject * obj2 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3737 };
3738
994141e6 3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 arg2 = (int) SWIG_AsInt(obj1);
3743 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3744 {
3745 arg3 = wxString_in_helper(obj2);
3746 if (arg3 == NULL) SWIG_fail;
e811c8ce 3747 temp3 = True;
d14a1e28
RD
3748 }
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 {
3758 if (temp3)
3759 delete arg3;
3760 }
3761 return resultobj;
3762 fail:
3763 {
3764 if (temp3)
3765 delete arg3;
3766 }
3767 return NULL;
3768}
3769
3770
3771static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3774 PyObject * obj0 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->AutoCompCancel();
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793}
3794
3795
3796static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3799 bool result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (bool)(arg1)->AutoCompActive();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
4d5c3d91 3815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
3822static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3825 int result;
3826 PyObject * obj0 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
3832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 result = (int)(arg1)->AutoCompPosStart();
3837
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
15afbcd0 3841 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3842 return resultobj;
3843 fail:
3844 return NULL;
3845}
3846
3847
3848static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject *resultobj;
3850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3851 PyObject * obj0 = 0 ;
3852 char *kwnames[] = {
3853 (char *) "self", NULL
3854 };
3855
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
15afbcd0
RD
3857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->AutoCompComplete();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870}
3871
3872
3873static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3876 wxString *arg2 = 0 ;
e811c8ce 3877 bool temp2 = False ;
d14a1e28
RD
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "characterSet", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3887 {
3888 arg2 = wxString_in_helper(obj1);
3889 if (arg2 == NULL) SWIG_fail;
e811c8ce 3890 temp2 = True;
d14a1e28
RD
3891 }
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 (arg1)->AutoCompStops((wxString const &)*arg2);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 {
3901 if (temp2)
3902 delete arg2;
3903 }
3904 return resultobj;
3905 fail:
3906 {
3907 if (temp2)
3908 delete arg2;
3909 }
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3917 int arg2 ;
3918 PyObject * obj0 = 0 ;
994141e6 3919 PyObject * obj1 = 0 ;
d14a1e28
RD
3920 char *kwnames[] = {
3921 (char *) "self",(char *) "separatorCharacter", NULL
3922 };
3923
994141e6 3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 arg2 = (int) SWIG_AsInt(obj1);
3928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->AutoCompSetSeparator(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940}
3941
3942
3943static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3946 int result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (int)(arg1)->AutoCompGetSeparator();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
15afbcd0 3962 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3963 return resultobj;
3964 fail:
3965 return NULL;
3966}
3967
3968
3969static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj;
3971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3972 wxString *arg2 = 0 ;
e811c8ce 3973 bool temp2 = False ;
d14a1e28
RD
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self",(char *) "text", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3983 {
3984 arg2 = wxString_in_helper(obj1);
3985 if (arg2 == NULL) SWIG_fail;
e811c8ce 3986 temp2 = True;
d14a1e28
RD
3987 }
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 (arg1)->AutoCompSelect((wxString const &)*arg2);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 {
3997 if (temp2)
3998 delete arg2;
3999 }
4000 return resultobj;
4001 fail:
4002 {
4003 if (temp2)
4004 delete arg2;
4005 }
4006 return NULL;
4007}
4008
4009
4010static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4013 bool arg2 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4016 char *kwnames[] = {
4017 (char *) "self",(char *) "cancel", NULL
4018 };
4019
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4023 arg2 = (bool) SWIG_AsBool(obj1);
4024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 (arg1)->AutoCompSetCancelAtStart(arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036}
4037
4038
4039static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4042 bool result;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
4049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4d5c3d91 4058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4059 return resultobj;
4060 fail:
4061 return NULL;
4062}
4063
4064
4065static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4068 wxString *arg2 = 0 ;
e811c8ce 4069 bool temp2 = False ;
d14a1e28
RD
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "characterSet", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4079 {
4080 arg2 = wxString_in_helper(obj1);
4081 if (arg2 == NULL) SWIG_fail;
e811c8ce 4082 temp2 = True;
d14a1e28
RD
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 Py_INCREF(Py_None); resultobj = Py_None;
4092 {
4093 if (temp2)
4094 delete arg2;
4095 }
4096 return resultobj;
4097 fail:
4098 {
4099 if (temp2)
4100 delete arg2;
4101 }
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4109 bool arg2 ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "chooseSingle", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (bool) SWIG_AsBool(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->AutoCompSetChooseSingle(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
4135static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4138 bool result;
4139 PyObject * obj0 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (bool)(arg1)->AutoCompGetChooseSingle();
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4d5c3d91 4154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
4161static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4164 bool arg2 ;
4165 PyObject * obj0 = 0 ;
4166 PyObject * obj1 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self",(char *) "ignoreCase", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4174 arg2 = (bool) SWIG_AsBool(obj1);
4175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->AutoCompSetIgnoreCase(arg2);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
4190static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4193 bool result;
4194 PyObject * obj0 = 0 ;
4195 char *kwnames[] = {
4196 (char *) "self", NULL
4197 };
4198
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
4200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4d5c3d91 4209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4210 return resultobj;
4211 fail:
4212 return NULL;
4213}
4214
4215
4216static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4219 int arg2 ;
4220 wxString *arg3 = 0 ;
e811c8ce 4221 bool temp3 = False ;
d14a1e28 4222 PyObject * obj0 = 0 ;
994141e6 4223 PyObject * obj1 = 0 ;
d14a1e28
RD
4224 PyObject * obj2 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4227 };
4228
994141e6 4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 arg2 = (int) SWIG_AsInt(obj1);
4233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4234 {
4235 arg3 = wxString_in_helper(obj2);
4236 if (arg3 == NULL) SWIG_fail;
e811c8ce 4237 temp3 = True;
d14a1e28
RD
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 Py_INCREF(Py_None); resultobj = Py_None;
4247 {
4248 if (temp3)
4249 delete arg3;
4250 }
4251 return resultobj;
4252 fail:
4253 {
4254 if (temp3)
4255 delete arg3;
4256 }
4257 return NULL;
4258}
4259
4260
4261static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4264 bool arg2 ;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "autoHide", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4274 arg2 = (bool) SWIG_AsBool(obj1);
4275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 (arg1)->AutoCompSetAutoHide(arg2);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287}
4288
4289
4290static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj;
4292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4293 bool result;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
15afbcd0
RD
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = (bool)(arg1)->AutoCompGetAutoHide();
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4d5c3d91 4309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
4316static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4319 bool arg2 ;
4320 PyObject * obj0 = 0 ;
4321 PyObject * obj1 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self",(char *) "dropRestOfWord", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 arg2 = (bool) SWIG_AsBool(obj1);
4330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->AutoCompSetDropRestOfWord(arg2);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 Py_INCREF(Py_None); resultobj = Py_None;
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
4345static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4348 bool result;
4349 PyObject * obj0 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
15afbcd0
RD
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4360
4361 wxPyEndAllowThreads(__tstate);
4362 if (PyErr_Occurred()) SWIG_fail;
4363 }
4d5c3d91 4364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4365 return resultobj;
4366 fail:
4367 return NULL;
4368}
4369
4370
4371static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4374 int arg2 ;
4375 wxBitmap *arg3 = 0 ;
4376 PyObject * obj0 = 0 ;
994141e6 4377 PyObject * obj1 = 0 ;
d14a1e28
RD
4378 PyObject * obj2 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "type",(char *) "bmp", NULL
4381 };
4382
994141e6 4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 arg2 = (int) SWIG_AsInt(obj1);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4389 SWIG_POINTER_EXCEPTION | 0)) == -1)
4390 SWIG_fail;
d14a1e28 4391 if (arg3 == NULL) {
15afbcd0
RD
4392 PyErr_SetString(PyExc_TypeError,"null reference");
4393 SWIG_fail;
d14a1e28
RD
4394 }
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 Py_INCREF(Py_None); resultobj = Py_None;
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
4409static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4412 PyObject * obj0 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
15afbcd0
RD
4418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->ClearRegisteredImages();
4423
4424 wxPyEndAllowThreads(__tstate);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 Py_INCREF(Py_None); resultobj = Py_None;
4428 return resultobj;
4429 fail:
4430 return NULL;
4431}
4432
4433
4434static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4437 int result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
4444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (int)(arg1)->AutoCompGetTypeSeparator();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
15afbcd0 4453 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
4460static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4463 int arg2 ;
4464 PyObject * obj0 = 0 ;
994141e6 4465 PyObject * obj1 = 0 ;
d14a1e28
RD
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "separatorCharacter", NULL
4468 };
4469
994141e6 4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4473 arg2 = (int) SWIG_AsInt(obj1);
4474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->AutoCompSetTypeSeparator(arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486}
4487
4488
4489static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4492 int arg2 ;
4493 PyObject * obj0 = 0 ;
994141e6 4494 PyObject * obj1 = 0 ;
d14a1e28
RD
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "indentSize", NULL
4497 };
4498
994141e6 4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4502 arg2 = (int) SWIG_AsInt(obj1);
4503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 (arg1)->SetIndent(arg2);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 Py_INCREF(Py_None); resultobj = Py_None;
4512 return resultobj;
4513 fail:
4514 return NULL;
4515}
4516
4517
4518static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4521 int result;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
4528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (int)(arg1)->GetIndent();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
15afbcd0 4537 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4538 return resultobj;
4539 fail:
4540 return NULL;
4541}
4542
4543
4544static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4547 bool arg2 ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 char *kwnames[] = {
4551 (char *) "self",(char *) "useTabs", NULL
4552 };
4553
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4557 arg2 = (bool) SWIG_AsBool(obj1);
4558 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->SetUseTabs(arg2);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
4573static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4576 bool result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)(arg1)->GetUseTabs();
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4d5c3d91 4592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4593 return resultobj;
4594 fail:
4595 return NULL;
4596}
4597
4598
4599static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4600 PyObject *resultobj;
4601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4602 int arg2 ;
4603 int arg3 ;
4604 PyObject * obj0 = 0 ;
994141e6
RD
4605 PyObject * obj1 = 0 ;
4606 PyObject * obj2 = 0 ;
d14a1e28
RD
4607 char *kwnames[] = {
4608 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4609 };
4610
994141e6 4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4614 arg2 = (int) SWIG_AsInt(obj1);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 arg3 = (int) SWIG_AsInt(obj2);
4617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 (arg1)->SetLineIndentation(arg2,arg3);
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 Py_INCREF(Py_None); resultobj = Py_None;
4626 return resultobj;
4627 fail:
4628 return NULL;
4629}
4630
4631
4632static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4635 int arg2 ;
4636 int result;
4637 PyObject * obj0 = 0 ;
994141e6 4638 PyObject * obj1 = 0 ;
d14a1e28
RD
4639 char *kwnames[] = {
4640 (char *) "self",(char *) "line", NULL
4641 };
4642
994141e6 4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4646 arg2 = (int) SWIG_AsInt(obj1);
4647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 result = (int)(arg1)->GetLineIndentation(arg2);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
15afbcd0 4655 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4656 return resultobj;
4657 fail:
4658 return NULL;
4659}
4660
4661
4662static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4665 int arg2 ;
4666 int result;
4667 PyObject * obj0 = 0 ;
994141e6 4668 PyObject * obj1 = 0 ;
d14a1e28
RD
4669 char *kwnames[] = {
4670 (char *) "self",(char *) "line", NULL
4671 };
4672
994141e6 4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4676 arg2 = (int) SWIG_AsInt(obj1);
4677 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (int)(arg1)->GetLineIndentPosition(arg2);
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
15afbcd0 4685 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4686 return resultobj;
4687 fail:
4688 return NULL;
4689}
4690
4691
4692static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4695 int arg2 ;
4696 int result;
4697 PyObject * obj0 = 0 ;
994141e6 4698 PyObject * obj1 = 0 ;
d14a1e28
RD
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "pos", NULL
4701 };
4702
994141e6 4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4706 arg2 = (int) SWIG_AsInt(obj1);
4707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 result = (int)(arg1)->GetColumn(arg2);
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
15afbcd0 4715 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4716 return resultobj;
4717 fail:
4718 return NULL;
4719}
4720
4721
4722static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4725 bool arg2 ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "show", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4735 arg2 = (bool) SWIG_AsBool(obj1);
4736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->SetUseHorizontalScrollBar(arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
4751static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4754 bool result;
4755 PyObject * obj0 = 0 ;
4756 char *kwnames[] = {
4757 (char *) "self", NULL
4758 };
4759
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
4761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4d5c3d91 4770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4771 return resultobj;
4772 fail:
4773 return NULL;
4774}
4775
4776
4777static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4780 bool arg2 ;
4781 PyObject * obj0 = 0 ;
4782 PyObject * obj1 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self",(char *) "show", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4790 arg2 = (bool) SWIG_AsBool(obj1);
4791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 (arg1)->SetIndentationGuides(arg2);
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 Py_INCREF(Py_None); resultobj = Py_None;
4800 return resultobj;
4801 fail:
4802 return NULL;
4803}
4804
4805
4806static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4807 PyObject *resultobj;
4808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4809 bool result;
4810 PyObject * obj0 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
15afbcd0
RD
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 result = (bool)(arg1)->GetIndentationGuides();
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4d5c3d91 4825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4826 return resultobj;
4827 fail:
4828 return NULL;
4829}
4830
4831
4832static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4835 int arg2 ;
4836 PyObject * obj0 = 0 ;
994141e6 4837 PyObject * obj1 = 0 ;
d14a1e28
RD
4838 char *kwnames[] = {
4839 (char *) "self",(char *) "column", NULL
4840 };
4841
994141e6 4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 arg2 = (int) SWIG_AsInt(obj1);
4846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 (arg1)->SetHighlightGuide(arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 Py_INCREF(Py_None); resultobj = Py_None;
4855 return resultobj;
4856 fail:
4857 return NULL;
4858}
4859
4860
4861static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4864 int result;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
15afbcd0
RD
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (int)(arg1)->GetHighlightGuide();
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
15afbcd0 4880 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4881 return resultobj;
4882 fail:
4883 return NULL;
4884}
4885
4886
4887static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4890 int arg2 ;
4891 int result;
4892 PyObject * obj0 = 0 ;
994141e6 4893 PyObject * obj1 = 0 ;
d14a1e28
RD
4894 char *kwnames[] = {
4895 (char *) "self",(char *) "line", NULL
4896 };
4897
994141e6 4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 arg2 = (int) SWIG_AsInt(obj1);
4902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (int)(arg1)->GetLineEndPosition(arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
15afbcd0 4910 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4911 return resultobj;
4912 fail:
4913 return NULL;
4914}
4915
4916
4917static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj;
4919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4920 int result;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (int)(arg1)->GetCodePage();
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
15afbcd0 4936 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4937 return resultobj;
4938 fail:
4939 return NULL;
4940}
4941
4942
4943static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4946 wxColour result;
4947 PyObject * obj0 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
4953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (arg1)->GetCaretForeground();
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 {
4963 wxColour * resultptr;
4964 resultptr = new wxColour((wxColour &) result);
15afbcd0 4965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970}
4971
4972
4973static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4976 bool result;
4977 PyObject * obj0 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
4983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 result = (bool)(arg1)->GetReadOnly();
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4d5c3d91 4992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5002 int arg2 ;
5003 PyObject * obj0 = 0 ;
994141e6 5004 PyObject * obj1 = 0 ;
d14a1e28
RD
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "pos", NULL
5007 };
5008
994141e6 5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 arg2 = (int) SWIG_AsInt(obj1);
5013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 (arg1)->SetCurrentPos(arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025}
5026
5027
5028static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5031 int arg2 ;
5032 PyObject * obj0 = 0 ;
994141e6 5033 PyObject * obj1 = 0 ;
d14a1e28
RD
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "pos", NULL
5036 };
5037
994141e6 5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 arg2 = (int) SWIG_AsInt(obj1);
5042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetSelectionStart(arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 return resultobj;
5052 fail:
5053 return NULL;
5054}
5055
5056
5057static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5060 int result;
5061 PyObject * obj0 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (int)(arg1)->GetSelectionStart();
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
15afbcd0 5076 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5077 return resultobj;
5078 fail:
5079 return NULL;
5080}
5081
5082
5083static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5086 int arg2 ;
5087 PyObject * obj0 = 0 ;
994141e6 5088 PyObject * obj1 = 0 ;
d14a1e28
RD
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "pos", NULL
5091 };
5092
994141e6 5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 arg2 = (int) SWIG_AsInt(obj1);
5097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5098 {
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 (arg1)->SetSelectionEnd(arg2);
5101
5102 wxPyEndAllowThreads(__tstate);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 Py_INCREF(Py_None); resultobj = Py_None;
5106 return resultobj;
5107 fail:
5108 return NULL;
5109}
5110
5111
5112static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5115 int result;
5116 PyObject * obj0 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
5122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (int)(arg1)->GetSelectionEnd();
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
15afbcd0 5131 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5132 return resultobj;
5133 fail:
5134 return NULL;
5135}
5136
5137
5138static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5141 int arg2 ;
5142 PyObject * obj0 = 0 ;
994141e6 5143 PyObject * obj1 = 0 ;
d14a1e28
RD
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "magnification", NULL
5146 };
5147
994141e6 5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5151 arg2 = (int) SWIG_AsInt(obj1);
5152 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetPrintMagnification(arg2);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 Py_INCREF(Py_None); resultobj = Py_None;
5161 return resultobj;
5162 fail:
5163 return NULL;
5164}
5165
5166
5167static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5170 int result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
15afbcd0
RD
5177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (int)(arg1)->GetPrintMagnification();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
15afbcd0 5186 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5187 return resultobj;
5188 fail:
5189 return NULL;
5190}
5191
5192
5193static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5196 int arg2 ;
5197 PyObject * obj0 = 0 ;
994141e6 5198 PyObject * obj1 = 0 ;
d14a1e28
RD
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "mode", NULL
5201 };
5202
994141e6 5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 (arg1)->SetPrintColourMode(arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 Py_INCREF(Py_None); resultobj = Py_None;
5216 return resultobj;
5217 fail:
5218 return NULL;
5219}
5220
5221
5222static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5225 int result;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
5232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (int)(arg1)->GetPrintColourMode();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
15afbcd0 5241 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
5248static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5251 int arg2 ;
5252 int arg3 ;
5253 wxString *arg4 = 0 ;
5254 int arg5 = (int) 0 ;
5255 int result;
e811c8ce 5256 bool temp4 = False ;
d14a1e28 5257 PyObject * obj0 = 0 ;
994141e6
RD
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
d14a1e28 5260 PyObject * obj3 = 0 ;
994141e6 5261 PyObject * obj4 = 0 ;
d14a1e28
RD
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5264 };
5265
994141e6 5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 arg2 = (int) SWIG_AsInt(obj1);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 arg3 = (int) SWIG_AsInt(obj2);
5272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5273 {
5274 arg4 = wxString_in_helper(obj3);
5275 if (arg4 == NULL) SWIG_fail;
e811c8ce 5276 temp4 = True;
d14a1e28 5277 }
994141e6 5278 if (obj4) {
15afbcd0
RD
5279 arg5 = (int) SWIG_AsInt(obj4);
5280 if (PyErr_Occurred()) SWIG_fail;
994141e6 5281 }
d14a1e28
RD
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
15afbcd0 5289 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5290 {
5291 if (temp4)
5292 delete arg4;
5293 }
5294 return resultobj;
5295 fail:
5296 {
5297 if (temp4)
5298 delete arg4;
5299 }
5300 return NULL;
5301}
5302
5303
5304static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj;
5306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5307 bool arg2 ;
5308 int arg3 ;
5309 int arg4 ;
5310 wxDC *arg5 = (wxDC *) 0 ;
5311 wxDC *arg6 = (wxDC *) 0 ;
5312 wxRect arg7 ;
5313 wxRect arg8 ;
5314 int result;
5315 wxRect *argp7 ;
5316 wxRect *argp8 ;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
994141e6
RD
5319 PyObject * obj2 = 0 ;
5320 PyObject * obj3 = 0 ;
d14a1e28
RD
5321 PyObject * obj4 = 0 ;
5322 PyObject * obj5 = 0 ;
5323 PyObject * obj6 = 0 ;
5324 PyObject * obj7 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5327 };
5328
994141e6 5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5332 arg2 = (bool) SWIG_AsBool(obj1);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 arg3 = (int) SWIG_AsInt(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 arg4 = (int) SWIG_AsInt(obj3);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5342 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5343 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5344 arg7 = *argp7;
5345 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5346 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5347 arg8 = *argp8;
d14a1e28
RD
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
15afbcd0 5355 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5356 return resultobj;
5357 fail:
5358 return NULL;
5359}
5360
5361
5362static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject *resultobj;
5364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5365 int result;
5366 PyObject * obj0 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 result = (int)(arg1)->GetFirstVisibleLine();
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
15afbcd0 5381 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5382 return resultobj;
5383 fail:
5384 return NULL;
5385}
5386
5387
5388static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5389 PyObject *resultobj;
5390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5391 int arg2 ;
5392 wxString result;
5393 PyObject * obj0 = 0 ;
994141e6 5394 PyObject * obj1 = 0 ;
d14a1e28
RD
5395 char *kwnames[] = {
5396 (char *) "self",(char *) "line", NULL
5397 };
5398
994141e6 5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5402 arg2 = (int) SWIG_AsInt(obj1);
5403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (arg1)->GetLine(arg2);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 {
5412#if wxUSE_UNICODE
5413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5414#else
5415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5416#endif
5417 }
5418 return resultobj;
5419 fail:
5420 return NULL;
5421}
5422
5423
5424static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5427 int result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (int)(arg1)->GetLineCount();
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
15afbcd0 5443 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5444 return resultobj;
5445 fail:
5446 return NULL;
5447}
5448
5449
5450static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5453 int arg2 ;
5454 PyObject * obj0 = 0 ;
994141e6 5455 PyObject * obj1 = 0 ;
d14a1e28
RD
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "pixelWidth", NULL
5458 };
5459
994141e6 5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 arg2 = (int) SWIG_AsInt(obj1);
5464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 (arg1)->SetMarginLeft(arg2);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 Py_INCREF(Py_None); resultobj = Py_None;
5473 return resultobj;
5474 fail:
5475 return NULL;
5476}
5477
5478
5479static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5480 PyObject *resultobj;
5481 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5482 int result;
5483 PyObject * obj0 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
5489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (int)(arg1)->GetMarginLeft();
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
15afbcd0 5498 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5499 return resultobj;
5500 fail:
5501 return NULL;
5502}
5503
5504
5505static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5508 int arg2 ;
5509 PyObject * obj0 = 0 ;
994141e6 5510 PyObject * obj1 = 0 ;
d14a1e28
RD
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "pixelWidth", NULL
5513 };
5514
994141e6 5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5518 arg2 = (int) SWIG_AsInt(obj1);
5519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 (arg1)->SetMarginRight(arg2);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 Py_INCREF(Py_None); resultobj = Py_None;
5528 return resultobj;
5529 fail:
5530 return NULL;
5531}
5532
5533
5534static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5537 int result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (int)(arg1)->GetMarginRight();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
15afbcd0 5553 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5554 return resultobj;
5555 fail:
5556 return NULL;
5557}
5558
5559
5560static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5563 bool result;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
15afbcd0
RD
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (bool)(arg1)->GetModify();
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
4d5c3d91 5579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5580 return resultobj;
5581 fail:
5582 return NULL;
5583}
5584
5585
5586static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5589 int arg2 ;
5590 int arg3 ;
5591 PyObject * obj0 = 0 ;
994141e6
RD
5592 PyObject * obj1 = 0 ;
5593 PyObject * obj2 = 0 ;
d14a1e28
RD
5594 char *kwnames[] = {
5595 (char *) "self",(char *) "start",(char *) "end", NULL
5596 };
5597
994141e6 5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5601 arg2 = (int) SWIG_AsInt(obj1);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 arg3 = (int) SWIG_AsInt(obj2);
5604 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->SetSelection(arg2,arg3);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 Py_INCREF(Py_None); resultobj = Py_None;
5613 return resultobj;
5614 fail:
5615 return NULL;
5616}
5617
5618
5619static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5622 wxString result;
5623 PyObject * obj0 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
15afbcd0
RD
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (arg1)->GetSelectedText();
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 {
5639#if wxUSE_UNICODE
5640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5641#else
5642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5643#endif
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
5651static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5654 int arg2 ;
5655 int arg3 ;
5656 wxString result;
5657 PyObject * obj0 = 0 ;
994141e6
RD
5658 PyObject * obj1 = 0 ;
5659 PyObject * obj2 = 0 ;
d14a1e28
RD
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5662 };
5663
994141e6 5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 arg2 = (int) SWIG_AsInt(obj1);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 arg3 = (int) SWIG_AsInt(obj2);
5670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (arg1)->GetTextRange(arg2,arg3);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679#if wxUSE_UNICODE
5680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5681#else
5682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5683#endif
5684 }
5685 return resultobj;
5686 fail:
5687 return NULL;
5688}
5689
5690
5691static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5694 bool arg2 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "normal", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 arg2 = (bool) SWIG_AsBool(obj1);
5705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->HideSelection(arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717}
5718
5719
5720static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5723 int arg2 ;
5724 int result;
5725 PyObject * obj0 = 0 ;
994141e6 5726 PyObject * obj1 = 0 ;
d14a1e28
RD
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "pos", NULL
5729 };
5730
994141e6 5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 arg2 = (int) SWIG_AsInt(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)(arg1)->LineFromPosition(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
15afbcd0 5743 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5744 return resultobj;
5745 fail:
5746 return NULL;
5747}
5748
5749
5750static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5753 int arg2 ;
5754 int result;
5755 PyObject * obj0 = 0 ;
994141e6 5756 PyObject * obj1 = 0 ;
d14a1e28
RD
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "line", NULL
5759 };
5760
994141e6 5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5764 arg2 = (int) SWIG_AsInt(obj1);
5765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = (int)(arg1)->PositionFromLine(arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
15afbcd0 5773 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5774 return resultobj;
5775 fail:
5776 return NULL;
5777}
5778
5779
5780static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5783 int arg2 ;
5784 int arg3 ;
5785 PyObject * obj0 = 0 ;
994141e6
RD
5786 PyObject * obj1 = 0 ;
5787 PyObject * obj2 = 0 ;
d14a1e28
RD
5788 char *kwnames[] = {
5789 (char *) "self",(char *) "columns",(char *) "lines", NULL
5790 };
5791
994141e6 5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 arg2 = (int) SWIG_AsInt(obj1);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 arg3 = (int) SWIG_AsInt(obj2);
5798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->LineScroll(arg2,arg3);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810}
5811
5812
5813static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
5822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->EnsureCaretVisible();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
5838static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5841 wxString *arg2 = 0 ;
e811c8ce 5842 bool temp2 = False ;
d14a1e28
RD
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self",(char *) "text", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5852 {
5853 arg2 = wxString_in_helper(obj1);
5854 if (arg2 == NULL) SWIG_fail;
e811c8ce 5855 temp2 = True;
d14a1e28
RD
5856 }
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 (arg1)->ReplaceSelection((wxString const &)*arg2);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 Py_INCREF(Py_None); resultobj = Py_None;
5865 {
5866 if (temp2)
5867 delete arg2;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp2)
5873 delete arg2;
5874 }
5875 return NULL;
5876}
5877
5878
5879static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5882 bool arg2 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "readOnly", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5892 arg2 = (bool) SWIG_AsBool(obj1);
5893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 (arg1)->SetReadOnly(arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 Py_INCREF(Py_None); resultobj = Py_None;
5902 return resultobj;
5903 fail:
5904 return NULL;
5905}
5906
5907
5908static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5911 bool result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
5918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)(arg1)->CanPaste();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
4d5c3d91 5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5928 return resultobj;
5929 fail:
5930 return NULL;
5931}
5932
5933
5934static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5937 bool result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (bool)(arg1)->CanUndo();
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
4d5c3d91 5953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
5960static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5963 PyObject * obj0 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
5969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->EmptyUndoBuffer();
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982}
5983
5984
5985static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->Undo();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007}
6008
6009
6010static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->Cut();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032}
6033
6034
6035static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 (arg1)->Copy();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 Py_INCREF(Py_None); resultobj = Py_None;
6054 return resultobj;
6055 fail:
6056 return NULL;
6057}
6058
6059
6060static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6063 PyObject * obj0 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
6069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 (arg1)->Paste();
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 Py_INCREF(Py_None); resultobj = Py_None;
6079 return resultobj;
6080 fail:
6081 return NULL;
6082}
6083
6084
6085static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6088 PyObject * obj0 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 (arg1)->Clear();
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 Py_INCREF(Py_None); resultobj = Py_None;
6104 return resultobj;
6105 fail:
6106 return NULL;
6107}
6108
6109
6110static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6113 wxString *arg2 = 0 ;
e811c8ce 6114 bool temp2 = False ;
d14a1e28
RD
6115 PyObject * obj0 = 0 ;
6116 PyObject * obj1 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "self",(char *) "text", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6124 {
6125 arg2 = wxString_in_helper(obj1);
6126 if (arg2 == NULL) SWIG_fail;
e811c8ce 6127 temp2 = True;
d14a1e28
RD
6128 }
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 (arg1)->SetText((wxString const &)*arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return resultobj;
6142 fail:
6143 {
6144 if (temp2)
6145 delete arg2;
6146 }
6147 return NULL;
6148}
6149
6150
6151static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6154 wxString result;
6155 PyObject * obj0 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
6161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (arg1)->GetText();
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171#if wxUSE_UNICODE
6172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6173#else
6174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6175#endif
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180}
6181
6182
6183static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6186 int result;
6187 PyObject * obj0 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (int)(arg1)->GetTextLength();
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
15afbcd0 6202 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6203 return resultobj;
6204 fail:
6205 return NULL;
6206}
6207
6208
6209static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj;
6211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6212 bool arg2 ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "overtype", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6222 arg2 = (bool) SWIG_AsBool(obj1);
6223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 (arg1)->SetOvertype(arg2);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 Py_INCREF(Py_None); resultobj = Py_None;
6232 return resultobj;
6233 fail:
6234 return NULL;
6235}
6236
6237
6238static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6241 bool result;
6242 PyObject * obj0 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
15afbcd0
RD
6248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 result = (bool)(arg1)->GetOvertype();
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
4d5c3d91 6257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6258 return resultobj;
6259 fail:
6260 return NULL;
6261}
6262
6263
6264static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj;
6266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6267 int arg2 ;
6268 PyObject * obj0 = 0 ;
994141e6 6269 PyObject * obj1 = 0 ;
d14a1e28
RD
6270 char *kwnames[] = {
6271 (char *) "self",(char *) "pixelWidth", NULL
6272 };
6273
994141e6 6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 arg2 = (int) SWIG_AsInt(obj1);
6278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->SetCaretWidth(arg2);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 Py_INCREF(Py_None); resultobj = Py_None;
6287 return resultobj;
6288 fail:
6289 return NULL;
6290}
6291
6292
6293static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6296 int result;
6297 PyObject * obj0 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (int)(arg1)->GetCaretWidth();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
15afbcd0 6312 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6313 return resultobj;
6314 fail:
6315 return NULL;
6316}
6317
6318
6319static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6322 int arg2 ;
6323 PyObject * obj0 = 0 ;
994141e6 6324 PyObject * obj1 = 0 ;
d14a1e28
RD
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "pos", NULL
6327 };
6328
994141e6 6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6332 arg2 = (int) SWIG_AsInt(obj1);
6333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 (arg1)->SetTargetStart(arg2);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345}
6346
6347
6348static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6351 int result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
6358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (int)(arg1)->GetTargetStart();
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
15afbcd0 6367 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6368 return resultobj;
6369 fail:
6370 return NULL;
6371}
6372
6373
6374static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj;
6376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6377 int arg2 ;
6378 PyObject * obj0 = 0 ;
994141e6 6379 PyObject * obj1 = 0 ;
d14a1e28
RD
6380 char *kwnames[] = {
6381 (char *) "self",(char *) "pos", NULL
6382 };
6383
994141e6 6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6387 arg2 = (int) SWIG_AsInt(obj1);
6388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 (arg1)->SetTargetEnd(arg2);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 Py_INCREF(Py_None); resultobj = Py_None;
6397 return resultobj;
6398 fail:
6399 return NULL;
6400}
6401
6402
6403static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6406 int result;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
6413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (int)(arg1)->GetTargetEnd();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
15afbcd0 6422 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6423 return resultobj;
6424 fail:
6425 return NULL;
6426}
6427
6428
6429static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6432 wxString *arg2 = 0 ;
6433 int result;
e811c8ce 6434 bool temp2 = False ;
d14a1e28
RD
6435 PyObject * obj0 = 0 ;
6436 PyObject * obj1 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self",(char *) "text", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6444 {
6445 arg2 = wxString_in_helper(obj1);
6446 if (arg2 == NULL) SWIG_fail;
e811c8ce 6447 temp2 = True;
d14a1e28
RD
6448 }
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
15afbcd0 6456 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6457 {
6458 if (temp2)
6459 delete arg2;
6460 }
6461 return resultobj;
6462 fail:
6463 {
6464 if (temp2)
6465 delete arg2;
6466 }
6467 return NULL;
6468}
6469
6470
6471static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6474 wxString *arg2 = 0 ;
6475 int result;
e811c8ce 6476 bool temp2 = False ;
d14a1e28
RD
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self",(char *) "text", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6486 {
6487 arg2 = wxString_in_helper(obj1);
6488 if (arg2 == NULL) SWIG_fail;
e811c8ce 6489 temp2 = True;
d14a1e28
RD
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
15afbcd0 6498 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6499 {
6500 if (temp2)
6501 delete arg2;
6502 }
6503 return resultobj;
6504 fail:
6505 {
6506 if (temp2)
6507 delete arg2;
6508 }
6509 return NULL;
6510}
6511
6512
6513static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6516 wxString *arg2 = 0 ;
6517 int result;
e811c8ce 6518 bool temp2 = False ;
d14a1e28
RD
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "text", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6528 {
6529 arg2 = wxString_in_helper(obj1);
6530 if (arg2 == NULL) SWIG_fail;
e811c8ce 6531 temp2 = True;
d14a1e28
RD
6532 }
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
15afbcd0 6540 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6541 {
6542 if (temp2)
6543 delete arg2;
6544 }
6545 return resultobj;
6546 fail:
6547 {
6548 if (temp2)
6549 delete arg2;
6550 }
6551 return NULL;
6552}
6553
6554
6555static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6558 int arg2 ;
6559 PyObject * obj0 = 0 ;
994141e6 6560 PyObject * obj1 = 0 ;
d14a1e28
RD
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "flags", NULL
6563 };
6564
994141e6 6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 arg2 = (int) SWIG_AsInt(obj1);
6569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 (arg1)->SetSearchFlags(arg2);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 Py_INCREF(Py_None); resultobj = Py_None;
6578 return resultobj;
6579 fail:
6580 return NULL;
6581}
6582
6583
6584static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj;
6586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6587 int result;
6588 PyObject * obj0 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
6594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = (int)(arg1)->GetSearchFlags();
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
15afbcd0 6603 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
6610static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6613 int arg2 ;
6614 wxString *arg3 = 0 ;
e811c8ce 6615 bool temp3 = False ;
d14a1e28 6616 PyObject * obj0 = 0 ;
994141e6 6617 PyObject * obj1 = 0 ;
d14a1e28
RD
6618 PyObject * obj2 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "pos",(char *) "definition", NULL
6621 };
6622
994141e6 6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6626 arg2 = (int) SWIG_AsInt(obj1);
6627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6628 {
6629 arg3 = wxString_in_helper(obj2);
6630 if (arg3 == NULL) SWIG_fail;
e811c8ce 6631 temp3 = True;
d14a1e28
RD
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 {
6642 if (temp3)
6643 delete arg3;
6644 }
6645 return resultobj;
6646 fail:
6647 {
6648 if (temp3)
6649 delete arg3;
6650 }
6651 return NULL;
6652}
6653
6654
6655static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6658 PyObject * obj0 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
6664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->CallTipCancel();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 Py_INCREF(Py_None); resultobj = Py_None;
6674 return resultobj;
6675 fail:
6676 return NULL;
6677}
6678
6679
6680static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 bool result;
6684 PyObject * obj0 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
6690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (bool)(arg1)->CallTipActive();
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
4d5c3d91 6699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6700 return resultobj;
6701 fail:
6702 return NULL;
6703}
6704
6705
6706static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6709 int result;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
6716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (int)(arg1)->CallTipPosAtStart();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
15afbcd0 6725 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6735 int arg2 ;
6736 int arg3 ;
6737 PyObject * obj0 = 0 ;
994141e6
RD
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
d14a1e28
RD
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "start",(char *) "end", NULL
6742 };
6743
994141e6 6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6747 arg2 = (int) SWIG_AsInt(obj1);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 arg3 = (int) SWIG_AsInt(obj2);
6750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 (arg1)->CallTipSetHighlight(arg2,arg3);
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 Py_INCREF(Py_None); resultobj = Py_None;
6759 return resultobj;
6760 fail:
6761 return NULL;
6762}
6763
6764
6765static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6768 wxColour *arg2 = 0 ;
6769 wxColour temp2 ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "back", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6779 {
6780 arg2 = &temp2;
6781 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
6797static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6800 wxColour *arg2 = 0 ;
6801 wxColour temp2 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "fore", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6811 {
6812 arg2 = &temp2;
6813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
6829static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6832 wxColour *arg2 = 0 ;
6833 wxColour temp2 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "fore", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6843 {
6844 arg2 = &temp2;
6845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 Py_INCREF(Py_None); resultobj = Py_None;
6855 return resultobj;
6856 fail:
6857 return NULL;
6858}
6859
6860
6861static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6864 int arg2 ;
6865 int result;
6866 PyObject * obj0 = 0 ;
994141e6 6867 PyObject * obj1 = 0 ;
d14a1e28
RD
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "line", NULL
6870 };
6871
994141e6 6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 arg2 = (int) SWIG_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (int)(arg1)->VisibleFromDocLine(arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
15afbcd0 6884 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
6891static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6894 int arg2 ;
6895 int result;
6896 PyObject * obj0 = 0 ;
994141e6 6897 PyObject * obj1 = 0 ;
d14a1e28
RD
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "lineDisplay", NULL
6900 };
6901
994141e6 6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 arg2 = (int) SWIG_AsInt(obj1);
6906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (int)(arg1)->DocLineFromVisible(arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
15afbcd0 6914 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6915 return resultobj;
6916 fail:
6917 return NULL;
6918}
6919
6920
6921static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6924 int arg2 ;
6925 int arg3 ;
6926 PyObject * obj0 = 0 ;
994141e6
RD
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
d14a1e28
RD
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "line",(char *) "level", NULL
6931 };
6932
994141e6 6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6936 arg2 = (int) SWIG_AsInt(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 arg3 = (int) SWIG_AsInt(obj2);
6939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetFoldLevel(arg2,arg3);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 Py_INCREF(Py_None); resultobj = Py_None;
6948 return resultobj;
6949 fail:
6950 return NULL;
6951}
6952
6953
6954static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6957 int arg2 ;
6958 int result;
6959 PyObject * obj0 = 0 ;
994141e6 6960 PyObject * obj1 = 0 ;
d14a1e28
RD
6961 char *kwnames[] = {
6962 (char *) "self",(char *) "line", NULL
6963 };
6964
994141e6 6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6968 arg2 = (int) SWIG_AsInt(obj1);
6969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (int)(arg1)->GetFoldLevel(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
15afbcd0 6977 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6978 return resultobj;
6979 fail:
6980 return NULL;
6981}
6982
6983
6984static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6987 int arg2 ;
6988 int arg3 ;
6989 int result;
6990 PyObject * obj0 = 0 ;
994141e6
RD
6991 PyObject * obj1 = 0 ;
6992 PyObject * obj2 = 0 ;
d14a1e28
RD
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "line",(char *) "level", NULL
6995 };
6996
994141e6 6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 arg2 = (int) SWIG_AsInt(obj1);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 arg3 = (int) SWIG_AsInt(obj2);
7003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (int)(arg1)->GetLastChild(arg2,arg3);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
15afbcd0 7011 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7012 return resultobj;
7013 fail:
7014 return NULL;
7015}
7016
7017
7018static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7021 int arg2 ;
7022 int result;
7023 PyObject * obj0 = 0 ;
994141e6 7024 PyObject * obj1 = 0 ;
d14a1e28
RD
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "line", NULL
7027 };
7028
994141e6 7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7032 arg2 = (int) SWIG_AsInt(obj1);
7033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (int)(arg1)->GetFoldParent(arg2);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
15afbcd0 7041 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7042 return resultobj;
7043 fail:
7044 return NULL;
7045}
7046
7047
7048static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7051 int arg2 ;
7052 int arg3 ;
7053 PyObject * obj0 = 0 ;
994141e6
RD
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj2 = 0 ;
d14a1e28
RD
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7058 };
7059
994141e6 7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7063 arg2 = (int) SWIG_AsInt(obj1);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 arg3 = (int) SWIG_AsInt(obj2);
7066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 (arg1)->ShowLines(arg2,arg3);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 Py_INCREF(Py_None); resultobj = Py_None;
7075 return resultobj;
7076 fail:
7077 return NULL;
7078}
7079
7080
7081static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj;
7083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7084 int arg2 ;
7085 int arg3 ;
7086 PyObject * obj0 = 0 ;
994141e6
RD
7087 PyObject * obj1 = 0 ;
7088 PyObject * obj2 = 0 ;
d14a1e28
RD
7089 char *kwnames[] = {
7090 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7091 };
7092
994141e6 7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 arg2 = (int) SWIG_AsInt(obj1);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 arg3 = (int) SWIG_AsInt(obj2);
7099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->HideLines(arg2,arg3);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111}
7112
7113
7114static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7117 int arg2 ;
7118 bool result;
7119 PyObject * obj0 = 0 ;
994141e6 7120 PyObject * obj1 = 0 ;
d14a1e28
RD
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "line", NULL
7123 };
7124
994141e6 7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7128 arg2 = (int) SWIG_AsInt(obj1);
7129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (bool)(arg1)->GetLineVisible(arg2);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
4d5c3d91 7137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7138 return resultobj;
7139 fail:
7140 return NULL;
7141}
7142
7143
7144static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7147 int arg2 ;
7148 bool arg3 ;
7149 PyObject * obj0 = 0 ;
994141e6 7150 PyObject * obj1 = 0 ;
d14a1e28
RD
7151 PyObject * obj2 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self",(char *) "line",(char *) "expanded", NULL
7154 };
7155
994141e6 7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7159 arg2 = (int) SWIG_AsInt(obj1);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 arg3 = (bool) SWIG_AsBool(obj2);
7162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->SetFoldExpanded(arg2,arg3);
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174}
7175
7176
7177static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7180 int arg2 ;
7181 bool result;
7182 PyObject * obj0 = 0 ;
994141e6 7183 PyObject * obj1 = 0 ;
d14a1e28
RD
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "line", NULL
7186 };
7187
994141e6 7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7191 arg2 = (int) SWIG_AsInt(obj1);
7192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = (bool)(arg1)->GetFoldExpanded(arg2);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
4d5c3d91 7200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7201 return resultobj;
7202 fail:
7203 return NULL;
7204}
7205
7206
7207static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7210 int arg2 ;
7211 PyObject * obj0 = 0 ;
994141e6 7212 PyObject * obj1 = 0 ;
d14a1e28
RD
7213 char *kwnames[] = {
7214 (char *) "self",(char *) "line", NULL
7215 };
7216
994141e6 7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7220 arg2 = (int) SWIG_AsInt(obj1);
7221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 (arg1)->ToggleFold(arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 Py_INCREF(Py_None); resultobj = Py_None;
7230 return resultobj;
7231 fail:
7232 return NULL;
7233}
7234
7235
7236static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7239 int arg2 ;
7240 PyObject * obj0 = 0 ;
994141e6 7241 PyObject * obj1 = 0 ;
d14a1e28
RD
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "line", NULL
7244 };
7245
994141e6 7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7249 arg2 = (int) SWIG_AsInt(obj1);
7250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->EnsureVisible(arg2);
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 Py_INCREF(Py_None); resultobj = Py_None;
7259 return resultobj;
7260 fail:
7261 return NULL;
7262}
7263
7264
7265static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7268 int arg2 ;
7269 PyObject * obj0 = 0 ;
994141e6 7270 PyObject * obj1 = 0 ;
d14a1e28
RD
7271 char *kwnames[] = {
7272 (char *) "self",(char *) "flags", NULL
7273 };
7274
994141e6 7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7278 arg2 = (int) SWIG_AsInt(obj1);
7279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->SetFoldFlags(arg2);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
7294static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7297 int arg2 ;
7298 PyObject * obj0 = 0 ;
994141e6 7299 PyObject * obj1 = 0 ;
d14a1e28
RD
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "line", NULL
7302 };
7303
994141e6 7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 arg2 = (int) SWIG_AsInt(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320}
7321
7322
7323static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7326 bool arg2 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "tabIndents", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 arg2 = (bool) SWIG_AsBool(obj1);
7337 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 (arg1)->SetTabIndents(arg2);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 Py_INCREF(Py_None); resultobj = Py_None;
7346 return resultobj;
7347 fail:
7348 return NULL;
7349}
7350
7351
7352static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7355 bool result;
7356 PyObject * obj0 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
15afbcd0
RD
7362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (bool)(arg1)->GetTabIndents();
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
4d5c3d91 7371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7372 return resultobj;
7373 fail:
7374 return NULL;
7375}
7376
7377
7378static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
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 *) "bsUnIndents", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",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)->SetBackSpaceUnIndents(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
7407static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
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_GetBackSpaceUnIndents",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)->GetBackSpaceUnIndents();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
4d5c3d91 7426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7427 return resultobj;
7428 fail:
7429 return NULL;
7430}
7431
7432
7433static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7436 int arg2 ;
7437 PyObject * obj0 = 0 ;
994141e6 7438 PyObject * obj1 = 0 ;
d14a1e28
RD
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "periodMilliseconds", NULL
7441 };
7442
994141e6 7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7446 arg2 = (int) SWIG_AsInt(obj1);
7447 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->SetMouseDwellTime(arg2);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459}
7460
7461
7462static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7465 int result;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (int)(arg1)->GetMouseDwellTime();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
15afbcd0 7481 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7482 return resultobj;
7483 fail:
7484 return NULL;
7485}
7486
7487
7488static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7491 int arg2 ;
7492 bool arg3 ;
7493 int result;
7494 PyObject * obj0 = 0 ;
994141e6 7495 PyObject * obj1 = 0 ;
d14a1e28
RD
7496 PyObject * obj2 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7499 };
7500
994141e6 7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7504 arg2 = (int) SWIG_AsInt(obj1);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 arg3 = (bool) SWIG_AsBool(obj2);
7507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
15afbcd0 7515 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
7522static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7525 int arg2 ;
7526 bool arg3 ;
7527 int result;
7528 PyObject * obj0 = 0 ;
994141e6 7529 PyObject * obj1 = 0 ;
d14a1e28
RD
7530 PyObject * obj2 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7533 };
7534
994141e6 7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 arg2 = (int) SWIG_AsInt(obj1);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 arg3 = (bool) SWIG_AsBool(obj2);
7541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
15afbcd0 7549 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
7556static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7559 int arg2 ;
7560 PyObject * obj0 = 0 ;
994141e6 7561 PyObject * obj1 = 0 ;
d14a1e28
RD
7562 char *kwnames[] = {
7563 (char *) "self",(char *) "mode", NULL
7564 };
7565
994141e6 7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7569 arg2 = (int) SWIG_AsInt(obj1);
7570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 (arg1)->SetWrapMode(arg2);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 Py_INCREF(Py_None); resultobj = Py_None;
7579 return resultobj;
7580 fail:
7581 return NULL;
7582}
7583
7584
7585static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7588 int result;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (int)(arg1)->GetWrapMode();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
15afbcd0 7604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7605 return resultobj;
7606 fail:
7607 return NULL;
7608}
7609
7610
7611static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7614 int arg2 ;
7615 PyObject * obj0 = 0 ;
994141e6 7616 PyObject * obj1 = 0 ;
d14a1e28
RD
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "mode", NULL
7619 };
7620
994141e6 7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7624 arg2 = (int) SWIG_AsInt(obj1);
7625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 (arg1)->SetLayoutCache(arg2);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 return resultobj;
7635 fail:
7636 return NULL;
7637}
7638
7639
7640static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7643 int result;
7644 PyObject * obj0 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "self", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
15afbcd0
RD
7650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = (int)(arg1)->GetLayoutCache();
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
15afbcd0 7659 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
7666static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7669 int arg2 ;
7670 PyObject * obj0 = 0 ;
994141e6 7671 PyObject * obj1 = 0 ;
d14a1e28
RD
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "pixelWidth", NULL
7674 };
7675
994141e6 7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 arg2 = (int) SWIG_AsInt(obj1);
7680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 (arg1)->SetScrollWidth(arg2);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 Py_INCREF(Py_None); resultobj = Py_None;
7689 return resultobj;
7690 fail:
7691 return NULL;
7692}
7693
7694
7695static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7698 int result;
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (int)(arg1)->GetScrollWidth();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
15afbcd0 7714 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7715 return resultobj;
7716 fail:
7717 return NULL;
7718}
7719
7720
7721static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7724 int arg2 ;
7725 wxString *arg3 = 0 ;
7726 int result;
e811c8ce 7727 bool temp3 = False ;
d14a1e28 7728 PyObject * obj0 = 0 ;
994141e6 7729 PyObject * obj1 = 0 ;
d14a1e28
RD
7730 PyObject * obj2 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "style",(char *) "text", NULL
7733 };
7734
994141e6 7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
7742 if (arg3 == NULL) SWIG_fail;
e811c8ce 7743 temp3 = True;
d14a1e28
RD
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
15afbcd0 7752 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7753 {
7754 if (temp3)
7755 delete arg3;
7756 }
7757 return resultobj;
7758 fail:
7759 {
7760 if (temp3)
7761 delete arg3;
7762 }
7763 return NULL;
7764}
7765
7766
7767static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7770 bool arg2 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "endAtLastLine", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7780 arg2 = (bool) SWIG_AsBool(obj1);
7781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 (arg1)->SetEndAtLastLine(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 Py_INCREF(Py_None); resultobj = Py_None;
7790 return resultobj;
7791 fail:
7792 return NULL;
7793}
7794
7795
7796static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7799 int result;
7800 PyObject * obj0 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
7806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (int)(arg1)->GetEndAtLastLine();
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
15afbcd0 7815 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7816 return resultobj;
7817 fail:
7818 return NULL;
7819}
7820
7821
7822static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7825 int arg2 ;
7826 int result;
7827 PyObject * obj0 = 0 ;
994141e6 7828 PyObject * obj1 = 0 ;
d14a1e28
RD
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "line", NULL
7831 };
7832
994141e6 7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7836 arg2 = (int) SWIG_AsInt(obj1);
7837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)(arg1)->TextHeight(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
15afbcd0 7845 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
7852static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7855 bool arg2 ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "show", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 arg2 = (bool) SWIG_AsBool(obj1);
7866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetUseVerticalScrollBar(arg2);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878}
7879
7880
7881static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7884 bool result;
7885 PyObject * obj0 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)(arg1)->GetUseVerticalScrollBar();
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
4d5c3d91 7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
7907static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7910 int arg2 ;
7911 wxString *arg3 = 0 ;
e811c8ce 7912 bool temp3 = False ;
d14a1e28 7913 PyObject * obj0 = 0 ;
994141e6 7914 PyObject * obj1 = 0 ;
d14a1e28
RD
7915 PyObject * obj2 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self",(char *) "length",(char *) "text", NULL
7918 };
7919
994141e6 7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 arg2 = (int) SWIG_AsInt(obj1);
7924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7925 {
7926 arg3 = wxString_in_helper(obj2);
7927 if (arg3 == NULL) SWIG_fail;
e811c8ce 7928 temp3 = True;
d14a1e28
RD
7929 }
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 Py_INCREF(Py_None); resultobj = Py_None;
7938 {
7939 if (temp3)
7940 delete arg3;
7941 }
7942 return resultobj;
7943 fail:
7944 {
7945 if (temp3)
7946 delete arg3;
7947 }
7948 return NULL;
7949}
7950
7951
7952static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7955 bool result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
15afbcd0
RD
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (bool)(arg1)->GetTwoPhaseDraw();
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
4d5c3d91 7971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7972 return resultobj;
7973 fail:
7974 return NULL;
7975}
7976
7977
7978static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7981 bool arg2 ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "twoPhase", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7991 arg2 = (bool) SWIG_AsBool(obj1);
7992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetTwoPhaseDraw(arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004}
8005
8006
8007static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->TargetFromSelection();
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 Py_INCREF(Py_None); resultobj = Py_None;
8026 return resultobj;
8027 fail:
8028 return NULL;
8029}
8030
8031
8032static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8035 PyObject * obj0 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
8041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 (arg1)->LinesJoin();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 Py_INCREF(Py_None); resultobj = Py_None;
8051 return resultobj;
8052 fail:
8053 return NULL;
8054}
8055
8056
8057static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8060 int arg2 ;
8061 PyObject * obj0 = 0 ;
994141e6 8062 PyObject * obj1 = 0 ;
d14a1e28
RD
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "pixelWidth", NULL
8065 };
8066
994141e6 8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8070 arg2 = (int) SWIG_AsInt(obj1);
8071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 (arg1)->LinesSplit(arg2);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 return resultobj;
8081 fail:
8082 return NULL;
8083}
8084
8085
8086static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8087 PyObject *resultobj;
8088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8089 bool arg2 ;
8090 wxColour *arg3 = 0 ;
8091 wxColour temp3 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 PyObject * obj2 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 arg2 = (bool) SWIG_AsBool(obj1);
8103 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8104 {
8105 arg3 = &temp3;
8106 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 Py_INCREF(Py_None); resultobj = Py_None;
8116 return resultobj;
8117 fail:
8118 return NULL;
8119}
8120
8121
8122static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj;
8124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8125 bool arg2 ;
8126 wxColour *arg3 = 0 ;
8127 wxColour temp3 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 PyObject * obj2 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8133 };
8134
15afbcd0
RD
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8138 arg2 = (bool) SWIG_AsBool(obj1);
8139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8140 {
8141 arg3 = &temp3;
8142 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 Py_INCREF(Py_None); resultobj = Py_None;
8152 return resultobj;
8153 fail:
8154 return NULL;
8155}
8156
8157
4276dc52 8158static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8159 PyObject *resultobj;
8160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
4276dc52 8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8171 (arg1)->LineDown();
d14a1e28
RD
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
4276dc52 8183static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8184 PyObject *resultobj;
8185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self", NULL
8189 };
8190
4276dc52 8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8196 (arg1)->LineDownExtend();
d14a1e28
RD
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205}
8206
8207
4276dc52 8208static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8209 PyObject *resultobj;
8210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
4276dc52 8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8221 (arg1)->LineUp();
d14a1e28
RD
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 return resultobj;
8228 fail:
8229 return NULL;
8230}
8231
8232
4276dc52 8233static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8234 PyObject *resultobj;
8235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
4276dc52 8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8246 (arg1)->LineUpExtend();
d14a1e28
RD
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 Py_INCREF(Py_None); resultobj = Py_None;
8252 return resultobj;
8253 fail:
8254 return NULL;
8255}
8256
8257
4276dc52 8258static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8259 PyObject *resultobj;
8260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8261 PyObject * obj0 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self", NULL
8264 };
8265
4276dc52 8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
8267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8271 (arg1)->CharLeft();
d14a1e28
RD
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 return resultobj;
8278 fail:
8279 return NULL;
8280}
8281
8282
4276dc52 8283static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8284 PyObject *resultobj;
8285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8286 PyObject * obj0 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self", NULL
8289 };
8290
4276dc52 8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8296 (arg1)->CharLeftExtend();
d14a1e28
RD
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 return resultobj;
8303 fail:
8304 return NULL;
8305}
8306
8307
4276dc52 8308static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8309 PyObject *resultobj;
8310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8311 PyObject * obj0 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self", NULL
8314 };
8315
4276dc52 8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8321 (arg1)->CharRight();
d14a1e28
RD
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 Py_INCREF(Py_None); resultobj = Py_None;
8327 return resultobj;
8328 fail:
8329 return NULL;
8330}
8331
8332
4276dc52 8333static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8334 PyObject *resultobj;
8335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
4276dc52 8338 (char *) "self", NULL
d14a1e28
RD
8339 };
8340
4276dc52 8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8346 (arg1)->CharRightExtend();
d14a1e28
RD
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
4276dc52 8351 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8352 return resultobj;
8353 fail:
8354 return NULL;
8355}
8356
8357
4276dc52 8358static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8359 PyObject *resultobj;
8360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8361 PyObject * obj0 = 0 ;
8362 char *kwnames[] = {
4276dc52 8363 (char *) "self", NULL
d14a1e28
RD
8364 };
8365
4276dc52 8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
8367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8371 (arg1)->WordLeft();
d14a1e28
RD
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 return resultobj;
8378 fail:
8379 return NULL;
8380}
8381
8382
4276dc52 8383static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8384 PyObject *resultobj;
8385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8386 PyObject * obj0 = 0 ;
8387 char *kwnames[] = {
4276dc52 8388 (char *) "self", NULL
d14a1e28
RD
8389 };
8390
4276dc52 8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8396 (arg1)->WordLeftExtend();
d14a1e28
RD
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 Py_INCREF(Py_None); resultobj = Py_None;
8402 return resultobj;
8403 fail:
8404 return NULL;
8405}
8406
8407
4276dc52 8408static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8409 PyObject *resultobj;
8410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8411 PyObject * obj0 = 0 ;
8412 char *kwnames[] = {
4276dc52 8413 (char *) "self", NULL
d14a1e28
RD
8414 };
8415
4276dc52 8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8421 (arg1)->WordRight();
d14a1e28
RD
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
4276dc52 8426 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8427 return resultobj;
8428 fail:
8429 return NULL;
8430}
8431
8432
4276dc52 8433static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8434 PyObject *resultobj;
8435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
4276dc52 8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8446 (arg1)->WordRightExtend();
d14a1e28
RD
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
4276dc52 8451 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
4276dc52 8458static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8459 PyObject *resultobj;
8460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8461 PyObject * obj0 = 0 ;
d14a1e28 8462 char *kwnames[] = {
4276dc52 8463 (char *) "self", NULL
d14a1e28
RD
8464 };
8465
4276dc52 8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
15afbcd0
RD
8467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8471 (arg1)->Home();
d14a1e28
RD
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 Py_INCREF(Py_None); resultobj = Py_None;
8477 return resultobj;
8478 fail:
8479 return NULL;
8480}
8481
8482
4276dc52 8483static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8484 PyObject *resultobj;
8485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self", NULL
8489 };
8490
4276dc52 8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8496 (arg1)->HomeExtend();
d14a1e28
RD
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
4276dc52 8501 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
4276dc52 8508static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8509 PyObject *resultobj;
8510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8511 PyObject * obj0 = 0 ;
d14a1e28 8512 char *kwnames[] = {
4276dc52 8513 (char *) "self", NULL
d14a1e28
RD
8514 };
8515
4276dc52 8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
8517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8521 (arg1)->LineEnd();
d14a1e28
RD
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 Py_INCREF(Py_None); resultobj = Py_None;
8527 return resultobj;
8528 fail:
8529 return NULL;
8530}
8531
8532
4276dc52 8533static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8534 PyObject *resultobj;
8535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
4276dc52 8538 (char *) "self", NULL
d14a1e28
RD
8539 };
8540
4276dc52 8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8546 (arg1)->LineEndExtend();
d14a1e28
RD
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 Py_INCREF(Py_None); resultobj = Py_None;
8552 return resultobj;
8553 fail:
8554 return NULL;
8555}
8556
8557
4276dc52 8558static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8559 PyObject *resultobj;
8560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8561 PyObject * obj0 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self", NULL
8564 };
8565
4276dc52 8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
8567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8571 (arg1)->DocumentStart();
d14a1e28
RD
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
4276dc52 8576 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8577 return resultobj;
8578 fail:
8579 return NULL;
8580}
8581
8582
4276dc52 8583static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8584 PyObject *resultobj;
8585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8586 PyObject * obj0 = 0 ;
8587 char *kwnames[] = {
4276dc52 8588 (char *) "self", NULL
d14a1e28
RD
8589 };
8590
4276dc52 8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8596 (arg1)->DocumentStartExtend();
d14a1e28
RD
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605}
8606
8607
4276dc52 8608static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8609 PyObject *resultobj;
8610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
4276dc52 8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
8617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8621 (arg1)->DocumentEnd();
d14a1e28
RD
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
4276dc52 8626 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8627 return resultobj;
8628 fail:
8629 return NULL;
8630}
8631
8632
4276dc52 8633static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8634 PyObject *resultobj;
8635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8636 PyObject * obj0 = 0 ;
8637 char *kwnames[] = {
4276dc52 8638 (char *) "self", NULL
d14a1e28
RD
8639 };
8640
4276dc52 8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8646 (arg1)->DocumentEndExtend();
d14a1e28
RD
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 Py_INCREF(Py_None); resultobj = Py_None;
8652 return resultobj;
8653 fail:
8654 return NULL;
8655}
8656
8657
4276dc52 8658static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8659 PyObject *resultobj;
8660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8661 PyObject * obj0 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self", NULL
8664 };
8665
4276dc52 8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
8667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8671 (arg1)->PageUp();
d14a1e28
RD
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
4276dc52 8676 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8677 return resultobj;
8678 fail:
8679 return NULL;
8680}
8681
8682
4276dc52 8683static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8684 PyObject *resultobj;
8685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8686 PyObject * obj0 = 0 ;
d14a1e28 8687 char *kwnames[] = {
4276dc52 8688 (char *) "self", NULL
d14a1e28
RD
8689 };
8690
4276dc52 8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8696 (arg1)->PageUpExtend();
d14a1e28
RD
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
4276dc52 8708static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8709 PyObject *resultobj;
8710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8711 PyObject * obj0 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self", NULL
8714 };
8715
4276dc52 8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
8717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8721 (arg1)->PageDown();
d14a1e28
RD
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 Py_INCREF(Py_None); resultobj = Py_None;
8727 return resultobj;
8728 fail:
8729 return NULL;
8730}
8731
8732
4276dc52 8733static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8734 PyObject *resultobj;
8735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8736 PyObject * obj0 = 0 ;
d14a1e28 8737 char *kwnames[] = {
4276dc52 8738 (char *) "self", NULL
d14a1e28
RD
8739 };
8740
4276dc52 8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8746 (arg1)->PageDownExtend();
d14a1e28
RD
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
4276dc52 8751 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8752 return resultobj;
8753 fail:
d14a1e28
RD
8754 return NULL;
8755}
8756
8757
4276dc52 8758static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8759 PyObject *resultobj;
8760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8761 PyObject * obj0 = 0 ;
d14a1e28 8762 char *kwnames[] = {
4276dc52 8763 (char *) "self", NULL
d14a1e28
RD
8764 };
8765
4276dc52 8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
15afbcd0
RD
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8771 (arg1)->EditToggleOvertype();
d14a1e28
RD
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
4276dc52 8776 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8777 return resultobj;
8778 fail:
d14a1e28
RD
8779 return NULL;
8780}
8781
8782
4276dc52 8783static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8784 PyObject *resultobj;
8785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
4276dc52 8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
15afbcd0
RD
8792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8796 (arg1)->Cancel();
d14a1e28
RD
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
4276dc52 8801 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8802 return resultobj;
8803 fail:
8804 return NULL;
8805}
8806
8807
4276dc52 8808static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8809 PyObject *resultobj;
8810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8811 PyObject * obj0 = 0 ;
d14a1e28 8812 char *kwnames[] = {
4276dc52 8813 (char *) "self", NULL
d14a1e28
RD
8814 };
8815
4276dc52 8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
15afbcd0
RD
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8821 (arg1)->DeleteBack();
d14a1e28
RD
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 Py_INCREF(Py_None); resultobj = Py_None;
8827 return resultobj;
8828 fail:
8829 return NULL;
8830}
8831
8832
4276dc52 8833static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8834 PyObject *resultobj;
8835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self", NULL
8839 };
8840
4276dc52 8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8846 (arg1)->Tab();
d14a1e28
RD
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
4276dc52 8851 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8852 return resultobj;
8853 fail:
8854 return NULL;
8855}
8856
8857
4276dc52 8858static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8859 PyObject *resultobj;
8860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8861 PyObject * obj0 = 0 ;
8862 char *kwnames[] = {
4276dc52 8863 (char *) "self", NULL
d14a1e28
RD
8864 };
8865
4276dc52 8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
15afbcd0
RD
8867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8871 (arg1)->BackTab();
d14a1e28
RD
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880}
8881
8882
4276dc52 8883static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8884 PyObject *resultobj;
8885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
4276dc52 8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8896 (arg1)->NewLine();
d14a1e28
RD
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
4276dc52 8901 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
4276dc52 8908static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8909 PyObject *resultobj;
8910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self", NULL
8914 };
8915
4276dc52 8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
15afbcd0
RD
8917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8921 (arg1)->FormFeed();
d14a1e28
RD
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
4276dc52 8926 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
4276dc52 8933static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8934 PyObject *resultobj;
8935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8936 PyObject * obj0 = 0 ;
d14a1e28 8937 char *kwnames[] = {
4276dc52 8938 (char *) "self", NULL
d14a1e28
RD
8939 };
8940
4276dc52 8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
15afbcd0
RD
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8946 (arg1)->VCHome();
d14a1e28
RD
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955}
8956
8957
4276dc52 8958static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8959 PyObject *resultobj;
8960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8961 PyObject * obj0 = 0 ;
d14a1e28 8962 char *kwnames[] = {
4276dc52 8963 (char *) "self", NULL
d14a1e28
RD
8964 };
8965
4276dc52 8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8971 (arg1)->VCHomeExtend();
d14a1e28
RD
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980}
8981
8982
4276dc52 8983static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8984 PyObject *resultobj;
8985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
4276dc52 8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
15afbcd0
RD
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8996 (arg1)->ZoomIn();
d14a1e28
RD
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
4276dc52 9001 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9002 return resultobj;
9003 fail:
9004 return NULL;
9005}
9006
9007
4276dc52 9008static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9009 PyObject *resultobj;
9010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9011 PyObject * obj0 = 0 ;
d14a1e28 9012 char *kwnames[] = {
4276dc52 9013 (char *) "self", NULL
d14a1e28
RD
9014 };
9015
4276dc52 9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9021 (arg1)->ZoomOut();
d14a1e28
RD
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 Py_INCREF(Py_None); resultobj = Py_None;
9027 return resultobj;
9028 fail:
9029 return NULL;
9030}
9031
9032
4276dc52 9033static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9034 PyObject *resultobj;
9035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9036 PyObject * obj0 = 0 ;
9037 char *kwnames[] = {
9038 (char *) "self", NULL
9039 };
9040
4276dc52 9041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
9042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9046 (arg1)->DelWordLeft();
d14a1e28
RD
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
4276dc52 9051 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9052 return resultobj;
9053 fail:
9054 return NULL;
9055}
9056
9057
4276dc52 9058static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9059 PyObject *resultobj;
9060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9061 PyObject * obj0 = 0 ;
9062 char *kwnames[] = {
4276dc52 9063 (char *) "self", NULL
d14a1e28
RD
9064 };
9065
4276dc52 9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
9067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9071 (arg1)->DelWordRight();
d14a1e28
RD
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 Py_INCREF(Py_None); resultobj = Py_None;
9077 return resultobj;
9078 fail:
9079 return NULL;
9080}
9081
9082
4276dc52 9083static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9084 PyObject *resultobj;
9085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self", NULL
9089 };
9090
4276dc52 9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9096 (arg1)->LineCut();
d14a1e28
RD
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
4276dc52 9101 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
4276dc52 9108static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9109 PyObject *resultobj;
9110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9111 PyObject * obj0 = 0 ;
d14a1e28 9112 char *kwnames[] = {
4276dc52 9113 (char *) "self", NULL
d14a1e28
RD
9114 };
9115
4276dc52 9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9121 (arg1)->LineDelete();
d14a1e28
RD
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 Py_INCREF(Py_None); resultobj = Py_None;
9127 return resultobj;
9128 fail:
9129 return NULL;
9130}
9131
9132
4276dc52 9133static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9134 PyObject *resultobj;
9135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9136 PyObject * obj0 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self", NULL
9139 };
9140
4276dc52 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
15afbcd0
RD
9142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9146 (arg1)->LineTranspose();
d14a1e28
RD
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
4276dc52 9151 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9152 return resultobj;
9153 fail:
9154 return NULL;
9155}
9156
9157
4276dc52 9158static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9159 PyObject *resultobj;
9160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9161 PyObject * obj0 = 0 ;
9162 char *kwnames[] = {
4276dc52 9163 (char *) "self", NULL
d14a1e28
RD
9164 };
9165
4276dc52 9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
15afbcd0
RD
9167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9171 (arg1)->LineDuplicate();
d14a1e28
RD
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 Py_INCREF(Py_None); resultobj = Py_None;
9177 return resultobj;
9178 fail:
9179 return NULL;
9180}
9181
9182
4276dc52 9183static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9184 PyObject *resultobj;
9185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9186 PyObject * obj0 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self", NULL
9189 };
9190
4276dc52 9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9196 (arg1)->LowerCase();
d14a1e28
RD
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
4276dc52 9201 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9202 return resultobj;
9203 fail:
9204 return NULL;
9205}
9206
9207
4276dc52 9208static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9209 PyObject *resultobj;
9210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9211 PyObject * obj0 = 0 ;
9212 char *kwnames[] = {
4276dc52 9213 (char *) "self", NULL
d14a1e28
RD
9214 };
9215
4276dc52 9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
15afbcd0
RD
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9221 (arg1)->UpperCase();
d14a1e28
RD
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 Py_INCREF(Py_None); resultobj = Py_None;
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
4276dc52 9233static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9234 PyObject *resultobj;
9235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9236 PyObject * obj0 = 0 ;
9237 char *kwnames[] = {
9238 (char *) "self", NULL
9239 };
9240
4276dc52 9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9246 (arg1)->LineScrollDown();
d14a1e28
RD
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
4276dc52 9251 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
4276dc52 9258static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9259 PyObject *resultobj;
9260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9261 PyObject * obj0 = 0 ;
9262 char *kwnames[] = {
9263 (char *) "self", NULL
9264 };
9265
4276dc52 9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
9267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9271 (arg1)->LineScrollUp();
d14a1e28
RD
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 Py_INCREF(Py_None); resultobj = Py_None;
9277 return resultobj;
9278 fail:
9279 return NULL;
9280}
9281
9282
4276dc52 9283static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9284 PyObject *resultobj;
9285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9286 PyObject * obj0 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self", NULL
9289 };
9290
4276dc52 9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9296 (arg1)->DeleteBackNotLine();
d14a1e28
RD
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305}
9306
9307
4276dc52 9308static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9309 PyObject *resultobj;
9310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9311 PyObject * obj0 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self", NULL
9314 };
9315
4276dc52 9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
15afbcd0
RD
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9321 (arg1)->HomeDisplay();
d14a1e28
RD
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330}
9331
9332
4276dc52 9333static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9334 PyObject *resultobj;
9335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
4276dc52 9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9346 (arg1)->HomeDisplayExtend();
d14a1e28
RD
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 Py_INCREF(Py_None); resultobj = Py_None;
9352 return resultobj;
9353 fail:
9354 return NULL;
9355}
9356
9357
4276dc52 9358static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9359 PyObject *resultobj;
9360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9361 PyObject * obj0 = 0 ;
9362 char *kwnames[] = {
4276dc52 9363 (char *) "self", NULL
d14a1e28
RD
9364 };
9365
4276dc52 9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
15afbcd0
RD
9367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9371 (arg1)->LineEndDisplay();
d14a1e28
RD
9372
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 Py_INCREF(Py_None); resultobj = Py_None;
9377 return resultobj;
9378 fail:
9379 return NULL;
9380}
9381
9382
4276dc52 9383static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9384 PyObject *resultobj;
9385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9386 PyObject * obj0 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self", NULL
9389 };
9390
4276dc52 9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9396 (arg1)->LineEndDisplayExtend();
d14a1e28
RD
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 Py_INCREF(Py_None); resultobj = Py_None;
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
4276dc52 9408static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9409 PyObject *resultobj;
9410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9411 PyObject * obj0 = 0 ;
9412 char *kwnames[] = {
9413 (char *) "self", NULL
9414 };
9415
4276dc52 9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9421 (arg1)->HomeWrap();
d14a1e28
RD
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430}
9431
9432
4276dc52 9433static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9434 PyObject *resultobj;
9435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
4276dc52 9438 (char *) "self", NULL
d14a1e28
RD
9439 };
9440
4276dc52 9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9446 (arg1)->HomeWrapExtend();
d14a1e28
RD
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 Py_INCREF(Py_None); resultobj = Py_None;
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
4276dc52 9458static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9459 PyObject *resultobj;
9460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9461 PyObject * obj0 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "self", NULL
9464 };
9465
4276dc52 9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9471 (arg1)->LineEndWrap();
d14a1e28
RD
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
4276dc52 9476 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9477 return resultobj;
9478 fail:
9479 return NULL;
9480}
9481
9482
4276dc52 9483static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9484 PyObject *resultobj;
9485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9486 PyObject * obj0 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self", NULL
9489 };
9490
4276dc52 9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9496 (arg1)->LineEndWrapExtend();
d14a1e28
RD
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 Py_INCREF(Py_None); resultobj = Py_None;
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
4276dc52 9508static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9509 PyObject *resultobj;
9510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
4276dc52 9513 (char *) "self", NULL
d14a1e28
RD
9514 };
9515
4276dc52 9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9521 (arg1)->VCHomeWrap();
d14a1e28
RD
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 Py_INCREF(Py_None); resultobj = Py_None;
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
4276dc52 9533static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9534 PyObject *resultobj;
9535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9536 PyObject * obj0 = 0 ;
9537 char *kwnames[] = {
4276dc52 9538 (char *) "self", NULL
d14a1e28
RD
9539 };
9540
4276dc52 9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
15afbcd0
RD
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9546 (arg1)->VCHomeWrapExtend();
d14a1e28
RD
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 Py_INCREF(Py_None); resultobj = Py_None;
9552 return resultobj;
9553 fail:
9554 return NULL;
9555}
9556
9557
4276dc52 9558static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9559 PyObject *resultobj;
9560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9561 PyObject * obj0 = 0 ;
9562 char *kwnames[] = {
4276dc52 9563 (char *) "self", NULL
d14a1e28
RD
9564 };
9565
4276dc52 9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9571 (arg1)->LineCopy();
d14a1e28
RD
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
4276dc52 9583static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9584 PyObject *resultobj;
9585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
4276dc52 9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
15afbcd0
RD
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9596 (arg1)->MoveCaretInsideView();
d14a1e28
RD
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
4276dc52 9601 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
4276dc52 9608static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9609 PyObject *resultobj;
9610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9611 int arg2 ;
9612 int result;
d14a1e28
RD
9613 PyObject * obj0 = 0 ;
9614 PyObject * obj1 = 0 ;
d14a1e28 9615 char *kwnames[] = {
4276dc52 9616 (char *) "self",(char *) "line", NULL
d14a1e28
RD
9617 };
9618
4276dc52 9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9622 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9626 result = (int)(arg1)->LineLength(arg2);
d14a1e28
RD
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
4276dc52 9631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9632 return resultobj;
9633 fail:
9634 return NULL;
9635}
9636
9637
4276dc52 9638static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9639 PyObject *resultobj;
9640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9641 int arg2 ;
9642 int arg3 ;
d14a1e28
RD
9643 PyObject * obj0 = 0 ;
9644 PyObject * obj1 = 0 ;
9645 PyObject * obj2 = 0 ;
9646 char *kwnames[] = {
4276dc52 9647 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
d14a1e28
RD
9648 };
9649
4276dc52 9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52
RD
9653 arg2 = (int) SWIG_AsInt(obj1);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 arg3 = (int) SWIG_AsInt(obj2);
15afbcd0 9656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9659 (arg1)->BraceHighlight(arg2,arg3);
d14a1e28
RD
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 Py_INCREF(Py_None); resultobj = Py_None;
9665 return resultobj;
9666 fail:
9667 return NULL;
9668}
9669
9670
4276dc52 9671static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9672 PyObject *resultobj;
9673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9674 int arg2 ;
d14a1e28
RD
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char *kwnames[] = {
4276dc52 9678 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
9679 };
9680
4276dc52 9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9684 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9688 (arg1)->BraceBadLight(arg2);
d14a1e28
RD
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 Py_INCREF(Py_None); resultobj = Py_None;
9694 return resultobj;
9695 fail:
9696 return NULL;
9697}
9698
9699
4276dc52 9700static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9701 PyObject *resultobj;
9702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9703 int arg2 ;
9704 int result;
96b3fa7c
RD
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 char *kwnames[] = {
4276dc52 9708 (char *) "self",(char *) "pos", NULL
96b3fa7c
RD
9709 };
9710
4276dc52 9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9714 arg2 = (int) SWIG_AsInt(obj1);
15afbcd0 9715 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9718 result = (int)(arg1)->BraceMatch(arg2);
96b3fa7c
RD
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
4276dc52 9723 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
9724 return resultobj;
9725 fail:
9726 return NULL;
9727}
9728
9729
4276dc52 9730static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9731 PyObject *resultobj;
9732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9733 bool result;
d14a1e28
RD
9734 PyObject * obj0 = 0 ;
9735 char *kwnames[] = {
4276dc52 9736 (char *) "self", NULL
d14a1e28
RD
9737 };
9738
4276dc52 9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
15afbcd0
RD
9740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9744 result = (bool)(arg1)->GetViewEOL();
d14a1e28
RD
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
4276dc52 9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9750 return resultobj;
9751 fail:
9752 return NULL;
9753}
9754
9755
4276dc52 9756static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9757 PyObject *resultobj;
9758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 9759 bool arg2 ;
d14a1e28 9760 PyObject * obj0 = 0 ;
994141e6 9761 PyObject * obj1 = 0 ;
d14a1e28 9762 char *kwnames[] = {
4276dc52 9763 (char *) "self",(char *) "visible", NULL
d14a1e28
RD
9764 };
9765
4276dc52 9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9769 arg2 = (bool) SWIG_AsBool(obj1);
15afbcd0 9770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9773 (arg1)->SetViewEOL(arg2);
d14a1e28
RD
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
4276dc52 9778 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
4276dc52 9785static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9786 PyObject *resultobj;
9787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9788 void *result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (void *)(arg1)->GetDocPointer();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9805 return resultobj;
9806 fail:
9807 return NULL;
9808}
9809
9810
9811static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9814 void *arg2 = (void *) 0 ;
d14a1e28 9815 PyObject * obj0 = 0 ;
994141e6 9816 PyObject * obj1 = 0 ;
d14a1e28 9817 char *kwnames[] = {
4276dc52 9818 (char *) "self",(char *) "docPointer", NULL
d14a1e28
RD
9819 };
9820
4276dc52 9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52 9824 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9827 (arg1)->SetDocPointer(arg2);
d14a1e28
RD
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
4276dc52 9839static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9840 PyObject *resultobj;
9841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9842 int arg2 ;
d14a1e28 9843 PyObject * obj0 = 0 ;
994141e6 9844 PyObject * obj1 = 0 ;
d14a1e28 9845 char *kwnames[] = {
4276dc52 9846 (char *) "self",(char *) "mask", NULL
d14a1e28
RD
9847 };
9848
4276dc52 9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 arg2 = (int) SWIG_AsInt(obj1);
9853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9856 (arg1)->SetModEventMask(arg2);
d14a1e28
RD
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9862 return resultobj;
9863 fail:
4276dc52
RD
9864 return NULL;
9865}
9866
9867
9868static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9871 int result;
9872 PyObject * obj0 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
9878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9880 {
4276dc52
RD
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (int)(arg1)->GetEdgeColumn();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9886 }
4276dc52
RD
9887 resultobj = SWIG_FromInt((int)result);
9888 return resultobj;
9889 fail:
d14a1e28
RD
9890 return NULL;
9891}
9892
9893
4276dc52 9894static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9895 PyObject *resultobj;
9896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9897 int arg2 ;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 char *kwnames[] = {
4276dc52 9901 (char *) "self",(char *) "column", NULL
96b3fa7c
RD
9902 };
9903
4276dc52 9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 arg2 = (int) SWIG_AsInt(obj1);
9908 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9911 (arg1)->SetEdgeColumn(arg2);
96b3fa7c
RD
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920}
9921
9922
4276dc52 9923static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9924 PyObject *resultobj;
9925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9926 int result;
9927 PyObject * obj0 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self", NULL
9930 };
9931
4276dc52 9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9937 result = (int)(arg1)->GetEdgeMode();
96b3fa7c
RD
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
15afbcd0 9942 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
9943 return resultobj;
9944 fail:
9945 return NULL;
9946}
9947
9948
4276dc52 9949static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9950 PyObject *resultobj;
9951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9952 int arg2 ;
96b3fa7c
RD
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char *kwnames[] = {
4276dc52 9956 (char *) "self",(char *) "mode", NULL
96b3fa7c
RD
9957 };
9958
4276dc52 9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9962 arg2 = (int) SWIG_AsInt(obj1);
9963 if (PyErr_Occurred()) SWIG_fail;
96b3fa7c
RD
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 9966 (arg1)->SetEdgeMode(arg2);
96b3fa7c
RD
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
4276dc52 9971 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
9972 return resultobj;
9973 fail:
9974 return NULL;
9975}
9976
9977
4276dc52 9978static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
9979 PyObject *resultobj;
9980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
9981 wxColour result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (arg1)->GetEdgeColour();
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 {
9998 wxColour * resultptr;
9999 resultptr = new wxColour((wxColour &) result);
10000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10001 }
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
10008static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10011 wxColour *arg2 = 0 ;
10012 wxColour temp2 ;
96b3fa7c
RD
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char *kwnames[] = {
4276dc52 10016 (char *) "self",(char *) "edgeColour", NULL
96b3fa7c
RD
10017 };
10018
4276dc52 10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276dc52
RD
10022 {
10023 arg2 = &temp2;
10024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10025 }
96b3fa7c
RD
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 10028 (arg1)->SetEdgeColour((wxColour const &)*arg2);
96b3fa7c
RD
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
4276dc52
RD
10033 Py_INCREF(Py_None); resultobj = Py_None;
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
10040static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->SearchAnchor();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 Py_INCREF(Py_None); resultobj = Py_None;
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
10065static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10068 int arg2 ;
10069 wxString *arg3 = 0 ;
10070 int result;
10071 bool temp3 = False ;
10072 PyObject * obj0 = 0 ;
10073 PyObject * obj1 = 0 ;
10074 PyObject * obj2 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self",(char *) "flags",(char *) "text", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
10080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10082 arg2 = (int) SWIG_AsInt(obj1);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 {
10085 arg3 = wxString_in_helper(obj2);
10086 if (arg3 == NULL) SWIG_fail;
10087 temp3 = True;
10088 }
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
10096 resultobj = SWIG_FromInt((int)result);
10097 {
10098 if (temp3)
10099 delete arg3;
10100 }
10101 return resultobj;
10102 fail:
10103 {
10104 if (temp3)
10105 delete arg3;
10106 }
10107 return NULL;
10108}
10109
10110
10111static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10114 int arg2 ;
10115 wxString *arg3 = 0 ;
10116 int result;
10117 bool temp3 = False ;
10118 PyObject * obj0 = 0 ;
10119 PyObject * obj1 = 0 ;
10120 PyObject * obj2 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self",(char *) "flags",(char *) "text", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 arg2 = (int) SWIG_AsInt(obj1);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 {
10131 arg3 = wxString_in_helper(obj2);
10132 if (arg3 == NULL) SWIG_fail;
10133 temp3 = True;
10134 }
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_FromInt((int)result);
10143 {
10144 if (temp3)
10145 delete arg3;
10146 }
10147 return resultobj;
10148 fail:
10149 {
10150 if (temp3)
10151 delete arg3;
10152 }
10153 return NULL;
10154}
10155
10156
10157static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10158 PyObject *resultobj;
10159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10160 int result;
10161 PyObject * obj0 = 0 ;
10162 char *kwnames[] = {
10163 (char *) "self", NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
10167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 result = (int)(arg1)->LinesOnScreen();
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_FromInt((int)result);
10177 return resultobj;
10178 fail:
10179 return NULL;
10180}
10181
10182
10183static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10186 bool arg2 ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj1 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self",(char *) "allowPopUp", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10196 arg2 = (bool) SWIG_AsBool(obj1);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 (arg1)->UsePopUp(arg2);
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 Py_INCREF(Py_None); resultobj = Py_None;
10206 return resultobj;
10207 fail:
10208 return NULL;
10209}
10210
10211
10212static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj;
10214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10215 bool result;
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (bool)(arg1)->SelectionIsRectangle();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235}
10236
10237
10238static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10241 int arg2 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "zoom", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10251 arg2 = (int) SWIG_AsInt(obj1);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetZoom(arg2);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264}
10265
10266
10267static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10270 int result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (int)(arg1)->GetZoom();
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_FromInt((int)result);
10287 return resultobj;
10288 fail:
10289 return NULL;
10290}
10291
10292
10293static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj;
10295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10296 void *result;
10297 PyObject * obj0 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (void *)(arg1)->CreateDocument();
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
10319static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10322 void *arg2 = (void *) 0 ;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "docPointer", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10332 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 (arg1)->AddRefDocument(arg2);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344}
10345
10346
10347static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10350 void *arg2 = (void *) 0 ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self",(char *) "docPointer", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10360 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->ReleaseDocument(arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372}
10373
10374
10375static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10378 int result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)(arg1)->GetModEventMask();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 resultobj = SWIG_FromInt((int)result);
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
10401static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10404 bool arg2 ;
10405 PyObject * obj0 = 0 ;
10406 PyObject * obj1 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self",(char *) "focus", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
10412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10414 arg2 = (bool) SWIG_AsBool(obj1);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->SetSTCFocus(arg2);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
10430static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10433 bool result;
10434 PyObject * obj0 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (bool)(arg1)->GetSTCFocus();
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10450 return resultobj;
10451 fail:
10452 return NULL;
10453}
10454
10455
10456static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10459 int arg2 ;
10460 PyObject * obj0 = 0 ;
10461 PyObject * obj1 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self",(char *) "statusCode", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 arg2 = (int) SWIG_AsInt(obj1);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetStatus(arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482}
10483
10484
10485static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10488 int result;
10489 PyObject * obj0 = 0 ;
10490 char *kwnames[] = {
10491 (char *) "self", NULL
10492 };
10493
10494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
10495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 result = (int)(arg1)->GetStatus();
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = SWIG_FromInt((int)result);
10505 return resultobj;
10506 fail:
10507 return NULL;
10508}
10509
10510
10511static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10514 bool arg2 ;
10515 PyObject * obj0 = 0 ;
10516 PyObject * obj1 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self",(char *) "captures", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10524 arg2 = (bool) SWIG_AsBool(obj1);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->SetMouseDownCaptures(arg2);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
10540static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10543 bool result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (bool)(arg1)->GetMouseDownCaptures();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10560 return resultobj;
10561 fail:
10562 return NULL;
10563}
10564
10565
10566static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10569 int arg2 ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "cursorType", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10579 arg2 = (int) SWIG_AsInt(obj1);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->SetSTCCursor(arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 return resultobj;
10590 fail:
10591 return NULL;
10592}
10593
10594
10595static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10598 int result;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 result = (int)(arg1)->GetSTCCursor();
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 resultobj = SWIG_FromInt((int)result);
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10624 int arg2 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "symbol", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
10632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10634 arg2 = (int) SWIG_AsInt(obj1);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 (arg1)->SetControlCharSymbol(arg2);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647}
10648
10649
10650static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10653 int result;
10654 PyObject * obj0 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 result = (int)(arg1)->GetControlCharSymbol();
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 resultobj = SWIG_FromInt((int)result);
10670 return resultobj;
10671 fail:
10672 return NULL;
10673}
10674
10675
10676static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10679 PyObject * obj0 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 (arg1)->WordPartLeft();
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 Py_INCREF(Py_None); resultobj = Py_None;
10695 return resultobj;
10696 fail:
10697 return NULL;
10698}
10699
10700
10701static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 (arg1)->WordPartLeftExtend();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 Py_INCREF(Py_None); resultobj = Py_None;
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
10726static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 (arg1)->WordPartRight();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 Py_INCREF(Py_None); resultobj = Py_None;
10745 return resultobj;
10746 fail:
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 (arg1)->WordPartRightExtend();
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 Py_INCREF(Py_None); resultobj = Py_None;
10770 return resultobj;
10771 fail:
10772 return NULL;
10773}
10774
10775
10776static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10779 int arg2 ;
10780 int arg3 ;
10781 PyObject * obj0 = 0 ;
10782 PyObject * obj1 = 0 ;
10783 PyObject * obj2 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10791 arg2 = (int) SWIG_AsInt(obj1);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 arg3 = (int) SWIG_AsInt(obj2);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 (arg1)->SetVisiblePolicy(arg2,arg3);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 Py_INCREF(Py_None); resultobj = Py_None;
10803 return resultobj;
10804 fail:
10805 return NULL;
10806}
10807
10808
10809static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 (arg1)->DelLineLeft();
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 Py_INCREF(Py_None); resultobj = Py_None;
10828 return resultobj;
10829 fail:
10830 return NULL;
10831}
10832
10833
10834static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10835 PyObject *resultobj;
10836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 (arg1)->DelLineRight();
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 Py_INCREF(Py_None); resultobj = Py_None;
10853 return resultobj;
10854 fail:
10855 return NULL;
10856}
10857
10858
10859static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10862 int arg2 ;
10863 PyObject * obj0 = 0 ;
10864 PyObject * obj1 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "self",(char *) "newOffset", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
10870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10872 arg2 = (int) SWIG_AsInt(obj1);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->SetXOffset(arg2);
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 Py_INCREF(Py_None); resultobj = Py_None;
10882 return resultobj;
10883 fail:
10884 return NULL;
10885}
10886
10887
10888static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10891 int result;
10892 PyObject * obj0 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "self", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
10898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (int)(arg1)->GetXOffset();
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_FromInt((int)result);
10908 return resultobj;
10909 fail:
10910 return NULL;
10911}
10912
10913
10914static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10917 PyObject * obj0 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
10923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 (arg1)->ChooseCaretX();
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 Py_INCREF(Py_None); resultobj = Py_None;
10933 return resultobj;
10934 fail:
10935 return NULL;
10936}
10937
10938
10939static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10942 int arg2 ;
10943 int arg3 ;
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 PyObject * obj2 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10954 arg2 = (int) SWIG_AsInt(obj1);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 arg3 = (int) SWIG_AsInt(obj2);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 (arg1)->SetXCaretPolicy(arg2,arg3);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 Py_INCREF(Py_None); resultobj = Py_None;
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
10972static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10975 int arg2 ;
10976 int arg3 ;
10977 PyObject * obj0 = 0 ;
10978 PyObject * obj1 = 0 ;
10979 PyObject * obj2 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 arg2 = (int) SWIG_AsInt(obj1);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 arg3 = (int) SWIG_AsInt(obj2);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 (arg1)->SetYCaretPolicy(arg2,arg3);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 Py_INCREF(Py_None); resultobj = Py_None;
10999 return resultobj;
11000 fail:
11001 return NULL;
11002}
11003
11004
11005static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11008 int arg2 ;
11009 PyObject * obj0 = 0 ;
11010 PyObject * obj1 = 0 ;
11011 char *kwnames[] = {
11012 (char *) "self",(char *) "mode", NULL
11013 };
11014
11015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
11016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11018 arg2 = (int) SWIG_AsInt(obj1);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->SetPrintWrapMode(arg2);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 return resultobj;
11029 fail:
11030 return NULL;
11031}
11032
11033
11034static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11037 int result;
11038 PyObject * obj0 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 result = (int)(arg1)->GetPrintWrapMode();
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 resultobj = SWIG_FromInt((int)result);
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
11060static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11063 bool arg2 ;
11064 wxColour *arg3 = 0 ;
11065 wxColour temp3 ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11076 arg2 = (bool) SWIG_AsBool(obj1);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 {
11079 arg3 = &temp3;
11080 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11081 }
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 Py_INCREF(Py_None); resultobj = Py_None;
11090 return resultobj;
11091 fail:
11092 return NULL;
11093}
11094
11095
11096static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj;
11098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11099 bool arg2 ;
11100 wxColour *arg3 = 0 ;
11101 wxColour temp3 ;
11102 PyObject * obj0 = 0 ;
11103 PyObject * obj1 = 0 ;
11104 PyObject * obj2 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self",(char *) "useSetting",(char *) "back", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11112 arg2 = (bool) SWIG_AsBool(obj1);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 {
11115 arg3 = &temp3;
11116 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11117 }
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 Py_INCREF(Py_None); resultobj = Py_None;
11126 return resultobj;
11127 fail:
11128 return NULL;
11129}
11130
11131
11132static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11135 bool arg2 ;
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self",(char *) "underline", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
11143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11145 arg2 = (bool) SWIG_AsBool(obj1);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 (arg1)->SetHotspotActiveUnderline(arg2);
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 Py_INCREF(Py_None); resultobj = Py_None;
11155 return resultobj;
11156 fail:
11157 return NULL;
11158}
11159
11160
11161static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11164 bool arg2 ;
11165 PyObject * obj0 = 0 ;
11166 PyObject * obj1 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self",(char *) "singleLine", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
11172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11174 arg2 = (bool) SWIG_AsBool(obj1);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 (arg1)->SetHotspotSingleLine(arg2);
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 Py_INCREF(Py_None); resultobj = Py_None;
11184 return resultobj;
11185 fail:
11186 return NULL;
11187}
11188
11189
11190static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11193 PyObject * obj0 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11201 {
11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
11203 (arg1)->ParaDown();
11204
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 Py_INCREF(Py_None); resultobj = Py_None;
11209 return resultobj;
11210 fail:
11211 return NULL;
11212}
11213
11214
11215static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj;
11217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11218 PyObject * obj0 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
11224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 (arg1)->ParaDownExtend();
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 Py_INCREF(Py_None); resultobj = Py_None;
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
11240static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11243 PyObject * obj0 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->ParaUp();
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 return resultobj;
11260 fail:
11261 return NULL;
11262}
11263
11264
11265static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->ParaUpExtend();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 Py_INCREF(Py_None); resultobj = Py_None;
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
11290static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11293 int arg2 ;
11294 int result;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self",(char *) "pos", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11304 arg2 = (int) SWIG_AsInt(obj1);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (int)(arg1)->PositionBefore(arg2);
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 resultobj = SWIG_FromInt((int)result);
11314 return resultobj;
11315 fail:
11316 return NULL;
11317}
11318
11319
11320static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
11321 PyObject *resultobj;
11322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11323 int arg2 ;
11324 int result;
11325 PyObject * obj0 = 0 ;
11326 PyObject * obj1 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "self",(char *) "pos", NULL
11329 };
11330
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
11332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11334 arg2 = (int) SWIG_AsInt(obj1);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (int)(arg1)->PositionAfter(arg2);
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 resultobj = SWIG_FromInt((int)result);
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
11350static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11353 int arg2 ;
11354 int arg3 ;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 PyObject * obj2 = 0 ;
11358 char *kwnames[] = {
11359 (char *) "self",(char *) "start",(char *) "end", NULL
11360 };
11361
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11365 arg2 = (int) SWIG_AsInt(obj1);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 arg3 = (int) SWIG_AsInt(obj2);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 (arg1)->CopyRange(arg2,arg3);
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380}
11381
11382
11383static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj;
11385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11386 int arg2 ;
11387 wxString *arg3 = 0 ;
11388 bool temp3 = False ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 PyObject * obj2 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self",(char *) "length",(char *) "text", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 arg2 = (int) SWIG_AsInt(obj1);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 {
11402 arg3 = wxString_in_helper(obj2);
11403 if (arg3 == NULL) SWIG_fail;
11404 temp3 = True;
11405 }
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 (arg1)->CopyText(arg2,(wxString const &)*arg3);
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 Py_INCREF(Py_None); resultobj = Py_None;
11414 {
11415 if (temp3)
11416 delete arg3;
11417 }
11418 return resultobj;
11419 fail:
11420 {
11421 if (temp3)
11422 delete arg3;
11423 }
11424 return NULL;
11425}
11426
11427
11428static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj;
11430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11431 int arg2 ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "mode", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 arg2 = (int) SWIG_AsInt(obj1);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 (arg1)->SetSelectionMode(arg2);
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 return resultobj;
11452 fail:
11453 return NULL;
11454}
11455
11456
11457static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj;
11459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11460 int result;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (int)(arg1)->GetSelectionMode();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 resultobj = SWIG_FromInt((int)result);
11477 return resultobj;
11478 fail:
11479 return NULL;
11480}
11481
11482
11483static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11486 int arg2 ;
11487 int result;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self",(char *) "line", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 arg2 = (int) SWIG_AsInt(obj1);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 result = (int)(arg1)->GetLineSelStartPosition(arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 resultobj = SWIG_FromInt((int)result);
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
11513static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11516 int arg2 ;
11517 int result;
11518 PyObject * obj0 = 0 ;
11519 PyObject * obj1 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self",(char *) "line", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11527 arg2 = (int) SWIG_AsInt(obj1);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (int)(arg1)->GetLineSelEndPosition(arg2);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 resultobj = SWIG_FromInt((int)result);
11537 return resultobj;
11538 fail:
11539 return NULL;
11540}
11541
11542
11543static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11546 PyObject * obj0 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
11552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->LineDownRectExtend();
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 Py_INCREF(Py_None); resultobj = Py_None;
11562 return resultobj;
11563 fail:
11564 return NULL;
11565}
11566
11567
11568static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11571 PyObject * obj0 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
11577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->LineUpRectExtend();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 Py_INCREF(Py_None); resultobj = Py_None;
11587 return resultobj;
11588 fail:
11589 return NULL;
11590}
11591
11592
11593static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11596 PyObject * obj0 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "self", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 (arg1)->CharLeftRectExtend();
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 Py_INCREF(Py_None); resultobj = Py_None;
11612 return resultobj;
11613 fail:
11614 return NULL;
11615}
11616
11617
11618static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj;
11620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11621 PyObject * obj0 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self", NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
11627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 (arg1)->CharRightRectExtend();
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 return resultobj;
11638 fail:
11639 return NULL;
11640}
11641
11642
11643static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11646 PyObject * obj0 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
11652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 (arg1)->HomeRectExtend();
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 Py_INCREF(Py_None); resultobj = Py_None;
11662 return resultobj;
11663 fail:
11664 return NULL;
11665}
11666
11667
11668static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11671 PyObject * obj0 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
11677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->VCHomeRectExtend();
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
11693static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11696 PyObject * obj0 = 0 ;
11697 char *kwnames[] = {
11698 (char *) "self", NULL
11699 };
11700
11701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
11702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 (arg1)->LineEndRectExtend();
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 Py_INCREF(Py_None); resultobj = Py_None;
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
11718static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11721 PyObject * obj0 = 0 ;
11722 char *kwnames[] = {
11723 (char *) "self", NULL
11724 };
11725
11726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
11727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->PageUpRectExtend();
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740}
11741
11742
11743static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11746 PyObject * obj0 = 0 ;
11747 char *kwnames[] = {
11748 (char *) "self", NULL
11749 };
11750
11751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
11752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 (arg1)->PageDownRectExtend();
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 Py_INCREF(Py_None); resultobj = Py_None;
11762 return resultobj;
11763 fail:
11764 return NULL;
11765}
11766
11767
11768static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11771 PyObject * obj0 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
11777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->StutteredPageUp();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790}
11791
11792
11793static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 (arg1)->StutteredPageUpExtend();
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 Py_INCREF(Py_None); resultobj = Py_None;
11812 return resultobj;
11813 fail:
11814 return NULL;
11815}
11816
11817
11818static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11821 PyObject * obj0 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 (arg1)->StutteredPageDown();
11832
11833 wxPyEndAllowThreads(__tstate);
11834 if (PyErr_Occurred()) SWIG_fail;
11835 }
11836 Py_INCREF(Py_None); resultobj = Py_None;
11837 return resultobj;
11838 fail:
11839 return NULL;
11840}
11841
11842
11843static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11844 PyObject *resultobj;
11845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11846 PyObject * obj0 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "self", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
11852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 (arg1)->StutteredPageDownExtend();
11857
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 Py_INCREF(Py_None); resultobj = Py_None;
11862 return resultobj;
11863 fail:
11864 return NULL;
11865}
11866
11867
11868static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject *resultobj;
11870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11871 PyObject * obj0 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 (arg1)->WordLeftEnd();
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 Py_INCREF(Py_None); resultobj = Py_None;
11887 return resultobj;
11888 fail:
11889 return NULL;
11890}
11891
11892
11893static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11896 PyObject * obj0 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "self", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
11902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 (arg1)->WordLeftEndExtend();
11907
11908 wxPyEndAllowThreads(__tstate);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 Py_INCREF(Py_None); resultobj = Py_None;
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
11918static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11919 PyObject *resultobj;
11920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11921 PyObject * obj0 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "self", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 (arg1)->WordRightEnd();
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 Py_INCREF(Py_None); resultobj = Py_None;
11937 return resultobj;
11938 fail:
11939 return NULL;
11940}
11941
11942
11943static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11944 PyObject *resultobj;
11945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11946 PyObject * obj0 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
11952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 (arg1)->WordRightEndExtend();
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11962 return resultobj;
11963 fail:
11964 return NULL;
11965}
11966
11967
11968static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11971 wxString *arg2 = 0 ;
11972 bool temp2 = False ;
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self",(char *) "characters", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = True;
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 Py_INCREF(Py_None); resultobj = Py_None;
11995 {
11996 if (temp2)
11997 delete arg2;
11998 }
11999 return resultobj;
12000 fail:
12001 {
12002 if (temp2)
12003 delete arg2;
12004 }
12005 return NULL;
12006}
12007
12008
12009static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12012 PyObject * obj0 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
12018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 (arg1)->SetCharsDefault();
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 Py_INCREF(Py_None); resultobj = Py_None;
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
12034static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12037 int result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
96b3fa7c
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (int)(arg1)->AutoCompGetCurrent();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
15afbcd0 12053 resultobj = SWIG_FromInt((int)result);
96b3fa7c
RD
12054 return resultobj;
12055 fail:
12056 return NULL;
12057}
12058
12059
d14a1e28
RD
12060static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
15afbcd0
RD
12069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->StartRecord();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
12085static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
15afbcd0
RD
12094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->StopRecord();
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12113 int arg2 ;
12114 PyObject * obj0 = 0 ;
994141e6 12115 PyObject * obj1 = 0 ;
d14a1e28
RD
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "lexer", NULL
12118 };
12119
994141e6 12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12123 arg2 = (int) SWIG_AsInt(obj1);
12124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 (arg1)->SetLexer(arg2);
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 Py_INCREF(Py_None); resultobj = Py_None;
12133 return resultobj;
12134 fail:
12135 return NULL;
12136}
12137
12138
12139static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj;
12141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12142 int result;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
15afbcd0
RD
12149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 result = (int)(arg1)->GetLexer();
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
15afbcd0 12158 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12159 return resultobj;
12160 fail:
12161 return NULL;
12162}
12163
12164
12165static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12168 int arg2 ;
12169 int arg3 ;
12170 PyObject * obj0 = 0 ;
994141e6
RD
12171 PyObject * obj1 = 0 ;
12172 PyObject * obj2 = 0 ;
d14a1e28
RD
12173 char *kwnames[] = {
12174 (char *) "self",(char *) "start",(char *) "end", NULL
12175 };
12176
994141e6 12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12180 arg2 = (int) SWIG_AsInt(obj1);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 arg3 = (int) SWIG_AsInt(obj2);
12183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 (arg1)->Colourise(arg2,arg3);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 Py_INCREF(Py_None); resultobj = Py_None;
12192 return resultobj;
12193 fail:
12194 return NULL;
12195}
12196
12197
12198static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj;
12200 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12201 wxString *arg2 = 0 ;
12202 wxString *arg3 = 0 ;
e811c8ce
RD
12203 bool temp2 = False ;
12204 bool temp3 = False ;
d14a1e28
RD
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 PyObject * obj2 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self",(char *) "key",(char *) "value", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12215 {
12216 arg2 = wxString_in_helper(obj1);
12217 if (arg2 == NULL) SWIG_fail;
e811c8ce 12218 temp2 = True;
d14a1e28
RD
12219 }
12220 {
12221 arg3 = wxString_in_helper(obj2);
12222 if (arg3 == NULL) SWIG_fail;
e811c8ce 12223 temp3 = True;
d14a1e28
RD
12224 }
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 {
12234 if (temp2)
12235 delete arg2;
12236 }
12237 {
12238 if (temp3)
12239 delete arg3;
12240 }
12241 return resultobj;
12242 fail:
12243 {
12244 if (temp2)
12245 delete arg2;
12246 }
12247 {
12248 if (temp3)
12249 delete arg3;
12250 }
12251 return NULL;
12252}
12253
12254
12255static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
12256 PyObject *resultobj;
12257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12258 int arg2 ;
12259 wxString *arg3 = 0 ;
e811c8ce 12260 bool temp3 = False ;
d14a1e28 12261 PyObject * obj0 = 0 ;
994141e6 12262 PyObject * obj1 = 0 ;
d14a1e28
RD
12263 PyObject * obj2 = 0 ;
12264 char *kwnames[] = {
12265 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
12266 };
12267
994141e6 12268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12271 arg2 = (int) SWIG_AsInt(obj1);
12272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12273 {
12274 arg3 = wxString_in_helper(obj2);
12275 if (arg3 == NULL) SWIG_fail;
e811c8ce 12276 temp3 = True;
d14a1e28
RD
12277 }
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 {
12287 if (temp3)
12288 delete arg3;
12289 }
12290 return resultobj;
12291 fail:
12292 {
12293 if (temp3)
12294 delete arg3;
12295 }
12296 return NULL;
12297}
12298
12299
12300static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12303 wxString *arg2 = 0 ;
e811c8ce 12304 bool temp2 = False ;
d14a1e28
RD
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self",(char *) "language", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12314 {
12315 arg2 = wxString_in_helper(obj1);
12316 if (arg2 == NULL) SWIG_fail;
e811c8ce 12317 temp2 = True;
d14a1e28
RD
12318 }
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetLexerLanguage((wxString const &)*arg2);
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 Py_INCREF(Py_None); resultobj = Py_None;
12327 {
12328 if (temp2)
12329 delete arg2;
12330 }
12331 return resultobj;
12332 fail:
12333 {
12334 if (temp2)
12335 delete arg2;
12336 }
12337 return NULL;
12338}
12339
12340
12341static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12344 int result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
12351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = (int)(arg1)->GetCurrentLine();
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
15afbcd0 12360 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
12367static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12370 int arg2 ;
12371 wxString *arg3 = 0 ;
e811c8ce 12372 bool temp3 = False ;
d14a1e28 12373 PyObject * obj0 = 0 ;
994141e6 12374 PyObject * obj1 = 0 ;
d14a1e28
RD
12375 PyObject * obj2 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
12378 };
12379
994141e6 12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12383 arg2 = (int) SWIG_AsInt(obj1);
12384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12385 {
12386 arg3 = wxString_in_helper(obj2);
12387 if (arg3 == NULL) SWIG_fail;
e811c8ce 12388 temp3 = True;
d14a1e28
RD
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 {
12399 if (temp3)
12400 delete arg3;
12401 }
12402 return resultobj;
12403 fail:
12404 {
12405 if (temp3)
12406 delete arg3;
12407 }
12408 return NULL;
12409}
12410
12411
12412static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12415 int arg2 ;
12416 wxFont *arg3 = 0 ;
12417 PyObject * obj0 = 0 ;
994141e6 12418 PyObject * obj1 = 0 ;
d14a1e28
RD
12419 PyObject * obj2 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self",(char *) "styleNum",(char *) "font", NULL
12422 };
12423
994141e6 12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12427 arg2 = (int) SWIG_AsInt(obj1);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
12430 SWIG_POINTER_EXCEPTION | 0)) == -1)
12431 SWIG_fail;
d14a1e28 12432 if (arg3 == NULL) {
15afbcd0
RD
12433 PyErr_SetString(PyExc_TypeError,"null reference");
12434 SWIG_fail;
d14a1e28
RD
12435 }
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 (arg1)->StyleSetFont(arg2,*arg3);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 Py_INCREF(Py_None); resultobj = Py_None;
12444 return resultobj;
12445 fail:
12446 return NULL;
12447}
12448
12449
12450static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj;
12452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12453 int arg2 ;
12454 int arg3 ;
12455 wxString *arg4 = 0 ;
12456 bool arg5 ;
12457 bool arg6 ;
12458 bool arg7 ;
e811c8ce 12459 bool temp4 = False ;
d14a1e28 12460 PyObject * obj0 = 0 ;
994141e6
RD
12461 PyObject * obj1 = 0 ;
12462 PyObject * obj2 = 0 ;
d14a1e28
RD
12463 PyObject * obj3 = 0 ;
12464 PyObject * obj4 = 0 ;
12465 PyObject * obj5 = 0 ;
12466 PyObject * obj6 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
12469 };
12470
994141e6 12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 arg2 = (int) SWIG_AsInt(obj1);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 arg3 = (int) SWIG_AsInt(obj2);
12477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12478 {
12479 arg4 = wxString_in_helper(obj3);
12480 if (arg4 == NULL) SWIG_fail;
e811c8ce 12481 temp4 = True;
d14a1e28 12482 }
15afbcd0
RD
12483 arg5 = (bool) SWIG_AsBool(obj4);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 arg6 = (bool) SWIG_AsBool(obj5);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 arg7 = (bool) SWIG_AsBool(obj6);
12488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 Py_INCREF(Py_None); resultobj = Py_None;
12497 {
12498 if (temp4)
12499 delete arg4;
12500 }
12501 return resultobj;
12502 fail:
12503 {
12504 if (temp4)
12505 delete arg4;
12506 }
12507 return NULL;
12508}
12509
12510
12511static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12514 int arg2 ;
12515 PyObject * obj0 = 0 ;
994141e6 12516 PyObject * obj1 = 0 ;
d14a1e28
RD
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "cmd", NULL
12519 };
12520
994141e6 12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12524 arg2 = (int) SWIG_AsInt(obj1);
12525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 (arg1)->CmdKeyExecute(arg2);
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 Py_INCREF(Py_None); resultobj = Py_None;
12534 return resultobj;
12535 fail:
12536 return NULL;
12537}
12538
12539
12540static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12543 int arg2 ;
12544 int arg3 ;
12545 PyObject * obj0 = 0 ;
994141e6
RD
12546 PyObject * obj1 = 0 ;
12547 PyObject * obj2 = 0 ;
d14a1e28
RD
12548 char *kwnames[] = {
12549 (char *) "self",(char *) "left",(char *) "right", NULL
12550 };
12551
994141e6 12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12555 arg2 = (int) SWIG_AsInt(obj1);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 arg3 = (int) SWIG_AsInt(obj2);
12558 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 (arg1)->SetMargins(arg2,arg3);
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 Py_INCREF(Py_None); resultobj = Py_None;
12567 return resultobj;
12568 fail:
12569 return NULL;
12570}
12571
12572
12573static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12574 PyObject *resultobj;
12575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12576 int *arg2 = (int *) 0 ;
12577 int *arg3 = (int *) 0 ;
12578 int temp2 ;
12579 int temp3 ;
12580 PyObject * obj0 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self", NULL
12583 };
12584
12585 arg2 = &temp2;
12586 arg3 = &temp3;
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->GetSelection(arg2,arg3);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 Py_INCREF(Py_None); resultobj = Py_None;
12598 {
12599 PyObject *o = PyInt_FromLong((long) (*arg2));
12600 resultobj = t_output_helper(resultobj,o);
12601 }
12602 {
12603 PyObject *o = PyInt_FromLong((long) (*arg3));
12604 resultobj = t_output_helper(resultobj,o);
12605 }
12606 return resultobj;
12607 fail:
12608 return NULL;
12609}
12610
12611
12612static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12615 int arg2 ;
12616 wxPoint result;
12617 PyObject * obj0 = 0 ;
994141e6 12618 PyObject * obj1 = 0 ;
d14a1e28
RD
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "pos", NULL
12621 };
12622
994141e6 12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) 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;
d14a1e28
RD
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 result = (arg1)->PointFromPosition(arg2);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 {
12636 wxPoint * resultptr;
12637 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 12638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12639 }
12640 return resultobj;
12641 fail:
12642 return NULL;
12643}
12644
12645
12646static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12649 int arg2 ;
12650 PyObject * obj0 = 0 ;
994141e6 12651 PyObject * obj1 = 0 ;
d14a1e28
RD
12652 char *kwnames[] = {
12653 (char *) "self",(char *) "line", NULL
12654 };
12655
994141e6 12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 arg2 = (int) SWIG_AsInt(obj1);
12660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 (arg1)->ScrollToLine(arg2);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 Py_INCREF(Py_None); resultobj = Py_None;
12669 return resultobj;
12670 fail:
12671 return NULL;
12672}
12673
12674
12675static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12678 int arg2 ;
12679 PyObject * obj0 = 0 ;
994141e6 12680 PyObject * obj1 = 0 ;
d14a1e28
RD
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "column", NULL
12683 };
12684
994141e6 12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 arg2 = (int) SWIG_AsInt(obj1);
12689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 (arg1)->ScrollToColumn(arg2);
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 Py_INCREF(Py_None); resultobj = Py_None;
12698 return resultobj;
12699 fail:
12700 return NULL;
12701}
12702
12703
12704static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
12705 PyObject *resultobj;
12706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12707 int arg2 ;
12708 long arg3 = (long) 0 ;
12709 long arg4 = (long) 0 ;
12710 long result;
12711 PyObject * obj0 = 0 ;
994141e6
RD
12712 PyObject * obj1 = 0 ;
12713 PyObject * obj2 = 0 ;
12714 PyObject * obj3 = 0 ;
d14a1e28
RD
12715 char *kwnames[] = {
12716 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
12717 };
12718
994141e6 12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12722 arg2 = (int) SWIG_AsInt(obj1);
12723 if (PyErr_Occurred()) SWIG_fail;
994141e6 12724 if (obj2) {
15afbcd0
RD
12725 arg3 = (long) SWIG_AsLong(obj2);
12726 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12727 }
12728 if (obj3) {
15afbcd0
RD
12729 arg4 = (long) SWIG_AsLong(obj3);
12730 if (PyErr_Occurred()) SWIG_fail;
994141e6 12731 }
d14a1e28
RD
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
15afbcd0 12739 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12740 return resultobj;
12741 fail:
12742 return NULL;
12743}
12744
12745
12746static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj;
12748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12749 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12750 PyObject * obj0 = 0 ;
12751 PyObject * obj1 = 0 ;
12752 char *kwnames[] = {
12753 (char *) "self",(char *) "bar", NULL
12754 };
12755
12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",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 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 (arg1)->SetVScrollBar(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
12775static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12778 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12779 PyObject * obj0 = 0 ;
12780 PyObject * obj1 = 0 ;
12781 char *kwnames[] = {
12782 (char *) "self",(char *) "bar", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 (arg1)->SetHScrollBar(arg2);
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 Py_INCREF(Py_None); resultobj = Py_None;
12798 return resultobj;
12799 fail:
12800 return NULL;
12801}
12802
12803
12804static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj;
12806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12807 bool result;
12808 PyObject * obj0 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15afbcd0
RD
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 result = (bool)(arg1)->GetLastKeydownProcessed();
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
4d5c3d91 12823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
12830static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12833 bool arg2 ;
12834 PyObject * obj0 = 0 ;
12835 PyObject * obj1 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self",(char *) "val", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12843 arg2 = (bool) SWIG_AsBool(obj1);
12844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->SetLastKeydownProcessed(arg2);
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 Py_INCREF(Py_None); resultobj = Py_None;
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
12859static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12862 wxString *arg2 = 0 ;
12863 bool result;
e811c8ce 12864 bool temp2 = False ;
d14a1e28
RD
12865 PyObject * obj0 = 0 ;
12866 PyObject * obj1 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self",(char *) "filename", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12874 {
12875 arg2 = wxString_in_helper(obj1);
12876 if (arg2 == NULL) SWIG_fail;
e811c8ce 12877 temp2 = True;
d14a1e28
RD
12878 }
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12882
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
4d5c3d91 12886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12887 {
12888 if (temp2)
12889 delete arg2;
12890 }
12891 return resultobj;
12892 fail:
12893 {
12894 if (temp2)
12895 delete arg2;
12896 }
12897 return NULL;
12898}
12899
12900
12901static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12904 wxString *arg2 = 0 ;
12905 bool result;
e811c8ce 12906 bool temp2 = False ;
d14a1e28
RD
12907 PyObject * obj0 = 0 ;
12908 PyObject * obj1 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self",(char *) "filename", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",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;
d14a1e28
RD
12916 {
12917 arg2 = wxString_in_helper(obj1);
12918 if (arg2 == NULL) SWIG_fail;
e811c8ce 12919 temp2 = True;
d14a1e28
RD
12920 }
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
4d5c3d91 12928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12929 {
12930 if (temp2)
12931 delete arg2;
12932 }
12933 return resultobj;
12934 fail:
12935 {
12936 if (temp2)
12937 delete arg2;
12938 }
12939 return NULL;
12940}
12941
12942
12943static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
e811c8ce
RD
12946 int arg2 ;
12947 int arg3 ;
96b3fa7c
RD
12948 int arg4 ;
12949 int result;
d14a1e28 12950 PyObject * obj0 = 0 ;
994141e6
RD
12951 PyObject * obj1 = 0 ;
12952 PyObject * obj2 = 0 ;
d14a1e28
RD
12953 PyObject * obj3 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
12956 };
12957
994141e6 12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12961 arg2 = (int) SWIG_AsInt(obj1);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 arg3 = (int) SWIG_AsInt(obj2);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 arg4 = (wxDragResult) SWIG_AsInt(obj3);
12966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 12969 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
15afbcd0 12974 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12975 return resultobj;
12976 fail:
12977 return NULL;
12978}
12979
12980
12981static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
12982 PyObject *resultobj;
12983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12984 long arg2 ;
12985 long arg3 ;
12986 wxString *arg4 = 0 ;
12987 bool result;
e811c8ce 12988 bool temp4 = False ;
d14a1e28 12989 PyObject * obj0 = 0 ;
994141e6
RD
12990 PyObject * obj1 = 0 ;
12991 PyObject * obj2 = 0 ;
d14a1e28
RD
12992 PyObject * obj3 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
12995 };
12996
994141e6 12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13000 arg2 = (long) SWIG_AsLong(obj1);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 arg3 = (long) SWIG_AsLong(obj2);
13003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13004 {
13005 arg4 = wxString_in_helper(obj3);
13006 if (arg4 == NULL) SWIG_fail;
e811c8ce 13007 temp4 = True;
d14a1e28
RD
13008 }
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
4d5c3d91 13016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13017 {
13018 if (temp4)
13019 delete arg4;
13020 }
13021 return resultobj;
13022 fail:
13023 {
13024 if (temp4)
13025 delete arg4;
13026 }
13027 return NULL;
13028}
13029
13030
db914595
RD
13031static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13032 PyObject *resultobj;
13033 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13034 bool arg2 ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "self",(char *) "useAA", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13044 arg2 = (bool) SWIG_AsBool(obj1);
13045 if (PyErr_Occurred()) SWIG_fail;
db914595
RD
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 (arg1)->SetUseAntiAliasing(arg2);
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 Py_INCREF(Py_None); resultobj = Py_None;
13054 return resultobj;
13055 fail:
13056 return NULL;
13057}
13058
13059
13060static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13063 bool result;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
13070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 result = (bool)(arg1)->GetUseAntiAliasing();
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
d14a1e28
RD
13086static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
13087 PyObject *obj;
13088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
13090 Py_INCREF(obj);
13091 return Py_BuildValue((char *)"");
13092}
13093static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxEventType arg1 = (wxEventType) 0 ;
13096 int arg2 = (int) 0 ;
13097 wxStyledTextEvent *result;
994141e6
RD
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
d14a1e28
RD
13100 char *kwnames[] = {
13101 (char *) "commandType",(char *) "id", NULL
13102 };
13103
994141e6
RD
13104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
13105 if (obj0) {
15afbcd0
RD
13106 arg1 = (wxEventType) SWIG_AsInt(obj0);
13107 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13108 }
13109 if (obj1) {
15afbcd0
RD
13110 arg2 = (int) SWIG_AsInt(obj1);
13111 if (PyErr_Occurred()) SWIG_fail;
994141e6 13112 }
d14a1e28
RD
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
15afbcd0 13120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
d14a1e28
RD
13121 return resultobj;
13122 fail:
13123 return NULL;
13124}
13125
13126
13127static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 delete arg1;
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 Py_INCREF(Py_None); resultobj = Py_None;
13146 return resultobj;
13147 fail:
13148 return NULL;
13149}
13150
13151
13152static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13155 int arg2 ;
13156 PyObject * obj0 = 0 ;
994141e6 13157 PyObject * obj1 = 0 ;
d14a1e28
RD
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "pos", NULL
13160 };
13161
994141e6 13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13165 arg2 = (int) SWIG_AsInt(obj1);
13166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->SetPosition(arg2);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178}
13179
13180
13181static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13184 int arg2 ;
13185 PyObject * obj0 = 0 ;
994141e6 13186 PyObject * obj1 = 0 ;
d14a1e28
RD
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "k", NULL
13189 };
13190
994141e6 13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13194 arg2 = (int) SWIG_AsInt(obj1);
13195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->SetKey(arg2);
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207}
13208
13209
13210static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13213 int arg2 ;
13214 PyObject * obj0 = 0 ;
994141e6 13215 PyObject * obj1 = 0 ;
d14a1e28
RD
13216 char *kwnames[] = {
13217 (char *) "self",(char *) "m", NULL
13218 };
13219
994141e6 13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13223 arg2 = (int) SWIG_AsInt(obj1);
13224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->SetModifiers(arg2);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 Py_INCREF(Py_None); resultobj = Py_None;
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
13239static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13242 int arg2 ;
13243 PyObject * obj0 = 0 ;
994141e6 13244 PyObject * obj1 = 0 ;
d14a1e28
RD
13245 char *kwnames[] = {
13246 (char *) "self",(char *) "t", NULL
13247 };
13248
994141e6 13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13252 arg2 = (int) SWIG_AsInt(obj1);
13253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->SetModificationType(arg2);
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 Py_INCREF(Py_None); resultobj = Py_None;
13262 return resultobj;
13263 fail:
13264 return NULL;
13265}
13266
13267
13268static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13271 wxString *arg2 = 0 ;
e811c8ce 13272 bool temp2 = False ;
d14a1e28
RD
13273 PyObject * obj0 = 0 ;
13274 PyObject * obj1 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "self",(char *) "t", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13282 {
13283 arg2 = wxString_in_helper(obj1);
13284 if (arg2 == NULL) SWIG_fail;
e811c8ce 13285 temp2 = True;
d14a1e28
RD
13286 }
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->SetText((wxString const &)*arg2);
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 Py_INCREF(Py_None); resultobj = Py_None;
13295 {
13296 if (temp2)
13297 delete arg2;
13298 }
13299 return resultobj;
13300 fail:
13301 {
13302 if (temp2)
13303 delete arg2;
13304 }
13305 return NULL;
13306}
13307
13308
13309static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13312 int arg2 ;
13313 PyObject * obj0 = 0 ;
994141e6 13314 PyObject * obj1 = 0 ;
d14a1e28
RD
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "len", NULL
13317 };
13318
994141e6 13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 arg2 = (int) SWIG_AsInt(obj1);
13323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->SetLength(arg2);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 Py_INCREF(Py_None); resultobj = Py_None;
13332 return resultobj;
13333 fail:
13334 return NULL;
13335}
13336
13337
13338static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13341 int arg2 ;
13342 PyObject * obj0 = 0 ;
994141e6 13343 PyObject * obj1 = 0 ;
d14a1e28
RD
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "num", NULL
13346 };
13347
994141e6 13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 arg2 = (int) SWIG_AsInt(obj1);
13352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->SetLinesAdded(arg2);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 return resultobj;
13362 fail:
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13370 int arg2 ;
13371 PyObject * obj0 = 0 ;
994141e6 13372 PyObject * obj1 = 0 ;
d14a1e28
RD
13373 char *kwnames[] = {
13374 (char *) "self",(char *) "val", NULL
13375 };
13376
994141e6 13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13380 arg2 = (int) SWIG_AsInt(obj1);
13381 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 (arg1)->SetLine(arg2);
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 Py_INCREF(Py_None); resultobj = Py_None;
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13399 int arg2 ;
13400 PyObject * obj0 = 0 ;
994141e6 13401 PyObject * obj1 = 0 ;
d14a1e28
RD
13402 char *kwnames[] = {
13403 (char *) "self",(char *) "val", NULL
13404 };
13405
994141e6 13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13409 arg2 = (int) SWIG_AsInt(obj1);
13410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetFoldLevelNow(arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
13425static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13428 int arg2 ;
13429 PyObject * obj0 = 0 ;
994141e6 13430 PyObject * obj1 = 0 ;
d14a1e28
RD
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "val", NULL
13433 };
13434
994141e6 13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 arg2 = (int) SWIG_AsInt(obj1);
13439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetFoldLevelPrev(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 return resultobj;
13449 fail:
13450 return NULL;
13451}
13452
13453
13454static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13457 int arg2 ;
13458 PyObject * obj0 = 0 ;
994141e6 13459 PyObject * obj1 = 0 ;
d14a1e28
RD
13460 char *kwnames[] = {
13461 (char *) "self",(char *) "val", NULL
13462 };
13463
994141e6 13464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13467 arg2 = (int) SWIG_AsInt(obj1);
13468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->SetMargin(arg2);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 Py_INCREF(Py_None); resultobj = Py_None;
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
13483static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13486 int arg2 ;
13487 PyObject * obj0 = 0 ;
994141e6 13488 PyObject * obj1 = 0 ;
d14a1e28
RD
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "val", NULL
13491 };
13492
994141e6 13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13496 arg2 = (int) SWIG_AsInt(obj1);
13497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->SetMessage(arg2);
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 Py_INCREF(Py_None); resultobj = Py_None;
13506 return resultobj;
13507 fail:
13508 return NULL;
13509}
13510
13511
13512static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13515 int arg2 ;
13516 PyObject * obj0 = 0 ;
994141e6 13517 PyObject * obj1 = 0 ;
d14a1e28
RD
13518 char *kwnames[] = {
13519 (char *) "self",(char *) "val", NULL
13520 };
13521
994141e6 13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 arg2 = (int) SWIG_AsInt(obj1);
13526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->SetWParam(arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538}
13539
13540
13541static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13544 int arg2 ;
13545 PyObject * obj0 = 0 ;
994141e6 13546 PyObject * obj1 = 0 ;
d14a1e28
RD
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "val", NULL
13549 };
13550
994141e6 13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 arg2 = (int) SWIG_AsInt(obj1);
13555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->SetLParam(arg2);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 return resultobj;
13565 fail:
13566 return NULL;
13567}
13568
13569
13570static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
13571 PyObject *resultobj;
13572 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13573 int arg2 ;
13574 PyObject * obj0 = 0 ;
994141e6 13575 PyObject * obj1 = 0 ;
d14a1e28
RD
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "val", NULL
13578 };
13579
994141e6 13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13583 arg2 = (int) SWIG_AsInt(obj1);
13584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->SetListType(arg2);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 Py_INCREF(Py_None); resultobj = Py_None;
13593 return resultobj;
13594 fail:
13595 return NULL;
13596}
13597
13598
13599static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj;
13601 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13602 int arg2 ;
13603 PyObject * obj0 = 0 ;
994141e6 13604 PyObject * obj1 = 0 ;
d14a1e28
RD
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "val", NULL
13607 };
13608
994141e6 13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13612 arg2 = (int) SWIG_AsInt(obj1);
13613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 (arg1)->SetX(arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 Py_INCREF(Py_None); resultobj = Py_None;
13622 return resultobj;
13623 fail:
13624 return NULL;
13625}
13626
13627
13628static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13631 int arg2 ;
13632 PyObject * obj0 = 0 ;
994141e6 13633 PyObject * obj1 = 0 ;
d14a1e28
RD
13634 char *kwnames[] = {
13635 (char *) "self",(char *) "val", NULL
13636 };
13637
994141e6 13638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13641 arg2 = (int) SWIG_AsInt(obj1);
13642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 (arg1)->SetY(arg2);
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 Py_INCREF(Py_None); resultobj = Py_None;
13651 return resultobj;
13652 fail:
13653 return NULL;
13654}
13655
13656
13657static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13660 wxString *arg2 = 0 ;
e811c8ce 13661 bool temp2 = False ;
d14a1e28
RD
13662 PyObject * obj0 = 0 ;
13663 PyObject * obj1 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self",(char *) "val", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13671 {
13672 arg2 = wxString_in_helper(obj1);
13673 if (arg2 == NULL) SWIG_fail;
e811c8ce 13674 temp2 = True;
d14a1e28
RD
13675 }
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 (arg1)->SetDragText((wxString const &)*arg2);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 {
13685 if (temp2)
13686 delete arg2;
13687 }
13688 return resultobj;
13689 fail:
13690 {
13691 if (temp2)
13692 delete arg2;
13693 }
13694 return NULL;
13695}
13696
13697
13698static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
13699 PyObject *resultobj;
13700 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13701 bool arg2 ;
13702 PyObject * obj0 = 0 ;
13703 PyObject * obj1 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "self",(char *) "val", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13711 arg2 = (bool) SWIG_AsBool(obj1);
13712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 (arg1)->SetDragAllowMove(arg2);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 Py_INCREF(Py_None); resultobj = Py_None;
13721 return resultobj;
13722 fail:
13723 return NULL;
13724}
13725
13726
13727static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 13730 int arg2 ;
d14a1e28
RD
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self",(char *) "val", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13740 arg2 = (wxDragResult) SWIG_AsInt(obj1);
13741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 13744 (arg1)->SetDragResult((wxDragResult )arg2);
d14a1e28
RD
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 Py_INCREF(Py_None); resultobj = Py_None;
13750 return resultobj;
13751 fail:
13752 return NULL;
13753}
13754
13755
13756static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13759 int result;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
15afbcd0 13775 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13776 return resultobj;
13777 fail:
13778 return NULL;
13779}
13780
13781
13782static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13785 int result;
13786 PyObject * obj0 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "self", NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
13792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
15afbcd0 13801 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13802 return resultobj;
13803 fail:
13804 return NULL;
13805}
13806
13807
13808static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj;
13810 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13811 int result;
13812 PyObject * obj0 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "self", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
13818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
15afbcd0 13827 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13828 return resultobj;
13829 fail:
13830 return NULL;
13831}
13832
13833
13834static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13837 int result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
15afbcd0
RD
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
15afbcd0 13853 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13854 return resultobj;
13855 fail:
13856 return NULL;
13857}
13858
13859
13860static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13863 wxString result;
13864 PyObject * obj0 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "self", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
13870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = ((wxStyledTextEvent const *)arg1)->GetText();
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 {
13880#if wxUSE_UNICODE
13881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13882#else
13883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13884#endif
13885 }
13886 return resultobj;
13887 fail:
13888 return NULL;
13889}
13890
13891
13892static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13895 int result;
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
13902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
15afbcd0 13911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13912 return resultobj;
13913 fail:
13914 return NULL;
13915}
13916
13917
13918static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13921 int result;
13922 PyObject * obj0 = 0 ;
13923 char *kwnames[] = {
13924 (char *) "self", NULL
13925 };
13926
13927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
15afbcd0
RD
13928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
15afbcd0 13937 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13938 return resultobj;
13939 fail:
13940 return NULL;
13941}
13942
13943
13944static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13947 int result;
13948 PyObject * obj0 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "self", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
13954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
15afbcd0 13963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
13970static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj;
13972 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13973 int result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
15afbcd0 13989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13999 int result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
15afbcd0
RD
14006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
15afbcd0 14015 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14016 return resultobj;
14017 fail:
14018 return NULL;
14019}
14020
14021
14022static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14025 int result;
14026 PyObject * obj0 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
15afbcd0 14041 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14042 return resultobj;
14043 fail:
14044 return NULL;
14045}
14046
14047
14048static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj;
14050 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14051 int result;
14052 PyObject * obj0 = 0 ;
14053 char *kwnames[] = {
14054 (char *) "self", NULL
14055 };
14056
14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
14058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
14063
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
15afbcd0 14067 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14068 return resultobj;
14069 fail:
14070 return NULL;
14071}
14072
14073
14074static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14077 int result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
15afbcd0
RD
14084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
15afbcd0 14093 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14094 return resultobj;
14095 fail:
14096 return NULL;
14097}
14098
14099
14100static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14103 int result;
14104 PyObject * obj0 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
15afbcd0
RD
14110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
14115
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
15afbcd0 14119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14120 return resultobj;
14121 fail:
14122 return NULL;
14123}
14124
14125
14126static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj;
14128 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14129 int result;
14130 PyObject * obj0 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
15afbcd0
RD
14136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
15afbcd0 14145 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
14152static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14155 int result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
15afbcd0 14171 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14172 return resultobj;
14173 fail:
14174 return NULL;
14175}
14176
14177
14178static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14181 int result;
14182 PyObject * obj0 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "self", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
15afbcd0 14197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
14204static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14207 wxString result;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
15afbcd0
RD
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (arg1)->GetDragText();
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 {
14224#if wxUSE_UNICODE
14225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14226#else
14227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14228#endif
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233}
14234
14235
14236static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14239 bool result;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
14246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (bool)(arg1)->GetDragAllowMove();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
4d5c3d91 14255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14256 return resultobj;
14257 fail:
14258 return NULL;
14259}
14260
14261
14262static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 14265 int result;
d14a1e28
RD
14266 PyObject * obj0 = 0 ;
14267 char *kwnames[] = {
14268 (char *) "self", NULL
14269 };
14270
14271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
15afbcd0
RD
14272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
96b3fa7c 14276 result = (int)(arg1)->GetDragResult();
d14a1e28
RD
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
15afbcd0 14281 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14282 return resultobj;
14283 fail:
14284 return NULL;
14285}
14286
14287
14288static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14291 bool result;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
15afbcd0
RD
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
4d5c3d91 14307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
14314static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14317 bool result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
4d5c3d91 14333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14334 return resultobj;
14335 fail:
14336 return NULL;
14337}
14338
14339
14340static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj;
14342 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14343 bool result;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
15afbcd0
RD
14350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
4d5c3d91 14359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14360 return resultobj;
14361 fail:
14362 return NULL;
14363}
14364
14365
14366static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14369 wxEvent *result;
14370 PyObject * obj0 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
15afbcd0 14385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
14386 return resultobj;
14387 fail:
14388 return NULL;
14389}
14390
14391
14392static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
14393 PyObject *obj;
14394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14395 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
14396 Py_INCREF(obj);
14397 return Py_BuildValue((char *)"");
14398}
14399static PyMethodDef SwigMethods[] = {
14400 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14401 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14402 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
14403 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
14404 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
14405 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
14406 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
14407 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
14408 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
14409 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
14410 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14411 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
14412 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
14413 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
14414 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14415 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
14416 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
14417 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
14418 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
14419 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
14420 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
14421 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14422 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14423 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14424 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
14425 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
14426 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
14427 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
14428 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
14429 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
14430 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
14431 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
14432 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
14433 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
14434 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
14435 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
14436 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14437 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14438 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
14439 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
14440 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
14441 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
14442 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
14443 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
14444 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
14445 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
14446 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
14447 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
14448 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
14449 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
14450 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
14451 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
14452 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
14453 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14454 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14455 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
14456 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
14457 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14458 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14459 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
14460 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
14461 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
14462 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
14463 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
14464 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
14465 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
14466 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
14467 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
14468 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
14469 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
14470 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
14471 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
14472 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
14473 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
14474 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14475 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
14476 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
14477 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
14478 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
14479 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
14480 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14481 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14482 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
14483 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
14484 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
14485 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
14486 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
14487 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
14488 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
14489 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
14490 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
14491 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
14492 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
14493 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
14494 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
14495 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
14496 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14497 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14498 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14499 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14500 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
14501 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
14502 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
14503 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
14504 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
14505 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
14506 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
14507 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
14508 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
14509 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
14510 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14511 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14512 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
14513 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14514 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14515 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14516 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14517 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
14518 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
14519 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
14520 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14521 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14522 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
14523 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
14524 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14525 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14526 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
14527 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
14528 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
14529 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
14530 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14531 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14532 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
14533 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
14534 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14535 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14536 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14537 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14538 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14539 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14540 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
14541 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
14542 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14543 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
14544 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14545 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14546 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14547 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14548 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14549 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14550 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14551 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14552 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14553 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
14554 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
14555 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
14556 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
14557 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
14558 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14559 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14560 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
14561 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
14562 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
14563 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
14564 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
14565 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
14566 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
14567 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
14568 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
14569 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
14570 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
14571 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
14572 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14573 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
14574 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
14575 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
14576 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
14577 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
14578 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
14579 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
14580 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
14581 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
14582 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
14583 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
14584 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
14585 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
14586 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14587 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14588 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
14589 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
14590 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14591 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14592 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
14593 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
14594 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
14595 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14596 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14597 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
14598 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
14599 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
14600 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
14601 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
14602 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
14603 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
14604 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
14605 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
14606 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
14607 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14608 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14609 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
14610 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
14611 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
14612 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
14613 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
14614 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14615 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14616 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
14617 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
14618 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
14619 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
14620 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
14621 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
14622 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14623 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14624 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14625 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14626 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
14627 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
14628 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
14629 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
14630 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14631 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14632 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14633 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14634 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
14635 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14636 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14637 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
14638 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14639 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14640 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
14641 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14642 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14643 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
14644 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
14645 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
14646 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
14647 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
14648 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS },
14649 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS },
14650 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS },
14651 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS },
14652 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS },
14653 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS },
14654 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS },
14655 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS },
14656 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS },
14657 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS },
14658 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS },
14659 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS },
14660 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS },
14661 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS },
14662 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS },
14663 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS },
14664 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS },
14665 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS },
14666 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS },
14667 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS },
14668 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS },
14669 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS },
14670 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS },
14671 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS },
14672 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS },
14673 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS },
14674 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS },
14675 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS },
14676 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS },
14677 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS },
14678 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS },
14679 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS },
14680 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS },
14681 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS },
14682 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS },
14683 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS },
14684 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS },
14685 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS },
14686 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS },
14687 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS },
d14a1e28 14688 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
14689 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS },
14690 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS },
14691 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS },
14692 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS },
14693 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
14694 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
14695 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14696 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
14697 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
14698 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS },
14699 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14700 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS },
14701 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS },
14702 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS },
14703 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
14704 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
14705 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
14706 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
14707 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
14708 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
14709 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
14710 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
14711 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
14712 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
14713 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
14714 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
14715 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14716 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14717 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14718 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14719 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14720 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14721 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
14722 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
14723 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
14724 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
14725 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
14726 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
14727 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
14728 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
14729 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
14730 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
14731 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
14732 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
14733 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14734 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14735 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
14736 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
14737 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14738 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14739 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14740 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14741 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14742 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14743 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
14744 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
14745 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
14746 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
14747 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
14748 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
14749 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
14750 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
14751 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
14752 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
14753 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14754 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14755 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14756 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14757 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
14758 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
14759 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
96b3fa7c 14760 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
14761 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS },
14762 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS },
14763 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS },
14764 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
14765 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
14766 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
14767 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
14768 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
96b3fa7c
RD
14769 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14770 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14771 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
14772 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
14773 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14774 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14775 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS },
14776 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS },
14777 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14778 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14779 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS },
14780 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14781 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14782 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS },
14783 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS },
14784 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS },
14785 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS },
14786 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS },
14787 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS },
14788 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS },
14789 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS },
96b3fa7c
RD
14790 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
14791 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
14792 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
14793 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
14794 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
14795 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
14796 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
14797 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
14798 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
14799 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
14800 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
14801 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
14802 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
14803 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
14804 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
14805 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
14806 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
14807 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
14808 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
14809 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
14810 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
14811 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
14812 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
14813 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
14814 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14815 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14816 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
14817 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
14818 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
14819 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
db914595
RD
14820 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14821 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
14822 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
14823 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14824 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14825 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
14826 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
14827 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
14828 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
14829 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
14830 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
14831 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14832 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
14833 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14834 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14835 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
14836 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
14837 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
14838 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
14839 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
14840 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
14841 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
14842 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
14843 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14844 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
14845 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14846 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
14847 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
14848 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
14849 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
14850 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
14851 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14852 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
14853 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14854 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14855 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
14856 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
14857 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
14858 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
14859 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
14860 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
14861 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
14862 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
14863 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14864 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
14865 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
14866 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14867 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
14868 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
14869 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
14870 { NULL, NULL }
14871};
14872
14873
14874/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14875
14876static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14877 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14878}
14879static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14880 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14881}
14882static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14883 return (void *)((wxObject *) ((wxSizerItem *) x));
14884}
14885static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14887}
14888static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14889 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14890}
14891static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14892 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14893}
14894static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14895 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14896}
14897static void *_p_wxSizerTo_p_wxObject(void *x) {
14898 return (void *)((wxObject *) ((wxSizer *) x));
14899}
14900static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14901 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14902}
96b3fa7c
RD
14903static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
14904 return (void *)((wxObject *) ((wxFileHistory *) x));
14905}
d14a1e28
RD
14906static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14908}
14909static void *_p_wxEventTo_p_wxObject(void *x) {
14910 return (void *)((wxObject *) ((wxEvent *) x));
14911}
14912static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14913 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
14914}
14915static void *_p_wxGridSizerTo_p_wxObject(void *x) {
14916 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
14917}
14918static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14919 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14920}
d14a1e28
RD
14921static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14922 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14923}
14924static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14925 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14926}
0df68c9f
RD
14927static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
14928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
14929}
d14a1e28
RD
14930static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14931 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14932}
14933static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14934 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14935}
14936static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14937 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14938}
14939static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14940 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14941}
14942static void *_p_wxControlTo_p_wxObject(void *x) {
14943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14944}
14945static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14946 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14947}
96b3fa7c
RD
14948static void *_p_wxTimerEventTo_p_wxObject(void *x) {
14949 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
14950}
d14a1e28
RD
14951static void *_p_wxFSFileTo_p_wxObject(void *x) {
14952 return (void *)((wxObject *) ((wxFSFile *) x));
14953}
96b3fa7c
RD
14954static void *_p_wxClipboardTo_p_wxObject(void *x) {
14955 return (void *)((wxObject *) ((wxClipboard *) x));
14956}
d14a1e28
RD
14957static void *_p_wxPySizerTo_p_wxObject(void *x) {
14958 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14959}
14960static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
14961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
14962}
14963static void *_p_wxPyEventTo_p_wxObject(void *x) {
14964 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14965}
14966static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14968}
14969static void *_p_wxShowEventTo_p_wxObject(void *x) {
14970 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14971}
96b3fa7c
RD
14972static void *_p_wxToolTipTo_p_wxObject(void *x) {
14973 return (void *)((wxObject *) ((wxToolTip *) x));
14974}
d14a1e28
RD
14975static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14976 return (void *)((wxObject *) ((wxMenuItem *) x));
14977}
14978static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14979 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14980}
14981static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14983}
14984static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14985 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14986}
14987static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14988 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14989}
14990static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14991 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14992}
14993static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14994 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14995}
14996static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14997 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14998}
14999static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15000 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15001}
15002static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15003 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15004}
15005static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15006 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15007}
15008static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15009 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15010}
15011static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15012 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15013}
15014static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15015 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15016}
15017static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15018 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15019}
15020static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15021 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15022}
15023static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15024 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15025}
15026static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15027 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15028}
15029static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15030 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15031}
15032static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15033 return (void *)((wxObject *) ((wxImageHandler *) x));
15034}
15035static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15036 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15037}
15038static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15039 return (void *)((wxObject *) ((wxEvtHandler *) x));
15040}
0df68c9f
RD
15041static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15042 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15043}
d14a1e28
RD
15044static void *_p_wxImageTo_p_wxObject(void *x) {
15045 return (void *)((wxObject *) ((wxImage *) x));
15046}
15047static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15048 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15049}
96b3fa7c
RD
15050static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
15051 return (void *)((wxObject *) ((wxSystemOptions *) x));
15052}
15053static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
15054 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
15055}
d14a1e28
RD
15056static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15057 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15058}
15059static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15060 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15061}
15062static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15063 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15064}
15065static void *_p_wxWindowTo_p_wxObject(void *x) {
15066 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15067}
15068static void *_p_wxMenuTo_p_wxObject(void *x) {
15069 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15070}
15071static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15073}
96b3fa7c
RD
15074static void *_p_wxPyProcessTo_p_wxObject(void *x) {
15075 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
15076}
d14a1e28
RD
15077static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15078 return (void *)((wxObject *) ((wxFileSystem *) x));
15079}
15080static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15082}
15083static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15084 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15085}
15086static void *_p_wxPyAppTo_p_wxObject(void *x) {
15087 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15088}
15089static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15090 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15091}
15092static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15093 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15094}
15095static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15096 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15097}
96b3fa7c
RD
15098static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
15099 return (void *)((wxObject *) ((wxBusyInfo *) x));
15100}
d14a1e28
RD
15101static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15103}
15104static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15105 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15106}
15107static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15108 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15109}
15110static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15111 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15112}
15113static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15115}
96b3fa7c
RD
15116static void *_p_wxProcessEventTo_p_wxObject(void *x) {
15117 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
15118}
d14a1e28
RD
15119static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15121}
15122static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15123 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15124}
15125static void *_p_wxValidatorTo_p_wxObject(void *x) {
15126 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15127}
96b3fa7c
RD
15128static void *_p_wxPyTimerTo_p_wxObject(void *x) {
15129 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
15130}
d14a1e28
RD
15131static void *_p_wxControlTo_p_wxWindow(void *x) {
15132 return (void *)((wxWindow *) ((wxControl *) x));
15133}
15134static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15135 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15136}
15137static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
15138 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
15139}
15140static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15141 return (void *)((wxWindow *) ((wxMenuBar *) x));
15142}
15143static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15144 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15145}
15146static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15147 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15148}
15149static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15150 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15151}
15152static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15153 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15154}
15155static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
15156 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
15157}
15158static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15159 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15160}
15161static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15162 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15163}
15164static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15165 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15166}
15167static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15168 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15169}
15170static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15172}
15173static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15174 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15175}
15176static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15178}
15179static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15180 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15181}
96b3fa7c
RD
15182static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
15183 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
15184}
d14a1e28
RD
15185static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
15186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15187}
15188static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15189 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15190}
15191static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15192 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15193}
15194static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15195 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15196}
15197static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15198 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15199}
96b3fa7c
RD
15200static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
15201 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
15202}
d14a1e28
RD
15203static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15204 return (void *)((wxControl *) ((wxControlWithItems *) x));
15205}
15206static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
15207 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
15208}
15209static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15211}
15212static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15213 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15214}
15215static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15216 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15217}
15218static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15219 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15220}
15221static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15222 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15223}
15224static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15225 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15226}
96b3fa7c
RD
15227static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
15228 return (void *)((wxEvent *) ((wxTimerEvent *) x));
15229}
d14a1e28
RD
15230static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15231 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15232}
15233static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15235}
15236static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15237 return (void *)((wxEvent *) ((wxPyEvent *) x));
15238}
15239static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15241}
96b3fa7c
RD
15242static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
15243 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
15244}
d14a1e28
RD
15245static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15246 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15247}
15248static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15250}
15251static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15252 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15253}
15254static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15255 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15256}
15257static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15258 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15259}
15260static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15261 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15262}
15263static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15264 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15265}
15266static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15267 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15268}
15269static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15270 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15271}
15272static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15273 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15274}
15275static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
15276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
15277}
15278static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15279 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15280}
15281static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15282 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15283}
15284static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15285 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15286}
15287static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15288 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15289}
15290static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15291 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15292}
15293static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15294 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15295}
15296static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15297 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15298}
15299static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15301}
96b3fa7c
RD
15302static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
15303 return (void *)((wxEvent *) ((wxProcessEvent *) x));
15304}
d14a1e28
RD
15305static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15306 return (void *)((wxEvent *) ((wxShowEvent *) x));
15307}
15308static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15309 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15310}
15311static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15313}
15314static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15316}
15317static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15318 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15319}
15320static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15321 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15322}
15323static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15324 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15325}
15afbcd0
RD
15326static 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}};
15327static 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}};
15328static 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}};
15329static 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}};
15330static 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}};
15331static 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}};
15332static 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}};
15333static 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}};
15334static 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}};
15335static 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}};
15336static 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}};
15337static 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}};
15338static 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}};
15339static 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}};
15340static 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}};
15341static 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}};
15342static 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}};
15343static 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}};
15344static 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
15345
15346static swig_type_info *swig_types_initial[] = {
15347_swigt__p_wxRect,
15348_swigt__p_wxColour,
15349_swigt__p_wxObject,
15350_swigt__p_wxScrollBar,
15351_swigt__p_wxStyledTextEvent,
15352_swigt__p_wxWindow,
15353_swigt__p_wxCommandEvent,
15354_swigt__p_wxBitmap,
15355_swigt__p_void,
15356_swigt__p_wxPoint,
15357_swigt__p_wxDC,
4d5c3d91 15358_swigt__p_char,
d14a1e28
RD
15359_swigt__p_wxEvtHandler,
15360_swigt__p_wxStyledTextCtrl,
15361_swigt__p_wxFont,
15362_swigt__p_wxControl,
15363_swigt__p_wxEvent,
15364_swigt__p_int,
15365_swigt__p_wxMemoryBuffer,
153660
15367};
15368
15369
15370/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15371
15372static swig_const_info swig_const_table[] = {
d14a1e28
RD
15373{0}};
15374
15375#ifdef __cplusplus
15376}
15377#endif
15378
15379#ifdef __cplusplus
15380extern "C"
15381#endif
15382SWIGEXPORT(void) SWIG_init(void) {
15383 static PyObject *SWIG_globals = 0;
15384 static int typeinit = 0;
15385 PyObject *m, *d;
15386 int i;
15387 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15388 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15389 d = PyModule_GetDict(m);
15390
15391 if (!typeinit) {
15392 for (i = 0; swig_types_initial[i]; i++) {
15393 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15394 }
15395 typeinit = 1;
15396 }
15397 SWIG_InstallConstants(d,swig_const_table);
15398
b2dc1044
RD
15399 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15400 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
15afbcd0
RD
15401 PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1));
15402 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1));
15403 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1));
15404 PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000));
15405 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000));
15406 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000));
15407 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0));
15408 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1));
15409 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2));
15410 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0));
15411 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1));
15412 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2));
15413 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001));
15414 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1));
15415 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31));
15416 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0));
15417 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1));
15418 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2));
15419 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3));
15420 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4));
15421 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5));
15422 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6));
15423 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7));
15424 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8));
15425 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9));
15426 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10));
15427 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11));
15428 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12));
15429 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13));
15430 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14));
15431 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15));
15432 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16));
15433 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17));
15434 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18));
15435 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19));
15436 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20));
15437 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21));
15438 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22));
15439 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23));
15440 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24));
15441 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25));
15442 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000));
15443 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25));
15444 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26));
15445 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27));
15446 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28));
15447 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29));
15448 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30));
15449 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31));
15450 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000));
15451 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0));
15452 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1));
15453 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32));
15454 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33));
15455 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34));
15456 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35));
15457 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36));
15458 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37));
15459 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39));
15460 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127));
15461 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0));
15462 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1));
15463 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186));
15464 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136));
15465 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238));
15466 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134));
15467 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161));
15468 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129));
15469 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77));
15470 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255));
15471 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204));
15472 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128));
15473 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2));
15474 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162));
15475 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130));
15476 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177));
15477 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178));
15478 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163));
15479 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222));
15480 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0));
15481 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1));
15482 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2));
15483 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7));
15484 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0));
15485 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1));
15486 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2));
15487 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3));
15488 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4));
15489 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5));
15490 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6));
15491 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20));
15492 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40));
15493 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80));
15494 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0));
15495 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0));
15496 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1));
15497 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2));
15498 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3));
15499 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4));
15500 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2));
15501 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4));
15502 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000));
15503 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000));
15504 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000));
15505 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400));
15506 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000));
15507 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000));
15508 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000));
15509 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000));
15510 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000));
15511 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000));
15512 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF));
15513 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002));
15514 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004));
15515 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008));
15516 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010));
15517 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040));
15518 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001));
15519 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000));
15520 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0));
15521 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1));
15522 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0));
15523 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1));
15524 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2));
15525 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3));
15526 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0));
15527 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1));
15528 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2));
15529 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1));
15530 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4));
15531 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01));
15532 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04));
15533 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01));
15534 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04));
15535 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10));
15536 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08));
15537 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0));
15538 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1));
15539 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2));
15540 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8));
15541 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1));
15542 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2));
15543 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4));
15544 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8));
15545 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10));
15546 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20));
15547 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40));
15548 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100));
15549 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200));
15550 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400));
15551 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800));
15552 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77));
15553 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300));
15554 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301));
15555 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302));
15556 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303));
15557 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304));
15558 PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305));
15559 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306));
15560 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307));
15561 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308));
15562 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309));
15563 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7));
15564 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8));
15565 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9));
15566 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13));
15567 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310));
15568 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311));
15569 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312));
15570 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1));
15571 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2));
15572 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4));
15573 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0));
15574 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1));
15575 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2));
15576 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3));
15577 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4));
15578 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5));
15579 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6));
15580 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7));
15581 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8));
15582 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9));
15583 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10));
15584 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11));
15585 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12));
15586 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13));
15587 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14));
15588 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15));
15589 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16));
15590 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17));
15591 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18));
15592 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19));
15593 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20));
15594 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21));
15595 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22));
15596 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23));
15597 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24));
15598 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25));
15599 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26));
15600 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27));
15601 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28));
15602 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29));
15603 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30));
15604 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31));
15605 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32));
15606 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33));
15607 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34));
15608 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35));
15609 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36));
15610 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37));
15611 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38));
15612 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39));
15613 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40));
15614 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41));
15615 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42));
15616 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43));
15617 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44));
15618 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45));
15619 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46));
15620 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47));
15621 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48));
15622 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49));
15623 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50));
15624 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51));
15625 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52));
15626 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53));
15627 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54));
15628 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000));
15629 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0));
15630 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1));
15631 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2));
15632 PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3));
15633 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4));
15634 PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5));
15635 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6));
15636 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7));
15637 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8));
15638 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9));
15639 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10));
15640 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11));
15641 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12));
15642 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13));
15643 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0));
15644 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1));
15645 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2));
15646 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3));
15647 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4));
15648 PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5));
15649 PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6));
15650 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7));
15651 PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8));
15652 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9));
15653 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10));
15654 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11));
15655 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12));
15656 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13));
15657 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14));
15658 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15));
15659 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16));
15660 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17));
15661 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18));
15662 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19));
15663 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0));
15664 PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1));
15665 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2));
15666 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3));
15667 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4));
15668 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5));
15669 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6));
15670 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7));
15671 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8));
15672 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9));
15673 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10));
15674 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11));
15675 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12));
15676 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13));
15677 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14));
15678 PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15));
15679 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16));
15680 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17));
15681 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18));
15682 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19));
15683 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20));
15684 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21));
15685 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22));
15686 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23));
15687 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24));
15688 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25));
15689 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26));
15690 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27));
15691 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28));
15692 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29));
15693 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30));
15694 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31));
15695 PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40));
15696 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41));
15697 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42));
15698 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43));
15699 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44));
15700 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45));
15701 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46));
15702 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47));
15703 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48));
15704 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49));
15705 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50));
15706 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51));
15707 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52));
15708 PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55));
15709 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56));
15710 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57));
15711 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58));
15712 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59));
15713 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60));
15714 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61));
15715 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62));
15716 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63));
15717 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64));
15718 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65));
15719 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66));
15720 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67));
15721 PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70));
15722 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71));
15723 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72));
15724 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73));
15725 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74));
15726 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75));
15727 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76));
15728 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77));
15729 PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80));
15730 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81));
15731 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82));
15732 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83));
15733 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84));
15734 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85));
15735 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86));
15736 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87));
15737 PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90));
15738 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91));
15739 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92));
15740 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93));
15741 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94));
15742 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95));
15743 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96));
15744 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97));
15745 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98));
15746 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99));
15747 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100));
15748 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101));
15749 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102));
15750 PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105));
15751 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106));
15752 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107));
15753 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108));
15754 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109));
15755 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110));
15756 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111));
15757 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112));
15758 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113));
15759 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114));
15760 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115));
15761 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116));
15762 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117));
15763 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118));
15764 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119));
15765 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120));
15766 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121));
15767 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122));
15768 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123));
15769 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124));
15770 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125));
15771 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126));
15772 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127));
15773 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0));
15774 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1));
15775 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2));
15776 PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3));
15777 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4));
15778 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5));
15779 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6));
15780 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7));
15781 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8));
15782 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9));
15783 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10));
15784 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11));
15785 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12));
15786 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13));
15787 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14));
15788 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15));
15789 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17));
15790 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18));
15791 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19));
15792 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20));
15793 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21));
15794 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22));
15795 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23));
15796 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24));
15797 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25));
15798 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26));
15799 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27));
15800 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28));
15801 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29));
15802 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30));
15803 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0));
15804 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1));
15805 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2));
15806 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3));
15807 PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4));
15808 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5));
15809 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6));
15810 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7));
15811 PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8));
15812 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9));
15813 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10));
15814 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11));
15815 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12));
15816 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0));
15817 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1));
15818 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2));
15819 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3));
15820 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4));
15821 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0));
15822 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1));
15823 PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2));
15824 PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3));
15825 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4));
15826 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0));
15827 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1));
15828 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2));
15829 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3));
15830 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4));
15831 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5));
15832 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6));
15833 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7));
15834 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8));
15835 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9));
15836 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10));
15837 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11));
15838 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12));
15839 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13));
15840 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14));
15841 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15));
15842 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16));
15843 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17));
15844 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18));
15845 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19));
15846 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0));
15847 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1));
15848 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2));
15849 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3));
15850 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4));
15851 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5));
15852 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6));
15853 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7));
15854 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8));
15855 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9));
15856 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10));
15857 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11));
15858 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12));
15859 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13));
15860 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14));
15861 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15));
15862 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16));
15863 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17));
15864 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18));
15865 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0));
15866 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1));
15867 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2));
15868 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3));
15869 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4));
15870 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5));
15871 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6));
15872 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7));
15873 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0));
15874 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1));
15875 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2));
15876 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3));
15877 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4));
15878 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5));
15879 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9));
15880 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0));
15881 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1));
15882 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2));
15883 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3));
15884 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4));
15885 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5));
15886 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6));
15887 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0));
15888 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1));
15889 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2));
15890 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3));
15891 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4));
15892 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5));
15893 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6));
15894 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7));
15895 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8));
15896 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9));
15897 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0));
15898 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1));
15899 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2));
15900 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3));
15901 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6));
15902 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7));
15903 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8));
15904 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9));
15905 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10));
15906 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11));
15907 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12));
15908 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13));
15909 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14));
15910 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15));
15911 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16));
15912 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0));
15913 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1));
15914 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2));
15915 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3));
15916 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4));
15917 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5));
15918 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6));
15919 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7));
15920 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8));
15921 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9));
15922 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10));
15923 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11));
15924 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0));
15925 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1));
15926 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2));
15927 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3));
15928 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4));
15929 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5));
15930 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6));
15931 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7));
15932 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8));
15933 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9));
15934 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10));
15935 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0));
15936 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1));
15937 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2));
15938 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3));
15939 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6));
15940 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8));
15941 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9));
15942 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10));
15943 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0));
15944 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1));
15945 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2));
15946 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3));
15947 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4));
15948 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5));
15949 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6));
15950 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7));
15951 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8));
15952 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0));
15953 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1));
15954 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2));
15955 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3));
15956 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4));
15957 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5));
15958 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6));
15959 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7));
15960 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8));
15961 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9));
15962 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10));
15963 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0));
15964 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1));
15965 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2));
15966 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3));
15967 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4));
15968 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5));
15969 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6));
15970 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7));
15971 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8));
15972 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9));
15973 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10));
15974 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11));
15975 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0));
15976 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1));
15977 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2));
15978 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3));
15979 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4));
15980 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5));
15981 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6));
15982 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7));
15983 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8));
15984 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0));
15985 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1));
15986 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2));
15987 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3));
15988 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4));
15989 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5));
15990 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6));
15991 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7));
15992 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8));
15993 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9));
15994 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10));
15995 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11));
15996 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12));
15997 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13));
15998 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14));
15999 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15));
16000 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0));
16001 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1));
16002 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2));
16003 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3));
16004 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4));
16005 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5));
16006 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6));
16007 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7));
16008 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8));
16009 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9));
16010 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10));
16011 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11));
16012 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12));
16013 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13));
16014 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14));
16015 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0));
16016 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1));
16017 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2));
16018 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3));
16019 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4));
16020 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5));
16021 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6));
16022 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7));
16023 PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8));
16024 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9));
16025 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10));
16026 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11));
16027 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12));
16028 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13));
16029 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14));
16030 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0));
16031 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1));
16032 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2));
16033 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3));
16034 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4));
16035 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5));
16036 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6));
16037 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7));
16038 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8));
16039 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9));
16040 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10));
16041 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11));
16042 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12));
16043 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13));
16044 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14));
16045 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0));
16046 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1));
16047 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2));
16048 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3));
16049 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4));
16050 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5));
16051 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6));
16052 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7));
16053 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8));
16054 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9));
16055 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10));
16056 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11));
16057 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12));
16058 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13));
16059 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14));
16060 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15));
16061 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16));
16062 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0));
16063 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1));
16064 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2));
16065 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3));
16066 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4));
16067 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5));
16068 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6));
16069 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7));
16070 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8));
16071 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9));
16072 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10));
16073 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0));
16074 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1));
16075 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2));
16076 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3));
16077 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4));
16078 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5));
16079 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6));
16080 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7));
16081 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8));
16082 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9));
16083 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10));
16084 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11));
16085 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0));
16086 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1));
16087 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2));
16088 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3));
16089 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4));
16090 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5));
16091 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6));
16092 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7));
16093 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8));
16094 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9));
16095 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10));
16096 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11));
16097 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12));
16098 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13));
16099 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14));
16100 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15));
16101 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0));
16102 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1));
16103 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2));
16104 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3));
16105 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4));
16106 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5));
16107 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6));
16108 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7));
16109 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8));
16110 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9));
16111 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10));
16112 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11));
16113 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12));
16114 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13));
16115 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0));
16116 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1));
16117 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2));
16118 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3));
16119 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4));
16120 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5));
16121 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6));
16122 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7));
16123 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8));
16124 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9));
16125 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10));
16126 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11));
16127 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12));
16128 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13));
16129 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14));
16130 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15));
16131 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16));
16132 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17));
16133 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0));
16134 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1));
16135 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2));
16136 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3));
16137 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4));
16138 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5));
16139 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6));
16140 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7));
16141 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8));
16142 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9));
16143 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10));
16144 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11));
16145 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12));
16146 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13));
16147 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14));
16148 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0));
16149 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1));
16150 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2));
16151 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3));
16152 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4));
16153 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5));
16154 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6));
16155 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0));
16156 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1));
16157 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2));
16158 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3));
16159 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4));
16160 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5));
16161 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6));
16162 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7));
16163 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8));
16164 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0));
16165 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1));
16166 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2));
16167 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3));
16168 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4));
16169 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5));
16170 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0));
16171 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1));
16172 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2));
16173 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3));
16174 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4));
16175 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5));
16176 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6));
16177 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0));
16178 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1));
16179 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2));
16180 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3));
16181 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4));
16182 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5));
16183 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6));
16184 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7));
16185 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8));
16186 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9));
16187 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10));
16188 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11));
16189 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12));
16190 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13));
16191 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31));
16192 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011));
16193 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013));
16194 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176));
16195 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177));
16196 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178));
16197 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179));
16198 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180));
16199 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300));
16200 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301));
16201 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302));
16202 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303));
16203 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304));
16204 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305));
16205 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306));
16206 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307));
16207 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308));
16208 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309));
16209 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310));
16210 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311));
16211 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312));
16212 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313));
16213 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314));
16214 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315));
16215 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316));
16216 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317));
16217 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318));
16218 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319));
16219 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320));
16220 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321));
16221 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322));
16222 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323));
16223 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324));
16224 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325));
16225 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326));
16226 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327));
16227 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328));
16228 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329));
16229 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330));
16230 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331));
16231 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332));
16232 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333));
16233 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334));
16234 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335));
16235 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336));
16236 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337));
16237 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338));
16238 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339));
16239 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404));
16240 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340));
16241 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341));
16242 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342));
16243 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343));
16244 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344));
16245 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345));
16246 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346));
16247 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347));
16248 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348));
16249 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349));
16250 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450));
16251 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451));
16252 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452));
16253 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453));
16254 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454));
4276dc52 16255 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455));
15afbcd0
RD
16256 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390));
16257 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391));
16258 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392));
16259 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393));
16260 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395));
16261 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396));
16262 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413));
16263 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414));
16264 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415));
16265 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416));
16266 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426));
16267 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427));
16268 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428));
16269 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429));
16270 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430));
16271 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431));
16272 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432));
16273 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433));
16274 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434));
16275 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435));
16276 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436));
16277 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437));
16278 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438));
16279 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439));
16280 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440));
16281 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441));
16282 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442));
16283 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE));
16284 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED));
16285 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED));
16286 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
16287 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
16288 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
16289 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY));
16290 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK));
16291 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI));
16292 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED));
16293 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD));
16294 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK));
16295 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN));
16296 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED));
16297 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED));
16298 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION));
16299 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED));
16300 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART));
16301 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND));
16302 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG));
16303 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER));
16304 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP));
16305 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM));
16306 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
16307 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
16308 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
d14a1e28
RD
16309
16310
16311}
16312