]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/mac/stc_wrap.cpp
fixed case typo
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
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
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
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
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
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "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 */
157 typedef 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
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)
173
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)
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
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
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]
219 #define SWIGTYPE_p_wxDC swig_types[10]
220 #define SWIGTYPE_p_char swig_types[11]
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]
228 static swig_type_info *swig_types[20];
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
240 /* Auxiliar swig macros */
241
242 #ifdef __cplusplus
243 #define SWIGSTATICINLINE(a) static inline a
244 #define SWIGSTATIC(a) static a
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)
250
251 #ifdef HAVE_NUMERIC_CAST
252 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
253 #else
254 #define swig_numeric_cast(type,a) static_cast<type>(a)
255 #endif
256
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 */
269
270
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
281
282
283 #include "wx/wxPython/wxPython.h"
284 #include "wx/wxPython/pyclasses.h"
285 #include <wx/stc/stc.h>
286
287
288 static const wxString wxPySTCNameStr(wxSTCNameStr);
289
290 #include <limits.h>
291
292
293 SWIGSTATICINLINE(long)
294 SWIG_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
317 SWIGSTATICINLINE(long)
318 SWIG_AsLong(PyObject * obj)
319 {
320 if (PyNumber_Check(obj))
321 return PyInt_AsLong(obj);
322 else {
323 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
324 obj->ob_type->tp_name);
325 PyErr_SetObject(PyExc_TypeError, errmsg);
326 Py_DECREF(errmsg);
327 return 0;
328 }
329 }
330
331
332 #if INT_MAX != LONG_MAX
333 SWIGSTATICINLINE(int)
334 SWIG_AsInt(PyObject *obj)
335 {
336 return swig_numeric_cast(int,
337 SWIG_CheckLongInRange(SWIG_AsLong(obj),
338 "int", INT_MIN, INT_MAX));
339 }
340 #else
341 #define SWIG_AsInt SWIG_AsLong
342 #endif
343
344
345 SWIGSTATICINLINE(int)
346 SWIG_CheckInt(PyObject* obj)
347 {
348 SWIG_AsInt(obj);
349 if (PyErr_Occurred()) {
350 PyErr_Clear();
351 return 0;
352 } else {
353 return 1;
354 }
355 }
356
357
358 SWIGSTATICINLINE(int)
359 SWIG_CheckLong(PyObject* obj)
360 {
361 SWIG_AsLong(obj);
362 if (PyErr_Occurred()) {
363 PyErr_Clear();
364 return 0;
365 } else {
366 return 1;
367 }
368 }
369
370
371 SWIGSTATICINLINE(bool)
372 SWIG_AsBool(PyObject *obj)
373 {
374 return PyObject_IsTrue(obj) ? true : false;
375 }
376
377
378 SWIGSTATICINLINE(int)
379 SWIG_CheckBool(PyObject* obj)
380 {
381 SWIG_AsBool(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
388 }
389
390
391 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
392 PyObject* o2;
393 PyObject* o3;
394
395 if (!target) {
396 target = o;
397 } else if (target == Py_None) {
398 Py_DECREF(Py_None);
399 target = o;
400 } else {
401 if (!PyTuple_Check(target)) {
402 o2 = target;
403 target = PyTuple_New(1);
404 PyTuple_SetItem(target, 0, o2);
405 }
406 o3 = PyTuple_New(1);
407 PyTuple_SetItem(o3, 0, o);
408
409 o2 = target;
410 target = PySequence_Concat(o2, o3);
411 Py_DECREF(o2);
412 Py_DECREF(o3);
413 }
414 return target;
415 }
416
417
418 /* returns '1' if the input is a raw char*, '0' if is a PyString */
419 SWIGSTATIC(int)
420 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
421 {
422 static swig_type_info* pchar_info = 0;
423 int psize = 0;
424 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
425
426 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
427 PyErr_Clear();
428 PyString_AsStringAndSize(obj, cptr, &psize);
429 if (PyErr_Occurred()) {
430 PyErr_Clear();
431 PyErr_SetString(PyExc_TypeError,"a string is expected");
432 }
433 if (size) *size = psize;
434 return 0;
435 } else {
436 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
437 return 1;
438 }
439 }
440
441
442 SWIGSTATICINLINE(char* )
443 SWIG_AsCharPtr(PyObject *obj)
444 {
445 char* cptr;
446 SWIG_AsCharPtrAndSize(obj, &cptr, 0);
447 if (PyErr_Occurred()) {
448 PyErr_Clear();
449 PyErr_SetString(PyExc_TypeError, "a char* is expected");
450 }
451 return cptr;
452 }
453
454 #ifdef __cplusplus
455 extern "C" {
456 #endif
457 static int _wrap_STCNameStr_set(PyObject *_val) {
458 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
459 return 1;
460 }
461
462
463 static PyObject *_wrap_STCNameStr_get() {
464 PyObject *pyobj;
465
466 {
467 #if wxUSE_UNICODE
468 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
469 #else
470 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
471 #endif
472 }
473 return pyobj;
474 }
475
476
477 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
478 PyObject *resultobj;
479 wxWindow *arg1 = (wxWindow *) 0 ;
480 int arg2 = (int) wxID_ANY ;
481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
483 wxSize const &arg4_defvalue = wxDefaultSize ;
484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
485 long arg5 = (long) 0 ;
486 wxString const &arg6_defvalue = wxPySTCNameStr ;
487 wxString *arg6 = (wxString *) &arg6_defvalue ;
488 wxStyledTextCtrl *result;
489 wxPoint temp3 ;
490 wxSize temp4 ;
491 bool temp6 = False ;
492 PyObject * obj0 = 0 ;
493 PyObject * obj1 = 0 ;
494 PyObject * obj2 = 0 ;
495 PyObject * obj3 = 0 ;
496 PyObject * obj4 = 0 ;
497 PyObject * obj5 = 0 ;
498 char *kwnames[] = {
499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
500 };
501
502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
505 if (obj1) {
506 arg2 = (int) SWIG_AsInt(obj1);
507 if (PyErr_Occurred()) SWIG_fail;
508 }
509 if (obj2) {
510 {
511 arg3 = &temp3;
512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
513 }
514 }
515 if (obj3) {
516 {
517 arg4 = &temp4;
518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
519 }
520 }
521 if (obj4) {
522 arg5 = (long) SWIG_AsLong(obj4);
523 if (PyErr_Occurred()) SWIG_fail;
524 }
525 if (obj5) {
526 {
527 arg6 = wxString_in_helper(obj5);
528 if (arg6 == NULL) SWIG_fail;
529 temp6 = True;
530 }
531 }
532 {
533 if (!wxPyCheckForApp()) SWIG_fail;
534 PyThreadState* __tstate = wxPyBeginAllowThreads();
535 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
536
537 wxPyEndAllowThreads(__tstate);
538 if (PyErr_Occurred()) SWIG_fail;
539 }
540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
541 {
542 if (temp6)
543 delete arg6;
544 }
545 return resultobj;
546 fail:
547 {
548 if (temp6)
549 delete arg6;
550 }
551 return NULL;
552 }
553
554
555 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject *resultobj;
557 wxStyledTextCtrl *result;
558 char *kwnames[] = {
559 NULL
560 };
561
562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
563 {
564 if (!wxPyCheckForApp()) SWIG_fail;
565 PyThreadState* __tstate = wxPyBeginAllowThreads();
566 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
567
568 wxPyEndAllowThreads(__tstate);
569 if (PyErr_Occurred()) SWIG_fail;
570 }
571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
572 return resultobj;
573 fail:
574 return NULL;
575 }
576
577
578 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
579 PyObject *resultobj;
580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
581 wxWindow *arg2 = (wxWindow *) 0 ;
582 int arg3 = (int) wxID_ANY ;
583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
585 wxSize const &arg5_defvalue = wxDefaultSize ;
586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
587 long arg6 = (long) 0 ;
588 wxString const &arg7_defvalue = wxSTCNameStr ;
589 wxString *arg7 = (wxString *) &arg7_defvalue ;
590 wxPoint temp4 ;
591 wxSize temp5 ;
592 bool temp7 = False ;
593 PyObject * obj0 = 0 ;
594 PyObject * obj1 = 0 ;
595 PyObject * obj2 = 0 ;
596 PyObject * obj3 = 0 ;
597 PyObject * obj4 = 0 ;
598 PyObject * obj5 = 0 ;
599 PyObject * obj6 = 0 ;
600 char *kwnames[] = {
601 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
602 };
603
604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
609 if (obj2) {
610 arg3 = (int) SWIG_AsInt(obj2);
611 if (PyErr_Occurred()) SWIG_fail;
612 }
613 if (obj3) {
614 {
615 arg4 = &temp4;
616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
617 }
618 }
619 if (obj4) {
620 {
621 arg5 = &temp5;
622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
623 }
624 }
625 if (obj5) {
626 arg6 = (long) SWIG_AsLong(obj5);
627 if (PyErr_Occurred()) SWIG_fail;
628 }
629 if (obj6) {
630 {
631 arg7 = wxString_in_helper(obj6);
632 if (arg7 == NULL) SWIG_fail;
633 temp7 = True;
634 }
635 }
636 {
637 PyThreadState* __tstate = wxPyBeginAllowThreads();
638 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
639
640 wxPyEndAllowThreads(__tstate);
641 if (PyErr_Occurred()) SWIG_fail;
642 }
643 Py_INCREF(Py_None); resultobj = Py_None;
644 {
645 if (temp7)
646 delete arg7;
647 }
648 return resultobj;
649 fail:
650 {
651 if (temp7)
652 delete arg7;
653 }
654 return NULL;
655 }
656
657
658 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
659 PyObject *resultobj;
660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
661 wxString *arg2 = 0 ;
662 bool temp2 = False ;
663 PyObject * obj0 = 0 ;
664 PyObject * obj1 = 0 ;
665 char *kwnames[] = {
666 (char *) "self",(char *) "text", NULL
667 };
668
669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
672 {
673 arg2 = wxString_in_helper(obj1);
674 if (arg2 == NULL) SWIG_fail;
675 temp2 = True;
676 }
677 {
678 PyThreadState* __tstate = wxPyBeginAllowThreads();
679 (arg1)->AddText((wxString const &)*arg2);
680
681 wxPyEndAllowThreads(__tstate);
682 if (PyErr_Occurred()) SWIG_fail;
683 }
684 Py_INCREF(Py_None); resultobj = Py_None;
685 {
686 if (temp2)
687 delete arg2;
688 }
689 return resultobj;
690 fail:
691 {
692 if (temp2)
693 delete arg2;
694 }
695 return NULL;
696 }
697
698
699 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject *resultobj;
701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
702 wxMemoryBuffer *arg2 = 0 ;
703 bool temp2 = False ;
704 PyObject * obj0 = 0 ;
705 PyObject * obj1 = 0 ;
706 char *kwnames[] = {
707 (char *) "self",(char *) "data", NULL
708 };
709
710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
713 {
714 if (!PyString_Check(obj1)) {
715 PyErr_SetString(PyExc_TypeError, "String buffer expected");
716 SWIG_fail;
717 }
718 char* str = PyString_AS_STRING(obj1);
719 int len = PyString_GET_SIZE(obj1);
720 arg2 = new wxMemoryBuffer(len);
721 temp2 = True;
722 memcpy(arg2->GetData(), str, len);
723 arg2->SetDataLen(len);
724 }
725 {
726 PyThreadState* __tstate = wxPyBeginAllowThreads();
727 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
728
729 wxPyEndAllowThreads(__tstate);
730 if (PyErr_Occurred()) SWIG_fail;
731 }
732 Py_INCREF(Py_None); resultobj = Py_None;
733 {
734 if (temp2) delete arg2;
735 }
736 return resultobj;
737 fail:
738 {
739 if (temp2) delete arg2;
740 }
741 return NULL;
742 }
743
744
745 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject *resultobj;
747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
748 int arg2 ;
749 wxString *arg3 = 0 ;
750 bool temp3 = False ;
751 PyObject * obj0 = 0 ;
752 PyObject * obj1 = 0 ;
753 PyObject * obj2 = 0 ;
754 char *kwnames[] = {
755 (char *) "self",(char *) "pos",(char *) "text", NULL
756 };
757
758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
761 arg2 = (int) SWIG_AsInt(obj1);
762 if (PyErr_Occurred()) SWIG_fail;
763 {
764 arg3 = wxString_in_helper(obj2);
765 if (arg3 == NULL) SWIG_fail;
766 temp3 = True;
767 }
768 {
769 PyThreadState* __tstate = wxPyBeginAllowThreads();
770 (arg1)->InsertText(arg2,(wxString const &)*arg3);
771
772 wxPyEndAllowThreads(__tstate);
773 if (PyErr_Occurred()) SWIG_fail;
774 }
775 Py_INCREF(Py_None); resultobj = Py_None;
776 {
777 if (temp3)
778 delete arg3;
779 }
780 return resultobj;
781 fail:
782 {
783 if (temp3)
784 delete arg3;
785 }
786 return NULL;
787 }
788
789
790 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject *resultobj;
792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
793 PyObject * obj0 = 0 ;
794 char *kwnames[] = {
795 (char *) "self", NULL
796 };
797
798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
801 {
802 PyThreadState* __tstate = wxPyBeginAllowThreads();
803 (arg1)->ClearAll();
804
805 wxPyEndAllowThreads(__tstate);
806 if (PyErr_Occurred()) SWIG_fail;
807 }
808 Py_INCREF(Py_None); resultobj = Py_None;
809 return resultobj;
810 fail:
811 return NULL;
812 }
813
814
815 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
816 PyObject *resultobj;
817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
818 PyObject * obj0 = 0 ;
819 char *kwnames[] = {
820 (char *) "self", NULL
821 };
822
823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
826 {
827 PyThreadState* __tstate = wxPyBeginAllowThreads();
828 (arg1)->ClearDocumentStyle();
829
830 wxPyEndAllowThreads(__tstate);
831 if (PyErr_Occurred()) SWIG_fail;
832 }
833 Py_INCREF(Py_None); resultobj = Py_None;
834 return resultobj;
835 fail:
836 return NULL;
837 }
838
839
840 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
841 PyObject *resultobj;
842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
843 int result;
844 PyObject * obj0 = 0 ;
845 char *kwnames[] = {
846 (char *) "self", NULL
847 };
848
849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
852 {
853 PyThreadState* __tstate = wxPyBeginAllowThreads();
854 result = (int)(arg1)->GetLength();
855
856 wxPyEndAllowThreads(__tstate);
857 if (PyErr_Occurred()) SWIG_fail;
858 }
859 resultobj = SWIG_FromInt((int)result);
860 return resultobj;
861 fail:
862 return NULL;
863 }
864
865
866 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
867 PyObject *resultobj;
868 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
869 int arg2 ;
870 int result;
871 PyObject * obj0 = 0 ;
872 PyObject * obj1 = 0 ;
873 char *kwnames[] = {
874 (char *) "self",(char *) "pos", NULL
875 };
876
877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
880 arg2 = (int) SWIG_AsInt(obj1);
881 if (PyErr_Occurred()) SWIG_fail;
882 {
883 PyThreadState* __tstate = wxPyBeginAllowThreads();
884 result = (int)(arg1)->GetCharAt(arg2);
885
886 wxPyEndAllowThreads(__tstate);
887 if (PyErr_Occurred()) SWIG_fail;
888 }
889 resultobj = SWIG_FromInt((int)result);
890 return resultobj;
891 fail:
892 return NULL;
893 }
894
895
896 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
897 PyObject *resultobj;
898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
899 int result;
900 PyObject * obj0 = 0 ;
901 char *kwnames[] = {
902 (char *) "self", NULL
903 };
904
905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908 {
909 PyThreadState* __tstate = wxPyBeginAllowThreads();
910 result = (int)(arg1)->GetCurrentPos();
911
912 wxPyEndAllowThreads(__tstate);
913 if (PyErr_Occurred()) SWIG_fail;
914 }
915 resultobj = SWIG_FromInt((int)result);
916 return resultobj;
917 fail:
918 return NULL;
919 }
920
921
922 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject *resultobj;
924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
925 int result;
926 PyObject * obj0 = 0 ;
927 char *kwnames[] = {
928 (char *) "self", NULL
929 };
930
931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
934 {
935 PyThreadState* __tstate = wxPyBeginAllowThreads();
936 result = (int)(arg1)->GetAnchor();
937
938 wxPyEndAllowThreads(__tstate);
939 if (PyErr_Occurred()) SWIG_fail;
940 }
941 resultobj = SWIG_FromInt((int)result);
942 return resultobj;
943 fail:
944 return NULL;
945 }
946
947
948 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject *resultobj;
950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
951 int arg2 ;
952 int result;
953 PyObject * obj0 = 0 ;
954 PyObject * obj1 = 0 ;
955 char *kwnames[] = {
956 (char *) "self",(char *) "pos", NULL
957 };
958
959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
962 arg2 = (int) SWIG_AsInt(obj1);
963 if (PyErr_Occurred()) SWIG_fail;
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 result = (int)(arg1)->GetStyleAt(arg2);
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) SWIG_fail;
970 }
971 resultobj = SWIG_FromInt((int)result);
972 return resultobj;
973 fail:
974 return NULL;
975 }
976
977
978 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject *resultobj;
980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
981 PyObject * obj0 = 0 ;
982 char *kwnames[] = {
983 (char *) "self", NULL
984 };
985
986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 (arg1)->Redo();
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 Py_INCREF(Py_None); resultobj = Py_None;
997 return resultobj;
998 fail:
999 return NULL;
1000 }
1001
1002
1003 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1006 bool arg2 ;
1007 PyObject * obj0 = 0 ;
1008 PyObject * obj1 = 0 ;
1009 char *kwnames[] = {
1010 (char *) "self",(char *) "collectUndo", NULL
1011 };
1012
1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1016 arg2 = (bool) SWIG_AsBool(obj1);
1017 if (PyErr_Occurred()) SWIG_fail;
1018 {
1019 PyThreadState* __tstate = wxPyBeginAllowThreads();
1020 (arg1)->SetUndoCollection(arg2);
1021
1022 wxPyEndAllowThreads(__tstate);
1023 if (PyErr_Occurred()) SWIG_fail;
1024 }
1025 Py_INCREF(Py_None); resultobj = Py_None;
1026 return resultobj;
1027 fail:
1028 return NULL;
1029 }
1030
1031
1032 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject *resultobj;
1034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1035 PyObject * obj0 = 0 ;
1036 char *kwnames[] = {
1037 (char *) "self", NULL
1038 };
1039
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
1041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1043 {
1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
1045 (arg1)->SelectAll();
1046
1047 wxPyEndAllowThreads(__tstate);
1048 if (PyErr_Occurred()) SWIG_fail;
1049 }
1050 Py_INCREF(Py_None); resultobj = Py_None;
1051 return resultobj;
1052 fail:
1053 return NULL;
1054 }
1055
1056
1057 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1058 PyObject *resultobj;
1059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1060 PyObject * obj0 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "self", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
1066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 (arg1)->SetSavePoint();
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) SWIG_fail;
1074 }
1075 Py_INCREF(Py_None); resultobj = Py_None;
1076 return resultobj;
1077 fail:
1078 return NULL;
1079 }
1080
1081
1082 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject *resultobj;
1084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1085 int arg2 ;
1086 int arg3 ;
1087 wxMemoryBuffer result;
1088 PyObject * obj0 = 0 ;
1089 PyObject * obj1 = 0 ;
1090 PyObject * obj2 = 0 ;
1091 char *kwnames[] = {
1092 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1093 };
1094
1095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1098 arg2 = (int) SWIG_AsInt(obj1);
1099 if (PyErr_Occurred()) SWIG_fail;
1100 arg3 = (int) SWIG_AsInt(obj2);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 result = (arg1)->GetStyledText(arg2,arg3);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 {
1110 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
1111 }
1112 return resultobj;
1113 fail:
1114 return NULL;
1115 }
1116
1117
1118 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1119 PyObject *resultobj;
1120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1121 bool result;
1122 PyObject * obj0 = 0 ;
1123 char *kwnames[] = {
1124 (char *) "self", NULL
1125 };
1126
1127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1130 {
1131 PyThreadState* __tstate = wxPyBeginAllowThreads();
1132 result = (bool)(arg1)->CanRedo();
1133
1134 wxPyEndAllowThreads(__tstate);
1135 if (PyErr_Occurred()) SWIG_fail;
1136 }
1137 {
1138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1139 }
1140 return resultobj;
1141 fail:
1142 return NULL;
1143 }
1144
1145
1146 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject *resultobj;
1148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1149 int arg2 ;
1150 int result;
1151 PyObject * obj0 = 0 ;
1152 PyObject * obj1 = 0 ;
1153 char *kwnames[] = {
1154 (char *) "self",(char *) "handle", NULL
1155 };
1156
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1160 arg2 = (int) SWIG_AsInt(obj1);
1161 if (PyErr_Occurred()) SWIG_fail;
1162 {
1163 PyThreadState* __tstate = wxPyBeginAllowThreads();
1164 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1165
1166 wxPyEndAllowThreads(__tstate);
1167 if (PyErr_Occurred()) SWIG_fail;
1168 }
1169 resultobj = SWIG_FromInt((int)result);
1170 return resultobj;
1171 fail:
1172 return NULL;
1173 }
1174
1175
1176 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1179 int arg2 ;
1180 PyObject * obj0 = 0 ;
1181 PyObject * obj1 = 0 ;
1182 char *kwnames[] = {
1183 (char *) "self",(char *) "handle", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1189 arg2 = (int) SWIG_AsInt(obj1);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 (arg1)->MarkerDeleteHandle(arg2);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 Py_INCREF(Py_None); resultobj = Py_None;
1199 return resultobj;
1200 fail:
1201 return NULL;
1202 }
1203
1204
1205 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1206 PyObject *resultobj;
1207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1208 bool result;
1209 PyObject * obj0 = 0 ;
1210 char *kwnames[] = {
1211 (char *) "self", NULL
1212 };
1213
1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 result = (bool)(arg1)->GetUndoCollection();
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) SWIG_fail;
1223 }
1224 {
1225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1226 }
1227 return resultobj;
1228 fail:
1229 return NULL;
1230 }
1231
1232
1233 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject *resultobj;
1235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1236 int result;
1237 PyObject * obj0 = 0 ;
1238 char *kwnames[] = {
1239 (char *) "self", NULL
1240 };
1241
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1245 {
1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
1247 result = (int)(arg1)->GetViewWhiteSpace();
1248
1249 wxPyEndAllowThreads(__tstate);
1250 if (PyErr_Occurred()) SWIG_fail;
1251 }
1252 resultobj = SWIG_FromInt((int)result);
1253 return resultobj;
1254 fail:
1255 return NULL;
1256 }
1257
1258
1259 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1262 int arg2 ;
1263 PyObject * obj0 = 0 ;
1264 PyObject * obj1 = 0 ;
1265 char *kwnames[] = {
1266 (char *) "self",(char *) "viewWS", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1272 arg2 = (int) SWIG_AsInt(obj1);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 {
1275 PyThreadState* __tstate = wxPyBeginAllowThreads();
1276 (arg1)->SetViewWhiteSpace(arg2);
1277
1278 wxPyEndAllowThreads(__tstate);
1279 if (PyErr_Occurred()) SWIG_fail;
1280 }
1281 Py_INCREF(Py_None); resultobj = Py_None;
1282 return resultobj;
1283 fail:
1284 return NULL;
1285 }
1286
1287
1288 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject *resultobj;
1290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1291 wxPoint arg2 ;
1292 int result;
1293 wxPoint *argp2 ;
1294 PyObject * obj0 = 0 ;
1295 PyObject * obj1 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self",(char *) "pt", NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1303 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1304 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1305 arg2 = *argp2;
1306 {
1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
1308 result = (int)(arg1)->PositionFromPoint(arg2);
1309
1310 wxPyEndAllowThreads(__tstate);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 resultobj = SWIG_FromInt((int)result);
1314 return resultobj;
1315 fail:
1316 return NULL;
1317 }
1318
1319
1320 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 int result;
1326 PyObject * obj0 = 0 ;
1327 PyObject * obj1 = 0 ;
1328 PyObject * obj2 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self",(char *) "x",(char *) "y", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1336 arg2 = (int) SWIG_AsInt(obj1);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 arg3 = (int) SWIG_AsInt(obj2);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 {
1341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1342 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1343
1344 wxPyEndAllowThreads(__tstate);
1345 if (PyErr_Occurred()) SWIG_fail;
1346 }
1347 resultobj = SWIG_FromInt((int)result);
1348 return resultobj;
1349 fail:
1350 return NULL;
1351 }
1352
1353
1354 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1355 PyObject *resultobj;
1356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1357 int arg2 ;
1358 PyObject * obj0 = 0 ;
1359 PyObject * obj1 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "self",(char *) "line", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1367 arg2 = (int) SWIG_AsInt(obj1);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 {
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 (arg1)->GotoLine(arg2);
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) SWIG_fail;
1375 }
1376 Py_INCREF(Py_None); resultobj = Py_None;
1377 return resultobj;
1378 fail:
1379 return NULL;
1380 }
1381
1382
1383 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject *resultobj;
1385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1386 int arg2 ;
1387 PyObject * obj0 = 0 ;
1388 PyObject * obj1 = 0 ;
1389 char *kwnames[] = {
1390 (char *) "self",(char *) "pos", NULL
1391 };
1392
1393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1396 arg2 = (int) SWIG_AsInt(obj1);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->GotoPos(arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 return resultobj;
1407 fail:
1408 return NULL;
1409 }
1410
1411
1412 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1415 int arg2 ;
1416 PyObject * obj0 = 0 ;
1417 PyObject * obj1 = 0 ;
1418 char *kwnames[] = {
1419 (char *) "self",(char *) "posAnchor", NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1425 arg2 = (int) SWIG_AsInt(obj1);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 (arg1)->SetAnchor(arg2);
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 Py_INCREF(Py_None); resultobj = Py_None;
1435 return resultobj;
1436 fail:
1437 return NULL;
1438 }
1439
1440
1441 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject *resultobj;
1443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1444 int *arg2 = (int *) 0 ;
1445 wxString result;
1446 int temp2 ;
1447 PyObject * obj0 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self", NULL
1450 };
1451
1452 arg2 = &temp2;
1453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 result = (arg1)->GetCurLine(arg2);
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) SWIG_fail;
1462 }
1463 {
1464 #if wxUSE_UNICODE
1465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1466 #else
1467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1468 #endif
1469 }
1470 {
1471 PyObject *o = PyInt_FromLong((long) (*arg2));
1472 resultobj = t_output_helper(resultobj,o);
1473 }
1474 return resultobj;
1475 fail:
1476 return NULL;
1477 }
1478
1479
1480 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject *resultobj;
1482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1483 int result;
1484 PyObject * obj0 = 0 ;
1485 char *kwnames[] = {
1486 (char *) "self", NULL
1487 };
1488
1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1492 {
1493 PyThreadState* __tstate = wxPyBeginAllowThreads();
1494 result = (int)(arg1)->GetEndStyled();
1495
1496 wxPyEndAllowThreads(__tstate);
1497 if (PyErr_Occurred()) SWIG_fail;
1498 }
1499 resultobj = SWIG_FromInt((int)result);
1500 return resultobj;
1501 fail:
1502 return NULL;
1503 }
1504
1505
1506 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject *resultobj;
1508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1509 int arg2 ;
1510 PyObject * obj0 = 0 ;
1511 PyObject * obj1 = 0 ;
1512 char *kwnames[] = {
1513 (char *) "self",(char *) "eolMode", NULL
1514 };
1515
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1519 arg2 = (int) SWIG_AsInt(obj1);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 {
1522 PyThreadState* __tstate = wxPyBeginAllowThreads();
1523 (arg1)->ConvertEOLs(arg2);
1524
1525 wxPyEndAllowThreads(__tstate);
1526 if (PyErr_Occurred()) SWIG_fail;
1527 }
1528 Py_INCREF(Py_None); resultobj = Py_None;
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1538 int result;
1539 PyObject * obj0 = 0 ;
1540 char *kwnames[] = {
1541 (char *) "self", NULL
1542 };
1543
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 result = (int)(arg1)->GetEOLMode();
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 resultobj = SWIG_FromInt((int)result);
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject *resultobj;
1563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1564 int arg2 ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 char *kwnames[] = {
1568 (char *) "self",(char *) "eolMode", NULL
1569 };
1570
1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1574 arg2 = (int) SWIG_AsInt(obj1);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 (arg1)->SetEOLMode(arg2);
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 Py_INCREF(Py_None); resultobj = Py_None;
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1593 int arg2 ;
1594 int arg3 ;
1595 PyObject * obj0 = 0 ;
1596 PyObject * obj1 = 0 ;
1597 PyObject * obj2 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self",(char *) "pos",(char *) "mask", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1605 arg2 = (int) SWIG_AsInt(obj1);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 arg3 = (int) SWIG_AsInt(obj2);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 (arg1)->StartStyling(arg2,arg3);
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
1616 Py_INCREF(Py_None); resultobj = Py_None;
1617 return resultobj;
1618 fail:
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1626 int arg2 ;
1627 int arg3 ;
1628 PyObject * obj0 = 0 ;
1629 PyObject * obj1 = 0 ;
1630 PyObject * obj2 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "length",(char *) "style", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1638 arg2 = (int) SWIG_AsInt(obj1);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 arg3 = (int) SWIG_AsInt(obj2);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 (arg1)->SetStyling(arg2,arg3);
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 Py_INCREF(Py_None); resultobj = Py_None;
1650 return resultobj;
1651 fail:
1652 return NULL;
1653 }
1654
1655
1656 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1659 bool result;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1668 {
1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
1670 result = (bool)(arg1)->GetBufferedDraw();
1671
1672 wxPyEndAllowThreads(__tstate);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 }
1675 {
1676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1677 }
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1687 bool arg2 ;
1688 PyObject * obj0 = 0 ;
1689 PyObject * obj1 = 0 ;
1690 char *kwnames[] = {
1691 (char *) "self",(char *) "buffered", NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1697 arg2 = (bool) SWIG_AsBool(obj1);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 (arg1)->SetBufferedDraw(arg2);
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 Py_INCREF(Py_None); resultobj = Py_None;
1707 return resultobj;
1708 fail:
1709 return NULL;
1710 }
1711
1712
1713 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1716 int arg2 ;
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719 char *kwnames[] = {
1720 (char *) "self",(char *) "tabWidth", NULL
1721 };
1722
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1726 arg2 = (int) SWIG_AsInt(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 (arg1)->SetTabWidth(arg2);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 Py_INCREF(Py_None); resultobj = Py_None;
1736 return resultobj;
1737 fail:
1738 return NULL;
1739 }
1740
1741
1742 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1745 int result;
1746 PyObject * obj0 = 0 ;
1747 char *kwnames[] = {
1748 (char *) "self", NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1754 {
1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
1756 result = (int)(arg1)->GetTabWidth();
1757
1758 wxPyEndAllowThreads(__tstate);
1759 if (PyErr_Occurred()) SWIG_fail;
1760 }
1761 resultobj = SWIG_FromInt((int)result);
1762 return resultobj;
1763 fail:
1764 return NULL;
1765 }
1766
1767
1768 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1769 PyObject *resultobj;
1770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1771 int arg2 ;
1772 PyObject * obj0 = 0 ;
1773 PyObject * obj1 = 0 ;
1774 char *kwnames[] = {
1775 (char *) "self",(char *) "codePage", NULL
1776 };
1777
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1781 arg2 = (int) SWIG_AsInt(obj1);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 (arg1)->SetCodePage(arg2);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1800 int arg2 ;
1801 int arg3 ;
1802 wxColour const &arg4_defvalue = wxNullColour ;
1803 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1804 wxColour const &arg5_defvalue = wxNullColour ;
1805 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1806 wxColour temp4 ;
1807 wxColour temp5 ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810 PyObject * obj2 = 0 ;
1811 PyObject * obj3 = 0 ;
1812 PyObject * obj4 = 0 ;
1813 char *kwnames[] = {
1814 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1820 arg2 = (int) SWIG_AsInt(obj1);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 arg3 = (int) SWIG_AsInt(obj2);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 if (obj3) {
1825 {
1826 arg4 = &temp4;
1827 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1828 }
1829 }
1830 if (obj4) {
1831 {
1832 arg5 = &temp5;
1833 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1834 }
1835 }
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 Py_INCREF(Py_None); resultobj = Py_None;
1844 return resultobj;
1845 fail:
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1853 int arg2 ;
1854 wxColour *arg3 = 0 ;
1855 wxColour temp3 ;
1856 PyObject * obj0 = 0 ;
1857 PyObject * obj1 = 0 ;
1858 PyObject * obj2 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1866 arg2 = (int) SWIG_AsInt(obj1);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 {
1869 arg3 = &temp3;
1870 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1871 }
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 return resultobj;
1881 fail:
1882 return NULL;
1883 }
1884
1885
1886 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject *resultobj;
1888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1889 int arg2 ;
1890 wxColour *arg3 = 0 ;
1891 wxColour temp3 ;
1892 PyObject * obj0 = 0 ;
1893 PyObject * obj1 = 0 ;
1894 PyObject * obj2 = 0 ;
1895 char *kwnames[] = {
1896 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1902 arg2 = (int) SWIG_AsInt(obj1);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 {
1905 arg3 = &temp3;
1906 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1907 }
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 Py_INCREF(Py_None); resultobj = Py_None;
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1925 int arg2 ;
1926 int arg3 ;
1927 int result;
1928 PyObject * obj0 = 0 ;
1929 PyObject * obj1 = 0 ;
1930 PyObject * obj2 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1938 arg2 = (int) SWIG_AsInt(obj1);
1939 if (PyErr_Occurred()) SWIG_fail;
1940 arg3 = (int) SWIG_AsInt(obj2);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 resultobj = SWIG_FromInt((int)result);
1950 return resultobj;
1951 fail:
1952 return NULL;
1953 }
1954
1955
1956 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject *resultobj;
1958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1959 int arg2 ;
1960 int arg3 ;
1961 PyObject * obj0 = 0 ;
1962 PyObject * obj1 = 0 ;
1963 PyObject * obj2 = 0 ;
1964 char *kwnames[] = {
1965 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1966 };
1967
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1971 arg2 = (int) SWIG_AsInt(obj1);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 arg3 = (int) SWIG_AsInt(obj2);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 (arg1)->MarkerDelete(arg2,arg3);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 Py_INCREF(Py_None); resultobj = Py_None;
1983 return resultobj;
1984 fail:
1985 return NULL;
1986 }
1987
1988
1989 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1992 int arg2 ;
1993 PyObject * obj0 = 0 ;
1994 PyObject * obj1 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self",(char *) "markerNumber", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
2000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2002 arg2 = (int) SWIG_AsInt(obj1);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 (arg1)->MarkerDeleteAll(arg2);
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2011 Py_INCREF(Py_None); resultobj = Py_None;
2012 return resultobj;
2013 fail:
2014 return NULL;
2015 }
2016
2017
2018 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject *resultobj;
2020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2021 int arg2 ;
2022 int result;
2023 PyObject * obj0 = 0 ;
2024 PyObject * obj1 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "self",(char *) "line", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
2030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2032 arg2 = (int) SWIG_AsInt(obj1);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 result = (int)(arg1)->MarkerGet(arg2);
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 }
2041 resultobj = SWIG_FromInt((int)result);
2042 return resultobj;
2043 fail:
2044 return NULL;
2045 }
2046
2047
2048 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject *resultobj;
2050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2051 int arg2 ;
2052 int arg3 ;
2053 int result;
2054 PyObject * obj0 = 0 ;
2055 PyObject * obj1 = 0 ;
2056 PyObject * obj2 = 0 ;
2057 char *kwnames[] = {
2058 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
2062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2064 arg2 = (int) SWIG_AsInt(obj1);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 arg3 = (int) SWIG_AsInt(obj2);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = (int)(arg1)->MarkerNext(arg2,arg3);
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 resultobj = SWIG_FromInt((int)result);
2076 return resultobj;
2077 fail:
2078 return NULL;
2079 }
2080
2081
2082 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject *resultobj;
2084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2085 int arg2 ;
2086 int arg3 ;
2087 int result;
2088 PyObject * obj0 = 0 ;
2089 PyObject * obj1 = 0 ;
2090 PyObject * obj2 = 0 ;
2091 char *kwnames[] = {
2092 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2093 };
2094
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2098 arg2 = (int) SWIG_AsInt(obj1);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 arg3 = (int) SWIG_AsInt(obj2);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 resultobj = SWIG_FromInt((int)result);
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2117 PyObject *resultobj;
2118 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2119 int arg2 ;
2120 wxBitmap *arg3 = 0 ;
2121 PyObject * obj0 = 0 ;
2122 PyObject * obj1 = 0 ;
2123 PyObject * obj2 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2131 arg2 = (int) SWIG_AsInt(obj1);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2134 SWIG_POINTER_EXCEPTION | 0)) == -1)
2135 SWIG_fail;
2136 if (arg3 == NULL) {
2137 PyErr_SetString(PyExc_TypeError,"null reference");
2138 SWIG_fail;
2139 }
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 return resultobj;
2149 fail:
2150 return NULL;
2151 }
2152
2153
2154 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2157 int arg2 ;
2158 int arg3 ;
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 PyObject * obj2 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2169 arg2 = (int) SWIG_AsInt(obj1);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 arg3 = (int) SWIG_AsInt(obj2);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 {
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
2175 (arg1)->SetMarginType(arg2,arg3);
2176
2177 wxPyEndAllowThreads(__tstate);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 Py_INCREF(Py_None); resultobj = Py_None;
2181 return resultobj;
2182 fail:
2183 return NULL;
2184 }
2185
2186
2187 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2190 int arg2 ;
2191 int result;
2192 PyObject * obj0 = 0 ;
2193 PyObject * obj1 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self",(char *) "margin", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2201 arg2 = (int) SWIG_AsInt(obj1);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 result = (int)(arg1)->GetMarginType(arg2);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 resultobj = SWIG_FromInt((int)result);
2211 return resultobj;
2212 fail:
2213 return NULL;
2214 }
2215
2216
2217 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject *resultobj;
2219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2220 int arg2 ;
2221 int arg3 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 PyObject * obj2 = 0 ;
2225 char *kwnames[] = {
2226 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2232 arg2 = (int) SWIG_AsInt(obj1);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 arg3 = (int) SWIG_AsInt(obj2);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 {
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 (arg1)->SetMarginWidth(arg2,arg3);
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 Py_INCREF(Py_None); resultobj = Py_None;
2244 return resultobj;
2245 fail:
2246 return NULL;
2247 }
2248
2249
2250 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2253 int arg2 ;
2254 int result;
2255 PyObject * obj0 = 0 ;
2256 PyObject * obj1 = 0 ;
2257 char *kwnames[] = {
2258 (char *) "self",(char *) "margin", NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2264 arg2 = (int) SWIG_AsInt(obj1);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 {
2267 PyThreadState* __tstate = wxPyBeginAllowThreads();
2268 result = (int)(arg1)->GetMarginWidth(arg2);
2269
2270 wxPyEndAllowThreads(__tstate);
2271 if (PyErr_Occurred()) SWIG_fail;
2272 }
2273 resultobj = SWIG_FromInt((int)result);
2274 return resultobj;
2275 fail:
2276 return NULL;
2277 }
2278
2279
2280 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject *resultobj;
2282 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2283 int arg2 ;
2284 int arg3 ;
2285 PyObject * obj0 = 0 ;
2286 PyObject * obj1 = 0 ;
2287 PyObject * obj2 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self",(char *) "margin",(char *) "mask", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2295 arg2 = (int) SWIG_AsInt(obj1);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 arg3 = (int) SWIG_AsInt(obj2);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->SetMarginMask(arg2,arg3);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2316 int arg2 ;
2317 int result;
2318 PyObject * obj0 = 0 ;
2319 PyObject * obj1 = 0 ;
2320 char *kwnames[] = {
2321 (char *) "self",(char *) "margin", NULL
2322 };
2323
2324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2327 arg2 = (int) SWIG_AsInt(obj1);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 result = (int)(arg1)->GetMarginMask(arg2);
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) SWIG_fail;
2335 }
2336 resultobj = SWIG_FromInt((int)result);
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2346 int arg2 ;
2347 bool arg3 ;
2348 PyObject * obj0 = 0 ;
2349 PyObject * obj1 = 0 ;
2350 PyObject * obj2 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 arg2 = (int) SWIG_AsInt(obj1);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 arg3 = (bool) SWIG_AsBool(obj2);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 (arg1)->SetMarginSensitive(arg2,arg3);
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
2369 Py_INCREF(Py_None); resultobj = Py_None;
2370 return resultobj;
2371 fail:
2372 return NULL;
2373 }
2374
2375
2376 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2379 int arg2 ;
2380 bool result;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj1 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "margin", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2390 arg2 = (int) SWIG_AsInt(obj1);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 {
2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
2394 result = (bool)(arg1)->GetMarginSensitive(arg2);
2395
2396 wxPyEndAllowThreads(__tstate);
2397 if (PyErr_Occurred()) SWIG_fail;
2398 }
2399 {
2400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2401 }
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2411 PyObject * obj0 = 0 ;
2412 char *kwnames[] = {
2413 (char *) "self", NULL
2414 };
2415
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 (arg1)->StyleClearAll();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 Py_INCREF(Py_None); resultobj = Py_None;
2427 return resultobj;
2428 fail:
2429 return NULL;
2430 }
2431
2432
2433 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2436 int arg2 ;
2437 wxColour *arg3 = 0 ;
2438 wxColour temp3 ;
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "style",(char *) "fore", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2449 arg2 = (int) SWIG_AsInt(obj1);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 {
2452 arg3 = &temp3;
2453 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 Py_INCREF(Py_None); resultobj = Py_None;
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2472 int arg2 ;
2473 wxColour *arg3 = 0 ;
2474 wxColour temp3 ;
2475 PyObject * obj0 = 0 ;
2476 PyObject * obj1 = 0 ;
2477 PyObject * obj2 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self",(char *) "style",(char *) "back", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2485 arg2 = (int) SWIG_AsInt(obj1);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 {
2488 arg3 = &temp3;
2489 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2490 }
2491 {
2492 PyThreadState* __tstate = wxPyBeginAllowThreads();
2493 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2494
2495 wxPyEndAllowThreads(__tstate);
2496 if (PyErr_Occurred()) SWIG_fail;
2497 }
2498 Py_INCREF(Py_None); resultobj = Py_None;
2499 return resultobj;
2500 fail:
2501 return NULL;
2502 }
2503
2504
2505 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj;
2507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2508 int arg2 ;
2509 bool arg3 ;
2510 PyObject * obj0 = 0 ;
2511 PyObject * obj1 = 0 ;
2512 PyObject * obj2 = 0 ;
2513 char *kwnames[] = {
2514 (char *) "self",(char *) "style",(char *) "bold", NULL
2515 };
2516
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2520 arg2 = (int) SWIG_AsInt(obj1);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 arg3 = (bool) SWIG_AsBool(obj2);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 (arg1)->StyleSetBold(arg2,arg3);
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535 }
2536
2537
2538 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2541 int arg2 ;
2542 bool arg3 ;
2543 PyObject * obj0 = 0 ;
2544 PyObject * obj1 = 0 ;
2545 PyObject * obj2 = 0 ;
2546 char *kwnames[] = {
2547 (char *) "self",(char *) "style",(char *) "italic", NULL
2548 };
2549
2550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2553 arg2 = (int) SWIG_AsInt(obj1);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 arg3 = (bool) SWIG_AsBool(obj2);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 {
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 (arg1)->StyleSetItalic(arg2,arg3);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) SWIG_fail;
2563 }
2564 Py_INCREF(Py_None); resultobj = Py_None;
2565 return resultobj;
2566 fail:
2567 return NULL;
2568 }
2569
2570
2571 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject *resultobj;
2573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2574 int arg2 ;
2575 int arg3 ;
2576 PyObject * obj0 = 0 ;
2577 PyObject * obj1 = 0 ;
2578 PyObject * obj2 = 0 ;
2579 char *kwnames[] = {
2580 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2586 arg2 = (int) SWIG_AsInt(obj1);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 arg3 = (int) SWIG_AsInt(obj2);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 (arg1)->StyleSetSize(arg2,arg3);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 Py_INCREF(Py_None); resultobj = Py_None;
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2607 int arg2 ;
2608 wxString *arg3 = 0 ;
2609 bool temp3 = False ;
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
2612 PyObject * obj2 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self",(char *) "style",(char *) "fontName", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2620 arg2 = (int) SWIG_AsInt(obj1);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 {
2623 arg3 = wxString_in_helper(obj2);
2624 if (arg3 == NULL) SWIG_fail;
2625 temp3 = True;
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 Py_INCREF(Py_None); resultobj = Py_None;
2635 {
2636 if (temp3)
2637 delete arg3;
2638 }
2639 return resultobj;
2640 fail:
2641 {
2642 if (temp3)
2643 delete arg3;
2644 }
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2652 int arg2 ;
2653 bool arg3 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 PyObject * obj2 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "self",(char *) "style",(char *) "filled", NULL
2659 };
2660
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2664 arg2 = (int) SWIG_AsInt(obj1);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 arg3 = (bool) SWIG_AsBool(obj2);
2667 if (PyErr_Occurred()) SWIG_fail;
2668 {
2669 PyThreadState* __tstate = wxPyBeginAllowThreads();
2670 (arg1)->StyleSetEOLFilled(arg2,arg3);
2671
2672 wxPyEndAllowThreads(__tstate);
2673 if (PyErr_Occurred()) SWIG_fail;
2674 }
2675 Py_INCREF(Py_None); resultobj = Py_None;
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 (arg1)->StyleResetDefault();
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 Py_INCREF(Py_None); resultobj = Py_None;
2701 return resultobj;
2702 fail:
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2710 int arg2 ;
2711 bool arg3 ;
2712 PyObject * obj0 = 0 ;
2713 PyObject * obj1 = 0 ;
2714 PyObject * obj2 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self",(char *) "style",(char *) "underline", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2722 arg2 = (int) SWIG_AsInt(obj1);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 arg3 = (bool) SWIG_AsBool(obj2);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 (arg1)->StyleSetUnderline(arg2,arg3);
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
2733 Py_INCREF(Py_None); resultobj = Py_None;
2734 return resultobj;
2735 fail:
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2743 int arg2 ;
2744 int arg3 ;
2745 PyObject * obj0 = 0 ;
2746 PyObject * obj1 = 0 ;
2747 PyObject * obj2 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2755 arg2 = (int) SWIG_AsInt(obj1);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 arg3 = (int) SWIG_AsInt(obj2);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 {
2760 PyThreadState* __tstate = wxPyBeginAllowThreads();
2761 (arg1)->StyleSetCase(arg2,arg3);
2762
2763 wxPyEndAllowThreads(__tstate);
2764 if (PyErr_Occurred()) SWIG_fail;
2765 }
2766 Py_INCREF(Py_None); resultobj = Py_None;
2767 return resultobj;
2768 fail:
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj;
2775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2776 int arg2 ;
2777 int arg3 ;
2778 PyObject * obj0 = 0 ;
2779 PyObject * obj1 = 0 ;
2780 PyObject * obj2 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2788 arg2 = (int) SWIG_AsInt(obj1);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 arg3 = (int) SWIG_AsInt(obj2);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 (arg1)->StyleSetCharacterSet(arg2,arg3);
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 Py_INCREF(Py_None); resultobj = Py_None;
2800 return resultobj;
2801 fail:
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2809 int arg2 ;
2810 bool arg3 ;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2813 PyObject * obj2 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 arg2 = (int) SWIG_AsInt(obj1);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 arg3 = (bool) SWIG_AsBool(obj2);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 (arg1)->StyleSetHotSpot(arg2,arg3);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 Py_INCREF(Py_None); resultobj = Py_None;
2833 return resultobj;
2834 fail:
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj;
2841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2842 bool arg2 ;
2843 wxColour *arg3 = 0 ;
2844 wxColour temp3 ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 PyObject * obj2 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2855 arg2 = (bool) SWIG_AsBool(obj1);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 {
2858 arg3 = &temp3;
2859 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2860 }
2861 {
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 Py_INCREF(Py_None); resultobj = Py_None;
2869 return resultobj;
2870 fail:
2871 return NULL;
2872 }
2873
2874
2875 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2878 bool arg2 ;
2879 wxColour *arg3 = 0 ;
2880 wxColour temp3 ;
2881 PyObject * obj0 = 0 ;
2882 PyObject * obj1 = 0 ;
2883 PyObject * obj2 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2891 arg2 = (bool) SWIG_AsBool(obj1);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 {
2894 arg3 = &temp3;
2895 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2896 }
2897 {
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2900
2901 wxPyEndAllowThreads(__tstate);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 Py_INCREF(Py_None); resultobj = Py_None;
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2914 wxColour *arg2 = 0 ;
2915 wxColour temp2 ;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "self",(char *) "fore", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2925 {
2926 arg2 = &temp2;
2927 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2928 }
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 Py_INCREF(Py_None); resultobj = Py_None;
2937 return resultobj;
2938 fail:
2939 return NULL;
2940 }
2941
2942
2943 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2946 int arg2 ;
2947 int arg3 ;
2948 int arg4 ;
2949 PyObject * obj0 = 0 ;
2950 PyObject * obj1 = 0 ;
2951 PyObject * obj2 = 0 ;
2952 PyObject * obj3 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2960 arg2 = (int) SWIG_AsInt(obj1);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 arg3 = (int) SWIG_AsInt(obj2);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 arg4 = (int) SWIG_AsInt(obj3);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 Py_INCREF(Py_None); resultobj = Py_None;
2974 return resultobj;
2975 fail:
2976 return NULL;
2977 }
2978
2979
2980 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject *resultobj;
2982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2983 int arg2 ;
2984 int arg3 ;
2985 PyObject * obj0 = 0 ;
2986 PyObject * obj1 = 0 ;
2987 PyObject * obj2 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2995 arg2 = (int) SWIG_AsInt(obj1);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 arg3 = (int) SWIG_AsInt(obj2);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 (arg1)->CmdKeyClear(arg2,arg3);
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 Py_INCREF(Py_None); resultobj = Py_None;
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->CmdKeyClearAll();
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3041 int arg2 ;
3042 char *arg3 ;
3043 PyObject * obj0 = 0 ;
3044 PyObject * obj1 = 0 ;
3045 PyObject * obj2 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3053 arg2 = (int) SWIG_AsInt(obj1);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 arg3 = SWIG_AsCharPtr(obj2);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 (arg1)->SetStyleBytes(arg2,arg3);
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 Py_INCREF(Py_None); resultobj = Py_None;
3065 return resultobj;
3066 fail:
3067 return NULL;
3068 }
3069
3070
3071 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj;
3073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3074 int arg2 ;
3075 bool arg3 ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3078 PyObject * obj2 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self",(char *) "style",(char *) "visible", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3086 arg2 = (int) SWIG_AsInt(obj1);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 arg3 = (bool) SWIG_AsBool(obj2);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->StyleSetVisible(arg2,arg3);
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3107 int result;
3108 PyObject * obj0 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 result = (int)(arg1)->GetCaretPeriod();
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 resultobj = SWIG_FromInt((int)result);
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3133 int arg2 ;
3134 PyObject * obj0 = 0 ;
3135 PyObject * obj1 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "periodMilliseconds", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3143 arg2 = (int) SWIG_AsInt(obj1);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 (arg1)->SetCaretPeriod(arg2);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3162 wxString *arg2 = 0 ;
3163 bool temp2 = False ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self",(char *) "characters", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3173 {
3174 arg2 = wxString_in_helper(obj1);
3175 if (arg2 == NULL) SWIG_fail;
3176 temp2 = True;
3177 }
3178 {
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 (arg1)->SetWordChars((wxString const &)*arg2);
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 Py_INCREF(Py_None); resultobj = Py_None;
3186 {
3187 if (temp2)
3188 delete arg2;
3189 }
3190 return resultobj;
3191 fail:
3192 {
3193 if (temp2)
3194 delete arg2;
3195 }
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 (arg1)->BeginUndoAction();
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 Py_INCREF(Py_None); resultobj = Py_None;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3228 PyObject * obj0 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "self", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 (arg1)->EndUndoAction();
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 Py_INCREF(Py_None); resultobj = Py_None;
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3253 int arg2 ;
3254 int arg3 ;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257 PyObject * obj2 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "self",(char *) "indic",(char *) "style", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 arg2 = (int) SWIG_AsInt(obj1);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 arg3 = (int) SWIG_AsInt(obj2);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 (arg1)->IndicatorSetStyle(arg2,arg3);
3272
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 Py_INCREF(Py_None); resultobj = Py_None;
3277 return resultobj;
3278 fail:
3279 return NULL;
3280 }
3281
3282
3283 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3286 int arg2 ;
3287 int result;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "indic", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 arg2 = (int) SWIG_AsInt(obj1);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 result = (int)(arg1)->IndicatorGetStyle(arg2);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 resultobj = SWIG_FromInt((int)result);
3307 return resultobj;
3308 fail:
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3316 int arg2 ;
3317 wxColour *arg3 = 0 ;
3318 wxColour temp3 ;
3319 PyObject * obj0 = 0 ;
3320 PyObject * obj1 = 0 ;
3321 PyObject * obj2 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self",(char *) "indic",(char *) "fore", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3329 arg2 = (int) SWIG_AsInt(obj1);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 {
3332 arg3 = &temp3;
3333 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3334 }
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3352 int arg2 ;
3353 wxColour result;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self",(char *) "indic", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3363 arg2 = (int) SWIG_AsInt(obj1);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (arg1)->IndicatorGetForeground(arg2);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 {
3373 wxColour * resultptr;
3374 resultptr = new wxColour((wxColour &) result);
3375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3376 }
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3386 bool arg2 ;
3387 wxColour *arg3 = 0 ;
3388 wxColour temp3 ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
3391 PyObject * obj2 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3399 arg2 = (bool) SWIG_AsBool(obj1);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 {
3402 arg3 = &temp3;
3403 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3404 }
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 Py_INCREF(Py_None); resultobj = Py_None;
3413 return resultobj;
3414 fail:
3415 return NULL;
3416 }
3417
3418
3419 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3420 PyObject *resultobj;
3421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3422 bool arg2 ;
3423 wxColour *arg3 = 0 ;
3424 wxColour temp3 ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3435 arg2 = (bool) SWIG_AsBool(obj1);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 {
3438 arg3 = &temp3;
3439 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3440 }
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3458 int arg2 ;
3459 PyObject * obj0 = 0 ;
3460 PyObject * obj1 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "bits", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 arg2 = (int) SWIG_AsInt(obj1);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetStyleBits(arg2);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3487 int result;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 result = (int)(arg1)->GetStyleBits();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 resultobj = SWIG_FromInt((int)result);
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3513 int arg2 ;
3514 int arg3 ;
3515 PyObject * obj0 = 0 ;
3516 PyObject * obj1 = 0 ;
3517 PyObject * obj2 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "line",(char *) "state", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 arg2 = (int) SWIG_AsInt(obj1);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 arg3 = (int) SWIG_AsInt(obj2);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 (arg1)->SetLineState(arg2,arg3);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 Py_INCREF(Py_None); resultobj = Py_None;
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj;
3545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3546 int arg2 ;
3547 int result;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "line", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 arg2 = (int) SWIG_AsInt(obj1);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 {
3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
3561 result = (int)(arg1)->GetLineState(arg2);
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 resultobj = SWIG_FromInt((int)result);
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3576 int result;
3577 PyObject * obj0 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "self", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (int)(arg1)->GetMaxLineState();
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 resultobj = SWIG_FromInt((int)result);
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3602 bool result;
3603 PyObject * obj0 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (bool)(arg1)->GetCaretLineVisible();
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3620 }
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3630 bool arg2 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "show", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3640 arg2 = (bool) SWIG_AsBool(obj1);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->SetCaretLineVisible(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3659 wxColour result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (arg1)->GetCaretLineBack();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 {
3676 wxColour * resultptr;
3677 resultptr = new wxColour((wxColour &) result);
3678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3679 }
3680 return resultobj;
3681 fail:
3682 return NULL;
3683 }
3684
3685
3686 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3689 wxColour *arg2 = 0 ;
3690 wxColour temp2 ;
3691 PyObject * obj0 = 0 ;
3692 PyObject * obj1 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "back", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3700 {
3701 arg2 = &temp2;
3702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3703 }
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 Py_INCREF(Py_None); resultobj = Py_None;
3712 return resultobj;
3713 fail:
3714 return NULL;
3715 }
3716
3717
3718 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3721 int arg2 ;
3722 bool arg3 ;
3723 PyObject * obj0 = 0 ;
3724 PyObject * obj1 = 0 ;
3725 PyObject * obj2 = 0 ;
3726 char *kwnames[] = {
3727 (char *) "self",(char *) "style",(char *) "changeable", NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3733 arg2 = (int) SWIG_AsInt(obj1);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 arg3 = (bool) SWIG_AsBool(obj2);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 (arg1)->StyleSetChangeable(arg2,arg3);
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 Py_INCREF(Py_None); resultobj = Py_None;
3745 return resultobj;
3746 fail:
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3754 int arg2 ;
3755 wxString *arg3 = 0 ;
3756 bool temp3 = False ;
3757 PyObject * obj0 = 0 ;
3758 PyObject * obj1 = 0 ;
3759 PyObject * obj2 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3767 arg2 = (int) SWIG_AsInt(obj1);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 {
3770 arg3 = wxString_in_helper(obj2);
3771 if (arg3 == NULL) SWIG_fail;
3772 temp3 = True;
3773 }
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 Py_INCREF(Py_None); resultobj = Py_None;
3782 {
3783 if (temp3)
3784 delete arg3;
3785 }
3786 return resultobj;
3787 fail:
3788 {
3789 if (temp3)
3790 delete arg3;
3791 }
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3799 PyObject * obj0 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 (arg1)->AutoCompCancel();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 Py_INCREF(Py_None); resultobj = Py_None;
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3824 bool result;
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (bool)(arg1)->AutoCompActive();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3842 }
3843 return resultobj;
3844 fail:
3845 return NULL;
3846 }
3847
3848
3849 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3852 int result;
3853 PyObject * obj0 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (int)(arg1)->AutoCompPosStart();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 resultobj = SWIG_FromInt((int)result);
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3878 PyObject * obj0 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 (arg1)->AutoCompComplete();
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3903 wxString *arg2 = 0 ;
3904 bool temp2 = False ;
3905 PyObject * obj0 = 0 ;
3906 PyObject * obj1 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self",(char *) "characterSet", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3914 {
3915 arg2 = wxString_in_helper(obj1);
3916 if (arg2 == NULL) SWIG_fail;
3917 temp2 = True;
3918 }
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 (arg1)->AutoCompStops((wxString const &)*arg2);
3922
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 Py_INCREF(Py_None); resultobj = Py_None;
3927 {
3928 if (temp2)
3929 delete arg2;
3930 }
3931 return resultobj;
3932 fail:
3933 {
3934 if (temp2)
3935 delete arg2;
3936 }
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3944 int arg2 ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "separatorCharacter", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3954 arg2 = (int) SWIG_AsInt(obj1);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->AutoCompSetSeparator(arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3973 int result;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 result = (int)(arg1)->AutoCompGetSeparator();
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 resultobj = SWIG_FromInt((int)result);
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3999 wxString *arg2 = 0 ;
4000 bool temp2 = False ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "text", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4010 {
4011 arg2 = wxString_in_helper(obj1);
4012 if (arg2 == NULL) SWIG_fail;
4013 temp2 = True;
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->AutoCompSelect((wxString const &)*arg2);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 {
4024 if (temp2)
4025 delete arg2;
4026 }
4027 return resultobj;
4028 fail:
4029 {
4030 if (temp2)
4031 delete arg2;
4032 }
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4040 bool arg2 ;
4041 PyObject * obj0 = 0 ;
4042 PyObject * obj1 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "self",(char *) "cancel", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4050 arg2 = (bool) SWIG_AsBool(obj1);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 (arg1)->AutoCompSetCancelAtStart(arg2);
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 Py_INCREF(Py_None); resultobj = Py_None;
4060 return resultobj;
4061 fail:
4062 return NULL;
4063 }
4064
4065
4066 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4069 bool result;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 {
4086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4087 }
4088 return resultobj;
4089 fail:
4090 return NULL;
4091 }
4092
4093
4094 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj;
4096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4097 wxString *arg2 = 0 ;
4098 bool temp2 = False ;
4099 PyObject * obj0 = 0 ;
4100 PyObject * obj1 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self",(char *) "characterSet", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4108 {
4109 arg2 = wxString_in_helper(obj1);
4110 if (arg2 == NULL) SWIG_fail;
4111 temp2 = True;
4112 }
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 {
4122 if (temp2)
4123 delete arg2;
4124 }
4125 return resultobj;
4126 fail:
4127 {
4128 if (temp2)
4129 delete arg2;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4138 bool arg2 ;
4139 PyObject * obj0 = 0 ;
4140 PyObject * obj1 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "chooseSingle", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4148 arg2 = (bool) SWIG_AsBool(obj1);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 (arg1)->AutoCompSetChooseSingle(arg2);
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 Py_INCREF(Py_None); resultobj = Py_None;
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4167 bool result;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 result = (bool)(arg1)->AutoCompGetChooseSingle();
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 {
4184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4185 }
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4195 bool arg2 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 char *kwnames[] = {
4199 (char *) "self",(char *) "ignoreCase", NULL
4200 };
4201
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4205 arg2 = (bool) SWIG_AsBool(obj1);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->AutoCompSetIgnoreCase(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4224 bool result;
4225 PyObject * obj0 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4242 }
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4252 int arg2 ;
4253 wxString *arg3 = 0 ;
4254 bool temp3 = False ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4265 arg2 = (int) SWIG_AsInt(obj1);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 {
4268 arg3 = wxString_in_helper(obj2);
4269 if (arg3 == NULL) SWIG_fail;
4270 temp3 = True;
4271 }
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 Py_INCREF(Py_None); resultobj = Py_None;
4280 {
4281 if (temp3)
4282 delete arg3;
4283 }
4284 return resultobj;
4285 fail:
4286 {
4287 if (temp3)
4288 delete arg3;
4289 }
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4297 bool arg2 ;
4298 PyObject * obj0 = 0 ;
4299 PyObject * obj1 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "self",(char *) "autoHide", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4307 arg2 = (bool) SWIG_AsBool(obj1);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->AutoCompSetAutoHide(arg2);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 Py_INCREF(Py_None); resultobj = Py_None;
4317 return resultobj;
4318 fail:
4319 return NULL;
4320 }
4321
4322
4323 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject *resultobj;
4325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4326 bool result;
4327 PyObject * obj0 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 result = (bool)(arg1)->AutoCompGetAutoHide();
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 {
4343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4344 }
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4354 bool arg2 ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 char *kwnames[] = {
4358 (char *) "self",(char *) "dropRestOfWord", NULL
4359 };
4360
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4364 arg2 = (bool) SWIG_AsBool(obj1);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 (arg1)->AutoCompSetDropRestOfWord(arg2);
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 Py_INCREF(Py_None); resultobj = Py_None;
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj;
4382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4383 bool result;
4384 PyObject * obj0 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 {
4400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4401 }
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4411 int arg2 ;
4412 wxBitmap *arg3 = 0 ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 PyObject * obj2 = 0 ;
4416 char *kwnames[] = {
4417 (char *) "self",(char *) "type",(char *) "bmp", NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4423 arg2 = (int) SWIG_AsInt(obj1);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1)
4427 SWIG_fail;
4428 if (arg3 == NULL) {
4429 PyErr_SetString(PyExc_TypeError,"null reference");
4430 SWIG_fail;
4431 }
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4435
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 Py_INCREF(Py_None); resultobj = Py_None;
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4449 PyObject * obj0 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->ClearRegisteredImages();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 Py_INCREF(Py_None); resultobj = Py_None;
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4474 int result;
4475 PyObject * obj0 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (int)(arg1)->AutoCompGetTypeSeparator();
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 resultobj = SWIG_FromInt((int)result);
4491 return resultobj;
4492 fail:
4493 return NULL;
4494 }
4495
4496
4497 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4500 int arg2 ;
4501 PyObject * obj0 = 0 ;
4502 PyObject * obj1 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "self",(char *) "separatorCharacter", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4510 arg2 = (int) SWIG_AsInt(obj1);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->AutoCompSetTypeSeparator(arg2);
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4529 int arg2 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "indentSize", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 arg2 = (int) SWIG_AsInt(obj1);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->SetIndent(arg2);
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4558 int result;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 result = (int)(arg1)->GetIndent();
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 resultobj = SWIG_FromInt((int)result);
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4584 bool arg2 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self",(char *) "useTabs", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4594 arg2 = (bool) SWIG_AsBool(obj1);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->SetUseTabs(arg2);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4613 bool result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (bool)(arg1)->GetUseTabs();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 {
4630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4641 int arg2 ;
4642 int arg3 ;
4643 PyObject * obj0 = 0 ;
4644 PyObject * obj1 = 0 ;
4645 PyObject * obj2 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4653 arg2 = (int) SWIG_AsInt(obj1);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 arg3 = (int) SWIG_AsInt(obj2);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 (arg1)->SetLineIndentation(arg2,arg3);
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 Py_INCREF(Py_None); resultobj = Py_None;
4665 return resultobj;
4666 fail:
4667 return NULL;
4668 }
4669
4670
4671 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4674 int arg2 ;
4675 int result;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "line", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 arg2 = (int) SWIG_AsInt(obj1);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 result = (int)(arg1)->GetLineIndentation(arg2);
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 resultobj = SWIG_FromInt((int)result);
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4704 int arg2 ;
4705 int result;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 char *kwnames[] = {
4709 (char *) "self",(char *) "line", NULL
4710 };
4711
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4715 arg2 = (int) SWIG_AsInt(obj1);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (int)(arg1)->GetLineIndentPosition(arg2);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_FromInt((int)result);
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4734 int arg2 ;
4735 int result;
4736 PyObject * obj0 = 0 ;
4737 PyObject * obj1 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "pos", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4745 arg2 = (int) SWIG_AsInt(obj1);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (int)(arg1)->GetColumn(arg2);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_FromInt((int)result);
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4764 bool arg2 ;
4765 PyObject * obj0 = 0 ;
4766 PyObject * obj1 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "show", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4774 arg2 = (bool) SWIG_AsBool(obj1);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetUseHorizontalScrollBar(arg2);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4793 bool result;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 {
4810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4811 }
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4821 bool arg2 ;
4822 PyObject * obj0 = 0 ;
4823 PyObject * obj1 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self",(char *) "show", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4831 arg2 = (bool) SWIG_AsBool(obj1);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 (arg1)->SetIndentationGuides(arg2);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 Py_INCREF(Py_None); resultobj = Py_None;
4841 return resultobj;
4842 fail:
4843 return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj;
4849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4850 bool result;
4851 PyObject * obj0 = 0 ;
4852 char *kwnames[] = {
4853 (char *) "self", NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 result = (bool)(arg1)->GetIndentationGuides();
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 {
4867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4868 }
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4878 int arg2 ;
4879 PyObject * obj0 = 0 ;
4880 PyObject * obj1 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "column", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 arg2 = (int) SWIG_AsInt(obj1);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->SetHighlightGuide(arg2);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4907 int result;
4908 PyObject * obj0 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (int)(arg1)->GetHighlightGuide();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = SWIG_FromInt((int)result);
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4933 int arg2 ;
4934 int result;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self",(char *) "line", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4944 arg2 = (int) SWIG_AsInt(obj1);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (int)(arg1)->GetLineEndPosition(arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_FromInt((int)result);
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4963 int result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 result = (int)(arg1)->GetCodePage();
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = SWIG_FromInt((int)result);
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4989 wxColour result;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (arg1)->GetCaretForeground();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 {
5006 wxColour * resultptr;
5007 resultptr = new wxColour((wxColour &) result);
5008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5009 }
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5019 bool result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (bool)(arg1)->GetReadOnly();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 {
5036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5047 int arg2 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "pos", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
5055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5057 arg2 = (int) SWIG_AsInt(obj1);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->SetCurrentPos(arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5076 int arg2 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "pos", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5086 arg2 = (int) SWIG_AsInt(obj1);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetSelectionStart(arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 Py_INCREF(Py_None); resultobj = Py_None;
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5105 int result;
5106 PyObject * obj0 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (int)(arg1)->GetSelectionStart();
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 resultobj = SWIG_FromInt((int)result);
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5131 int arg2 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "pos", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5141 arg2 = (int) SWIG_AsInt(obj1);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetSelectionEnd(arg2);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5160 int result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (int)(arg1)->GetSelectionEnd();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_FromInt((int)result);
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5186 int arg2 ;
5187 PyObject * obj0 = 0 ;
5188 PyObject * obj1 = 0 ;
5189 char *kwnames[] = {
5190 (char *) "self",(char *) "magnification", NULL
5191 };
5192
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5196 arg2 = (int) SWIG_AsInt(obj1);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 (arg1)->SetPrintMagnification(arg2);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 Py_INCREF(Py_None); resultobj = Py_None;
5206 return resultobj;
5207 fail:
5208 return NULL;
5209 }
5210
5211
5212 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5215 int result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = (int)(arg1)->GetPrintMagnification();
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 resultobj = SWIG_FromInt((int)result);
5232 return resultobj;
5233 fail:
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5241 int arg2 ;
5242 PyObject * obj0 = 0 ;
5243 PyObject * obj1 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "mode", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 arg2 = (int) SWIG_AsInt(obj1);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 (arg1)->SetPrintColourMode(arg2);
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 Py_INCREF(Py_None); resultobj = Py_None;
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5270 int result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 result = (int)(arg1)->GetPrintColourMode();
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 resultobj = SWIG_FromInt((int)result);
5287 return resultobj;
5288 fail:
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5296 int arg2 ;
5297 int arg3 ;
5298 wxString *arg4 = 0 ;
5299 int arg5 = (int) 0 ;
5300 int result;
5301 bool temp4 = False ;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 PyObject * obj2 = 0 ;
5305 PyObject * obj3 = 0 ;
5306 PyObject * obj4 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5314 arg2 = (int) SWIG_AsInt(obj1);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 arg3 = (int) SWIG_AsInt(obj2);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 {
5319 arg4 = wxString_in_helper(obj3);
5320 if (arg4 == NULL) SWIG_fail;
5321 temp4 = True;
5322 }
5323 if (obj4) {
5324 arg5 = (int) SWIG_AsInt(obj4);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5330
5331 wxPyEndAllowThreads(__tstate);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 resultobj = SWIG_FromInt((int)result);
5335 {
5336 if (temp4)
5337 delete arg4;
5338 }
5339 return resultobj;
5340 fail:
5341 {
5342 if (temp4)
5343 delete arg4;
5344 }
5345 return NULL;
5346 }
5347
5348
5349 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5352 bool arg2 ;
5353 int arg3 ;
5354 int arg4 ;
5355 wxDC *arg5 = (wxDC *) 0 ;
5356 wxDC *arg6 = (wxDC *) 0 ;
5357 wxRect arg7 ;
5358 wxRect arg8 ;
5359 int result;
5360 wxRect *argp7 ;
5361 wxRect *argp8 ;
5362 PyObject * obj0 = 0 ;
5363 PyObject * obj1 = 0 ;
5364 PyObject * obj2 = 0 ;
5365 PyObject * obj3 = 0 ;
5366 PyObject * obj4 = 0 ;
5367 PyObject * obj5 = 0 ;
5368 PyObject * obj6 = 0 ;
5369 PyObject * obj7 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5377 arg2 = (bool) SWIG_AsBool(obj1);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 arg3 = (int) SWIG_AsInt(obj2);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 arg4 = (int) SWIG_AsInt(obj3);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5385 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5387 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5388 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5389 arg7 = *argp7;
5390 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5391 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5392 arg8 = *argp8;
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5396
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 resultobj = SWIG_FromInt((int)result);
5401 return resultobj;
5402 fail:
5403 return NULL;
5404 }
5405
5406
5407 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5408 PyObject *resultobj;
5409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5410 int result;
5411 PyObject * obj0 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (int)(arg1)->GetFirstVisibleLine();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 resultobj = SWIG_FromInt((int)result);
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5436 int arg2 ;
5437 wxString result;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "line", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 arg2 = (int) SWIG_AsInt(obj1);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 {
5450 PyThreadState* __tstate = wxPyBeginAllowThreads();
5451 result = (arg1)->GetLine(arg2);
5452
5453 wxPyEndAllowThreads(__tstate);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 {
5457 #if wxUSE_UNICODE
5458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5459 #else
5460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5461 #endif
5462 }
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5472 int result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (int)(arg1)->GetLineCount();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 resultobj = SWIG_FromInt((int)result);
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5498 int arg2 ;
5499 PyObject * obj0 = 0 ;
5500 PyObject * obj1 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "pixelWidth", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5508 arg2 = (int) SWIG_AsInt(obj1);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 (arg1)->SetMarginLeft(arg2);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 Py_INCREF(Py_None); resultobj = Py_None;
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5527 int result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 result = (int)(arg1)->GetMarginLeft();
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 resultobj = SWIG_FromInt((int)result);
5544 return resultobj;
5545 fail:
5546 return NULL;
5547 }
5548
5549
5550 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5553 int arg2 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "pixelWidth", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5563 arg2 = (int) SWIG_AsInt(obj1);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetMarginRight(arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5582 int result;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (int)(arg1)->GetMarginRight();
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 resultobj = SWIG_FromInt((int)result);
5599 return resultobj;
5600 fail:
5601 return NULL;
5602 }
5603
5604
5605 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5608 bool result;
5609 PyObject * obj0 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 result = (bool)(arg1)->GetModify();
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 {
5625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5626 }
5627 return resultobj;
5628 fail:
5629 return NULL;
5630 }
5631
5632
5633 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj;
5635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5636 int arg2 ;
5637 int arg3 ;
5638 PyObject * obj0 = 0 ;
5639 PyObject * obj1 = 0 ;
5640 PyObject * obj2 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self",(char *) "start",(char *) "end", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 arg2 = (int) SWIG_AsInt(obj1);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 arg3 = (int) SWIG_AsInt(obj2);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 (arg1)->SetSelection(arg2,arg3);
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 Py_INCREF(Py_None); resultobj = Py_None;
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5669 wxString result;
5670 PyObject * obj0 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (arg1)->GetSelectedText();
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 {
5686 #if wxUSE_UNICODE
5687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5688 #else
5689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5690 #endif
5691 }
5692 return resultobj;
5693 fail:
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5701 int arg2 ;
5702 int arg3 ;
5703 wxString result;
5704 PyObject * obj0 = 0 ;
5705 PyObject * obj1 = 0 ;
5706 PyObject * obj2 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5714 arg2 = (int) SWIG_AsInt(obj1);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 arg3 = (int) SWIG_AsInt(obj2);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (arg1)->GetTextRange(arg2,arg3);
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 #if wxUSE_UNICODE
5727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5728 #else
5729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5730 #endif
5731 }
5732 return resultobj;
5733 fail:
5734 return NULL;
5735 }
5736
5737
5738 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj;
5740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5741 bool arg2 ;
5742 PyObject * obj0 = 0 ;
5743 PyObject * obj1 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self",(char *) "normal", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5751 arg2 = (bool) SWIG_AsBool(obj1);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 (arg1)->HideSelection(arg2);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 Py_INCREF(Py_None); resultobj = Py_None;
5761 return resultobj;
5762 fail:
5763 return NULL;
5764 }
5765
5766
5767 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5770 int arg2 ;
5771 int result;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self",(char *) "pos", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 arg2 = (int) SWIG_AsInt(obj1);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (int)(arg1)->LineFromPosition(arg2);
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 resultobj = SWIG_FromInt((int)result);
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5800 int arg2 ;
5801 int result;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "line", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5811 arg2 = (int) SWIG_AsInt(obj1);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (int)(arg1)->PositionFromLine(arg2);
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = SWIG_FromInt((int)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5830 int arg2 ;
5831 int arg3 ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 PyObject * obj2 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "columns",(char *) "lines", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5842 arg2 = (int) SWIG_AsInt(obj1);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 arg3 = (int) SWIG_AsInt(obj2);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->LineScroll(arg2,arg3);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 (arg1)->EnsureCaretVisible();
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 Py_INCREF(Py_None); resultobj = Py_None;
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5888 wxString *arg2 = 0 ;
5889 bool temp2 = False ;
5890 PyObject * obj0 = 0 ;
5891 PyObject * obj1 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self",(char *) "text", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5899 {
5900 arg2 = wxString_in_helper(obj1);
5901 if (arg2 == NULL) SWIG_fail;
5902 temp2 = True;
5903 }
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->ReplaceSelection((wxString const &)*arg2);
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 Py_INCREF(Py_None); resultobj = Py_None;
5912 {
5913 if (temp2)
5914 delete arg2;
5915 }
5916 return resultobj;
5917 fail:
5918 {
5919 if (temp2)
5920 delete arg2;
5921 }
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5929 bool arg2 ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "readOnly", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 arg2 = (bool) SWIG_AsBool(obj1);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->SetReadOnly(arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 Py_INCREF(Py_None); resultobj = Py_None;
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5958 bool result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (bool)(arg1)->CanPaste();
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5976 }
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5986 bool result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (bool)(arg1)->CanUndo();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->EmptyUndoBuffer();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 Py_INCREF(Py_None); resultobj = Py_None;
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6039 PyObject * obj0 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 (arg1)->Undo();
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 Py_INCREF(Py_None); resultobj = Py_None;
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj;
6063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6064 PyObject * obj0 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 (arg1)->Cut();
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj;
6088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 (arg1)->Copy();
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 Py_INCREF(Py_None); resultobj = Py_None;
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6112 PyObject *resultobj;
6113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->Paste();
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 Py_INCREF(Py_None); resultobj = Py_None;
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6139 PyObject * obj0 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 (arg1)->Clear();
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 Py_INCREF(Py_None); resultobj = Py_None;
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6164 wxString *arg2 = 0 ;
6165 bool temp2 = False ;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 char *kwnames[] = {
6169 (char *) "self",(char *) "text", NULL
6170 };
6171
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6175 {
6176 arg2 = wxString_in_helper(obj1);
6177 if (arg2 == NULL) SWIG_fail;
6178 temp2 = True;
6179 }
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 (arg1)->SetText((wxString const &)*arg2);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 Py_INCREF(Py_None); resultobj = Py_None;
6188 {
6189 if (temp2)
6190 delete arg2;
6191 }
6192 return resultobj;
6193 fail:
6194 {
6195 if (temp2)
6196 delete arg2;
6197 }
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6205 wxString result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 result = (arg1)->GetText();
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 {
6222 #if wxUSE_UNICODE
6223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6224 #else
6225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6226 #endif
6227 }
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj;
6236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6237 int result;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (int)(arg1)->GetTextLength();
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_FromInt((int)result);
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6263 bool arg2 ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self",(char *) "overtype", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6273 arg2 = (bool) SWIG_AsBool(obj1);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->SetOvertype(arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6292 bool result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (bool)(arg1)->GetOvertype();
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 {
6309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6310 }
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6320 int arg2 ;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self",(char *) "pixelWidth", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6330 arg2 = (int) SWIG_AsInt(obj1);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 (arg1)->SetCaretWidth(arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 Py_INCREF(Py_None); resultobj = Py_None;
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6349 int result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (int)(arg1)->GetCaretWidth();
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = SWIG_FromInt((int)result);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6375 int arg2 ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "pos", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 arg2 = (int) SWIG_AsInt(obj1);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetTargetStart(arg2);
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 Py_INCREF(Py_None); resultobj = Py_None;
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6404 int result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (int)(arg1)->GetTargetStart();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_FromInt((int)result);
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6430 int arg2 ;
6431 PyObject * obj0 = 0 ;
6432 PyObject * obj1 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self",(char *) "pos", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6440 arg2 = (int) SWIG_AsInt(obj1);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 (arg1)->SetTargetEnd(arg2);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 Py_INCREF(Py_None); resultobj = Py_None;
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6459 int result;
6460 PyObject * obj0 = 0 ;
6461 char *kwnames[] = {
6462 (char *) "self", NULL
6463 };
6464
6465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (int)(arg1)->GetTargetEnd();
6471
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
6475 resultobj = SWIG_FromInt((int)result);
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6485 wxString *arg2 = 0 ;
6486 int result;
6487 bool temp2 = False ;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self",(char *) "text", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6497 {
6498 arg2 = wxString_in_helper(obj1);
6499 if (arg2 == NULL) SWIG_fail;
6500 temp2 = True;
6501 }
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_FromInt((int)result);
6510 {
6511 if (temp2)
6512 delete arg2;
6513 }
6514 return resultobj;
6515 fail:
6516 {
6517 if (temp2)
6518 delete arg2;
6519 }
6520 return NULL;
6521 }
6522
6523
6524 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj;
6526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6527 wxString *arg2 = 0 ;
6528 int result;
6529 bool temp2 = False ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self",(char *) "text", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6539 {
6540 arg2 = wxString_in_helper(obj1);
6541 if (arg2 == NULL) SWIG_fail;
6542 temp2 = True;
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_FromInt((int)result);
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp2)
6560 delete arg2;
6561 }
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6569 wxString *arg2 = 0 ;
6570 int result;
6571 bool temp2 = False ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "text", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6581 {
6582 arg2 = wxString_in_helper(obj1);
6583 if (arg2 == NULL) SWIG_fail;
6584 temp2 = True;
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_FromInt((int)result);
6594 {
6595 if (temp2)
6596 delete arg2;
6597 }
6598 return resultobj;
6599 fail:
6600 {
6601 if (temp2)
6602 delete arg2;
6603 }
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6611 int arg2 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "flags", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6621 arg2 = (int) SWIG_AsInt(obj1);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->SetSearchFlags(arg2);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6640 int result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (int)(arg1)->GetSearchFlags();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = SWIG_FromInt((int)result);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6666 int arg2 ;
6667 wxString *arg3 = 0 ;
6668 bool temp3 = False ;
6669 PyObject * obj0 = 0 ;
6670 PyObject * obj1 = 0 ;
6671 PyObject * obj2 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self",(char *) "pos",(char *) "definition", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 arg2 = (int) SWIG_AsInt(obj1);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 {
6682 arg3 = wxString_in_helper(obj2);
6683 if (arg3 == NULL) SWIG_fail;
6684 temp3 = True;
6685 }
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 Py_INCREF(Py_None); resultobj = Py_None;
6694 {
6695 if (temp3)
6696 delete arg3;
6697 }
6698 return resultobj;
6699 fail:
6700 {
6701 if (temp3)
6702 delete arg3;
6703 }
6704 return NULL;
6705 }
6706
6707
6708 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6711 PyObject * obj0 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->CallTipCancel();
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 Py_INCREF(Py_None); resultobj = Py_None;
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6736 bool result;
6737 PyObject * obj0 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (bool)(arg1)->CallTipActive();
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 {
6753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6754 }
6755 return resultobj;
6756 fail:
6757 return NULL;
6758 }
6759
6760
6761 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj;
6763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6764 int result;
6765 PyObject * obj0 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "self", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (int)(arg1)->CallTipPosAtStart();
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 resultobj = SWIG_FromInt((int)result);
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6790 int arg2 ;
6791 int arg3 ;
6792 PyObject * obj0 = 0 ;
6793 PyObject * obj1 = 0 ;
6794 PyObject * obj2 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self",(char *) "start",(char *) "end", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6802 arg2 = (int) SWIG_AsInt(obj1);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 arg3 = (int) SWIG_AsInt(obj2);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->CallTipSetHighlight(arg2,arg3);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6823 wxColour *arg2 = 0 ;
6824 wxColour temp2 ;
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj1 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "back", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 {
6835 arg2 = &temp2;
6836 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 Py_INCREF(Py_None); resultobj = Py_None;
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6855 wxColour *arg2 = 0 ;
6856 wxColour temp2 ;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj1 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "fore", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 {
6867 arg2 = &temp2;
6868 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6869 }
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 Py_INCREF(Py_None); resultobj = Py_None;
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6887 wxColour *arg2 = 0 ;
6888 wxColour temp2 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self",(char *) "fore", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6898 {
6899 arg2 = &temp2;
6900 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 Py_INCREF(Py_None); resultobj = Py_None;
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj;
6918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6919 int arg2 ;
6920 int result;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self",(char *) "line", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6930 arg2 = (int) SWIG_AsInt(obj1);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (int)(arg1)->VisibleFromDocLine(arg2);
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 resultobj = SWIG_FromInt((int)result);
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6949 int arg2 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "lineDisplay", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6960 arg2 = (int) SWIG_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (int)(arg1)->DocLineFromVisible(arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 resultobj = SWIG_FromInt((int)result);
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6979 int arg2 ;
6980 int arg3 ;
6981 PyObject * obj0 = 0 ;
6982 PyObject * obj1 = 0 ;
6983 PyObject * obj2 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "line",(char *) "level", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6991 arg2 = (int) SWIG_AsInt(obj1);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 arg3 = (int) SWIG_AsInt(obj2);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->SetFoldLevel(arg2,arg3);
6998
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 Py_INCREF(Py_None); resultobj = Py_None;
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7012 int arg2 ;
7013 int result;
7014 PyObject * obj0 = 0 ;
7015 PyObject * obj1 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self",(char *) "line", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7023 arg2 = (int) SWIG_AsInt(obj1);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (int)(arg1)->GetFoldLevel(arg2);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 resultobj = SWIG_FromInt((int)result);
7033 return resultobj;
7034 fail:
7035 return NULL;
7036 }
7037
7038
7039 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7042 int arg2 ;
7043 int arg3 ;
7044 int result;
7045 PyObject * obj0 = 0 ;
7046 PyObject * obj1 = 0 ;
7047 PyObject * obj2 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "line",(char *) "level", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 arg2 = (int) SWIG_AsInt(obj1);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 arg3 = (int) SWIG_AsInt(obj2);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 result = (int)(arg1)->GetLastChild(arg2,arg3);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 resultobj = SWIG_FromInt((int)result);
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7076 int arg2 ;
7077 int result;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self",(char *) "line", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7087 arg2 = (int) SWIG_AsInt(obj1);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (int)(arg1)->GetFoldParent(arg2);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 resultobj = SWIG_FromInt((int)result);
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7106 int arg2 ;
7107 int arg3 ;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 PyObject * obj2 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7118 arg2 = (int) SWIG_AsInt(obj1);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 arg3 = (int) SWIG_AsInt(obj2);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 (arg1)->ShowLines(arg2,arg3);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 return resultobj;
7131 fail:
7132 return NULL;
7133 }
7134
7135
7136 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7139 int arg2 ;
7140 int arg3 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 PyObject * obj2 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7151 arg2 = (int) SWIG_AsInt(obj1);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 arg3 = (int) SWIG_AsInt(obj2);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->HideLines(arg2,arg3);
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7172 int arg2 ;
7173 bool result;
7174 PyObject * obj0 = 0 ;
7175 PyObject * obj1 = 0 ;
7176 char *kwnames[] = {
7177 (char *) "self",(char *) "line", NULL
7178 };
7179
7180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7183 arg2 = (int) SWIG_AsInt(obj1);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (bool)(arg1)->GetLineVisible(arg2);
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 {
7193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7194 }
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7204 int arg2 ;
7205 bool arg3 ;
7206 PyObject * obj0 = 0 ;
7207 PyObject * obj1 = 0 ;
7208 PyObject * obj2 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "self",(char *) "line",(char *) "expanded", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7216 arg2 = (int) SWIG_AsInt(obj1);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 arg3 = (bool) SWIG_AsBool(obj2);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 (arg1)->SetFoldExpanded(arg2,arg3);
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 Py_INCREF(Py_None); resultobj = Py_None;
7228 return resultobj;
7229 fail:
7230 return NULL;
7231 }
7232
7233
7234 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7237 int arg2 ;
7238 bool result;
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 char *kwnames[] = {
7242 (char *) "self",(char *) "line", NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7248 arg2 = (int) SWIG_AsInt(obj1);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = (bool)(arg1)->GetFoldExpanded(arg2);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7259 }
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7269 int arg2 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "line", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7279 arg2 = (int) SWIG_AsInt(obj1);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 (arg1)->ToggleFold(arg2);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 Py_INCREF(Py_None); resultobj = Py_None;
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7298 int arg2 ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "line", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 arg2 = (int) SWIG_AsInt(obj1);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->EnsureVisible(arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7327 int arg2 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "flags", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 arg2 = (int) SWIG_AsInt(obj1);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 (arg1)->SetFoldFlags(arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 Py_INCREF(Py_None); resultobj = Py_None;
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7356 int arg2 ;
7357 PyObject * obj0 = 0 ;
7358 PyObject * obj1 = 0 ;
7359 char *kwnames[] = {
7360 (char *) "self",(char *) "line", NULL
7361 };
7362
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 arg2 = (int) SWIG_AsInt(obj1);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 Py_INCREF(Py_None); resultobj = Py_None;
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7385 bool arg2 ;
7386 PyObject * obj0 = 0 ;
7387 PyObject * obj1 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self",(char *) "tabIndents", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 arg2 = (bool) SWIG_AsBool(obj1);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->SetTabIndents(arg2);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7414 bool result;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = (bool)(arg1)->GetTabIndents();
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 {
7431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7432 }
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7442 bool arg2 ;
7443 PyObject * obj0 = 0 ;
7444 PyObject * obj1 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self",(char *) "bsUnIndents", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7452 arg2 = (bool) SWIG_AsBool(obj1);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->SetBackSpaceUnIndents(arg2);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7471 bool result;
7472 PyObject * obj0 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)(arg1)->GetBackSpaceUnIndents();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 {
7488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7489 }
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7499 int arg2 ;
7500 PyObject * obj0 = 0 ;
7501 PyObject * obj1 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "self",(char *) "periodMilliseconds", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7509 arg2 = (int) SWIG_AsInt(obj1);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 (arg1)->SetMouseDwellTime(arg2);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 Py_INCREF(Py_None); resultobj = Py_None;
7519 return resultobj;
7520 fail:
7521 return NULL;
7522 }
7523
7524
7525 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj;
7527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7528 int result;
7529 PyObject * obj0 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (int)(arg1)->GetMouseDwellTime();
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 resultobj = SWIG_FromInt((int)result);
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7554 int arg2 ;
7555 bool arg3 ;
7556 int result;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 PyObject * obj2 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7567 arg2 = (int) SWIG_AsInt(obj1);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 arg3 = (bool) SWIG_AsBool(obj2);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = SWIG_FromInt((int)result);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7588 int arg2 ;
7589 bool arg3 ;
7590 int result;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 PyObject * obj2 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7601 arg2 = (int) SWIG_AsInt(obj1);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 arg3 = (bool) SWIG_AsBool(obj2);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_FromInt((int)result);
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7622 int arg2 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "mode", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7632 arg2 = (int) SWIG_AsInt(obj1);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 (arg1)->SetWrapMode(arg2);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7651 int result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 result = (int)(arg1)->GetWrapMode();
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_FromInt((int)result);
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7677 int arg2 ;
7678 PyObject * obj0 = 0 ;
7679 PyObject * obj1 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "mode", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7687 arg2 = (int) SWIG_AsInt(obj1);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->SetLayoutCache(arg2);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 Py_INCREF(Py_None); resultobj = Py_None;
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7706 int result;
7707 PyObject * obj0 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (int)(arg1)->GetLayoutCache();
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 resultobj = SWIG_FromInt((int)result);
7723 return resultobj;
7724 fail:
7725 return NULL;
7726 }
7727
7728
7729 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject *resultobj;
7731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7732 int arg2 ;
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self",(char *) "pixelWidth", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 arg2 = (int) SWIG_AsInt(obj1);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetScrollWidth(arg2);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7761 int result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)(arg1)->GetScrollWidth();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_FromInt((int)result);
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7787 int arg2 ;
7788 wxString *arg3 = 0 ;
7789 int result;
7790 bool temp3 = False ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj1 = 0 ;
7793 PyObject * obj2 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self",(char *) "style",(char *) "text", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7801 arg2 = (int) SWIG_AsInt(obj1);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 {
7804 arg3 = wxString_in_helper(obj2);
7805 if (arg3 == NULL) SWIG_fail;
7806 temp3 = True;
7807 }
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 resultobj = SWIG_FromInt((int)result);
7816 {
7817 if (temp3)
7818 delete arg3;
7819 }
7820 return resultobj;
7821 fail:
7822 {
7823 if (temp3)
7824 delete arg3;
7825 }
7826 return NULL;
7827 }
7828
7829
7830 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7833 bool arg2 ;
7834 PyObject * obj0 = 0 ;
7835 PyObject * obj1 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "endAtLastLine", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7843 arg2 = (bool) SWIG_AsBool(obj1);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 (arg1)->SetEndAtLastLine(arg2);
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 Py_INCREF(Py_None); resultobj = Py_None;
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7862 int result;
7863 PyObject * obj0 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 result = (int)(arg1)->GetEndAtLastLine();
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 resultobj = SWIG_FromInt((int)result);
7879 return resultobj;
7880 fail:
7881 return NULL;
7882 }
7883
7884
7885 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7888 int arg2 ;
7889 int result;
7890 PyObject * obj0 = 0 ;
7891 PyObject * obj1 = 0 ;
7892 char *kwnames[] = {
7893 (char *) "self",(char *) "line", NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7899 arg2 = (int) SWIG_AsInt(obj1);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (int)(arg1)->TextHeight(arg2);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 resultobj = SWIG_FromInt((int)result);
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7918 bool arg2 ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self",(char *) "show", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7928 arg2 = (bool) SWIG_AsBool(obj1);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 (arg1)->SetUseVerticalScrollBar(arg2);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 Py_INCREF(Py_None); resultobj = Py_None;
7938 return resultobj;
7939 fail:
7940 return NULL;
7941 }
7942
7943
7944 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7947 bool result;
7948 PyObject * obj0 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (bool)(arg1)->GetUseVerticalScrollBar();
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 {
7964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7965 }
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7975 int arg2 ;
7976 wxString *arg3 = 0 ;
7977 bool temp3 = False ;
7978 PyObject * obj0 = 0 ;
7979 PyObject * obj1 = 0 ;
7980 PyObject * obj2 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self",(char *) "length",(char *) "text", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7988 arg2 = (int) SWIG_AsInt(obj1);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 {
7991 arg3 = wxString_in_helper(obj2);
7992 if (arg3 == NULL) SWIG_fail;
7993 temp3 = True;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 {
8004 if (temp3)
8005 delete arg3;
8006 }
8007 return resultobj;
8008 fail:
8009 {
8010 if (temp3)
8011 delete arg3;
8012 }
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8020 bool result;
8021 PyObject * obj0 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
8027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)(arg1)->GetTwoPhaseDraw();
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 {
8037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8038 }
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj;
8047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8048 bool arg2 ;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "twoPhase", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8058 arg2 = (bool) SWIG_AsBool(obj1);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 (arg1)->SetTwoPhaseDraw(arg2);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 Py_INCREF(Py_None); resultobj = Py_None;
8068 return resultobj;
8069 fail:
8070 return NULL;
8071 }
8072
8073
8074 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj;
8076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8077 PyObject * obj0 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->TargetFromSelection();
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 (arg1)->LinesJoin();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 Py_INCREF(Py_None); resultobj = Py_None;
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8127 int arg2 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "pixelWidth", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 arg2 = (int) SWIG_AsInt(obj1);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 (arg1)->LinesSplit(arg2);
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 Py_INCREF(Py_None); resultobj = Py_None;
8147 return resultobj;
8148 fail:
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8156 bool arg2 ;
8157 wxColour *arg3 = 0 ;
8158 wxColour temp3 ;
8159 PyObject * obj0 = 0 ;
8160 PyObject * obj1 = 0 ;
8161 PyObject * obj2 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8169 arg2 = (bool) SWIG_AsBool(obj1);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 {
8172 arg3 = &temp3;
8173 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8174 }
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 Py_INCREF(Py_None); resultobj = Py_None;
8183 return resultobj;
8184 fail:
8185 return NULL;
8186 }
8187
8188
8189 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8192 bool arg2 ;
8193 wxColour *arg3 = 0 ;
8194 wxColour temp3 ;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 PyObject * obj2 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8205 arg2 = (bool) SWIG_AsBool(obj1);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 {
8208 arg3 = &temp3;
8209 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8210 }
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8228 PyObject * obj0 = 0 ;
8229 char *kwnames[] = {
8230 (char *) "self", NULL
8231 };
8232
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
8234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 (arg1)->LineDown();
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 Py_INCREF(Py_None); resultobj = Py_None;
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8253 PyObject * obj0 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->LineDownExtend();
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->LineUp();
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 (arg1)->LineUpExtend();
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 return resultobj;
8320 fail:
8321 return NULL;
8322 }
8323
8324
8325 static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj;
8327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
8334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->CharLeft();
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 return resultobj;
8345 fail:
8346 return NULL;
8347 }
8348
8349
8350 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8353 PyObject * obj0 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->CharLeftExtend();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 Py_INCREF(Py_None); resultobj = Py_None;
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 (arg1)->CharRight();
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 Py_INCREF(Py_None); resultobj = Py_None;
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8403 PyObject * obj0 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
8409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->CharRightExtend();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8428 PyObject * obj0 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
8434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 (arg1)->WordLeft();
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 Py_INCREF(Py_None); resultobj = Py_None;
8444 return resultobj;
8445 fail:
8446 return NULL;
8447 }
8448
8449
8450 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8453 PyObject * obj0 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
8459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 (arg1)->WordLeftExtend();
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 Py_INCREF(Py_None); resultobj = Py_None;
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj;
8477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8478 PyObject * obj0 = 0 ;
8479 char *kwnames[] = {
8480 (char *) "self", NULL
8481 };
8482
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
8484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8486 {
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8488 (arg1)->WordRight();
8489
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 Py_INCREF(Py_None); resultobj = Py_None;
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8503 PyObject * obj0 = 0 ;
8504 char *kwnames[] = {
8505 (char *) "self", NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
8509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 (arg1)->WordRightExtend();
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 Py_INCREF(Py_None); resultobj = Py_None;
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8528 PyObject * obj0 = 0 ;
8529 char *kwnames[] = {
8530 (char *) "self", NULL
8531 };
8532
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
8534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 (arg1)->Home();
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 Py_INCREF(Py_None); resultobj = Py_None;
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8553 PyObject * obj0 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 (arg1)->HomeExtend();
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 Py_INCREF(Py_None); resultobj = Py_None;
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8578 PyObject * obj0 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 (arg1)->LineEnd();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 Py_INCREF(Py_None); resultobj = Py_None;
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8603 PyObject * obj0 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 (arg1)->LineEndExtend();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 Py_INCREF(Py_None); resultobj = Py_None;
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8628 PyObject * obj0 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 (arg1)->DocumentStart();
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 Py_INCREF(Py_None); resultobj = Py_None;
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
8659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 (arg1)->DocumentStartExtend();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 Py_INCREF(Py_None); resultobj = Py_None;
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 (arg1)->DocumentEnd();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8703 PyObject * obj0 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
8709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->DocumentEndExtend();
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->PageUp();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8753 PyObject * obj0 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 (arg1)->PageUpExtend();
8764
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 Py_INCREF(Py_None); resultobj = Py_None;
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj;
8777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8778 PyObject * obj0 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 (arg1)->PageDown();
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 Py_INCREF(Py_None); resultobj = Py_None;
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj;
8802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8803 PyObject * obj0 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "self", NULL
8806 };
8807
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->PageDownExtend();
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj;
8827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8828 PyObject * obj0 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 (arg1)->EditToggleOvertype();
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 Py_INCREF(Py_None); resultobj = Py_None;
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) {
8851 PyObject *resultobj;
8852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8853 PyObject * obj0 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 (arg1)->Cancel();
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 Py_INCREF(Py_None); resultobj = Py_None;
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8878 PyObject * obj0 = 0 ;
8879 char *kwnames[] = {
8880 (char *) "self", NULL
8881 };
8882
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
8884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 (arg1)->DeleteBack();
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 Py_INCREF(Py_None); resultobj = Py_None;
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) {
8901 PyObject *resultobj;
8902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->Tab();
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 Py_INCREF(Py_None); resultobj = Py_None;
8919 return resultobj;
8920 fail:
8921 return NULL;
8922 }
8923
8924
8925 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->BackTab();
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->NewLine();
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8978 PyObject * obj0 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->FormFeed();
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9003 PyObject * obj0 = 0 ;
9004 char *kwnames[] = {
9005 (char *) "self", NULL
9006 };
9007
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
9009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->VCHome();
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 Py_INCREF(Py_None); resultobj = Py_None;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9028 PyObject * obj0 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
9034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 (arg1)->VCHomeExtend();
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9053 PyObject * obj0 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "self", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 (arg1)->ZoomIn();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 Py_INCREF(Py_None); resultobj = Py_None;
9069 return resultobj;
9070 fail:
9071 return NULL;
9072 }
9073
9074
9075 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9078 PyObject * obj0 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
9084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->ZoomOut();
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9103 PyObject * obj0 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
9109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->DelWordLeft();
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9128 PyObject * obj0 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
9134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 (arg1)->DelWordRight();
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 Py_INCREF(Py_None); resultobj = Py_None;
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9153 PyObject * obj0 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 (arg1)->LineCut();
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 Py_INCREF(Py_None); resultobj = Py_None;
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->LineDelete();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->LineTranspose();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->LineDuplicate();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 (arg1)->LowerCase();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 Py_INCREF(Py_None); resultobj = Py_None;
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9278 PyObject * obj0 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
9284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 (arg1)->UpperCase();
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 Py_INCREF(Py_None); resultobj = Py_None;
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 (arg1)->LineScrollDown();
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 Py_INCREF(Py_None); resultobj = Py_None;
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 (arg1)->LineScrollUp();
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9353 PyObject * obj0 = 0 ;
9354 char *kwnames[] = {
9355 (char *) "self", NULL
9356 };
9357
9358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
9359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->DeleteBackNotLine();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 Py_INCREF(Py_None); resultobj = Py_None;
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9378 PyObject * obj0 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 (arg1)->HomeDisplay();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 Py_INCREF(Py_None); resultobj = Py_None;
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9403 PyObject * obj0 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
9409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 (arg1)->HomeDisplayExtend();
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 Py_INCREF(Py_None); resultobj = Py_None;
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9428 PyObject * obj0 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
9434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 (arg1)->LineEndDisplay();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 Py_INCREF(Py_None); resultobj = Py_None;
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9453 PyObject * obj0 = 0 ;
9454 char *kwnames[] = {
9455 (char *) "self", NULL
9456 };
9457
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
9459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->LineEndDisplayExtend();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 Py_INCREF(Py_None); resultobj = Py_None;
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9478 PyObject * obj0 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 (arg1)->HomeWrap();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 Py_INCREF(Py_None); resultobj = Py_None;
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9503 PyObject * obj0 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->HomeWrapExtend();
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 Py_INCREF(Py_None); resultobj = Py_None;
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
9534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->LineEndWrap();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 Py_INCREF(Py_None); resultobj = Py_None;
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9553 PyObject * obj0 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "self", NULL
9556 };
9557
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
9559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 (arg1)->LineEndWrapExtend();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 Py_INCREF(Py_None); resultobj = Py_None;
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9578 PyObject * obj0 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
9584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->VCHomeWrap();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9603 PyObject * obj0 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->VCHomeWrapExtend();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->LineCopy();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 (arg1)->MoveCaretInsideView();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9678 int arg2 ;
9679 int result;
9680 PyObject * obj0 = 0 ;
9681 PyObject * obj1 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self",(char *) "line", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
9687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9689 arg2 = (int) SWIG_AsInt(obj1);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (int)(arg1)->LineLength(arg2);
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_FromInt((int)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9708 int arg2 ;
9709 int arg3 ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 PyObject * obj2 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9720 arg2 = (int) SWIG_AsInt(obj1);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 arg3 = (int) SWIG_AsInt(obj2);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->BraceHighlight(arg2,arg3);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9741 int arg2 ;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj1 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "pos", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9751 arg2 = (int) SWIG_AsInt(obj1);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 (arg1)->BraceBadLight(arg2);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 Py_INCREF(Py_None); resultobj = Py_None;
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9770 int arg2 ;
9771 int result;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self",(char *) "pos", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9781 arg2 = (int) SWIG_AsInt(obj1);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (int)(arg1)->BraceMatch(arg2);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 resultobj = SWIG_FromInt((int)result);
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9800 bool result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (bool)(arg1)->GetViewEOL();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
9817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9818 }
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9828 bool arg2 ;
9829 PyObject * obj0 = 0 ;
9830 PyObject * obj1 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "visible", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9838 arg2 = (bool) SWIG_AsBool(obj1);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 (arg1)->SetViewEOL(arg2);
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 Py_INCREF(Py_None); resultobj = Py_None;
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9857 void *result;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
9864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (void *)(arg1)->GetDocPointer();
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9874 return resultobj;
9875 fail:
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9883 void *arg2 = (void *) 0 ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "self",(char *) "docPointer", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
9891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9893 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 (arg1)->SetDocPointer(arg2);
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 Py_INCREF(Py_None); resultobj = Py_None;
9902 return resultobj;
9903 fail:
9904 return NULL;
9905 }
9906
9907
9908 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj;
9910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9911 int arg2 ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 char *kwnames[] = {
9915 (char *) "self",(char *) "mask", NULL
9916 };
9917
9918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
9919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9921 arg2 = (int) SWIG_AsInt(obj1);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 (arg1)->SetModEventMask(arg2);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9940 int result;
9941 PyObject * obj0 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = (int)(arg1)->GetEdgeColumn();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 resultobj = SWIG_FromInt((int)result);
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9966 int arg2 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self",(char *) "column", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9976 arg2 = (int) SWIG_AsInt(obj1);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->SetEdgeColumn(arg2);
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 Py_INCREF(Py_None); resultobj = Py_None;
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9995 int result;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (int)(arg1)->GetEdgeMode();
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_FromInt((int)result);
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10021 int arg2 ;
10022 PyObject * obj0 = 0 ;
10023 PyObject * obj1 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self",(char *) "mode", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10031 arg2 = (int) SWIG_AsInt(obj1);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->SetEdgeMode(arg2);
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10050 wxColour result;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (arg1)->GetEdgeColour();
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 {
10067 wxColour * resultptr;
10068 resultptr = new wxColour((wxColour &) result);
10069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10070 }
10071 return resultobj;
10072 fail:
10073 return NULL;
10074 }
10075
10076
10077 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10080 wxColour *arg2 = 0 ;
10081 wxColour temp2 ;
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self",(char *) "edgeColour", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
10089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10091 {
10092 arg2 = &temp2;
10093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetEdgeColour((wxColour const &)*arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10112 PyObject * obj0 = 0 ;
10113 char *kwnames[] = {
10114 (char *) "self", NULL
10115 };
10116
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
10118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 (arg1)->SearchAnchor();
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 Py_INCREF(Py_None); resultobj = Py_None;
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10137 int arg2 ;
10138 wxString *arg3 = 0 ;
10139 int result;
10140 bool temp3 = False ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 PyObject * obj2 = 0 ;
10144 char *kwnames[] = {
10145 (char *) "self",(char *) "flags",(char *) "text", NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
10149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10151 arg2 = (int) SWIG_AsInt(obj1);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 {
10154 arg3 = wxString_in_helper(obj2);
10155 if (arg3 == NULL) SWIG_fail;
10156 temp3 = True;
10157 }
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 resultobj = SWIG_FromInt((int)result);
10166 {
10167 if (temp3)
10168 delete arg3;
10169 }
10170 return resultobj;
10171 fail:
10172 {
10173 if (temp3)
10174 delete arg3;
10175 }
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10183 int arg2 ;
10184 wxString *arg3 = 0 ;
10185 int result;
10186 bool temp3 = False ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj1 = 0 ;
10189 PyObject * obj2 = 0 ;
10190 char *kwnames[] = {
10191 (char *) "self",(char *) "flags",(char *) "text", NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
10195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10197 arg2 = (int) SWIG_AsInt(obj1);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 {
10200 arg3 = wxString_in_helper(obj2);
10201 if (arg3 == NULL) SWIG_fail;
10202 temp3 = True;
10203 }
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = SWIG_FromInt((int)result);
10212 {
10213 if (temp3)
10214 delete arg3;
10215 }
10216 return resultobj;
10217 fail:
10218 {
10219 if (temp3)
10220 delete arg3;
10221 }
10222 return NULL;
10223 }
10224
10225
10226 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10229 int result;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (int)(arg1)->LinesOnScreen();
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = SWIG_FromInt((int)result);
10246 return resultobj;
10247 fail:
10248 return NULL;
10249 }
10250
10251
10252 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10255 bool arg2 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "allowPopUp", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 arg2 = (bool) SWIG_AsBool(obj1);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 (arg1)->UsePopUp(arg2);
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 Py_INCREF(Py_None); resultobj = Py_None;
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10284 bool result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (bool)(arg1)->SelectionIsRectangle();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 {
10301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10302 }
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10312 int arg2 ;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj1 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self",(char *) "zoom", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10322 arg2 = (int) SWIG_AsInt(obj1);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SetZoom(arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10341 int result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (int)(arg1)->GetZoom();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = SWIG_FromInt((int)result);
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10367 void *result;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 result = (void *)(arg1)->CreateDocument();
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10393 void *arg2 = (void *) 0 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "docPointer", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10403 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->AddRefDocument(arg2);
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 Py_INCREF(Py_None); resultobj = Py_None;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10421 void *arg2 = (void *) 0 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "docPointer", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10431 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->ReleaseDocument(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10449 int result;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 result = (int)(arg1)->GetModEventMask();
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 resultobj = SWIG_FromInt((int)result);
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10475 bool arg2 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "focus", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10485 arg2 = (bool) SWIG_AsBool(obj1);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->SetSTCFocus(arg2);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10504 bool result;
10505 PyObject * obj0 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
10511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 result = (bool)(arg1)->GetSTCFocus();
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 {
10521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10522 }
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10532 int arg2 ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "statusCode", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10542 arg2 = (int) SWIG_AsInt(obj1);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->SetStatus(arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10561 int result;
10562 PyObject * obj0 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (int)(arg1)->GetStatus();
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 resultobj = SWIG_FromInt((int)result);
10578 return resultobj;
10579 fail:
10580 return NULL;
10581 }
10582
10583
10584 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject *resultobj;
10586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10587 bool arg2 ;
10588 PyObject * obj0 = 0 ;
10589 PyObject * obj1 = 0 ;
10590 char *kwnames[] = {
10591 (char *) "self",(char *) "captures", NULL
10592 };
10593
10594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
10595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10597 arg2 = (bool) SWIG_AsBool(obj1);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->SetMouseDownCaptures(arg2);
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 Py_INCREF(Py_None); resultobj = Py_None;
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10616 bool result;
10617 PyObject * obj0 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "self", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
10623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 result = (bool)(arg1)->GetMouseDownCaptures();
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 {
10633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10634 }
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj;
10643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10644 int arg2 ;
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "cursorType", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
10652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10654 arg2 = (int) SWIG_AsInt(obj1);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetSTCCursor(arg2);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (int)(arg1)->GetSTCCursor();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_FromInt((int)result);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10699 int arg2 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "symbol", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10709 arg2 = (int) SWIG_AsInt(obj1);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetControlCharSymbol(arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",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 result = (int)(arg1)->GetControlCharSymbol();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(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_WordPartLeft",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)->WordPartLeft();
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
10776 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 (arg1)->WordPartLeftExtend();
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 Py_INCREF(Py_None); resultobj = Py_None;
10795 return resultobj;
10796 fail:
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 (arg1)->WordPartRight();
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10829 PyObject * obj0 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 (arg1)->WordPartRightExtend();
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 Py_INCREF(Py_None); resultobj = Py_None;
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject *resultobj;
10853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10854 int arg2 ;
10855 int arg3 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 PyObject * obj2 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 arg2 = (int) SWIG_AsInt(obj1);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 arg3 = (int) SWIG_AsInt(obj2);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetVisiblePolicy(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10887 PyObject * obj0 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 (arg1)->DelLineLeft();
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 Py_INCREF(Py_None); resultobj = Py_None;
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj;
10911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10912 PyObject * obj0 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "self", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
10918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 (arg1)->DelLineRight();
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 Py_INCREF(Py_None); resultobj = Py_None;
10928 return resultobj;
10929 fail:
10930 return NULL;
10931 }
10932
10933
10934 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject *resultobj;
10936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10937 int arg2 ;
10938 PyObject * obj0 = 0 ;
10939 PyObject * obj1 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self",(char *) "newOffset", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
10945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10947 arg2 = (int) SWIG_AsInt(obj1);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->SetXOffset(arg2);
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10966 int result;
10967 PyObject * obj0 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
10973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (int)(arg1)->GetXOffset();
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 resultobj = SWIG_FromInt((int)result);
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 (arg1)->ChooseCaretX();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 Py_INCREF(Py_None); resultobj = Py_None;
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11017 int arg2 ;
11018 int arg3 ;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 PyObject * obj2 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11029 arg2 = (int) SWIG_AsInt(obj1);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 arg3 = (int) SWIG_AsInt(obj2);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 (arg1)->SetXCaretPolicy(arg2,arg3);
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 Py_INCREF(Py_None); resultobj = Py_None;
11041 return resultobj;
11042 fail:
11043 return NULL;
11044 }
11045
11046
11047 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj;
11049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11050 int arg2 ;
11051 int arg3 ;
11052 PyObject * obj0 = 0 ;
11053 PyObject * obj1 = 0 ;
11054 PyObject * obj2 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11062 arg2 = (int) SWIG_AsInt(obj1);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 arg3 = (int) SWIG_AsInt(obj2);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 (arg1)->SetYCaretPolicy(arg2,arg3);
11069
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 Py_INCREF(Py_None); resultobj = Py_None;
11074 return resultobj;
11075 fail:
11076 return NULL;
11077 }
11078
11079
11080 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11083 int arg2 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "self",(char *) "mode", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11093 arg2 = (int) SWIG_AsInt(obj1);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 (arg1)->SetPrintWrapMode(arg2);
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 Py_INCREF(Py_None); resultobj = Py_None;
11103 return resultobj;
11104 fail:
11105 return NULL;
11106 }
11107
11108
11109 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11112 int result;
11113 PyObject * obj0 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
11119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (int)(arg1)->GetPrintWrapMode();
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 resultobj = SWIG_FromInt((int)result);
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11138 bool arg2 ;
11139 wxColour *arg3 = 0 ;
11140 wxColour temp3 ;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11151 arg2 = (bool) SWIG_AsBool(obj1);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 {
11154 arg3 = &temp3;
11155 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11156 }
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11174 bool arg2 ;
11175 wxColour *arg3 = 0 ;
11176 wxColour temp3 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 PyObject * obj2 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self",(char *) "useSetting",(char *) "back", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 arg2 = (bool) SWIG_AsBool(obj1);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 {
11190 arg3 = &temp3;
11191 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11192 }
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 Py_INCREF(Py_None); resultobj = Py_None;
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11210 bool arg2 ;
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "underline", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11220 arg2 = (bool) SWIG_AsBool(obj1);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 (arg1)->SetHotspotActiveUnderline(arg2);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 Py_INCREF(Py_None); resultobj = Py_None;
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11239 bool arg2 ;
11240 PyObject * obj0 = 0 ;
11241 PyObject * obj1 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self",(char *) "singleLine", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11249 arg2 = (bool) SWIG_AsBool(obj1);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->SetHotspotSingleLine(arg2);
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
11265 static PyObject *_wrap_StyledTextCtrl_ParaDown(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_ParaDown",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)->ParaDown();
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
11290 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11293 PyObject * obj0 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 (arg1)->ParaDownExtend();
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 Py_INCREF(Py_None); resultobj = Py_None;
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11318 PyObject * obj0 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "self", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
11324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->ParaUp();
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->ParaUpExtend();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11368 int arg2 ;
11369 int result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "pos", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
11377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11379 arg2 = (int) SWIG_AsInt(obj1);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 result = (int)(arg1)->PositionBefore(arg2);
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_FromInt((int)result);
11389 return resultobj;
11390 fail:
11391 return NULL;
11392 }
11393
11394
11395 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj;
11397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11398 int arg2 ;
11399 int result;
11400 PyObject * obj0 = 0 ;
11401 PyObject * obj1 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self",(char *) "pos", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
11407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11409 arg2 = (int) SWIG_AsInt(obj1);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 result = (int)(arg1)->PositionAfter(arg2);
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 resultobj = SWIG_FromInt((int)result);
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11428 int arg2 ;
11429 int arg3 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 PyObject * obj2 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "start",(char *) "end", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11440 arg2 = (int) SWIG_AsInt(obj1);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 arg3 = (int) SWIG_AsInt(obj2);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->CopyRange(arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11461 int arg2 ;
11462 wxString *arg3 = 0 ;
11463 bool temp3 = False ;
11464 PyObject * obj0 = 0 ;
11465 PyObject * obj1 = 0 ;
11466 PyObject * obj2 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self",(char *) "length",(char *) "text", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11474 arg2 = (int) SWIG_AsInt(obj1);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 {
11477 arg3 = wxString_in_helper(obj2);
11478 if (arg3 == NULL) SWIG_fail;
11479 temp3 = True;
11480 }
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 (arg1)->CopyText(arg2,(wxString const &)*arg3);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 Py_INCREF(Py_None); resultobj = Py_None;
11489 {
11490 if (temp3)
11491 delete arg3;
11492 }
11493 return resultobj;
11494 fail:
11495 {
11496 if (temp3)
11497 delete arg3;
11498 }
11499 return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11506 int arg2 ;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self",(char *) "mode", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
11514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11516 arg2 = (int) SWIG_AsInt(obj1);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 (arg1)->SetSelectionMode(arg2);
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 Py_INCREF(Py_None); resultobj = Py_None;
11526 return resultobj;
11527 fail:
11528 return NULL;
11529 }
11530
11531
11532 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11535 int result;
11536 PyObject * obj0 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
11542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 result = (int)(arg1)->GetSelectionMode();
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 resultobj = SWIG_FromInt((int)result);
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11561 int arg2 ;
11562 int result;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self",(char *) "line", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
11570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11572 arg2 = (int) SWIG_AsInt(obj1);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (int)(arg1)->GetLineSelStartPosition(arg2);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 resultobj = SWIG_FromInt((int)result);
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11591 int arg2 ;
11592 int result;
11593 PyObject * obj0 = 0 ;
11594 PyObject * obj1 = 0 ;
11595 char *kwnames[] = {
11596 (char *) "self",(char *) "line", NULL
11597 };
11598
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
11600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11602 arg2 = (int) SWIG_AsInt(obj1);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (int)(arg1)->GetLineSelEndPosition(arg2);
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 resultobj = SWIG_FromInt((int)result);
11612 return resultobj;
11613 fail:
11614 return NULL;
11615 }
11616
11617
11618 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(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_LineDownRectExtend",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)->LineDownRectExtend();
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
11643 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(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_LineUpRectExtend",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)->LineUpRectExtend();
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
11668 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(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_CharLeftRectExtend",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)->CharLeftRectExtend();
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
11693 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(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_CharRightRectExtend",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)->CharRightRectExtend();
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
11718 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(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_HomeRectExtend",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)->HomeRectExtend();
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
11743 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(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_VCHomeRectExtend",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)->VCHomeRectExtend();
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
11768 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(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_LineEndRectExtend",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)->LineEndRectExtend();
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
11793 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(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_PageUpRectExtend",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)->PageUpRectExtend();
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
11818 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(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_PageDownRectExtend",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)->PageDownRectExtend();
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
11843 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(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_StutteredPageUp",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)->StutteredPageUp();
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
11868 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(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_StutteredPageUpExtend",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)->StutteredPageUpExtend();
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
11893 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(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_StutteredPageDown",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)->StutteredPageDown();
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
11918 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(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_StutteredPageDownExtend",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)->StutteredPageDownExtend();
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
11943 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(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_WordLeftEnd",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)->WordLeftEnd();
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 Py_INCREF(Py_None); resultobj = Py_None;
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 (arg1)->WordLeftEndExtend();
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 Py_INCREF(Py_None); resultobj = Py_None;
11987 return resultobj;
11988 fail:
11989 return NULL;
11990 }
11991
11992
11993 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj;
11995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11996 PyObject * obj0 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
12002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 (arg1)->WordRightEnd();
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 Py_INCREF(Py_None); resultobj = Py_None;
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12021 PyObject * obj0 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "self", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
12027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->WordRightEndExtend();
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12046 wxString *arg2 = 0 ;
12047 bool temp2 = False ;
12048 PyObject * obj0 = 0 ;
12049 PyObject * obj1 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self",(char *) "characters", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12057 {
12058 arg2 = wxString_in_helper(obj1);
12059 if (arg2 == NULL) SWIG_fail;
12060 temp2 = True;
12061 }
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 Py_INCREF(Py_None); resultobj = Py_None;
12070 {
12071 if (temp2)
12072 delete arg2;
12073 }
12074 return resultobj;
12075 fail:
12076 {
12077 if (temp2)
12078 delete arg2;
12079 }
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->SetCharsDefault();
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12112 int result;
12113 PyObject * obj0 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (int)(arg1)->AutoCompGetCurrent();
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = SWIG_FromInt((int)result);
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 (arg1)->StartRecord();
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 Py_INCREF(Py_None); resultobj = Py_None;
12154 return resultobj;
12155 fail:
12156 return NULL;
12157 }
12158
12159
12160 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12163 PyObject * obj0 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
12169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 (arg1)->StopRecord();
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 Py_INCREF(Py_None); resultobj = Py_None;
12179 return resultobj;
12180 fail:
12181 return NULL;
12182 }
12183
12184
12185 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12186 PyObject *resultobj;
12187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12188 int arg2 ;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self",(char *) "lexer", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
12196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12198 arg2 = (int) SWIG_AsInt(obj1);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 (arg1)->SetLexer(arg2);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 Py_INCREF(Py_None); resultobj = Py_None;
12208 return resultobj;
12209 fail:
12210 return NULL;
12211 }
12212
12213
12214 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12217 int result;
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (int)(arg1)->GetLexer();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = SWIG_FromInt((int)result);
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12243 int arg2 ;
12244 int arg3 ;
12245 PyObject * obj0 = 0 ;
12246 PyObject * obj1 = 0 ;
12247 PyObject * obj2 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self",(char *) "start",(char *) "end", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12255 arg2 = (int) SWIG_AsInt(obj1);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 arg3 = (int) SWIG_AsInt(obj2);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 (arg1)->Colourise(arg2,arg3);
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 Py_INCREF(Py_None); resultobj = Py_None;
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12276 wxString *arg2 = 0 ;
12277 wxString *arg3 = 0 ;
12278 bool temp2 = False ;
12279 bool temp3 = False ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 PyObject * obj2 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self",(char *) "key",(char *) "value", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12290 {
12291 arg2 = wxString_in_helper(obj1);
12292 if (arg2 == NULL) SWIG_fail;
12293 temp2 = True;
12294 }
12295 {
12296 arg3 = wxString_in_helper(obj2);
12297 if (arg3 == NULL) SWIG_fail;
12298 temp3 = True;
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 Py_INCREF(Py_None); resultobj = Py_None;
12308 {
12309 if (temp2)
12310 delete arg2;
12311 }
12312 {
12313 if (temp3)
12314 delete arg3;
12315 }
12316 return resultobj;
12317 fail:
12318 {
12319 if (temp2)
12320 delete arg2;
12321 }
12322 {
12323 if (temp3)
12324 delete arg3;
12325 }
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12333 int arg2 ;
12334 wxString *arg3 = 0 ;
12335 bool temp3 = False ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 PyObject * obj2 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12346 arg2 = (int) SWIG_AsInt(obj1);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 {
12349 arg3 = wxString_in_helper(obj2);
12350 if (arg3 == NULL) SWIG_fail;
12351 temp3 = True;
12352 }
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 Py_INCREF(Py_None); resultobj = Py_None;
12361 {
12362 if (temp3)
12363 delete arg3;
12364 }
12365 return resultobj;
12366 fail:
12367 {
12368 if (temp3)
12369 delete arg3;
12370 }
12371 return NULL;
12372 }
12373
12374
12375 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj;
12377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12378 wxString *arg2 = 0 ;
12379 bool temp2 = False ;
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "self",(char *) "language", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
12387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12389 {
12390 arg2 = wxString_in_helper(obj1);
12391 if (arg2 == NULL) SWIG_fail;
12392 temp2 = True;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetLexerLanguage((wxString const &)*arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 {
12403 if (temp2)
12404 delete arg2;
12405 }
12406 return resultobj;
12407 fail:
12408 {
12409 if (temp2)
12410 delete arg2;
12411 }
12412 return NULL;
12413 }
12414
12415
12416 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12419 int result;
12420 PyObject * obj0 = 0 ;
12421 char *kwnames[] = {
12422 (char *) "self", NULL
12423 };
12424
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
12426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (int)(arg1)->GetCurrentLine();
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_FromInt((int)result);
12436 return resultobj;
12437 fail:
12438 return NULL;
12439 }
12440
12441
12442 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12445 int arg2 ;
12446 wxString *arg3 = 0 ;
12447 bool temp3 = False ;
12448 PyObject * obj0 = 0 ;
12449 PyObject * obj1 = 0 ;
12450 PyObject * obj2 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12458 arg2 = (int) SWIG_AsInt(obj1);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 {
12461 arg3 = wxString_in_helper(obj2);
12462 if (arg3 == NULL) SWIG_fail;
12463 temp3 = True;
12464 }
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 Py_INCREF(Py_None); resultobj = Py_None;
12473 {
12474 if (temp3)
12475 delete arg3;
12476 }
12477 return resultobj;
12478 fail:
12479 {
12480 if (temp3)
12481 delete arg3;
12482 }
12483 return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj;
12489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12490 int arg2 ;
12491 wxFont *arg3 = 0 ;
12492 PyObject * obj0 = 0 ;
12493 PyObject * obj1 = 0 ;
12494 PyObject * obj2 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "styleNum",(char *) "font", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 arg2 = (int) SWIG_AsInt(obj1);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1)
12506 SWIG_fail;
12507 if (arg3 == NULL) {
12508 PyErr_SetString(PyExc_TypeError,"null reference");
12509 SWIG_fail;
12510 }
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 (arg1)->StyleSetFont(arg2,*arg3);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 Py_INCREF(Py_None); resultobj = Py_None;
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12528 int arg2 ;
12529 int arg3 ;
12530 wxString *arg4 = 0 ;
12531 bool arg5 ;
12532 bool arg6 ;
12533 bool arg7 ;
12534 bool temp4 = False ;
12535 PyObject * obj0 = 0 ;
12536 PyObject * obj1 = 0 ;
12537 PyObject * obj2 = 0 ;
12538 PyObject * obj3 = 0 ;
12539 PyObject * obj4 = 0 ;
12540 PyObject * obj5 = 0 ;
12541 PyObject * obj6 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 arg2 = (int) SWIG_AsInt(obj1);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 arg3 = (int) SWIG_AsInt(obj2);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 {
12554 arg4 = wxString_in_helper(obj3);
12555 if (arg4 == NULL) SWIG_fail;
12556 temp4 = True;
12557 }
12558 arg5 = (bool) SWIG_AsBool(obj4);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 arg6 = (bool) SWIG_AsBool(obj5);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 arg7 = (bool) SWIG_AsBool(obj6);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 Py_INCREF(Py_None); resultobj = Py_None;
12572 {
12573 if (temp4)
12574 delete arg4;
12575 }
12576 return resultobj;
12577 fail:
12578 {
12579 if (temp4)
12580 delete arg4;
12581 }
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12589 int arg2 ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self",(char *) "cmd", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12599 arg2 = (int) SWIG_AsInt(obj1);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 (arg1)->CmdKeyExecute(arg2);
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 Py_INCREF(Py_None); resultobj = Py_None;
12609 return resultobj;
12610 fail:
12611 return NULL;
12612 }
12613
12614
12615 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12618 int arg2 ;
12619 int arg3 ;
12620 PyObject * obj0 = 0 ;
12621 PyObject * obj1 = 0 ;
12622 PyObject * obj2 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "self",(char *) "left",(char *) "right", NULL
12625 };
12626
12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
12628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12630 arg2 = (int) SWIG_AsInt(obj1);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 arg3 = (int) SWIG_AsInt(obj2);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 (arg1)->SetMargins(arg2,arg3);
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 Py_INCREF(Py_None); resultobj = Py_None;
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12651 int *arg2 = (int *) 0 ;
12652 int *arg3 = (int *) 0 ;
12653 int temp2 ;
12654 int temp3 ;
12655 PyObject * obj0 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self", NULL
12658 };
12659
12660 arg2 = &temp2;
12661 arg3 = &temp3;
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
12663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->GetSelection(arg2,arg3);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 {
12674 PyObject *o = PyInt_FromLong((long) (*arg2));
12675 resultobj = t_output_helper(resultobj,o);
12676 }
12677 {
12678 PyObject *o = PyInt_FromLong((long) (*arg3));
12679 resultobj = t_output_helper(resultobj,o);
12680 }
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12690 int arg2 ;
12691 wxPoint result;
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self",(char *) "pos", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
12699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12701 arg2 = (int) SWIG_AsInt(obj1);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (arg1)->PointFromPosition(arg2);
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711 wxPoint * resultptr;
12712 resultptr = new wxPoint((wxPoint &) result);
12713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12714 }
12715 return resultobj;
12716 fail:
12717 return NULL;
12718 }
12719
12720
12721 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12724 int arg2 ;
12725 PyObject * obj0 = 0 ;
12726 PyObject * obj1 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self",(char *) "line", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
12732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12734 arg2 = (int) SWIG_AsInt(obj1);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 (arg1)->ScrollToLine(arg2);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 Py_INCREF(Py_None); resultobj = Py_None;
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12753 int arg2 ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self",(char *) "column", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 arg2 = (int) SWIG_AsInt(obj1);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 (arg1)->ScrollToColumn(arg2);
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 Py_INCREF(Py_None); resultobj = Py_None;
12773 return resultobj;
12774 fail:
12775 return NULL;
12776 }
12777
12778
12779 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12782 int arg2 ;
12783 long arg3 = (long) 0 ;
12784 long arg4 = (long) 0 ;
12785 long result;
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 PyObject * obj2 = 0 ;
12789 PyObject * obj3 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12797 arg2 = (int) SWIG_AsInt(obj1);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 if (obj2) {
12800 arg3 = (long) SWIG_AsLong(obj2);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 if (obj3) {
12804 arg4 = (long) SWIG_AsLong(obj3);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 resultobj = SWIG_FromLong((long)result);
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12824 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self",(char *) "bar", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 (arg1)->SetVScrollBar(arg2);
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 Py_INCREF(Py_None); resultobj = Py_None;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12853 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self",(char *) "bar", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 (arg1)->SetHScrollBar(arg2);
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 Py_INCREF(Py_None); resultobj = Py_None;
12873 return resultobj;
12874 fail:
12875 return NULL;
12876 }
12877
12878
12879 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj;
12881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12882 bool result;
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (bool)(arg1)->GetLastKeydownProcessed();
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 {
12899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12900 }
12901 return resultobj;
12902 fail:
12903 return NULL;
12904 }
12905
12906
12907 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj;
12909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12910 bool arg2 ;
12911 PyObject * obj0 = 0 ;
12912 PyObject * obj1 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self",(char *) "val", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
12918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12920 arg2 = (bool) SWIG_AsBool(obj1);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 (arg1)->SetLastKeydownProcessed(arg2);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 Py_INCREF(Py_None); resultobj = Py_None;
12930 return resultobj;
12931 fail:
12932 return NULL;
12933 }
12934
12935
12936 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12937 PyObject *resultobj;
12938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12939 wxString *arg2 = 0 ;
12940 bool result;
12941 bool temp2 = False ;
12942 PyObject * obj0 = 0 ;
12943 PyObject * obj1 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self",(char *) "filename", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12951 {
12952 arg2 = wxString_in_helper(obj1);
12953 if (arg2 == NULL) SWIG_fail;
12954 temp2 = True;
12955 }
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 {
12964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12965 }
12966 {
12967 if (temp2)
12968 delete arg2;
12969 }
12970 return resultobj;
12971 fail:
12972 {
12973 if (temp2)
12974 delete arg2;
12975 }
12976 return NULL;
12977 }
12978
12979
12980 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12981 PyObject *resultobj;
12982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12983 wxString *arg2 = 0 ;
12984 bool result;
12985 bool temp2 = False ;
12986 PyObject * obj0 = 0 ;
12987 PyObject * obj1 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "filename", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
12993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12995 {
12996 arg2 = wxString_in_helper(obj1);
12997 if (arg2 == NULL) SWIG_fail;
12998 temp2 = True;
12999 }
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 {
13008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13009 }
13010 {
13011 if (temp2)
13012 delete arg2;
13013 }
13014 return resultobj;
13015 fail:
13016 {
13017 if (temp2)
13018 delete arg2;
13019 }
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13027 int arg2 ;
13028 int arg3 ;
13029 int arg4 ;
13030 int result;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj1 = 0 ;
13033 PyObject * obj2 = 0 ;
13034 PyObject * obj3 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13042 arg2 = (int) SWIG_AsInt(obj1);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 arg3 = (int) SWIG_AsInt(obj2);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 arg4 = (wxDragResult) SWIG_AsInt(obj3);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 resultobj = SWIG_FromInt((int)result);
13056 return resultobj;
13057 fail:
13058 return NULL;
13059 }
13060
13061
13062 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13065 long arg2 ;
13066 long arg3 ;
13067 wxString *arg4 = 0 ;
13068 bool result;
13069 bool temp4 = False ;
13070 PyObject * obj0 = 0 ;
13071 PyObject * obj1 = 0 ;
13072 PyObject * obj2 = 0 ;
13073 PyObject * obj3 = 0 ;
13074 char *kwnames[] = {
13075 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
13076 };
13077
13078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13081 arg2 = (long) SWIG_AsLong(obj1);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 arg3 = (long) SWIG_AsLong(obj2);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 {
13086 arg4 = wxString_in_helper(obj3);
13087 if (arg4 == NULL) SWIG_fail;
13088 temp4 = True;
13089 }
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 {
13098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13099 }
13100 {
13101 if (temp4)
13102 delete arg4;
13103 }
13104 return resultobj;
13105 fail:
13106 {
13107 if (temp4)
13108 delete arg4;
13109 }
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13117 bool arg2 ;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "useAA", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 arg2 = (bool) SWIG_AsBool(obj1);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 (arg1)->SetUseAntiAliasing(arg2);
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 Py_INCREF(Py_None); resultobj = Py_None;
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13146 bool result;
13147 PyObject * obj0 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (bool)(arg1)->GetUseAntiAliasing();
13158
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13164 }
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
13172 PyObject *obj;
13173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13174 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
13175 Py_INCREF(obj);
13176 return Py_BuildValue((char *)"");
13177 }
13178 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj;
13180 wxEventType arg1 = (wxEventType) 0 ;
13181 int arg2 = (int) 0 ;
13182 wxStyledTextEvent *result;
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 char *kwnames[] = {
13186 (char *) "commandType",(char *) "id", NULL
13187 };
13188
13189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
13190 if (obj0) {
13191 arg1 = (wxEventType) SWIG_AsInt(obj0);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 if (obj1) {
13195 arg2 = (int) SWIG_AsInt(obj1);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 }
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
13206 return resultobj;
13207 fail:
13208 return NULL;
13209 }
13210
13211
13212 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13213 PyObject *resultobj;
13214 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13215 PyObject * obj0 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "self", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
13221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 delete arg1;
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 Py_INCREF(Py_None); resultobj = Py_None;
13231 return resultobj;
13232 fail:
13233 return NULL;
13234 }
13235
13236
13237 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13238 PyObject *resultobj;
13239 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13240 int arg2 ;
13241 PyObject * obj0 = 0 ;
13242 PyObject * obj1 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self",(char *) "pos", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13250 arg2 = (int) SWIG_AsInt(obj1);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 (arg1)->SetPosition(arg2);
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 Py_INCREF(Py_None); resultobj = Py_None;
13260 return resultobj;
13261 fail:
13262 return NULL;
13263 }
13264
13265
13266 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13269 int arg2 ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self",(char *) "k", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13279 arg2 = (int) SWIG_AsInt(obj1);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 (arg1)->SetKey(arg2);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 Py_INCREF(Py_None); resultobj = Py_None;
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj;
13297 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13298 int arg2 ;
13299 PyObject * obj0 = 0 ;
13300 PyObject * obj1 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self",(char *) "m", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
13306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13308 arg2 = (int) SWIG_AsInt(obj1);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 (arg1)->SetModifiers(arg2);
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 Py_INCREF(Py_None); resultobj = Py_None;
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13327 int arg2 ;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "t", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13337 arg2 = (int) SWIG_AsInt(obj1);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->SetModificationType(arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13356 wxString *arg2 = 0 ;
13357 bool temp2 = False ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "t", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13367 {
13368 arg2 = wxString_in_helper(obj1);
13369 if (arg2 == NULL) SWIG_fail;
13370 temp2 = True;
13371 }
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->SetText((wxString const &)*arg2);
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 Py_INCREF(Py_None); resultobj = Py_None;
13380 {
13381 if (temp2)
13382 delete arg2;
13383 }
13384 return resultobj;
13385 fail:
13386 {
13387 if (temp2)
13388 delete arg2;
13389 }
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13397 int arg2 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "len", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13407 arg2 = (int) SWIG_AsInt(obj1);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 (arg1)->SetLength(arg2);
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 Py_INCREF(Py_None); resultobj = Py_None;
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
13424 PyObject *resultobj;
13425 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13426 int arg2 ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "num", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13436 arg2 = (int) SWIG_AsInt(obj1);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->SetLinesAdded(arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 Py_INCREF(Py_None); resultobj = Py_None;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13455 int arg2 ;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "val", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13465 arg2 = (int) SWIG_AsInt(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 {
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 (arg1)->SetLine(arg2);
13470
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
13474 Py_INCREF(Py_None); resultobj = Py_None;
13475 return resultobj;
13476 fail:
13477 return NULL;
13478 }
13479
13480
13481 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
13482 PyObject *resultobj;
13483 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13484 int arg2 ;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self",(char *) "val", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13494 arg2 = (int) SWIG_AsInt(obj1);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 (arg1)->SetFoldLevelNow(arg2);
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 Py_INCREF(Py_None); resultobj = Py_None;
13504 return resultobj;
13505 fail:
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13513 int arg2 ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self",(char *) "val", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
13521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13523 arg2 = (int) SWIG_AsInt(obj1);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->SetFoldLevelPrev(arg2);
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 Py_INCREF(Py_None); resultobj = Py_None;
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13542 int arg2 ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 char *kwnames[] = {
13546 (char *) "self",(char *) "val", NULL
13547 };
13548
13549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
13550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13552 arg2 = (int) SWIG_AsInt(obj1);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 (arg1)->SetMargin(arg2);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 Py_INCREF(Py_None); resultobj = Py_None;
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13571 int arg2 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self",(char *) "val", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13581 arg2 = (int) SWIG_AsInt(obj1);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetMessage(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13600 int arg2 ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 char *kwnames[] = {
13604 (char *) "self",(char *) "val", NULL
13605 };
13606
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
13608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13610 arg2 = (int) SWIG_AsInt(obj1);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 (arg1)->SetWParam(arg2);
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 Py_INCREF(Py_None); resultobj = Py_None;
13620 return resultobj;
13621 fail:
13622 return NULL;
13623 }
13624
13625
13626 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13629 int arg2 ;
13630 PyObject * obj0 = 0 ;
13631 PyObject * obj1 = 0 ;
13632 char *kwnames[] = {
13633 (char *) "self",(char *) "val", NULL
13634 };
13635
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
13637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13639 arg2 = (int) SWIG_AsInt(obj1);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->SetLParam(arg2);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 Py_INCREF(Py_None); resultobj = Py_None;
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13658 int arg2 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self",(char *) "val", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13668 arg2 = (int) SWIG_AsInt(obj1);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->SetListType(arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13687 int arg2 ;
13688 PyObject * obj0 = 0 ;
13689 PyObject * obj1 = 0 ;
13690 char *kwnames[] = {
13691 (char *) "self",(char *) "val", NULL
13692 };
13693
13694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
13695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13697 arg2 = (int) SWIG_AsInt(obj1);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 (arg1)->SetX(arg2);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13716 int arg2 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "val", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13726 arg2 = (int) SWIG_AsInt(obj1);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 (arg1)->SetY(arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 Py_INCREF(Py_None); resultobj = Py_None;
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13745 wxString *arg2 = 0 ;
13746 bool temp2 = False ;
13747 PyObject * obj0 = 0 ;
13748 PyObject * obj1 = 0 ;
13749 char *kwnames[] = {
13750 (char *) "self",(char *) "val", NULL
13751 };
13752
13753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
13754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13756 {
13757 arg2 = wxString_in_helper(obj1);
13758 if (arg2 == NULL) SWIG_fail;
13759 temp2 = True;
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 (arg1)->SetDragText((wxString const &)*arg2);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 Py_INCREF(Py_None); resultobj = Py_None;
13769 {
13770 if (temp2)
13771 delete arg2;
13772 }
13773 return resultobj;
13774 fail:
13775 {
13776 if (temp2)
13777 delete arg2;
13778 }
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13786 bool arg2 ;
13787 PyObject * obj0 = 0 ;
13788 PyObject * obj1 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self",(char *) "val", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
13794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13796 arg2 = (bool) SWIG_AsBool(obj1);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->SetDragAllowMove(arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 Py_INCREF(Py_None); resultobj = Py_None;
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13815 int arg2 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 char *kwnames[] = {
13819 (char *) "self",(char *) "val", NULL
13820 };
13821
13822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
13823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13825 arg2 = (wxDragResult) SWIG_AsInt(obj1);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 (arg1)->SetDragResult((wxDragResult )arg2);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 Py_INCREF(Py_None); resultobj = Py_None;
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13844 int result;
13845 PyObject * obj0 = 0 ;
13846 char *kwnames[] = {
13847 (char *) "self", NULL
13848 };
13849
13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
13851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 resultobj = SWIG_FromInt((int)result);
13861 return resultobj;
13862 fail:
13863 return NULL;
13864 }
13865
13866
13867 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13870 int result;
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 resultobj = SWIG_FromInt((int)result);
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13896 int result;
13897 PyObject * obj0 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 resultobj = SWIG_FromInt((int)result);
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13922 int result;
13923 PyObject * obj0 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 resultobj = SWIG_FromInt((int)result);
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13948 wxString result;
13949 PyObject * obj0 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = ((wxStyledTextEvent const *)arg1)->GetText();
13960
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 {
13965 #if wxUSE_UNICODE
13966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13967 #else
13968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13969 #endif
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13980 int result;
13981 PyObject * obj0 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
13992
13993 wxPyEndAllowThreads(__tstate);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 resultobj = SWIG_FromInt((int)result);
13997 return resultobj;
13998 fail:
13999 return NULL;
14000 }
14001
14002
14003 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14006 int result;
14007 PyObject * obj0 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
14013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_FromInt((int)result);
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14032 int result;
14033 PyObject * obj0 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
14044
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 resultobj = SWIG_FromInt((int)result);
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj;
14057 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14058 int result;
14059 PyObject * obj0 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_FromInt((int)result);
14075 return resultobj;
14076 fail:
14077 return NULL;
14078 }
14079
14080
14081 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj;
14083 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14084 int result;
14085 PyObject * obj0 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
14091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 resultobj = SWIG_FromInt((int)result);
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14110 int result;
14111 PyObject * obj0 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
14117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_FromInt((int)result);
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14136 int result;
14137 PyObject * obj0 = 0 ;
14138 char *kwnames[] = {
14139 (char *) "self", NULL
14140 };
14141
14142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
14143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 resultobj = SWIG_FromInt((int)result);
14153 return resultobj;
14154 fail:
14155 return NULL;
14156 }
14157
14158
14159 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj;
14161 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14162 int result;
14163 PyObject * obj0 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
14169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = SWIG_FromInt((int)result);
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14188 int result;
14189 PyObject * obj0 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 resultobj = SWIG_FromInt((int)result);
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14214 int result;
14215 PyObject * obj0 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 resultobj = SWIG_FromInt((int)result);
14231 return resultobj;
14232 fail:
14233 return NULL;
14234 }
14235
14236
14237 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14240 int result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
14247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = SWIG_FromInt((int)result);
14257 return resultobj;
14258 fail:
14259 return NULL;
14260 }
14261
14262
14263 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14266 int result;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
14273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 resultobj = SWIG_FromInt((int)result);
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14292 wxString result;
14293 PyObject * obj0 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (arg1)->GetDragText();
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 {
14309 #if wxUSE_UNICODE
14310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14311 #else
14312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14313 #endif
14314 }
14315 return resultobj;
14316 fail:
14317 return NULL;
14318 }
14319
14320
14321 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14324 bool result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (bool)(arg1)->GetDragAllowMove();
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 {
14341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14342 }
14343 return resultobj;
14344 fail:
14345 return NULL;
14346 }
14347
14348
14349 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14352 int result;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (int)(arg1)->GetDragResult();
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = SWIG_FromInt((int)result);
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14378 bool result;
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 {
14395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14396 }
14397 return resultobj;
14398 fail:
14399 return NULL;
14400 }
14401
14402
14403 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14406 bool result;
14407 PyObject * obj0 = 0 ;
14408 char *kwnames[] = {
14409 (char *) "self", NULL
14410 };
14411
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
14413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 {
14423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14424 }
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14434 bool result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 {
14451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14452 }
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14462 wxEvent *result;
14463 PyObject * obj0 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
14486 PyObject *obj;
14487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14488 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
14489 Py_INCREF(obj);
14490 return Py_BuildValue((char *)"");
14491 }
14492 static PyMethodDef SwigMethods[] = {
14493 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14494 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14495 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
14496 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
14497 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
14498 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
14499 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
14500 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
14501 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
14502 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
14503 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14504 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
14505 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
14506 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
14507 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14508 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
14509 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
14510 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
14511 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
14512 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
14513 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
14514 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14515 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14516 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14517 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
14518 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
14519 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
14520 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
14521 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
14522 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
14523 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
14524 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
14525 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
14526 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
14527 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
14528 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
14529 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14530 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14531 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
14532 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
14533 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
14534 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
14535 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
14536 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
14537 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
14538 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
14539 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
14540 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
14541 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
14542 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
14543 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
14544 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
14545 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
14546 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14547 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14548 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
14549 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
14550 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14551 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14552 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
14553 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
14554 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
14555 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
14556 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
14557 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
14558 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
14559 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
14560 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
14561 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
14562 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
14563 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
14564 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
14565 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
14566 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
14567 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14568 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
14569 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
14570 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
14571 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
14572 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
14573 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14574 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14575 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
14576 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
14577 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
14578 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
14579 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
14580 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
14581 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
14582 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
14583 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
14584 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
14585 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
14586 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
14587 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
14588 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
14589 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14590 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14591 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14592 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14593 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
14594 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
14595 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
14596 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
14597 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
14598 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
14599 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
14600 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
14601 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
14602 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
14603 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14604 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14605 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
14606 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14607 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14608 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14609 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14610 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
14611 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
14612 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
14613 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14614 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14615 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
14616 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
14617 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14618 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14619 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
14620 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
14621 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
14622 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
14623 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14624 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14625 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
14626 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
14627 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14628 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14629 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14630 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14631 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14632 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14633 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
14634 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
14635 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14636 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
14637 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14638 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14639 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14640 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14641 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14642 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14643 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14644 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14645 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14646 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
14647 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
14648 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
14649 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
14650 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
14651 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14652 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14653 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
14654 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
14655 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
14656 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
14657 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
14658 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
14659 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
14660 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
14661 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
14662 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
14663 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
14664 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
14665 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14666 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
14667 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
14668 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
14669 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
14670 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
14671 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
14672 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
14673 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
14674 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
14675 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
14676 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
14677 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
14678 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
14679 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14680 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14681 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
14682 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
14683 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14684 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14685 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
14686 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
14687 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
14688 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14689 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14690 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
14691 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
14692 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
14693 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
14694 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
14695 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
14696 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
14697 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
14698 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
14699 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
14700 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14701 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14702 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
14703 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
14704 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
14705 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
14706 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
14707 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14708 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14709 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
14710 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
14711 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
14712 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
14713 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
14714 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
14715 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14716 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14717 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14718 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14719 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
14720 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
14721 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
14722 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
14723 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14724 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14725 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14726 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14727 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
14728 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14729 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14730 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
14731 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14732 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14733 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
14734 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14735 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14736 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
14737 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
14738 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
14739 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
14740 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
14741 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS },
14742 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS },
14743 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS },
14744 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS },
14745 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS },
14746 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS },
14747 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS },
14748 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS },
14749 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS },
14750 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS },
14751 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS },
14752 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS },
14753 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS },
14754 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS },
14755 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS },
14756 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS },
14757 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS },
14758 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS },
14759 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS },
14760 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS },
14761 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS },
14762 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS },
14763 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS },
14764 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS },
14765 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS },
14766 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS },
14767 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS },
14768 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS },
14769 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS },
14770 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS },
14771 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS },
14772 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS },
14773 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS },
14774 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS },
14775 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS },
14776 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS },
14777 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS },
14778 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS },
14779 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS },
14780 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS },
14781 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
14782 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS },
14783 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS },
14784 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS },
14785 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS },
14786 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS },
14787 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
14788 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14789 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
14790 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14791 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS },
14792 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14793 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS },
14794 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS },
14795 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS },
14796 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14797 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
14798 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
14799 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
14800 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
14801 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
14802 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
14803 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
14804 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
14805 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
14806 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
14807 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
14808 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14809 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14810 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14811 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14812 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14813 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14814 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
14815 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
14816 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
14817 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
14818 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
14819 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
14820 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
14821 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
14822 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
14823 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
14824 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
14825 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
14826 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14827 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14828 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
14829 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
14830 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14831 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14832 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14833 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14834 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14835 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14836 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
14837 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
14838 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
14839 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
14840 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
14841 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
14842 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
14843 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
14844 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
14845 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
14846 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14847 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14848 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14849 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14850 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
14851 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
14852 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
14853 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
14854 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS },
14855 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS },
14856 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS },
14857 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS },
14858 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
14859 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
14860 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
14861 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
14862 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14863 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14864 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
14865 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
14866 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14867 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14868 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS },
14869 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS },
14870 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14871 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14872 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS },
14873 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14874 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14875 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS },
14876 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS },
14877 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS },
14878 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS },
14879 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS },
14880 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS },
14881 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS },
14882 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS },
14883 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
14884 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
14885 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
14886 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
14887 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
14888 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
14889 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
14890 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
14891 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
14892 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
14893 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
14894 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
14895 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
14896 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
14897 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
14898 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
14899 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
14900 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
14901 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
14902 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
14903 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
14904 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
14905 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
14906 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
14907 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14908 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14909 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
14910 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
14911 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
14912 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
14913 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14914 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14915 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
14916 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14917 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14918 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
14919 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
14920 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
14921 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
14922 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
14923 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
14924 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14925 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
14926 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14927 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14928 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
14929 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
14930 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
14931 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
14932 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
14933 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
14934 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
14935 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
14936 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14937 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
14938 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14939 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
14940 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
14941 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
14942 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
14943 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
14944 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14945 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
14946 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14947 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14948 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
14949 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
14950 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
14951 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
14952 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
14953 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
14954 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
14955 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
14956 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14957 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
14958 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
14959 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14960 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
14961 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
14962 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
14963 { NULL, NULL }
14964 };
14965
14966
14967 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14968
14969 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14970 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14971 }
14972 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14973 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14974 }
14975 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14976 return (void *)((wxObject *) ((wxSizerItem *) x));
14977 }
14978 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14980 }
14981 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14982 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14983 }
14984 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14985 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14986 }
14987 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14988 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14989 }
14990 static void *_p_wxSizerTo_p_wxObject(void *x) {
14991 return (void *)((wxObject *) ((wxSizer *) x));
14992 }
14993 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14994 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14995 }
14996 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
14997 return (void *)((wxObject *) ((wxFileHistory *) x));
14998 }
14999 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15001 }
15002 static void *_p_wxEventTo_p_wxObject(void *x) {
15003 return (void *)((wxObject *) ((wxEvent *) x));
15004 }
15005 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15006 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15007 }
15008 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15009 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15010 }
15011 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15012 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15013 }
15014 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15015 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15016 }
15017 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15018 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15019 }
15020 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
15021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
15022 }
15023 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15024 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15025 }
15026 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15027 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15028 }
15029 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15030 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15031 }
15032 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15033 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15034 }
15035 static void *_p_wxControlTo_p_wxObject(void *x) {
15036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15037 }
15038 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15039 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15040 }
15041 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
15042 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
15043 }
15044 static void *_p_wxFSFileTo_p_wxObject(void *x) {
15045 return (void *)((wxObject *) ((wxFSFile *) x));
15046 }
15047 static void *_p_wxClipboardTo_p_wxObject(void *x) {
15048 return (void *)((wxObject *) ((wxClipboard *) x));
15049 }
15050 static void *_p_wxPySizerTo_p_wxObject(void *x) {
15051 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15052 }
15053 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
15054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15055 }
15056 static void *_p_wxPyEventTo_p_wxObject(void *x) {
15057 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15058 }
15059 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15060 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15061 }
15062 static void *_p_wxShowEventTo_p_wxObject(void *x) {
15063 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15064 }
15065 static void *_p_wxToolTipTo_p_wxObject(void *x) {
15066 return (void *)((wxObject *) ((wxToolTip *) x));
15067 }
15068 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15069 return (void *)((wxObject *) ((wxMenuItem *) x));
15070 }
15071 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15072 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15073 }
15074 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15076 }
15077 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15078 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15079 }
15080 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15081 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15082 }
15083 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15084 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15085 }
15086 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15087 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15088 }
15089 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15090 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15091 }
15092 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15093 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15094 }
15095 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15096 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15097 }
15098 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15099 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15100 }
15101 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15102 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15103 }
15104 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15105 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15106 }
15107 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15108 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15109 }
15110 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15111 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15112 }
15113 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15114 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15115 }
15116 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15117 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15118 }
15119 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15120 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15121 }
15122 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15123 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15124 }
15125 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15126 return (void *)((wxObject *) ((wxImageHandler *) x));
15127 }
15128 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15129 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15130 }
15131 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15132 return (void *)((wxObject *) ((wxEvtHandler *) x));
15133 }
15134 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15135 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15136 }
15137 static void *_p_wxImageTo_p_wxObject(void *x) {
15138 return (void *)((wxObject *) ((wxImage *) x));
15139 }
15140 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15141 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15142 }
15143 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
15144 return (void *)((wxObject *) ((wxSystemOptions *) x));
15145 }
15146 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
15147 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
15148 }
15149 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15150 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15151 }
15152 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15153 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15154 }
15155 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15156 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15157 }
15158 static void *_p_wxWindowTo_p_wxObject(void *x) {
15159 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15160 }
15161 static void *_p_wxMenuTo_p_wxObject(void *x) {
15162 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15163 }
15164 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15166 }
15167 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
15168 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
15169 }
15170 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15171 return (void *)((wxObject *) ((wxFileSystem *) x));
15172 }
15173 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15175 }
15176 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15177 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15178 }
15179 static void *_p_wxPyAppTo_p_wxObject(void *x) {
15180 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15181 }
15182 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15183 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15184 }
15185 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15186 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15187 }
15188 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15189 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15190 }
15191 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
15192 return (void *)((wxObject *) ((wxBusyInfo *) x));
15193 }
15194 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15196 }
15197 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15198 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15199 }
15200 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15201 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15202 }
15203 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15204 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15205 }
15206 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15208 }
15209 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
15210 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
15211 }
15212 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15214 }
15215 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15216 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15217 }
15218 static void *_p_wxValidatorTo_p_wxObject(void *x) {
15219 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15220 }
15221 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
15222 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
15223 }
15224 static void *_p_wxControlTo_p_wxWindow(void *x) {
15225 return (void *)((wxWindow *) ((wxControl *) x));
15226 }
15227 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15228 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15229 }
15230 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
15231 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
15232 }
15233 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15234 return (void *)((wxWindow *) ((wxMenuBar *) x));
15235 }
15236 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15237 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15238 }
15239 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15240 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15241 }
15242 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15243 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15244 }
15245 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15246 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15247 }
15248 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
15249 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
15250 }
15251 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15252 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15253 }
15254 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15255 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15256 }
15257 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15258 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15259 }
15260 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15261 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15262 }
15263 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15265 }
15266 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15267 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15268 }
15269 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15271 }
15272 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15273 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15274 }
15275 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
15276 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
15277 }
15278 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
15279 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15280 }
15281 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15282 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15283 }
15284 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15285 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15286 }
15287 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15288 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15289 }
15290 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15291 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15292 }
15293 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
15294 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
15295 }
15296 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15297 return (void *)((wxControl *) ((wxControlWithItems *) x));
15298 }
15299 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
15300 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
15301 }
15302 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15304 }
15305 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15306 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15307 }
15308 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15309 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15310 }
15311 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15312 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15313 }
15314 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15315 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15316 }
15317 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15318 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15319 }
15320 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
15321 return (void *)((wxEvent *) ((wxTimerEvent *) x));
15322 }
15323 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15324 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15325 }
15326 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15328 }
15329 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15330 return (void *)((wxEvent *) ((wxPyEvent *) x));
15331 }
15332 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15334 }
15335 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
15336 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
15337 }
15338 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15339 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15340 }
15341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15342 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15343 }
15344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15345 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15346 }
15347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15348 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15349 }
15350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15351 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15352 }
15353 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15354 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15355 }
15356 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15357 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15358 }
15359 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15360 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15361 }
15362 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15363 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15364 }
15365 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15366 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15367 }
15368 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
15369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
15370 }
15371 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15373 }
15374 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15375 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15376 }
15377 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15378 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15379 }
15380 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15381 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15382 }
15383 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15384 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15385 }
15386 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15387 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15388 }
15389 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15390 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15391 }
15392 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15394 }
15395 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
15396 return (void *)((wxEvent *) ((wxProcessEvent *) x));
15397 }
15398 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15399 return (void *)((wxEvent *) ((wxShowEvent *) x));
15400 }
15401 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15402 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15403 }
15404 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15406 }
15407 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15409 }
15410 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15411 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15412 }
15413 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15414 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15415 }
15416 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15417 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15418 }
15419 static 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}};
15420 static 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}};
15421 static 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}};
15422 static 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}};
15423 static 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}};
15424 static 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}};
15425 static 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}};
15426 static 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}};
15427 static 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}};
15428 static 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}};
15429 static 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}};
15430 static 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}};
15431 static 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}};
15432 static 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}};
15433 static 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}};
15434 static 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}};
15435 static 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}};
15436 static 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}};
15437 static 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}};
15438
15439 static swig_type_info *swig_types_initial[] = {
15440 _swigt__p_wxRect,
15441 _swigt__p_wxColour,
15442 _swigt__p_wxObject,
15443 _swigt__p_wxScrollBar,
15444 _swigt__p_wxStyledTextEvent,
15445 _swigt__p_wxWindow,
15446 _swigt__p_wxCommandEvent,
15447 _swigt__p_wxBitmap,
15448 _swigt__p_void,
15449 _swigt__p_wxPoint,
15450 _swigt__p_wxDC,
15451 _swigt__p_char,
15452 _swigt__p_wxEvtHandler,
15453 _swigt__p_wxStyledTextCtrl,
15454 _swigt__p_wxFont,
15455 _swigt__p_wxControl,
15456 _swigt__p_wxEvent,
15457 _swigt__p_int,
15458 _swigt__p_wxMemoryBuffer,
15459 0
15460 };
15461
15462
15463 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15464
15465 static swig_const_info swig_const_table[] = {
15466 {0}};
15467
15468 #ifdef __cplusplus
15469 }
15470 #endif
15471
15472 #ifdef __cplusplus
15473 extern "C"
15474 #endif
15475 SWIGEXPORT(void) SWIG_init(void) {
15476 static PyObject *SWIG_globals = 0;
15477 static int typeinit = 0;
15478 PyObject *m, *d;
15479 int i;
15480 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15481 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15482 d = PyModule_GetDict(m);
15483
15484 if (!typeinit) {
15485 for (i = 0; swig_types_initial[i]; i++) {
15486 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15487 }
15488 typeinit = 1;
15489 }
15490 SWIG_InstallConstants(d,swig_const_table);
15491
15492 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15493 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
15494 PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1));
15495 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1));
15496 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1));
15497 PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000));
15498 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000));
15499 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000));
15500 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0));
15501 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1));
15502 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2));
15503 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0));
15504 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1));
15505 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2));
15506 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001));
15507 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1));
15508 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31));
15509 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0));
15510 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1));
15511 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2));
15512 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3));
15513 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4));
15514 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5));
15515 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6));
15516 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7));
15517 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8));
15518 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9));
15519 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10));
15520 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11));
15521 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12));
15522 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13));
15523 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14));
15524 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15));
15525 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16));
15526 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17));
15527 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18));
15528 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19));
15529 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20));
15530 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21));
15531 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22));
15532 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23));
15533 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24));
15534 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25));
15535 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000));
15536 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25));
15537 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26));
15538 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27));
15539 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28));
15540 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29));
15541 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30));
15542 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31));
15543 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000));
15544 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0));
15545 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1));
15546 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32));
15547 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33));
15548 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34));
15549 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35));
15550 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36));
15551 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37));
15552 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39));
15553 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127));
15554 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0));
15555 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1));
15556 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186));
15557 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136));
15558 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238));
15559 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134));
15560 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161));
15561 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129));
15562 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77));
15563 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255));
15564 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204));
15565 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128));
15566 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2));
15567 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162));
15568 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130));
15569 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177));
15570 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178));
15571 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163));
15572 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222));
15573 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0));
15574 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1));
15575 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2));
15576 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7));
15577 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0));
15578 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1));
15579 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2));
15580 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3));
15581 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4));
15582 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5));
15583 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6));
15584 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20));
15585 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40));
15586 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80));
15587 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0));
15588 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0));
15589 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1));
15590 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2));
15591 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3));
15592 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4));
15593 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2));
15594 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4));
15595 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000));
15596 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000));
15597 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000));
15598 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400));
15599 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000));
15600 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000));
15601 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000));
15602 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000));
15603 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000));
15604 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000));
15605 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF));
15606 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002));
15607 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004));
15608 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008));
15609 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010));
15610 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040));
15611 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001));
15612 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000));
15613 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0));
15614 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1));
15615 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0));
15616 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1));
15617 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2));
15618 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3));
15619 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0));
15620 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1));
15621 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2));
15622 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1));
15623 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4));
15624 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01));
15625 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04));
15626 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01));
15627 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04));
15628 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10));
15629 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08));
15630 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0));
15631 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1));
15632 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2));
15633 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8));
15634 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1));
15635 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2));
15636 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4));
15637 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8));
15638 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10));
15639 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20));
15640 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40));
15641 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100));
15642 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200));
15643 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400));
15644 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800));
15645 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77));
15646 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300));
15647 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301));
15648 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302));
15649 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303));
15650 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304));
15651 PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305));
15652 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306));
15653 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307));
15654 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308));
15655 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309));
15656 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7));
15657 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8));
15658 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9));
15659 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13));
15660 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310));
15661 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311));
15662 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312));
15663 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1));
15664 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2));
15665 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4));
15666 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0));
15667 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1));
15668 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2));
15669 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3));
15670 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4));
15671 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5));
15672 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6));
15673 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7));
15674 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8));
15675 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9));
15676 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10));
15677 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11));
15678 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12));
15679 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13));
15680 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14));
15681 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15));
15682 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16));
15683 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17));
15684 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18));
15685 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19));
15686 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20));
15687 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21));
15688 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22));
15689 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23));
15690 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24));
15691 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25));
15692 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26));
15693 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27));
15694 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28));
15695 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29));
15696 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30));
15697 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31));
15698 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32));
15699 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33));
15700 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34));
15701 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35));
15702 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36));
15703 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37));
15704 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38));
15705 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39));
15706 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40));
15707 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41));
15708 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42));
15709 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43));
15710 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44));
15711 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45));
15712 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46));
15713 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47));
15714 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48));
15715 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49));
15716 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50));
15717 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51));
15718 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52));
15719 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53));
15720 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54));
15721 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000));
15722 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0));
15723 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1));
15724 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2));
15725 PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3));
15726 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4));
15727 PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5));
15728 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6));
15729 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7));
15730 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8));
15731 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9));
15732 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10));
15733 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11));
15734 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12));
15735 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13));
15736 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0));
15737 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1));
15738 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2));
15739 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3));
15740 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4));
15741 PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5));
15742 PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6));
15743 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7));
15744 PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8));
15745 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9));
15746 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10));
15747 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11));
15748 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12));
15749 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13));
15750 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14));
15751 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15));
15752 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16));
15753 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17));
15754 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18));
15755 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19));
15756 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0));
15757 PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1));
15758 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2));
15759 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3));
15760 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4));
15761 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5));
15762 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6));
15763 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7));
15764 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8));
15765 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9));
15766 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10));
15767 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11));
15768 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12));
15769 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13));
15770 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14));
15771 PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15));
15772 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16));
15773 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17));
15774 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18));
15775 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19));
15776 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20));
15777 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21));
15778 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22));
15779 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23));
15780 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24));
15781 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25));
15782 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26));
15783 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27));
15784 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28));
15785 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29));
15786 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30));
15787 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31));
15788 PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40));
15789 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41));
15790 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42));
15791 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43));
15792 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44));
15793 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45));
15794 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46));
15795 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47));
15796 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48));
15797 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49));
15798 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50));
15799 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51));
15800 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52));
15801 PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55));
15802 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56));
15803 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57));
15804 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58));
15805 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59));
15806 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60));
15807 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61));
15808 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62));
15809 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63));
15810 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64));
15811 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65));
15812 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66));
15813 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67));
15814 PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70));
15815 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71));
15816 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72));
15817 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73));
15818 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74));
15819 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75));
15820 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76));
15821 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77));
15822 PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80));
15823 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81));
15824 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82));
15825 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83));
15826 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84));
15827 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85));
15828 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86));
15829 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87));
15830 PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90));
15831 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91));
15832 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92));
15833 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93));
15834 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94));
15835 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95));
15836 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96));
15837 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97));
15838 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98));
15839 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99));
15840 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100));
15841 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101));
15842 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102));
15843 PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105));
15844 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106));
15845 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107));
15846 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108));
15847 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109));
15848 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110));
15849 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111));
15850 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112));
15851 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113));
15852 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114));
15853 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115));
15854 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116));
15855 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117));
15856 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118));
15857 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119));
15858 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120));
15859 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121));
15860 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122));
15861 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123));
15862 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124));
15863 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125));
15864 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126));
15865 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127));
15866 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0));
15867 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1));
15868 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2));
15869 PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3));
15870 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4));
15871 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5));
15872 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6));
15873 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7));
15874 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8));
15875 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9));
15876 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10));
15877 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11));
15878 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12));
15879 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13));
15880 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14));
15881 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15));
15882 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17));
15883 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18));
15884 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19));
15885 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20));
15886 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21));
15887 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22));
15888 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23));
15889 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24));
15890 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25));
15891 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26));
15892 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27));
15893 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28));
15894 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29));
15895 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30));
15896 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0));
15897 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1));
15898 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2));
15899 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3));
15900 PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4));
15901 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5));
15902 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6));
15903 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7));
15904 PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8));
15905 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9));
15906 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10));
15907 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11));
15908 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12));
15909 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0));
15910 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1));
15911 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2));
15912 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3));
15913 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4));
15914 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0));
15915 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1));
15916 PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2));
15917 PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3));
15918 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4));
15919 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0));
15920 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1));
15921 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2));
15922 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3));
15923 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4));
15924 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5));
15925 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6));
15926 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7));
15927 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8));
15928 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9));
15929 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10));
15930 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11));
15931 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12));
15932 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13));
15933 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14));
15934 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15));
15935 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16));
15936 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17));
15937 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18));
15938 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19));
15939 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0));
15940 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1));
15941 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2));
15942 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3));
15943 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4));
15944 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5));
15945 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6));
15946 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7));
15947 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8));
15948 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9));
15949 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10));
15950 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11));
15951 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12));
15952 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13));
15953 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14));
15954 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15));
15955 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16));
15956 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17));
15957 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18));
15958 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0));
15959 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1));
15960 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2));
15961 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3));
15962 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4));
15963 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5));
15964 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6));
15965 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7));
15966 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0));
15967 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1));
15968 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2));
15969 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3));
15970 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4));
15971 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5));
15972 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9));
15973 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0));
15974 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1));
15975 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2));
15976 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3));
15977 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4));
15978 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5));
15979 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6));
15980 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0));
15981 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1));
15982 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2));
15983 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3));
15984 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4));
15985 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5));
15986 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6));
15987 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7));
15988 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8));
15989 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9));
15990 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0));
15991 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1));
15992 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2));
15993 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3));
15994 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6));
15995 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7));
15996 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8));
15997 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9));
15998 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10));
15999 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11));
16000 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12));
16001 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13));
16002 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14));
16003 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15));
16004 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16));
16005 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0));
16006 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1));
16007 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2));
16008 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3));
16009 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4));
16010 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5));
16011 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6));
16012 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7));
16013 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8));
16014 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9));
16015 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10));
16016 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11));
16017 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0));
16018 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1));
16019 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2));
16020 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3));
16021 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4));
16022 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5));
16023 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6));
16024 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7));
16025 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8));
16026 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9));
16027 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10));
16028 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0));
16029 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1));
16030 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2));
16031 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3));
16032 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6));
16033 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8));
16034 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9));
16035 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10));
16036 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0));
16037 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1));
16038 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2));
16039 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3));
16040 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4));
16041 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5));
16042 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6));
16043 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7));
16044 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8));
16045 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0));
16046 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1));
16047 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2));
16048 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3));
16049 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4));
16050 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5));
16051 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6));
16052 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7));
16053 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8));
16054 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9));
16055 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10));
16056 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0));
16057 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1));
16058 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2));
16059 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3));
16060 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4));
16061 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5));
16062 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6));
16063 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7));
16064 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8));
16065 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9));
16066 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10));
16067 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11));
16068 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0));
16069 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1));
16070 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2));
16071 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3));
16072 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4));
16073 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5));
16074 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6));
16075 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7));
16076 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8));
16077 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0));
16078 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1));
16079 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2));
16080 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3));
16081 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4));
16082 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5));
16083 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6));
16084 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7));
16085 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8));
16086 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9));
16087 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10));
16088 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11));
16089 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12));
16090 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13));
16091 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14));
16092 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15));
16093 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0));
16094 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1));
16095 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2));
16096 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3));
16097 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4));
16098 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5));
16099 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6));
16100 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7));
16101 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8));
16102 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9));
16103 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10));
16104 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11));
16105 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12));
16106 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13));
16107 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14));
16108 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0));
16109 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1));
16110 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2));
16111 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3));
16112 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4));
16113 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5));
16114 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6));
16115 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7));
16116 PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8));
16117 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9));
16118 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10));
16119 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11));
16120 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12));
16121 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13));
16122 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14));
16123 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0));
16124 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1));
16125 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2));
16126 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3));
16127 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4));
16128 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5));
16129 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6));
16130 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7));
16131 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8));
16132 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9));
16133 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10));
16134 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11));
16135 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12));
16136 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13));
16137 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14));
16138 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0));
16139 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1));
16140 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2));
16141 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3));
16142 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4));
16143 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5));
16144 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6));
16145 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7));
16146 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8));
16147 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9));
16148 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10));
16149 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11));
16150 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12));
16151 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13));
16152 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14));
16153 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15));
16154 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16));
16155 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0));
16156 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1));
16157 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2));
16158 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3));
16159 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4));
16160 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5));
16161 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6));
16162 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7));
16163 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8));
16164 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9));
16165 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10));
16166 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0));
16167 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1));
16168 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2));
16169 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3));
16170 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4));
16171 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5));
16172 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6));
16173 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7));
16174 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8));
16175 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9));
16176 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10));
16177 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11));
16178 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0));
16179 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1));
16180 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2));
16181 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3));
16182 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4));
16183 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5));
16184 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6));
16185 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7));
16186 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8));
16187 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9));
16188 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10));
16189 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11));
16190 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12));
16191 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13));
16192 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14));
16193 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15));
16194 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0));
16195 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1));
16196 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2));
16197 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3));
16198 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4));
16199 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5));
16200 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6));
16201 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7));
16202 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8));
16203 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9));
16204 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10));
16205 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11));
16206 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12));
16207 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13));
16208 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0));
16209 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1));
16210 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2));
16211 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3));
16212 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4));
16213 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5));
16214 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6));
16215 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7));
16216 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8));
16217 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9));
16218 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10));
16219 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11));
16220 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12));
16221 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13));
16222 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14));
16223 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15));
16224 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16));
16225 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17));
16226 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0));
16227 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1));
16228 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2));
16229 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3));
16230 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4));
16231 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5));
16232 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6));
16233 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7));
16234 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8));
16235 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9));
16236 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10));
16237 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11));
16238 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12));
16239 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13));
16240 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14));
16241 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0));
16242 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1));
16243 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2));
16244 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3));
16245 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4));
16246 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5));
16247 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6));
16248 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0));
16249 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1));
16250 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2));
16251 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3));
16252 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4));
16253 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5));
16254 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6));
16255 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7));
16256 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8));
16257 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0));
16258 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1));
16259 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2));
16260 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3));
16261 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4));
16262 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5));
16263 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0));
16264 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1));
16265 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2));
16266 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3));
16267 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4));
16268 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5));
16269 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6));
16270 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0));
16271 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1));
16272 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2));
16273 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3));
16274 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4));
16275 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5));
16276 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6));
16277 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7));
16278 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8));
16279 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9));
16280 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10));
16281 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11));
16282 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12));
16283 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13));
16284 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31));
16285 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011));
16286 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013));
16287 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176));
16288 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177));
16289 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178));
16290 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179));
16291 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180));
16292 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300));
16293 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301));
16294 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302));
16295 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303));
16296 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304));
16297 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305));
16298 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306));
16299 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307));
16300 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308));
16301 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309));
16302 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310));
16303 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311));
16304 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312));
16305 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313));
16306 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314));
16307 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315));
16308 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316));
16309 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317));
16310 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318));
16311 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319));
16312 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320));
16313 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321));
16314 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322));
16315 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323));
16316 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324));
16317 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325));
16318 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326));
16319 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327));
16320 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328));
16321 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329));
16322 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330));
16323 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331));
16324 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332));
16325 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333));
16326 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334));
16327 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335));
16328 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336));
16329 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337));
16330 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338));
16331 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339));
16332 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404));
16333 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340));
16334 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341));
16335 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342));
16336 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343));
16337 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344));
16338 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345));
16339 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346));
16340 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347));
16341 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348));
16342 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349));
16343 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450));
16344 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451));
16345 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452));
16346 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453));
16347 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454));
16348 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455));
16349 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390));
16350 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391));
16351 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392));
16352 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393));
16353 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395));
16354 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396));
16355 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413));
16356 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414));
16357 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415));
16358 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416));
16359 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426));
16360 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427));
16361 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428));
16362 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429));
16363 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430));
16364 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431));
16365 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432));
16366 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433));
16367 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434));
16368 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435));
16369 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436));
16370 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437));
16371 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438));
16372 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439));
16373 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440));
16374 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441));
16375 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442));
16376 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE));
16377 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED));
16378 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED));
16379 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
16380 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
16381 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
16382 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY));
16383 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK));
16384 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI));
16385 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED));
16386 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD));
16387 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK));
16388 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN));
16389 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED));
16390 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION));
16391 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED));
16392 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART));
16393 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND));
16394 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG));
16395 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER));
16396 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP));
16397 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM));
16398 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
16399 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
16400 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
16401
16402
16403 }
16404