]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/gtk/stc_wrap.cpp
Some change notes
[wxWidgets.git] / wxPython / contrib / stc / gtk / 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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxRect swig_types[0]
212 #define SWIGTYPE_p_wxColour swig_types[1]
213 #define SWIGTYPE_p_wxObject swig_types[2]
214 #define SWIGTYPE_p_wxScrollBar swig_types[3]
215 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
216 #define SWIGTYPE_p_wxWindow swig_types[5]
217 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
218 #define SWIGTYPE_p_wxBitmap swig_types[7]
219 #define SWIGTYPE_p_void swig_types[8]
220 #define SWIGTYPE_p_wxPoint swig_types[9]
221 #define SWIGTYPE_p_wxDC swig_types[10]
222 #define SWIGTYPE_p_char swig_types[11]
223 #define SWIGTYPE_p_wxEvtHandler swig_types[12]
224 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxControl swig_types[15]
227 #define SWIGTYPE_p_wxEvent swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxMemoryBuffer swig_types[18]
230 static swig_type_info *swig_types[20];
231
232 /* -------- TYPES TABLE (END) -------- */
233
234
235 /*-----------------------------------------------
236 @(target):= _stc.so
237 ------------------------------------------------*/
238 #define SWIG_init init_stc
239
240 #define SWIG_name "_stc"
241
242 /* Auxiliar swig macros that appear in the header */
243
244 #define SWIG_OLDOBJ 1
245 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
246 #define SWIG_PYSTR SWIG_NEWOBJ + 1
247
248 #ifdef __cplusplus
249 #define SWIGSTATICINLINE(a) static inline a
250 #define SWIGSTATIC(a) static a
251 #define swig_new_array(size,Type) (new Type[(size)])
252 #define swig_delete(cptr) delete cptr
253 #define swig_delete_array(cptr) delete[] cptr
254 #define swig_const_cast(a,Type) const_cast<Type >(a)
255 #define swig_static_cast(a,Type) static_cast<Type >(a)
256 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
257 #define swig_new_copy(ptr,Type) (new Type(*ptr))
258 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
259
260 #else /* C case */
261
262 #define SWIGSTATICINLINE(a) static a
263 #define SWIGSTATIC(a) static a
264 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
265 #define swig_delete(cptr) free((char*)cptr)
266 #define swig_delete_array(cptr) free((char*)cptr)
267 #define swig_const_cast(a,Type) (Type)(a)
268 #define swig_static_cast(a,Type) (Type)(a)
269 #define swig_reinterpret_cast(a,Type) (Type)(a)
270 #define swig_numeric_cast(a,Type) (Type)(a)
271 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
272
273 #endif /* __cplusplus */
274
275
276 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
277 #define SWIG_From_signed_SS_char PyInt_FromLong
278 /*@@*/
279 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
280 #define SWIG_From_unsigned_SS_char PyInt_FromLong
281 /*@@*/
282 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
283 #define SWIG_From_short PyInt_FromLong
284 /*@@*/
285 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
286 #define SWIG_From_unsigned_SS_short PyInt_FromLong
287 /*@@*/
288 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
289 #define SWIG_From_int PyInt_FromLong
290 /*@@*/
291 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
292 #define SWIG_From_long PyInt_FromLong
293 /*@@*/
294 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
295 #define SWIG_From_float PyFloat_FromDouble
296 /*@@*/
297 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
298 #define SWIG_From_double PyFloat_FromDouble
299 /*@@*/
300
301
302 #include "wx/wxPython/wxPython.h"
303 #include "wx/wxPython/pyclasses.h"
304 #include <wx/stc/stc.h>
305
306
307 static const wxString wxPySTCNameStr(wxSTCNameStr);
308
309 #include <limits.h>
310
311
312 SWIGSTATICINLINE(int)
313 SWIG_CheckLongInRange(long value, long min_value, long max_value,
314 const char *errmsg)
315 {
316 if (value < min_value) {
317 if (errmsg) {
318 PyErr_Format(PyExc_OverflowError,
319 "value %ld is less than '%s' minimum %ld",
320 value, errmsg, min_value);
321 }
322 return 0;
323 } else if (value > max_value) {
324 if (errmsg) {
325 PyErr_Format(PyExc_OverflowError,
326 "value %ld is greater than '%s' maximum %ld",
327 value, errmsg, max_value);
328 }
329 return 0;
330 }
331 return 1;
332 }
333
334
335 // See my_fragments.i
336 SWIGSTATICINLINE(int)
337 SWIG_AsVal_long(PyObject* obj, long* val)
338 {
339 if (PyNumber_Check(obj)) {
340 if (val) *val = PyInt_AsLong(obj);
341 return 1;
342 }
343 else {
344 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
345 obj->ob_type->tp_name);
346 PyErr_SetObject(PyExc_TypeError, errmsg);
347 Py_DECREF(errmsg);
348 }
349 return 0;
350 }
351
352
353 #if INT_MAX != LONG_MAX
354 SWIGSTATICINLINE(int)
355 SWIG_AsVal_int(PyObject *obj, int *val)
356 {
357 const char* errmsg = val ? "int" : 0;
358 long v;
359 if (SWIG_AsVal_long(obj, &v)) {
360 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
361 if (val) *val = swig_numeric_cast(v, int);
362 return 1;
363 } else {
364 return 0;
365 }
366 } else {
367 PyErr_Clear();
368 }
369 if (val) {
370 PyErr_SetString(PyExc_TypeError, "an int is expected");
371 }
372 return 0;
373 }
374 #else
375 SWIGSTATICINLINE(int)
376 SWIG_AsVal_int(PyObject *obj, int *val)
377 {
378 return SWIG_AsVal_long(obj,(long*)val);
379 }
380 #endif
381
382
383 SWIGSTATICINLINE(int)
384 SWIG_As_int(PyObject* obj)
385 {
386 int v;
387 if (!SWIG_AsVal_int(obj, &v)) {
388 /*
389 this is needed to make valgrind/purify happier. the other
390 solution is throw an exception, but since this code should work
391 with plain C ....
392 */
393 memset((void*)&v, 0, sizeof(int));
394 }
395 return v;
396 }
397
398
399 SWIGSTATICINLINE(long)
400 SWIG_As_long(PyObject* obj)
401 {
402 long v;
403 if (!SWIG_AsVal_long(obj, &v)) {
404 /*
405 this is needed to make valgrind/purify happier. the other
406 solution is throw an exception, but since this code should work
407 with plain C ....
408 */
409 memset((void*)&v, 0, sizeof(long));
410 }
411 return v;
412 }
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_Check_int(PyObject* obj)
417 {
418 return SWIG_AsVal_int(obj, (int*)0);
419 }
420
421
422 SWIGSTATICINLINE(int)
423 SWIG_Check_long(PyObject* obj)
424 {
425 return SWIG_AsVal_long(obj, (long*)0);
426 }
427
428
429 SWIGSTATICINLINE(int)
430 SWIG_AsVal_bool(PyObject *obj, bool *val)
431 {
432 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
433 if (obj == Py_True) {
434 if (val) *val = true;
435 return 1;
436 }
437 if (obj == Py_False) {
438 if (val) *val = false;
439 return 1;
440 }
441 int res = 0;
442 if (SWIG_AsVal_int(obj, &res)) {
443 if (val) *val = (bool)res;
444 return 1;
445 }
446 if (val) {
447 PyErr_SetString(PyExc_TypeError, "a bool is expected");
448 }
449 return 0;
450 }
451
452
453 SWIGSTATICINLINE(bool)
454 SWIG_As_bool(PyObject* obj)
455 {
456 bool v;
457 if (!SWIG_AsVal_bool(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(bool));
464 }
465 return v;
466 }
467
468
469 SWIGSTATICINLINE(int)
470 SWIG_Check_bool(PyObject* obj)
471 {
472 return SWIG_AsVal_bool(obj, (bool*)0);
473 }
474
475
476 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
477 PyObject* o2;
478 PyObject* o3;
479
480 if (!target) {
481 target = o;
482 } else if (target == Py_None) {
483 Py_DECREF(Py_None);
484 target = o;
485 } else {
486 o2 = target;
487 target = PyTuple_New(1);
488 PyTuple_SetItem(target, 0, o2);
489
490 o3 = PyTuple_New(1);
491 PyTuple_SetItem(o3, 0, o);
492
493 o2 = target;
494 target = PySequence_Concat(o2, o3);
495 Py_DECREF(o2);
496 Py_DECREF(o3);
497 }
498 return target;
499 }
500
501
502
503 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
504 SWIGSTATIC(int)
505 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
506 {
507 static swig_type_info* pchar_info = 0;
508 char* vptr = 0;
509 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
510 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
511 if (cptr) *cptr = vptr;
512 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
513 return SWIG_OLDOBJ;
514 } else {
515 if (PyString_Check(obj)) {
516 if (cptr) {
517 *cptr = PyString_AS_STRING(obj);
518 if (psize) {
519 *psize = PyString_GET_SIZE(obj) + 1;
520 }
521 }
522 return SWIG_PYSTR;
523 }
524 }
525 if (cptr) {
526 PyErr_SetString(PyExc_TypeError, "a string is expected");
527 }
528 return 0;
529 }
530
531
532 SWIGSTATICINLINE(int)
533 SWIG_AsCharPtr(PyObject *obj, char **val)
534 {
535 char* cptr = 0;
536 if (SWIG_AsCharPtrAndSize(obj, &cptr, (size_t*)(0))) {
537 if (val) *val = cptr;
538 return 1;
539 }
540 if (val) {
541 PyErr_SetString(PyExc_TypeError, "a char* is expected");
542 }
543 return 0;
544 }
545
546 #ifdef __cplusplus
547 extern "C" {
548 #endif
549 static int _wrap_STCNameStr_set(PyObject *) {
550 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
551 return 1;
552 }
553
554
555 static PyObject *_wrap_STCNameStr_get() {
556 PyObject *pyobj;
557
558 {
559 #if wxUSE_UNICODE
560 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
561 #else
562 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
563 #endif
564 }
565 return pyobj;
566 }
567
568
569 static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
570 PyObject *resultobj;
571 wxWindow *arg1 = (wxWindow *) 0 ;
572 int arg2 = (int) wxID_ANY ;
573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
575 wxSize const &arg4_defvalue = wxDefaultSize ;
576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
577 long arg5 = (long) 0 ;
578 wxString const &arg6_defvalue = wxPySTCNameStr ;
579 wxString *arg6 = (wxString *) &arg6_defvalue ;
580 wxStyledTextCtrl *result;
581 wxPoint temp3 ;
582 wxSize temp4 ;
583 bool temp6 = False ;
584 PyObject * obj0 = 0 ;
585 PyObject * obj1 = 0 ;
586 PyObject * obj2 = 0 ;
587 PyObject * obj3 = 0 ;
588 PyObject * obj4 = 0 ;
589 PyObject * obj5 = 0 ;
590 char *kwnames[] = {
591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
592 };
593
594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
597 if (obj1) {
598 arg2 = (int)SWIG_As_int(obj1);
599 if (PyErr_Occurred()) SWIG_fail;
600 }
601 if (obj2) {
602 {
603 arg3 = &temp3;
604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
605 }
606 }
607 if (obj3) {
608 {
609 arg4 = &temp4;
610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
611 }
612 }
613 if (obj4) {
614 arg5 = (long)SWIG_As_long(obj4);
615 if (PyErr_Occurred()) SWIG_fail;
616 }
617 if (obj5) {
618 {
619 arg6 = wxString_in_helper(obj5);
620 if (arg6 == NULL) SWIG_fail;
621 temp6 = True;
622 }
623 }
624 {
625 if (!wxPyCheckForApp()) SWIG_fail;
626 PyThreadState* __tstate = wxPyBeginAllowThreads();
627 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
628
629 wxPyEndAllowThreads(__tstate);
630 if (PyErr_Occurred()) SWIG_fail;
631 }
632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
633 {
634 if (temp6)
635 delete arg6;
636 }
637 return resultobj;
638 fail:
639 {
640 if (temp6)
641 delete arg6;
642 }
643 return NULL;
644 }
645
646
647 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
648 PyObject *resultobj;
649 wxStyledTextCtrl *result;
650 char *kwnames[] = {
651 NULL
652 };
653
654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
655 {
656 if (!wxPyCheckForApp()) SWIG_fail;
657 PyThreadState* __tstate = wxPyBeginAllowThreads();
658 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
659
660 wxPyEndAllowThreads(__tstate);
661 if (PyErr_Occurred()) SWIG_fail;
662 }
663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
664 return resultobj;
665 fail:
666 return NULL;
667 }
668
669
670 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
671 PyObject *resultobj;
672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
673 wxWindow *arg2 = (wxWindow *) 0 ;
674 int arg3 = (int) wxID_ANY ;
675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
677 wxSize const &arg5_defvalue = wxDefaultSize ;
678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
679 long arg6 = (long) 0 ;
680 wxString const &arg7_defvalue = wxSTCNameStr ;
681 wxString *arg7 = (wxString *) &arg7_defvalue ;
682 wxPoint temp4 ;
683 wxSize temp5 ;
684 bool temp7 = False ;
685 PyObject * obj0 = 0 ;
686 PyObject * obj1 = 0 ;
687 PyObject * obj2 = 0 ;
688 PyObject * obj3 = 0 ;
689 PyObject * obj4 = 0 ;
690 PyObject * obj5 = 0 ;
691 PyObject * obj6 = 0 ;
692 char *kwnames[] = {
693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
694 };
695
696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
701 if (obj2) {
702 arg3 = (int)SWIG_As_int(obj2);
703 if (PyErr_Occurred()) SWIG_fail;
704 }
705 if (obj3) {
706 {
707 arg4 = &temp4;
708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
709 }
710 }
711 if (obj4) {
712 {
713 arg5 = &temp5;
714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
715 }
716 }
717 if (obj5) {
718 arg6 = (long)SWIG_As_long(obj5);
719 if (PyErr_Occurred()) SWIG_fail;
720 }
721 if (obj6) {
722 {
723 arg7 = wxString_in_helper(obj6);
724 if (arg7 == NULL) SWIG_fail;
725 temp7 = True;
726 }
727 }
728 {
729 PyThreadState* __tstate = wxPyBeginAllowThreads();
730 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
731
732 wxPyEndAllowThreads(__tstate);
733 if (PyErr_Occurred()) SWIG_fail;
734 }
735 Py_INCREF(Py_None); resultobj = Py_None;
736 {
737 if (temp7)
738 delete arg7;
739 }
740 return resultobj;
741 fail:
742 {
743 if (temp7)
744 delete arg7;
745 }
746 return NULL;
747 }
748
749
750 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
751 PyObject *resultobj;
752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
753 wxString *arg2 = 0 ;
754 bool temp2 = False ;
755 PyObject * obj0 = 0 ;
756 PyObject * obj1 = 0 ;
757 char *kwnames[] = {
758 (char *) "self",(char *) "text", NULL
759 };
760
761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
764 {
765 arg2 = wxString_in_helper(obj1);
766 if (arg2 == NULL) SWIG_fail;
767 temp2 = True;
768 }
769 {
770 PyThreadState* __tstate = wxPyBeginAllowThreads();
771 (arg1)->AddText((wxString const &)*arg2);
772
773 wxPyEndAllowThreads(__tstate);
774 if (PyErr_Occurred()) SWIG_fail;
775 }
776 Py_INCREF(Py_None); resultobj = Py_None;
777 {
778 if (temp2)
779 delete arg2;
780 }
781 return resultobj;
782 fail:
783 {
784 if (temp2)
785 delete arg2;
786 }
787 return NULL;
788 }
789
790
791 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
792 PyObject *resultobj;
793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
794 wxMemoryBuffer *arg2 = 0 ;
795 bool temp2 = False ;
796 PyObject * obj0 = 0 ;
797 PyObject * obj1 = 0 ;
798 char *kwnames[] = {
799 (char *) "self",(char *) "data", NULL
800 };
801
802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
805 {
806 if (!PyString_Check(obj1)) {
807 PyErr_SetString(PyExc_TypeError, "String buffer expected");
808 SWIG_fail;
809 }
810 char* str = PyString_AS_STRING(obj1);
811 int len = PyString_GET_SIZE(obj1);
812 arg2 = new wxMemoryBuffer(len);
813 temp2 = True;
814 memcpy(arg2->GetData(), str, len);
815 arg2->SetDataLen(len);
816 }
817 {
818 PyThreadState* __tstate = wxPyBeginAllowThreads();
819 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
820
821 wxPyEndAllowThreads(__tstate);
822 if (PyErr_Occurred()) SWIG_fail;
823 }
824 Py_INCREF(Py_None); resultobj = Py_None;
825 {
826 if (temp2) delete arg2;
827 }
828 return resultobj;
829 fail:
830 {
831 if (temp2) delete arg2;
832 }
833 return NULL;
834 }
835
836
837 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
838 PyObject *resultobj;
839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
840 int arg2 ;
841 wxString *arg3 = 0 ;
842 bool temp3 = False ;
843 PyObject * obj0 = 0 ;
844 PyObject * obj1 = 0 ;
845 PyObject * obj2 = 0 ;
846 char *kwnames[] = {
847 (char *) "self",(char *) "pos",(char *) "text", NULL
848 };
849
850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
853 arg2 = (int)SWIG_As_int(obj1);
854 if (PyErr_Occurred()) SWIG_fail;
855 {
856 arg3 = wxString_in_helper(obj2);
857 if (arg3 == NULL) SWIG_fail;
858 temp3 = True;
859 }
860 {
861 PyThreadState* __tstate = wxPyBeginAllowThreads();
862 (arg1)->InsertText(arg2,(wxString const &)*arg3);
863
864 wxPyEndAllowThreads(__tstate);
865 if (PyErr_Occurred()) SWIG_fail;
866 }
867 Py_INCREF(Py_None); resultobj = Py_None;
868 {
869 if (temp3)
870 delete arg3;
871 }
872 return resultobj;
873 fail:
874 {
875 if (temp3)
876 delete arg3;
877 }
878 return NULL;
879 }
880
881
882 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
883 PyObject *resultobj;
884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
885 PyObject * obj0 = 0 ;
886 char *kwnames[] = {
887 (char *) "self", NULL
888 };
889
890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
893 {
894 PyThreadState* __tstate = wxPyBeginAllowThreads();
895 (arg1)->ClearAll();
896
897 wxPyEndAllowThreads(__tstate);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
900 Py_INCREF(Py_None); resultobj = Py_None;
901 return resultobj;
902 fail:
903 return NULL;
904 }
905
906
907 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
908 PyObject *resultobj;
909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
910 PyObject * obj0 = 0 ;
911 char *kwnames[] = {
912 (char *) "self", NULL
913 };
914
915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
918 {
919 PyThreadState* __tstate = wxPyBeginAllowThreads();
920 (arg1)->ClearDocumentStyle();
921
922 wxPyEndAllowThreads(__tstate);
923 if (PyErr_Occurred()) SWIG_fail;
924 }
925 Py_INCREF(Py_None); resultobj = Py_None;
926 return resultobj;
927 fail:
928 return NULL;
929 }
930
931
932 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
933 PyObject *resultobj;
934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
935 int result;
936 PyObject * obj0 = 0 ;
937 char *kwnames[] = {
938 (char *) "self", NULL
939 };
940
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
944 {
945 PyThreadState* __tstate = wxPyBeginAllowThreads();
946 result = (int)(arg1)->GetLength();
947
948 wxPyEndAllowThreads(__tstate);
949 if (PyErr_Occurred()) SWIG_fail;
950 }
951 resultobj = SWIG_From_int((int)result);
952 return resultobj;
953 fail:
954 return NULL;
955 }
956
957
958 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
959 PyObject *resultobj;
960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
961 int arg2 ;
962 int result;
963 PyObject * obj0 = 0 ;
964 PyObject * obj1 = 0 ;
965 char *kwnames[] = {
966 (char *) "self",(char *) "pos", NULL
967 };
968
969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
972 arg2 = (int)SWIG_As_int(obj1);
973 if (PyErr_Occurred()) SWIG_fail;
974 {
975 PyThreadState* __tstate = wxPyBeginAllowThreads();
976 result = (int)(arg1)->GetCharAt(arg2);
977
978 wxPyEndAllowThreads(__tstate);
979 if (PyErr_Occurred()) SWIG_fail;
980 }
981 resultobj = SWIG_From_int((int)result);
982 return resultobj;
983 fail:
984 return NULL;
985 }
986
987
988 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
989 PyObject *resultobj;
990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
991 int result;
992 PyObject * obj0 = 0 ;
993 char *kwnames[] = {
994 (char *) "self", NULL
995 };
996
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 result = (int)(arg1)->GetCurrentPos();
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 }
1007 resultobj = SWIG_From_int((int)result);
1008 return resultobj;
1009 fail:
1010 return NULL;
1011 }
1012
1013
1014 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
1015 PyObject *resultobj;
1016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1017 int result;
1018 PyObject * obj0 = 0 ;
1019 char *kwnames[] = {
1020 (char *) "self", NULL
1021 };
1022
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
1024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1026 {
1027 PyThreadState* __tstate = wxPyBeginAllowThreads();
1028 result = (int)(arg1)->GetAnchor();
1029
1030 wxPyEndAllowThreads(__tstate);
1031 if (PyErr_Occurred()) SWIG_fail;
1032 }
1033 resultobj = SWIG_From_int((int)result);
1034 return resultobj;
1035 fail:
1036 return NULL;
1037 }
1038
1039
1040 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1043 int arg2 ;
1044 int result;
1045 PyObject * obj0 = 0 ;
1046 PyObject * obj1 = 0 ;
1047 char *kwnames[] = {
1048 (char *) "self",(char *) "pos", NULL
1049 };
1050
1051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
1052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1054 arg2 = (int)SWIG_As_int(obj1);
1055 if (PyErr_Occurred()) SWIG_fail;
1056 {
1057 PyThreadState* __tstate = wxPyBeginAllowThreads();
1058 result = (int)(arg1)->GetStyleAt(arg2);
1059
1060 wxPyEndAllowThreads(__tstate);
1061 if (PyErr_Occurred()) SWIG_fail;
1062 }
1063 resultobj = SWIG_From_int((int)result);
1064 return resultobj;
1065 fail:
1066 return NULL;
1067 }
1068
1069
1070 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
1071 PyObject *resultobj;
1072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1073 PyObject * obj0 = 0 ;
1074 char *kwnames[] = {
1075 (char *) "self", NULL
1076 };
1077
1078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
1079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1081 {
1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
1083 (arg1)->Redo();
1084
1085 wxPyEndAllowThreads(__tstate);
1086 if (PyErr_Occurred()) SWIG_fail;
1087 }
1088 Py_INCREF(Py_None); resultobj = Py_None;
1089 return resultobj;
1090 fail:
1091 return NULL;
1092 }
1093
1094
1095 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
1096 PyObject *resultobj;
1097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1098 bool arg2 ;
1099 PyObject * obj0 = 0 ;
1100 PyObject * obj1 = 0 ;
1101 char *kwnames[] = {
1102 (char *) "self",(char *) "collectUndo", NULL
1103 };
1104
1105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
1106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1108 arg2 = (bool)SWIG_As_bool(obj1);
1109 if (PyErr_Occurred()) SWIG_fail;
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 (arg1)->SetUndoCollection(arg2);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 Py_INCREF(Py_None); resultobj = Py_None;
1118 return resultobj;
1119 fail:
1120 return NULL;
1121 }
1122
1123
1124 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
1125 PyObject *resultobj;
1126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1127 PyObject * obj0 = 0 ;
1128 char *kwnames[] = {
1129 (char *) "self", NULL
1130 };
1131
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
1133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1135 {
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 (arg1)->SelectAll();
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) SWIG_fail;
1141 }
1142 Py_INCREF(Py_None); resultobj = Py_None;
1143 return resultobj;
1144 fail:
1145 return NULL;
1146 }
1147
1148
1149 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
1150 PyObject *resultobj;
1151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1152 PyObject * obj0 = 0 ;
1153 char *kwnames[] = {
1154 (char *) "self", NULL
1155 };
1156
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
1158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 (arg1)->SetSavePoint();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 Py_INCREF(Py_None); resultobj = Py_None;
1168 return resultobj;
1169 fail:
1170 return NULL;
1171 }
1172
1173
1174 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
1175 PyObject *resultobj;
1176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1177 int arg2 ;
1178 int arg3 ;
1179 wxMemoryBuffer result;
1180 PyObject * obj0 = 0 ;
1181 PyObject * obj1 = 0 ;
1182 PyObject * obj2 = 0 ;
1183 char *kwnames[] = {
1184 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1185 };
1186
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1190 arg2 = (int)SWIG_As_int(obj1);
1191 if (PyErr_Occurred()) SWIG_fail;
1192 arg3 = (int)SWIG_As_int(obj2);
1193 if (PyErr_Occurred()) SWIG_fail;
1194 {
1195 PyThreadState* __tstate = wxPyBeginAllowThreads();
1196 result = (arg1)->GetStyledText(arg2,arg3);
1197
1198 wxPyEndAllowThreads(__tstate);
1199 if (PyErr_Occurred()) SWIG_fail;
1200 }
1201 {
1202 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
1203 }
1204 return resultobj;
1205 fail:
1206 return NULL;
1207 }
1208
1209
1210 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
1211 PyObject *resultobj;
1212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1213 bool result;
1214 PyObject * obj0 = 0 ;
1215 char *kwnames[] = {
1216 (char *) "self", NULL
1217 };
1218
1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1222 {
1223 PyThreadState* __tstate = wxPyBeginAllowThreads();
1224 result = (bool)(arg1)->CanRedo();
1225
1226 wxPyEndAllowThreads(__tstate);
1227 if (PyErr_Occurred()) SWIG_fail;
1228 }
1229 {
1230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1231 }
1232 return resultobj;
1233 fail:
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1241 int arg2 ;
1242 int result;
1243 PyObject * obj0 = 0 ;
1244 PyObject * obj1 = 0 ;
1245 char *kwnames[] = {
1246 (char *) "self",(char *) "handle", NULL
1247 };
1248
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1252 arg2 = (int)SWIG_As_int(obj1);
1253 if (PyErr_Occurred()) SWIG_fail;
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 resultobj = SWIG_From_int((int)result);
1262 return resultobj;
1263 fail:
1264 return NULL;
1265 }
1266
1267
1268 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1271 int arg2 ;
1272 PyObject * obj0 = 0 ;
1273 PyObject * obj1 = 0 ;
1274 char *kwnames[] = {
1275 (char *) "self",(char *) "handle", NULL
1276 };
1277
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1281 arg2 = (int)SWIG_As_int(obj1);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->MarkerDeleteHandle(arg2);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294 }
1295
1296
1297 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
1298 PyObject *resultobj;
1299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1300 bool result;
1301 PyObject * obj0 = 0 ;
1302 char *kwnames[] = {
1303 (char *) "self", NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1309 {
1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
1311 result = (bool)(arg1)->GetUndoCollection();
1312
1313 wxPyEndAllowThreads(__tstate);
1314 if (PyErr_Occurred()) SWIG_fail;
1315 }
1316 {
1317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1318 }
1319 return resultobj;
1320 fail:
1321 return NULL;
1322 }
1323
1324
1325 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1328 int result;
1329 PyObject * obj0 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "self", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 result = (int)(arg1)->GetViewWhiteSpace();
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 resultobj = SWIG_From_int((int)result);
1345 return resultobj;
1346 fail:
1347 return NULL;
1348 }
1349
1350
1351 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1354 int arg2 ;
1355 PyObject * obj0 = 0 ;
1356 PyObject * obj1 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "viewWS", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1364 arg2 = (int)SWIG_As_int(obj1);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->SetViewWhiteSpace(arg2);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1383 wxPoint arg2 ;
1384 int result;
1385 wxPoint *argp2 ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "pt", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1395 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1396 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1397 arg2 = *argp2;
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 result = (int)(arg1)->PositionFromPoint(arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 resultobj = SWIG_From_int((int)result);
1406 return resultobj;
1407 fail:
1408 return NULL;
1409 }
1410
1411
1412 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1415 int arg2 ;
1416 int arg3 ;
1417 int result;
1418 PyObject * obj0 = 0 ;
1419 PyObject * obj1 = 0 ;
1420 PyObject * obj2 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self",(char *) "x",(char *) "y", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1428 arg2 = (int)SWIG_As_int(obj1);
1429 if (PyErr_Occurred()) SWIG_fail;
1430 arg3 = (int)SWIG_As_int(obj2);
1431 if (PyErr_Occurred()) SWIG_fail;
1432 {
1433 PyThreadState* __tstate = wxPyBeginAllowThreads();
1434 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1435
1436 wxPyEndAllowThreads(__tstate);
1437 if (PyErr_Occurred()) SWIG_fail;
1438 }
1439 resultobj = SWIG_From_int((int)result);
1440 return resultobj;
1441 fail:
1442 return NULL;
1443 }
1444
1445
1446 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
1447 PyObject *resultobj;
1448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1449 int arg2 ;
1450 PyObject * obj0 = 0 ;
1451 PyObject * obj1 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self",(char *) "line", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1459 arg2 = (int)SWIG_As_int(obj1);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 {
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 (arg1)->GotoLine(arg2);
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 Py_INCREF(Py_None); resultobj = Py_None;
1469 return resultobj;
1470 fail:
1471 return NULL;
1472 }
1473
1474
1475 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
1476 PyObject *resultobj;
1477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1478 int arg2 ;
1479 PyObject * obj0 = 0 ;
1480 PyObject * obj1 = 0 ;
1481 char *kwnames[] = {
1482 (char *) "self",(char *) "pos", NULL
1483 };
1484
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1488 arg2 = (int)SWIG_As_int(obj1);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 (arg1)->GotoPos(arg2);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 Py_INCREF(Py_None); resultobj = Py_None;
1498 return resultobj;
1499 fail:
1500 return NULL;
1501 }
1502
1503
1504 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
1505 PyObject *resultobj;
1506 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1507 int arg2 ;
1508 PyObject * obj0 = 0 ;
1509 PyObject * obj1 = 0 ;
1510 char *kwnames[] = {
1511 (char *) "self",(char *) "posAnchor", NULL
1512 };
1513
1514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1517 arg2 = (int)SWIG_As_int(obj1);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 (arg1)->SetAnchor(arg2);
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 Py_INCREF(Py_None); resultobj = Py_None;
1527 return resultobj;
1528 fail:
1529 return NULL;
1530 }
1531
1532
1533 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1536 int *arg2 = (int *) 0 ;
1537 wxString result;
1538 int temp2 ;
1539 int res2 = 0 ;
1540 PyObject * obj0 = 0 ;
1541 char *kwnames[] = {
1542 (char *) "self", NULL
1543 };
1544
1545 arg2 = &temp2; res2 = SWIG_NEWOBJ;
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1549 {
1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
1551 result = (arg1)->GetCurLine(arg2);
1552
1553 wxPyEndAllowThreads(__tstate);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 {
1557 #if wxUSE_UNICODE
1558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1559 #else
1560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1561 #endif
1562 }
1563 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
1564 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
1565 return resultobj;
1566 fail:
1567 return NULL;
1568 }
1569
1570
1571 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
1572 PyObject *resultobj;
1573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1574 int result;
1575 PyObject * obj0 = 0 ;
1576 char *kwnames[] = {
1577 (char *) "self", NULL
1578 };
1579
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 result = (int)(arg1)->GetEndStyled();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 resultobj = SWIG_From_int((int)result);
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1600 int arg2 ;
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603 char *kwnames[] = {
1604 (char *) "self",(char *) "eolMode", NULL
1605 };
1606
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1610 arg2 = (int)SWIG_As_int(obj1);
1611 if (PyErr_Occurred()) SWIG_fail;
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 (arg1)->ConvertEOLs(arg2);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1629 int result;
1630 PyObject * obj0 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 result = (int)(arg1)->GetEOLMode();
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 resultobj = SWIG_From_int((int)result);
1646 return resultobj;
1647 fail:
1648 return NULL;
1649 }
1650
1651
1652 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1655 int arg2 ;
1656 PyObject * obj0 = 0 ;
1657 PyObject * obj1 = 0 ;
1658 char *kwnames[] = {
1659 (char *) "self",(char *) "eolMode", NULL
1660 };
1661
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1665 arg2 = (int)SWIG_As_int(obj1);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 (arg1)->SetEOLMode(arg2);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 Py_INCREF(Py_None); resultobj = Py_None;
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1684 int arg2 ;
1685 int arg3 ;
1686 PyObject * obj0 = 0 ;
1687 PyObject * obj1 = 0 ;
1688 PyObject * obj2 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "self",(char *) "pos",(char *) "mask", NULL
1691 };
1692
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1696 arg2 = (int)SWIG_As_int(obj1);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg3 = (int)SWIG_As_int(obj2);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 (arg1)->StartStyling(arg2,arg3);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 Py_INCREF(Py_None); resultobj = Py_None;
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1717 int arg2 ;
1718 int arg3 ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721 PyObject * obj2 = 0 ;
1722 char *kwnames[] = {
1723 (char *) "self",(char *) "length",(char *) "style", NULL
1724 };
1725
1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1729 arg2 = (int)SWIG_As_int(obj1);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 arg3 = (int)SWIG_As_int(obj2);
1732 if (PyErr_Occurred()) SWIG_fail;
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 (arg1)->SetStyling(arg2,arg3);
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 Py_INCREF(Py_None); resultobj = Py_None;
1741 return resultobj;
1742 fail:
1743 return NULL;
1744 }
1745
1746
1747 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1750 bool result;
1751 PyObject * obj0 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 result = (bool)(arg1)->GetBufferedDraw();
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 }
1766 {
1767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1768 }
1769 return resultobj;
1770 fail:
1771 return NULL;
1772 }
1773
1774
1775 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1778 bool arg2 ;
1779 PyObject * obj0 = 0 ;
1780 PyObject * obj1 = 0 ;
1781 char *kwnames[] = {
1782 (char *) "self",(char *) "buffered", NULL
1783 };
1784
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1788 arg2 = (bool)SWIG_As_bool(obj1);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 (arg1)->SetBufferedDraw(arg2);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 Py_INCREF(Py_None); resultobj = Py_None;
1798 return resultobj;
1799 fail:
1800 return NULL;
1801 }
1802
1803
1804 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1807 int arg2 ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "self",(char *) "tabWidth", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1817 arg2 = (int)SWIG_As_int(obj1);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 (arg1)->SetTabWidth(arg2);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 Py_INCREF(Py_None); resultobj = Py_None;
1827 return resultobj;
1828 fail:
1829 return NULL;
1830 }
1831
1832
1833 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1836 int result;
1837 PyObject * obj0 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 result = (int)(arg1)->GetTabWidth();
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 resultobj = SWIG_From_int((int)result);
1853 return resultobj;
1854 fail:
1855 return NULL;
1856 }
1857
1858
1859 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1862 int arg2 ;
1863 PyObject * obj0 = 0 ;
1864 PyObject * obj1 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self",(char *) "codePage", NULL
1867 };
1868
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1872 arg2 = (int)SWIG_As_int(obj1);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 {
1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
1876 (arg1)->SetCodePage(arg2);
1877
1878 wxPyEndAllowThreads(__tstate);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 }
1881 Py_INCREF(Py_None); resultobj = Py_None;
1882 return resultobj;
1883 fail:
1884 return NULL;
1885 }
1886
1887
1888 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
1889 PyObject *resultobj;
1890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1891 int arg2 ;
1892 int arg3 ;
1893 wxColour const &arg4_defvalue = wxNullColour ;
1894 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1895 wxColour const &arg5_defvalue = wxNullColour ;
1896 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1897 wxColour temp4 ;
1898 wxColour temp5 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 PyObject * obj3 = 0 ;
1903 PyObject * obj4 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1911 arg2 = (int)SWIG_As_int(obj1);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 arg3 = (int)SWIG_As_int(obj2);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 if (obj3) {
1916 {
1917 arg4 = &temp4;
1918 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1919 }
1920 }
1921 if (obj4) {
1922 {
1923 arg5 = &temp5;
1924 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1925 }
1926 }
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1944 int arg2 ;
1945 wxColour *arg3 = 0 ;
1946 wxColour temp3 ;
1947 PyObject * obj0 = 0 ;
1948 PyObject * obj1 = 0 ;
1949 PyObject * obj2 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1957 arg2 = (int)SWIG_As_int(obj1);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 {
1960 arg3 = &temp3;
1961 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1962 }
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1980 int arg2 ;
1981 wxColour *arg3 = 0 ;
1982 wxColour temp3 ;
1983 PyObject * obj0 = 0 ;
1984 PyObject * obj1 = 0 ;
1985 PyObject * obj2 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1993 arg2 = (int)SWIG_As_int(obj1);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 {
1996 arg3 = &temp3;
1997 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1998 }
1999 {
2000 PyThreadState* __tstate = wxPyBeginAllowThreads();
2001 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
2002
2003 wxPyEndAllowThreads(__tstate);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 }
2006 Py_INCREF(Py_None); resultobj = Py_None;
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
2014 PyObject *resultobj;
2015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2016 int arg2 ;
2017 int arg3 ;
2018 int result;
2019 PyObject * obj0 = 0 ;
2020 PyObject * obj1 = 0 ;
2021 PyObject * obj2 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2029 arg2 = (int)SWIG_As_int(obj1);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 arg3 = (int)SWIG_As_int(obj2);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 result = (int)(arg1)->MarkerAdd(arg2,arg3);
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 resultobj = SWIG_From_int((int)result);
2041 return resultobj;
2042 fail:
2043 return NULL;
2044 }
2045
2046
2047 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
2048 PyObject *resultobj;
2049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2050 int arg2 ;
2051 int arg3 ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054 PyObject * obj2 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2062 arg2 = (int)SWIG_As_int(obj1);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 arg3 = (int)SWIG_As_int(obj2);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 (arg1)->MarkerDelete(arg2,arg3);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 Py_INCREF(Py_None); resultobj = Py_None;
2074 return resultobj;
2075 fail:
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2083 int arg2 ;
2084 PyObject * obj0 = 0 ;
2085 PyObject * obj1 = 0 ;
2086 char *kwnames[] = {
2087 (char *) "self",(char *) "markerNumber", NULL
2088 };
2089
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
2091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2093 arg2 = (int)SWIG_As_int(obj1);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 (arg1)->MarkerDeleteAll(arg2);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 Py_INCREF(Py_None); resultobj = Py_None;
2103 return resultobj;
2104 fail:
2105 return NULL;
2106 }
2107
2108
2109 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2112 int arg2 ;
2113 int result;
2114 PyObject * obj0 = 0 ;
2115 PyObject * obj1 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self",(char *) "line", NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
2121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2123 arg2 = (int)SWIG_As_int(obj1);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (int)(arg1)->MarkerGet(arg2);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 resultobj = SWIG_From_int((int)result);
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2142 int arg2 ;
2143 int arg3 ;
2144 int result;
2145 PyObject * obj0 = 0 ;
2146 PyObject * obj1 = 0 ;
2147 PyObject * obj2 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
2153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2155 arg2 = (int)SWIG_As_int(obj1);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 arg3 = (int)SWIG_As_int(obj2);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (int)(arg1)->MarkerNext(arg2,arg3);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 resultobj = SWIG_From_int((int)result);
2167 return resultobj;
2168 fail:
2169 return NULL;
2170 }
2171
2172
2173 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
2174 PyObject *resultobj;
2175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2176 int arg2 ;
2177 int arg3 ;
2178 int result;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 PyObject * obj2 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2189 arg2 = (int)SWIG_As_int(obj1);
2190 if (PyErr_Occurred()) SWIG_fail;
2191 arg3 = (int)SWIG_As_int(obj2);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 resultobj = SWIG_From_int((int)result);
2201 return resultobj;
2202 fail:
2203 return NULL;
2204 }
2205
2206
2207 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
2208 PyObject *resultobj;
2209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2210 int arg2 ;
2211 wxBitmap *arg3 = 0 ;
2212 PyObject * obj0 = 0 ;
2213 PyObject * obj1 = 0 ;
2214 PyObject * obj2 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2222 arg2 = (int)SWIG_As_int(obj1);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1)
2226 SWIG_fail;
2227 if (arg3 == NULL) {
2228 PyErr_SetString(PyExc_TypeError,"null reference");
2229 SWIG_fail;
2230 }
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 Py_INCREF(Py_None); resultobj = Py_None;
2239 return resultobj;
2240 fail:
2241 return NULL;
2242 }
2243
2244
2245 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
2246 PyObject *resultobj;
2247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2248 int arg2 ;
2249 int arg3 ;
2250 PyObject * obj0 = 0 ;
2251 PyObject * obj1 = 0 ;
2252 PyObject * obj2 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2260 arg2 = (int)SWIG_As_int(obj1);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 arg3 = (int)SWIG_As_int(obj2);
2263 if (PyErr_Occurred()) SWIG_fail;
2264 {
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 (arg1)->SetMarginType(arg2,arg3);
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 }
2271 Py_INCREF(Py_None); resultobj = Py_None;
2272 return resultobj;
2273 fail:
2274 return NULL;
2275 }
2276
2277
2278 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
2279 PyObject *resultobj;
2280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2281 int arg2 ;
2282 int result;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "margin", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 arg2 = (int)SWIG_As_int(obj1);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (int)(arg1)->GetMarginType(arg2);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 resultobj = SWIG_From_int((int)result);
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2311 int arg2 ;
2312 int arg3 ;
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315 PyObject * obj2 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2323 arg2 = (int)SWIG_As_int(obj1);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 arg3 = (int)SWIG_As_int(obj2);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 (arg1)->SetMarginWidth(arg2,arg3);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338 }
2339
2340
2341 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2344 int arg2 ;
2345 int result;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "margin", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2355 arg2 = (int)SWIG_As_int(obj1);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (int)(arg1)->GetMarginWidth(arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 resultobj = SWIG_From_int((int)result);
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2374 int arg2 ;
2375 int arg3 ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 PyObject * obj2 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "margin",(char *) "mask", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 arg2 = (int)SWIG_As_int(obj1);
2387 if (PyErr_Occurred()) SWIG_fail;
2388 arg3 = (int)SWIG_As_int(obj2);
2389 if (PyErr_Occurred()) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 (arg1)->SetMarginMask(arg2,arg3);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 return resultobj;
2399 fail:
2400 return NULL;
2401 }
2402
2403
2404 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2407 int arg2 ;
2408 int result;
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj1 = 0 ;
2411 char *kwnames[] = {
2412 (char *) "self",(char *) "margin", NULL
2413 };
2414
2415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2418 arg2 = (int)SWIG_As_int(obj1);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (int)(arg1)->GetMarginMask(arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 resultobj = SWIG_From_int((int)result);
2428 return resultobj;
2429 fail:
2430 return NULL;
2431 }
2432
2433
2434 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2437 int arg2 ;
2438 bool arg3 ;
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",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_As_int(obj1);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 arg3 = (bool)SWIG_As_bool(obj2);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 (arg1)->SetMarginSensitive(arg2,arg3);
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 Py_INCREF(Py_None); resultobj = Py_None;
2461 return resultobj;
2462 fail:
2463 return NULL;
2464 }
2465
2466
2467 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
2468 PyObject *resultobj;
2469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2470 int arg2 ;
2471 bool result;
2472 PyObject * obj0 = 0 ;
2473 PyObject * obj1 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self",(char *) "margin", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2481 arg2 = (int)SWIG_As_int(obj1);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (bool)(arg1)->GetMarginSensitive(arg2);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
2490 {
2491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2492 }
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2502 PyObject * obj0 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->StyleClearAll();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2527 int arg2 ;
2528 wxColour *arg3 = 0 ;
2529 wxColour temp3 ;
2530 PyObject * obj0 = 0 ;
2531 PyObject * obj1 = 0 ;
2532 PyObject * obj2 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self",(char *) "style",(char *) "fore", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2540 arg2 = (int)SWIG_As_int(obj1);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 {
2543 arg3 = &temp3;
2544 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2545 }
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
2553 Py_INCREF(Py_None); resultobj = Py_None;
2554 return resultobj;
2555 fail:
2556 return NULL;
2557 }
2558
2559
2560 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2563 int arg2 ;
2564 wxColour *arg3 = 0 ;
2565 wxColour temp3 ;
2566 PyObject * obj0 = 0 ;
2567 PyObject * obj1 = 0 ;
2568 PyObject * obj2 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self",(char *) "style",(char *) "back", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2576 arg2 = (int)SWIG_As_int(obj1);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 {
2579 arg3 = &temp3;
2580 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2581 }
2582 {
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
2589 Py_INCREF(Py_None); resultobj = Py_None;
2590 return resultobj;
2591 fail:
2592 return NULL;
2593 }
2594
2595
2596 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2599 int arg2 ;
2600 bool arg3 ;
2601 PyObject * obj0 = 0 ;
2602 PyObject * obj1 = 0 ;
2603 PyObject * obj2 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self",(char *) "style",(char *) "bold", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2611 arg2 = (int)SWIG_As_int(obj1);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 arg3 = (bool)SWIG_As_bool(obj2);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 (arg1)->StyleSetBold(arg2,arg3);
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 Py_INCREF(Py_None); resultobj = Py_None;
2623 return resultobj;
2624 fail:
2625 return NULL;
2626 }
2627
2628
2629 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
2630 PyObject *resultobj;
2631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2632 int arg2 ;
2633 bool arg3 ;
2634 PyObject * obj0 = 0 ;
2635 PyObject * obj1 = 0 ;
2636 PyObject * obj2 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self",(char *) "style",(char *) "italic", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2644 arg2 = (int)SWIG_As_int(obj1);
2645 if (PyErr_Occurred()) SWIG_fail;
2646 arg3 = (bool)SWIG_As_bool(obj2);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 (arg1)->StyleSetItalic(arg2,arg3);
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 Py_INCREF(Py_None); resultobj = Py_None;
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2665 int arg2 ;
2666 int arg3 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 PyObject * obj2 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2677 arg2 = (int)SWIG_As_int(obj1);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 arg3 = (int)SWIG_As_int(obj2);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 {
2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
2683 (arg1)->StyleSetSize(arg2,arg3);
2684
2685 wxPyEndAllowThreads(__tstate);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 }
2688 Py_INCREF(Py_None); resultobj = Py_None;
2689 return resultobj;
2690 fail:
2691 return NULL;
2692 }
2693
2694
2695 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj;
2697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2698 int arg2 ;
2699 wxString *arg3 = 0 ;
2700 bool temp3 = False ;
2701 PyObject * obj0 = 0 ;
2702 PyObject * obj1 = 0 ;
2703 PyObject * obj2 = 0 ;
2704 char *kwnames[] = {
2705 (char *) "self",(char *) "style",(char *) "fontName", NULL
2706 };
2707
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2711 arg2 = (int)SWIG_As_int(obj1);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 {
2714 arg3 = wxString_in_helper(obj2);
2715 if (arg3 == NULL) SWIG_fail;
2716 temp3 = True;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 {
2727 if (temp3)
2728 delete arg3;
2729 }
2730 return resultobj;
2731 fail:
2732 {
2733 if (temp3)
2734 delete arg3;
2735 }
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2743 int arg2 ;
2744 bool arg3 ;
2745 PyObject * obj0 = 0 ;
2746 PyObject * obj1 = 0 ;
2747 PyObject * obj2 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self",(char *) "style",(char *) "filled", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",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_As_int(obj1);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 arg3 = (bool)SWIG_As_bool(obj2);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 {
2760 PyThreadState* __tstate = wxPyBeginAllowThreads();
2761 (arg1)->StyleSetEOLFilled(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_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj;
2775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2776 PyObject * obj0 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 (arg1)->StyleResetDefault();
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
2791 Py_INCREF(Py_None); resultobj = Py_None;
2792 return resultobj;
2793 fail:
2794 return NULL;
2795 }
2796
2797
2798 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
2799 PyObject *resultobj;
2800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2801 int arg2 ;
2802 bool arg3 ;
2803 PyObject * obj0 = 0 ;
2804 PyObject * obj1 = 0 ;
2805 PyObject * obj2 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "style",(char *) "underline", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 arg2 = (int)SWIG_As_int(obj1);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 arg3 = (bool)SWIG_As_bool(obj2);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 (arg1)->StyleSetUnderline(arg2,arg3);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 Py_INCREF(Py_None); resultobj = Py_None;
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2834 int arg2 ;
2835 int arg3 ;
2836 PyObject * obj0 = 0 ;
2837 PyObject * obj1 = 0 ;
2838 PyObject * obj2 = 0 ;
2839 char *kwnames[] = {
2840 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2841 };
2842
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2846 arg2 = (int)SWIG_As_int(obj1);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 arg3 = (int)SWIG_As_int(obj2);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 (arg1)->StyleSetCase(arg2,arg3);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 Py_INCREF(Py_None); resultobj = Py_None;
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2867 int arg2 ;
2868 int arg3 ;
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 PyObject * obj2 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2879 arg2 = (int)SWIG_As_int(obj1);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 arg3 = (int)SWIG_As_int(obj2);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 (arg1)->StyleSetCharacterSet(arg2,arg3);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2900 int arg2 ;
2901 bool arg3 ;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 PyObject * obj2 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 arg2 = (int)SWIG_As_int(obj1);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 arg3 = (bool)SWIG_As_bool(obj2);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 (arg1)->StyleSetHotSpot(arg2,arg3);
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 Py_INCREF(Py_None); resultobj = Py_None;
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2933 bool arg2 ;
2934 wxColour *arg3 = 0 ;
2935 wxColour temp3 ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 PyObject * obj2 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2946 arg2 = (bool)SWIG_As_bool(obj1);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 {
2949 arg3 = &temp3;
2950 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2951 }
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963 }
2964
2965
2966 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2969 bool arg2 ;
2970 wxColour *arg3 = 0 ;
2971 wxColour temp3 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2982 arg2 = (bool)SWIG_As_bool(obj1);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 {
2985 arg3 = &temp3;
2986 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2987 }
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 Py_INCREF(Py_None); resultobj = Py_None;
2996 return resultobj;
2997 fail:
2998 return NULL;
2999 }
3000
3001
3002 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3003 PyObject *resultobj;
3004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3005 wxColour *arg2 = 0 ;
3006 wxColour temp2 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "fore", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3016 {
3017 arg2 = &temp2;
3018 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 (arg1)->SetCaretForeground((wxColour const &)*arg2);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 Py_INCREF(Py_None); resultobj = Py_None;
3028 return resultobj;
3029 fail:
3030 return NULL;
3031 }
3032
3033
3034 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3037 int arg2 ;
3038 int arg3 ;
3039 int arg4 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 PyObject * obj2 = 0 ;
3043 PyObject * obj3 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3051 arg2 = (int)SWIG_As_int(obj1);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 arg3 = (int)SWIG_As_int(obj2);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 arg4 = (int)SWIG_As_int(obj3);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
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_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj;
3073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3074 int arg2 ;
3075 int arg3 ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3078 PyObject * obj2 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self",(char *) "key",(char *) "modifiers", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",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_As_int(obj1);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 arg3 = (int)SWIG_As_int(obj2);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->CmdKeyClear(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_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3107 PyObject * obj0 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 (arg1)->CmdKeyClearAll();
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 Py_INCREF(Py_None); resultobj = Py_None;
3123 return resultobj;
3124 fail:
3125 return NULL;
3126 }
3127
3128
3129 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3132 int arg2 ;
3133 char *arg3 ;
3134 PyObject * obj0 = 0 ;
3135 PyObject * obj1 = 0 ;
3136 PyObject * obj2 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3144 arg2 = (int)SWIG_As_int(obj1);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SetStyleBytes(arg2,arg3);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3164 int arg2 ;
3165 bool arg3 ;
3166 PyObject * obj0 = 0 ;
3167 PyObject * obj1 = 0 ;
3168 PyObject * obj2 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self",(char *) "style",(char *) "visible", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3176 arg2 = (int)SWIG_As_int(obj1);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 arg3 = (bool)SWIG_As_bool(obj2);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 (arg1)->StyleSetVisible(arg2,arg3);
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 Py_INCREF(Py_None); resultobj = Py_None;
3188 return resultobj;
3189 fail:
3190 return NULL;
3191 }
3192
3193
3194 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
3195 PyObject *resultobj;
3196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3197 int result;
3198 PyObject * obj0 = 0 ;
3199 char *kwnames[] = {
3200 (char *) "self", NULL
3201 };
3202
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 result = (int)(arg1)->GetCaretPeriod();
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 resultobj = SWIG_From_int((int)result);
3214 return resultobj;
3215 fail:
3216 return NULL;
3217 }
3218
3219
3220 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3223 int arg2 ;
3224 PyObject * obj0 = 0 ;
3225 PyObject * obj1 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self",(char *) "periodMilliseconds", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3233 arg2 = (int)SWIG_As_int(obj1);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->SetCaretPeriod(arg2);
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 return resultobj;
3244 fail:
3245 return NULL;
3246 }
3247
3248
3249 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
3250 PyObject *resultobj;
3251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3252 wxString *arg2 = 0 ;
3253 bool temp2 = False ;
3254 PyObject * obj0 = 0 ;
3255 PyObject * obj1 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self",(char *) "characters", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3263 {
3264 arg2 = wxString_in_helper(obj1);
3265 if (arg2 == NULL) SWIG_fail;
3266 temp2 = True;
3267 }
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 (arg1)->SetWordChars((wxString const &)*arg2);
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 Py_INCREF(Py_None); resultobj = Py_None;
3276 {
3277 if (temp2)
3278 delete arg2;
3279 }
3280 return resultobj;
3281 fail:
3282 {
3283 if (temp2)
3284 delete arg2;
3285 }
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3293 PyObject * obj0 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->BeginUndoAction();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3318 PyObject * obj0 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 (arg1)->EndUndoAction();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 Py_INCREF(Py_None); resultobj = Py_None;
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3343 int arg2 ;
3344 int arg3 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 PyObject * obj2 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "indic",(char *) "style", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3355 arg2 = (int)SWIG_As_int(obj1);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 arg3 = (int)SWIG_As_int(obj2);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 (arg1)->IndicatorSetStyle(arg2,arg3);
3362
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 Py_INCREF(Py_None); resultobj = Py_None;
3367 return resultobj;
3368 fail:
3369 return NULL;
3370 }
3371
3372
3373 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3376 int arg2 ;
3377 int result;
3378 PyObject * obj0 = 0 ;
3379 PyObject * obj1 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "indic", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 arg2 = (int)SWIG_As_int(obj1);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = (int)(arg1)->IndicatorGetStyle(arg2);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 resultobj = SWIG_From_int((int)result);
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj;
3405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3406 int arg2 ;
3407 wxColour *arg3 = 0 ;
3408 wxColour temp3 ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
3411 PyObject * obj2 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "indic",(char *) "fore", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3419 arg2 = (int)SWIG_As_int(obj1);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 {
3422 arg3 = &temp3;
3423 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 Py_INCREF(Py_None); resultobj = Py_None;
3433 return resultobj;
3434 fail:
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj;
3441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3442 int arg2 ;
3443 wxColour result;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 char *kwnames[] = {
3447 (char *) "self",(char *) "indic", NULL
3448 };
3449
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3453 arg2 = (int)SWIG_As_int(obj1);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 result = (arg1)->IndicatorGetForeground(arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 {
3463 wxColour * resultptr;
3464 resultptr = new wxColour((wxColour &) result);
3465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3466 }
3467 return resultobj;
3468 fail:
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3476 bool arg2 ;
3477 wxColour *arg3 = 0 ;
3478 wxColour temp3 ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 PyObject * obj2 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3489 arg2 = (bool)SWIG_As_bool(obj1);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 {
3492 arg3 = &temp3;
3493 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3494 }
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
3503 return resultobj;
3504 fail:
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3512 bool arg2 ;
3513 wxColour *arg3 = 0 ;
3514 wxColour temp3 ;
3515 PyObject * obj0 = 0 ;
3516 PyObject * obj1 = 0 ;
3517 PyObject * obj2 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",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 = (bool)SWIG_As_bool(obj1);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 {
3528 arg3 = &temp3;
3529 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3530 }
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 Py_INCREF(Py_None); resultobj = Py_None;
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3548 int arg2 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "self",(char *) "bits", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3558 arg2 = (int)SWIG_As_int(obj1);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->SetStyleBits(arg2);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571 }
3572
3573
3574 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3577 int result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (int)(arg1)->GetStyleBits();
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 resultobj = SWIG_From_int((int)result);
3594 return resultobj;
3595 fail:
3596 return NULL;
3597 }
3598
3599
3600 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
3601 PyObject *resultobj;
3602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3603 int arg2 ;
3604 int arg3 ;
3605 PyObject * obj0 = 0 ;
3606 PyObject * obj1 = 0 ;
3607 PyObject * obj2 = 0 ;
3608 char *kwnames[] = {
3609 (char *) "self",(char *) "line",(char *) "state", NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3615 arg2 = (int)SWIG_As_int(obj1);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 arg3 = (int)SWIG_As_int(obj2);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 (arg1)->SetLineState(arg2,arg3);
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) SWIG_fail;
3625 }
3626 Py_INCREF(Py_None); resultobj = Py_None;
3627 return resultobj;
3628 fail:
3629 return NULL;
3630 }
3631
3632
3633 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3636 int arg2 ;
3637 int result;
3638 PyObject * obj0 = 0 ;
3639 PyObject * obj1 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self",(char *) "line", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3647 arg2 = (int)SWIG_As_int(obj1);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (int)(arg1)->GetLineState(arg2);
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 resultobj = SWIG_From_int((int)result);
3657 return resultobj;
3658 fail:
3659 return NULL;
3660 }
3661
3662
3663 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3666 int result;
3667 PyObject * obj0 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 result = (int)(arg1)->GetMaxLineState();
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 resultobj = SWIG_From_int((int)result);
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3692 bool result;
3693 PyObject * obj0 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (bool)(arg1)->GetCaretLineVisible();
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 {
3709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3710 }
3711 return resultobj;
3712 fail:
3713 return NULL;
3714 }
3715
3716
3717 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3720 bool arg2 ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self",(char *) "show", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3730 arg2 = (bool)SWIG_As_bool(obj1);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 (arg1)->SetCaretLineVisible(arg2);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 Py_INCREF(Py_None); resultobj = Py_None;
3740 return resultobj;
3741 fail:
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3749 wxColour result;
3750 PyObject * obj0 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (arg1)->GetCaretLineBack();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 {
3766 wxColour * resultptr;
3767 resultptr = new wxColour((wxColour &) result);
3768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3769 }
3770 return resultobj;
3771 fail:
3772 return NULL;
3773 }
3774
3775
3776 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3779 wxColour *arg2 = 0 ;
3780 wxColour temp2 ;
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self",(char *) "back", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3790 {
3791 arg2 = &temp2;
3792 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 return resultobj;
3803 fail:
3804 return NULL;
3805 }
3806
3807
3808 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3811 int arg2 ;
3812 bool arg3 ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815 PyObject * obj2 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self",(char *) "style",(char *) "changeable", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3823 arg2 = (int)SWIG_As_int(obj1);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 arg3 = (bool)SWIG_As_bool(obj2);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 (arg1)->StyleSetChangeable(arg2,arg3);
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 Py_INCREF(Py_None); resultobj = Py_None;
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
3842 PyObject *resultobj;
3843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3844 int arg2 ;
3845 wxString *arg3 = 0 ;
3846 bool temp3 = False ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 PyObject * obj2 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3857 arg2 = (int)SWIG_As_int(obj1);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 {
3860 arg3 = wxString_in_helper(obj2);
3861 if (arg3 == NULL) SWIG_fail;
3862 temp3 = True;
3863 }
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 {
3873 if (temp3)
3874 delete arg3;
3875 }
3876 return resultobj;
3877 fail:
3878 {
3879 if (temp3)
3880 delete arg3;
3881 }
3882 return NULL;
3883 }
3884
3885
3886 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj;
3888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3889 PyObject * obj0 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 (arg1)->AutoCompCancel();
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 Py_INCREF(Py_None); resultobj = Py_None;
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3914 bool result;
3915 PyObject * obj0 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = (bool)(arg1)->AutoCompActive();
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 {
3931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3932 }
3933 return resultobj;
3934 fail:
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3942 int result;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 result = (int)(arg1)->AutoCompPosStart();
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 resultobj = SWIG_From_int((int)result);
3959 return resultobj;
3960 fail:
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3968 PyObject * obj0 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "self", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->AutoCompComplete();
3979
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 Py_INCREF(Py_None); resultobj = Py_None;
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj;
3992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3993 wxString *arg2 = 0 ;
3994 bool temp2 = False ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj1 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "characterSet", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 {
4005 arg2 = wxString_in_helper(obj1);
4006 if (arg2 == NULL) SWIG_fail;
4007 temp2 = True;
4008 }
4009 {
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 (arg1)->AutoCompStops((wxString const &)*arg2);
4012
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 Py_INCREF(Py_None); resultobj = Py_None;
4017 {
4018 if (temp2)
4019 delete arg2;
4020 }
4021 return resultobj;
4022 fail:
4023 {
4024 if (temp2)
4025 delete arg2;
4026 }
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4034 int arg2 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self",(char *) "separatorCharacter", NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
4042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4044 arg2 = (int)SWIG_As_int(obj1);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 (arg1)->AutoCompSetSeparator(arg2);
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 Py_INCREF(Py_None); resultobj = Py_None;
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4063 int result;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (int)(arg1)->AutoCompGetSeparator();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = SWIG_From_int((int)result);
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4089 wxString *arg2 = 0 ;
4090 bool temp2 = False ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "self",(char *) "text", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
4098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4100 {
4101 arg2 = wxString_in_helper(obj1);
4102 if (arg2 == NULL) SWIG_fail;
4103 temp2 = True;
4104 }
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 (arg1)->AutoCompSelect((wxString const &)*arg2);
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 Py_INCREF(Py_None); resultobj = Py_None;
4113 {
4114 if (temp2)
4115 delete arg2;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp2)
4121 delete arg2;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4130 bool arg2 ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "cancel", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4140 arg2 = (bool)SWIG_As_bool(obj1);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 (arg1)->AutoCompSetCancelAtStart(arg2);
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 Py_INCREF(Py_None); resultobj = Py_None;
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4159 bool result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 {
4176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4187 wxString *arg2 = 0 ;
4188 bool temp2 = False ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self",(char *) "characterSet", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 {
4199 arg2 = wxString_in_helper(obj1);
4200 if (arg2 == NULL) SWIG_fail;
4201 temp2 = True;
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 Py_INCREF(Py_None); resultobj = Py_None;
4211 {
4212 if (temp2)
4213 delete arg2;
4214 }
4215 return resultobj;
4216 fail:
4217 {
4218 if (temp2)
4219 delete arg2;
4220 }
4221 return NULL;
4222 }
4223
4224
4225 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4228 bool arg2 ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self",(char *) "chooseSingle", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4238 arg2 = (bool)SWIG_As_bool(obj1);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 (arg1)->AutoCompSetChooseSingle(arg2);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4257 bool result;
4258 PyObject * obj0 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (bool)(arg1)->AutoCompGetChooseSingle();
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 {
4274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4275 }
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4285 bool arg2 ;
4286 PyObject * obj0 = 0 ;
4287 PyObject * obj1 = 0 ;
4288 char *kwnames[] = {
4289 (char *) "self",(char *) "ignoreCase", NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4295 arg2 = (bool)SWIG_As_bool(obj1);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 (arg1)->AutoCompSetIgnoreCase(arg2);
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 Py_INCREF(Py_None); resultobj = Py_None;
4305 return resultobj;
4306 fail:
4307 return NULL;
4308 }
4309
4310
4311 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4314 bool result;
4315 PyObject * obj0 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 {
4331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4332 }
4333 return resultobj;
4334 fail:
4335 return NULL;
4336 }
4337
4338
4339 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4342 int arg2 ;
4343 wxString *arg3 = 0 ;
4344 bool temp3 = False ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 PyObject * obj2 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4355 arg2 = (int)SWIG_As_int(obj1);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 {
4358 arg3 = wxString_in_helper(obj2);
4359 if (arg3 == NULL) SWIG_fail;
4360 temp3 = True;
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 {
4371 if (temp3)
4372 delete arg3;
4373 }
4374 return resultobj;
4375 fail:
4376 {
4377 if (temp3)
4378 delete arg3;
4379 }
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4387 bool arg2 ;
4388 PyObject * obj0 = 0 ;
4389 PyObject * obj1 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self",(char *) "autoHide", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4397 arg2 = (bool)SWIG_As_bool(obj1);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 (arg1)->AutoCompSetAutoHide(arg2);
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 Py_INCREF(Py_None); resultobj = Py_None;
4407 return resultobj;
4408 fail:
4409 return NULL;
4410 }
4411
4412
4413 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4416 bool result;
4417 PyObject * obj0 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (bool)(arg1)->AutoCompGetAutoHide();
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 {
4433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4434 }
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj;
4443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4444 bool arg2 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "dropRestOfWord", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4454 arg2 = (bool)SWIG_As_bool(obj1);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->AutoCompSetDropRestOfWord(arg2);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 Py_INCREF(Py_None); resultobj = Py_None;
4464 return resultobj;
4465 fail:
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4473 bool result;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 {
4490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4501 int arg2 ;
4502 wxBitmap *arg3 = 0 ;
4503 PyObject * obj0 = 0 ;
4504 PyObject * obj1 = 0 ;
4505 PyObject * obj2 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "type",(char *) "bmp", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4513 arg2 = (int)SWIG_As_int(obj1);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4516 SWIG_POINTER_EXCEPTION | 0)) == -1)
4517 SWIG_fail;
4518 if (arg3 == NULL) {
4519 PyErr_SetString(PyExc_TypeError,"null reference");
4520 SWIG_fail;
4521 }
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 Py_INCREF(Py_None); resultobj = Py_None;
4530 return resultobj;
4531 fail:
4532 return NULL;
4533 }
4534
4535
4536 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4539 PyObject * obj0 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 (arg1)->ClearRegisteredImages();
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 Py_INCREF(Py_None); resultobj = Py_None;
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4564 int result;
4565 PyObject * obj0 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 result = (int)(arg1)->AutoCompGetTypeSeparator();
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 resultobj = SWIG_From_int((int)result);
4581 return resultobj;
4582 fail:
4583 return NULL;
4584 }
4585
4586
4587 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4590 int arg2 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 char *kwnames[] = {
4594 (char *) "self",(char *) "separatorCharacter", NULL
4595 };
4596
4597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4600 arg2 = (int)SWIG_As_int(obj1);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 {
4603 PyThreadState* __tstate = wxPyBeginAllowThreads();
4604 (arg1)->AutoCompSetTypeSeparator(arg2);
4605
4606 wxPyEndAllowThreads(__tstate);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 }
4609 Py_INCREF(Py_None); resultobj = Py_None;
4610 return resultobj;
4611 fail:
4612 return NULL;
4613 }
4614
4615
4616 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4617 PyObject *resultobj;
4618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4619 int arg2 ;
4620 PyObject * obj0 = 0 ;
4621 PyObject * obj1 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "indentSize", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4629 arg2 = (int)SWIG_As_int(obj1);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 (arg1)->SetIndent(arg2);
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 Py_INCREF(Py_None); resultobj = Py_None;
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4648 int result;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 result = (int)(arg1)->GetIndent();
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_From_int((int)result);
4665 return resultobj;
4666 fail:
4667 return NULL;
4668 }
4669
4670
4671 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4674 bool arg2 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 char *kwnames[] = {
4678 (char *) "self",(char *) "useTabs", NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4684 arg2 = (bool)SWIG_As_bool(obj1);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 (arg1)->SetUseTabs(arg2);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 Py_INCREF(Py_None); resultobj = Py_None;
4694 return resultobj;
4695 fail:
4696 return NULL;
4697 }
4698
4699
4700 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
4701 PyObject *resultobj;
4702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4703 bool result;
4704 PyObject * obj0 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (bool)(arg1)->GetUseTabs();
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 {
4720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4721 }
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj;
4730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4731 int arg2 ;
4732 int arg3 ;
4733 PyObject * obj0 = 0 ;
4734 PyObject * obj1 = 0 ;
4735 PyObject * obj2 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4743 arg2 = (int)SWIG_As_int(obj1);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 arg3 = (int)SWIG_As_int(obj2);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 (arg1)->SetLineIndentation(arg2,arg3);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 Py_INCREF(Py_None); resultobj = Py_None;
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4764 int arg2 ;
4765 int result;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "self",(char *) "line", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4775 arg2 = (int)SWIG_As_int(obj1);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (int)(arg1)->GetLineIndentation(arg2);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_From_int((int)result);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4794 int arg2 ;
4795 int result;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self",(char *) "line", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4805 arg2 = (int)SWIG_As_int(obj1);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (int)(arg1)->GetLineIndentPosition(arg2);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 resultobj = SWIG_From_int((int)result);
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4824 int arg2 ;
4825 int result;
4826 PyObject * obj0 = 0 ;
4827 PyObject * obj1 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self",(char *) "pos", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4835 arg2 = (int)SWIG_As_int(obj1);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (int)(arg1)->GetColumn(arg2);
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_From_int((int)result);
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4854 bool arg2 ;
4855 PyObject * obj0 = 0 ;
4856 PyObject * obj1 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "show", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4864 arg2 = (bool)SWIG_As_bool(obj1);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->SetUseHorizontalScrollBar(arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4883 bool result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 {
4900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4901 }
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4911 bool arg2 ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "show", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4921 arg2 = (bool)SWIG_As_bool(obj1);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 (arg1)->SetIndentationGuides(arg2);
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 Py_INCREF(Py_None); resultobj = Py_None;
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4940 bool result;
4941 PyObject * obj0 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (bool)(arg1)->GetIndentationGuides();
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 {
4957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4968 int arg2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "column", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 arg2 = (int)SWIG_As_int(obj1);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetHighlightGuide(arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4997 int result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (int)(arg1)->GetHighlightGuide();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_From_int((int)result);
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj;
5022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5023 int arg2 ;
5024 int result;
5025 PyObject * obj0 = 0 ;
5026 PyObject * obj1 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "line", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 arg2 = (int)SWIG_As_int(obj1);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (int)(arg1)->GetLineEndPosition(arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 resultobj = SWIG_From_int((int)result);
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5053 int result;
5054 PyObject * obj0 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (int)(arg1)->GetCodePage();
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 resultobj = SWIG_From_int((int)result);
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5079 wxColour result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
5086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = (arg1)->GetCaretForeground();
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 wxColour * resultptr;
5097 resultptr = new wxColour((wxColour &) result);
5098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5109 bool result;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 result = (bool)(arg1)->GetReadOnly();
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 {
5126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5127 }
5128 return resultobj;
5129 fail:
5130 return NULL;
5131 }
5132
5133
5134 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5137 int arg2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self",(char *) "pos", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5147 arg2 = (int)SWIG_As_int(obj1);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 (arg1)->SetCurrentPos(arg2);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 Py_INCREF(Py_None); resultobj = Py_None;
5157 return resultobj;
5158 fail:
5159 return NULL;
5160 }
5161
5162
5163 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
5164 PyObject *resultobj;
5165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5166 int arg2 ;
5167 PyObject * obj0 = 0 ;
5168 PyObject * obj1 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self",(char *) "pos", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5176 arg2 = (int)SWIG_As_int(obj1);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetSelectionStart(arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 return resultobj;
5187 fail:
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5195 int result;
5196 PyObject * obj0 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (int)(arg1)->GetSelectionStart();
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_From_int((int)result);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5221 int arg2 ;
5222 PyObject * obj0 = 0 ;
5223 PyObject * obj1 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "pos", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5231 arg2 = (int)SWIG_As_int(obj1);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 (arg1)->SetSelectionEnd(arg2);
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 Py_INCREF(Py_None); resultobj = Py_None;
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5250 int result;
5251 PyObject * obj0 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (int)(arg1)->GetSelectionEnd();
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 resultobj = SWIG_From_int((int)result);
5267 return resultobj;
5268 fail:
5269 return NULL;
5270 }
5271
5272
5273 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5276 int arg2 ;
5277 PyObject * obj0 = 0 ;
5278 PyObject * obj1 = 0 ;
5279 char *kwnames[] = {
5280 (char *) "self",(char *) "magnification", NULL
5281 };
5282
5283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5286 arg2 = (int)SWIG_As_int(obj1);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 (arg1)->SetPrintMagnification(arg2);
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 Py_INCREF(Py_None); resultobj = Py_None;
5296 return resultobj;
5297 fail:
5298 return NULL;
5299 }
5300
5301
5302 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
5303 PyObject *resultobj;
5304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5305 int result;
5306 PyObject * obj0 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (int)(arg1)->GetPrintMagnification();
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 resultobj = SWIG_From_int((int)result);
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5331 int arg2 ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self",(char *) "mode", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5341 arg2 = (int)SWIG_As_int(obj1);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->SetPrintColourMode(arg2);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 Py_INCREF(Py_None); resultobj = Py_None;
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5360 int result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (int)(arg1)->GetPrintColourMode();
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = SWIG_From_int((int)result);
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj;
5385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5386 int arg2 ;
5387 int arg3 ;
5388 wxString *arg4 = 0 ;
5389 int arg5 = (int) 0 ;
5390 int result;
5391 bool temp4 = False ;
5392 PyObject * obj0 = 0 ;
5393 PyObject * obj1 = 0 ;
5394 PyObject * obj2 = 0 ;
5395 PyObject * obj3 = 0 ;
5396 PyObject * obj4 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5404 arg2 = (int)SWIG_As_int(obj1);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 arg3 = (int)SWIG_As_int(obj2);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 {
5409 arg4 = wxString_in_helper(obj3);
5410 if (arg4 == NULL) SWIG_fail;
5411 temp4 = True;
5412 }
5413 if (obj4) {
5414 arg5 = (int)SWIG_As_int(obj4);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = SWIG_From_int((int)result);
5425 {
5426 if (temp4)
5427 delete arg4;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (temp4)
5433 delete arg4;
5434 }
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5442 bool arg2 ;
5443 int arg3 ;
5444 int arg4 ;
5445 wxDC *arg5 = (wxDC *) 0 ;
5446 wxDC *arg6 = (wxDC *) 0 ;
5447 wxRect arg7 ;
5448 wxRect arg8 ;
5449 int result;
5450 wxRect *argp7 ;
5451 wxRect *argp8 ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 PyObject * obj2 = 0 ;
5455 PyObject * obj3 = 0 ;
5456 PyObject * obj4 = 0 ;
5457 PyObject * obj5 = 0 ;
5458 PyObject * obj6 = 0 ;
5459 PyObject * obj7 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 arg2 = (bool)SWIG_As_bool(obj1);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 arg3 = (int)SWIG_As_int(obj2);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 arg4 = (int)SWIG_As_int(obj3);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5475 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5478 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5479 arg7 = *argp7;
5480 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5481 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5482 arg8 = *argp8;
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 resultobj = SWIG_From_int((int)result);
5491 return resultobj;
5492 fail:
5493 return NULL;
5494 }
5495
5496
5497 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
5498 PyObject *resultobj;
5499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5500 int result;
5501 PyObject * obj0 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (int)(arg1)->GetFirstVisibleLine();
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 resultobj = SWIG_From_int((int)result);
5517 return resultobj;
5518 fail:
5519 return NULL;
5520 }
5521
5522
5523 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
5524 PyObject *resultobj;
5525 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5526 int arg2 ;
5527 wxString result;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "line", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5537 arg2 = (int)SWIG_As_int(obj1);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (arg1)->GetLine(arg2);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 #if wxUSE_UNICODE
5548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5549 #else
5550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5551 #endif
5552 }
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5562 int result;
5563 PyObject * obj0 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "self", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (int)(arg1)->GetLineCount();
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_From_int((int)result);
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5588 int arg2 ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "pixelWidth", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5598 arg2 = (int)SWIG_As_int(obj1);
5599 if (PyErr_Occurred()) SWIG_fail;
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->SetMarginLeft(arg2);
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 Py_INCREF(Py_None); resultobj = Py_None;
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5617 int result;
5618 PyObject * obj0 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "self", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (int)(arg1)->GetMarginLeft();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = SWIG_From_int((int)result);
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5643 int arg2 ;
5644 PyObject * obj0 = 0 ;
5645 PyObject * obj1 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "pixelWidth", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5653 arg2 = (int)SWIG_As_int(obj1);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->SetMarginRight(arg2);
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 Py_INCREF(Py_None); resultobj = Py_None;
5663 return resultobj;
5664 fail:
5665 return NULL;
5666 }
5667
5668
5669 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj;
5671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5672 int result;
5673 PyObject * obj0 = 0 ;
5674 char *kwnames[] = {
5675 (char *) "self", NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 result = (int)(arg1)->GetMarginRight();
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 resultobj = SWIG_From_int((int)result);
5689 return resultobj;
5690 fail:
5691 return NULL;
5692 }
5693
5694
5695 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5698 bool result;
5699 PyObject * obj0 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (bool)(arg1)->GetModify();
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 {
5715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5716 }
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5726 int arg2 ;
5727 int arg3 ;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj1 = 0 ;
5730 PyObject * obj2 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self",(char *) "start",(char *) "end", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 arg2 = (int)SWIG_As_int(obj1);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 arg3 = (int)SWIG_As_int(obj2);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 (arg1)->SetSelection(arg2,arg3);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 Py_INCREF(Py_None); resultobj = Py_None;
5750 return resultobj;
5751 fail:
5752 return NULL;
5753 }
5754
5755
5756 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5759 wxString result;
5760 PyObject * obj0 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (arg1)->GetSelectedText();
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 {
5776 #if wxUSE_UNICODE
5777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5778 #else
5779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5780 #endif
5781 }
5782 return resultobj;
5783 fail:
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5791 int arg2 ;
5792 int arg3 ;
5793 wxString result;
5794 PyObject * obj0 = 0 ;
5795 PyObject * obj1 = 0 ;
5796 PyObject * obj2 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 arg2 = (int)SWIG_As_int(obj1);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 arg3 = (int)SWIG_As_int(obj2);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (arg1)->GetTextRange(arg2,arg3);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 #if wxUSE_UNICODE
5817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5818 #else
5819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5820 #endif
5821 }
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5831 bool arg2 ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 char *kwnames[] = {
5835 (char *) "self",(char *) "normal", NULL
5836 };
5837
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5841 arg2 = (bool)SWIG_As_bool(obj1);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 (arg1)->HideSelection(arg2);
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 Py_INCREF(Py_None); resultobj = Py_None;
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5860 int arg2 ;
5861 int result;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self",(char *) "pos", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5871 arg2 = (int)SWIG_As_int(obj1);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (int)(arg1)->LineFromPosition(arg2);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 resultobj = SWIG_From_int((int)result);
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5890 int arg2 ;
5891 int result;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "line", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5901 arg2 = (int)SWIG_As_int(obj1);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (int)(arg1)->PositionFromLine(arg2);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = SWIG_From_int((int)result);
5911 return resultobj;
5912 fail:
5913 return NULL;
5914 }
5915
5916
5917 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5920 int arg2 ;
5921 int arg3 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 PyObject * obj2 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self",(char *) "columns",(char *) "lines", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5932 arg2 = (int)SWIG_As_int(obj1);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 arg3 = (int)SWIG_As_int(obj2);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 (arg1)->LineScroll(arg2,arg3);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 Py_INCREF(Py_None); resultobj = Py_None;
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5953 PyObject * obj0 = 0 ;
5954 char *kwnames[] = {
5955 (char *) "self", NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->EnsureCaretVisible();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 Py_INCREF(Py_None); resultobj = Py_None;
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5978 wxString *arg2 = 0 ;
5979 bool temp2 = False ;
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "text", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 {
5990 arg2 = wxString_in_helper(obj1);
5991 if (arg2 == NULL) SWIG_fail;
5992 temp2 = True;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->ReplaceSelection((wxString const &)*arg2);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 {
6003 if (temp2)
6004 delete arg2;
6005 }
6006 return resultobj;
6007 fail:
6008 {
6009 if (temp2)
6010 delete arg2;
6011 }
6012 return NULL;
6013 }
6014
6015
6016 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6019 bool arg2 ;
6020 PyObject * obj0 = 0 ;
6021 PyObject * obj1 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self",(char *) "readOnly", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6029 arg2 = (bool)SWIG_As_bool(obj1);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 (arg1)->SetReadOnly(arg2);
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6048 bool result;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (bool)(arg1)->CanPaste();
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 {
6065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6076 bool result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (bool)(arg1)->CanUndo();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 {
6093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6094 }
6095 return resultobj;
6096 fail:
6097 return NULL;
6098 }
6099
6100
6101 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->EmptyUndoBuffer();
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6129 PyObject * obj0 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 (arg1)->Undo();
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 (arg1)->Cut();
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 Py_INCREF(Py_None); resultobj = Py_None;
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6179 PyObject * obj0 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 (arg1)->Copy();
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 Py_INCREF(Py_None); resultobj = Py_None;
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 (arg1)->Paste();
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 Py_INCREF(Py_None); resultobj = Py_None;
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6229 PyObject * obj0 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 (arg1)->Clear();
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 Py_INCREF(Py_None); resultobj = Py_None;
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6254 wxString *arg2 = 0 ;
6255 bool temp2 = False ;
6256 PyObject * obj0 = 0 ;
6257 PyObject * obj1 = 0 ;
6258 char *kwnames[] = {
6259 (char *) "self",(char *) "text", NULL
6260 };
6261
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6265 {
6266 arg2 = wxString_in_helper(obj1);
6267 if (arg2 == NULL) SWIG_fail;
6268 temp2 = True;
6269 }
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->SetText((wxString const &)*arg2);
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 Py_INCREF(Py_None); resultobj = Py_None;
6278 {
6279 if (temp2)
6280 delete arg2;
6281 }
6282 return resultobj;
6283 fail:
6284 {
6285 if (temp2)
6286 delete arg2;
6287 }
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6295 wxString result;
6296 PyObject * obj0 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (arg1)->GetText();
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 {
6312 #if wxUSE_UNICODE
6313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6314 #else
6315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6316 #endif
6317 }
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6327 int result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (int)(arg1)->GetTextLength();
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 resultobj = SWIG_From_int((int)result);
6344 return resultobj;
6345 fail:
6346 return NULL;
6347 }
6348
6349
6350 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
6351 PyObject *resultobj;
6352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6353 bool arg2 ;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj1 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "overtype", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6363 arg2 = (bool)SWIG_As_bool(obj1);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 (arg1)->SetOvertype(arg2);
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 Py_INCREF(Py_None); resultobj = Py_None;
6373 return resultobj;
6374 fail:
6375 return NULL;
6376 }
6377
6378
6379 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
6380 PyObject *resultobj;
6381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6382 bool result;
6383 PyObject * obj0 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 result = (bool)(arg1)->GetOvertype();
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 {
6399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6400 }
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6410 int arg2 ;
6411 PyObject * obj0 = 0 ;
6412 PyObject * obj1 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self",(char *) "pixelWidth", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6420 arg2 = (int)SWIG_As_int(obj1);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 (arg1)->SetCaretWidth(arg2);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 Py_INCREF(Py_None); resultobj = Py_None;
6430 return resultobj;
6431 fail:
6432 return NULL;
6433 }
6434
6435
6436 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6439 int result;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = (int)(arg1)->GetCaretWidth();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 resultobj = SWIG_From_int((int)result);
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6465 int arg2 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "pos", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 arg2 = (int)SWIG_As_int(obj1);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 (arg1)->SetTargetStart(arg2);
6480
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 Py_INCREF(Py_None); resultobj = Py_None;
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj;
6493 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6494 int result;
6495 PyObject * obj0 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (int)(arg1)->GetTargetStart();
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 resultobj = SWIG_From_int((int)result);
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6520 int arg2 ;
6521 PyObject * obj0 = 0 ;
6522 PyObject * obj1 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self",(char *) "pos", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 arg2 = (int)SWIG_As_int(obj1);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->SetTargetEnd(arg2);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6549 int result;
6550 PyObject * obj0 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (int)(arg1)->GetTargetEnd();
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 resultobj = SWIG_From_int((int)result);
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6575 wxString *arg2 = 0 ;
6576 int result;
6577 bool temp2 = False ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "text", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6587 {
6588 arg2 = wxString_in_helper(obj1);
6589 if (arg2 == NULL) SWIG_fail;
6590 temp2 = True;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 resultobj = SWIG_From_int((int)result);
6600 {
6601 if (temp2)
6602 delete arg2;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (temp2)
6608 delete arg2;
6609 }
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6617 wxString *arg2 = 0 ;
6618 int result;
6619 bool temp2 = False ;
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "text", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6629 {
6630 arg2 = wxString_in_helper(obj1);
6631 if (arg2 == NULL) SWIG_fail;
6632 temp2 = True;
6633 }
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 resultobj = SWIG_From_int((int)result);
6642 {
6643 if (temp2)
6644 delete arg2;
6645 }
6646 return resultobj;
6647 fail:
6648 {
6649 if (temp2)
6650 delete arg2;
6651 }
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6659 wxString *arg2 = 0 ;
6660 int result;
6661 bool temp2 = False ;
6662 PyObject * obj0 = 0 ;
6663 PyObject * obj1 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self",(char *) "text", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6671 {
6672 arg2 = wxString_in_helper(obj1);
6673 if (arg2 == NULL) SWIG_fail;
6674 temp2 = True;
6675 }
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 resultobj = SWIG_From_int((int)result);
6684 {
6685 if (temp2)
6686 delete arg2;
6687 }
6688 return resultobj;
6689 fail:
6690 {
6691 if (temp2)
6692 delete arg2;
6693 }
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6701 int arg2 ;
6702 PyObject * obj0 = 0 ;
6703 PyObject * obj1 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self",(char *) "flags", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6711 arg2 = (int)SWIG_As_int(obj1);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 (arg1)->SetSearchFlags(arg2);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 Py_INCREF(Py_None); resultobj = Py_None;
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6730 int result;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (int)(arg1)->GetSearchFlags();
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = SWIG_From_int((int)result);
6747 return resultobj;
6748 fail:
6749 return NULL;
6750 }
6751
6752
6753 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj;
6755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6756 int arg2 ;
6757 wxString *arg3 = 0 ;
6758 bool temp3 = False ;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 PyObject * obj2 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self",(char *) "pos",(char *) "definition", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6769 arg2 = (int)SWIG_As_int(obj1);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 {
6772 arg3 = wxString_in_helper(obj2);
6773 if (arg3 == NULL) SWIG_fail;
6774 temp3 = True;
6775 }
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 {
6785 if (temp3)
6786 delete arg3;
6787 }
6788 return resultobj;
6789 fail:
6790 {
6791 if (temp3)
6792 delete arg3;
6793 }
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 (arg1)->CallTipCancel();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 Py_INCREF(Py_None); resultobj = Py_None;
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6826 bool result;
6827 PyObject * obj0 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (bool)(arg1)->CallTipActive();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 {
6843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6844 }
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6854 int result;
6855 PyObject * obj0 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (int)(arg1)->CallTipPosAtStart();
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_From_int((int)result);
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6880 int arg2 ;
6881 int arg3 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "start",(char *) "end", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6892 arg2 = (int)SWIG_As_int(obj1);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 arg3 = (int)SWIG_As_int(obj2);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->CallTipSetHighlight(arg2,arg3);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 Py_INCREF(Py_None); resultobj = Py_None;
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6913 wxColour *arg2 = 0 ;
6914 wxColour temp2 ;
6915 PyObject * obj0 = 0 ;
6916 PyObject * obj1 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self",(char *) "back", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6924 {
6925 arg2 = &temp2;
6926 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6945 wxColour *arg2 = 0 ;
6946 wxColour temp2 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "fore", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 {
6957 arg2 = &temp2;
6958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6959 }
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 Py_INCREF(Py_None); resultobj = Py_None;
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj;
6976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6977 wxColour *arg2 = 0 ;
6978 wxColour temp2 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self",(char *) "fore", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6988 {
6989 arg2 = &temp2;
6990 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6991 }
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
6994 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6995
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 Py_INCREF(Py_None); resultobj = Py_None;
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7009 int arg2 ;
7010 int result;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
7013 char *kwnames[] = {
7014 (char *) "self",(char *) "line", NULL
7015 };
7016
7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
7018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7020 arg2 = (int)SWIG_As_int(obj1);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (int)(arg1)->VisibleFromDocLine(arg2);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_From_int((int)result);
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7039 int arg2 ;
7040 int result;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self",(char *) "lineDisplay", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7050 arg2 = (int)SWIG_As_int(obj1);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (int)(arg1)->DocLineFromVisible(arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = SWIG_From_int((int)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7069 int arg2 ;
7070 int arg3 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj2 = 0 ;
7074 char *kwnames[] = {
7075 (char *) "self",(char *) "line",(char *) "level", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
7079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7081 arg2 = (int)SWIG_As_int(obj1);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 arg3 = (int)SWIG_As_int(obj2);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->SetFoldLevel(arg2,arg3);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 Py_INCREF(Py_None); resultobj = Py_None;
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7100 PyObject *resultobj;
7101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7102 int arg2 ;
7103 int result;
7104 PyObject * obj0 = 0 ;
7105 PyObject * obj1 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self",(char *) "line", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
7111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7113 arg2 = (int)SWIG_As_int(obj1);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (int)(arg1)->GetFoldLevel(arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_From_int((int)result);
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7132 int arg2 ;
7133 int arg3 ;
7134 int result;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj1 = 0 ;
7137 PyObject * obj2 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self",(char *) "line",(char *) "level", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7145 arg2 = (int)SWIG_As_int(obj1);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 arg3 = (int)SWIG_As_int(obj2);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (int)(arg1)->GetLastChild(arg2,arg3);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 resultobj = SWIG_From_int((int)result);
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7166 int arg2 ;
7167 int result;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "line", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7177 arg2 = (int)SWIG_As_int(obj1);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (int)(arg1)->GetFoldParent(arg2);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 resultobj = SWIG_From_int((int)result);
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7196 int arg2 ;
7197 int arg3 ;
7198 PyObject * obj0 = 0 ;
7199 PyObject * obj1 = 0 ;
7200 PyObject * obj2 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7208 arg2 = (int)SWIG_As_int(obj1);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 arg3 = (int)SWIG_As_int(obj2);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 (arg1)->ShowLines(arg2,arg3);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 Py_INCREF(Py_None); resultobj = Py_None;
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7229 int arg2 ;
7230 int arg3 ;
7231 PyObject * obj0 = 0 ;
7232 PyObject * obj1 = 0 ;
7233 PyObject * obj2 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7241 arg2 = (int)SWIG_As_int(obj1);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 arg3 = (int)SWIG_As_int(obj2);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 (arg1)->HideLines(arg2,arg3);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 Py_INCREF(Py_None); resultobj = Py_None;
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7262 int arg2 ;
7263 bool result;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "line", NULL
7268 };
7269
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7273 arg2 = (int)SWIG_As_int(obj1);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 result = (bool)(arg1)->GetLineVisible(arg2);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 {
7283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7284 }
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7294 int arg2 ;
7295 bool arg3 ;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 PyObject * obj2 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "line",(char *) "expanded", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7306 arg2 = (int)SWIG_As_int(obj1);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 arg3 = (bool)SWIG_As_bool(obj2);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->SetFoldExpanded(arg2,arg3);
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_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7327 int arg2 ;
7328 bool result;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "line", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7338 arg2 = (int)SWIG_As_int(obj1);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (bool)(arg1)->GetFoldExpanded(arg2);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7349 }
7350 return resultobj;
7351 fail:
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7359 int arg2 ;
7360 PyObject * obj0 = 0 ;
7361 PyObject * obj1 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "line", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 arg2 = (int)SWIG_As_int(obj1);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 (arg1)->ToggleFold(arg2);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 Py_INCREF(Py_None); resultobj = Py_None;
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7388 int arg2 ;
7389 PyObject * obj0 = 0 ;
7390 PyObject * obj1 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self",(char *) "line", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 arg2 = (int)SWIG_As_int(obj1);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->EnsureVisible(arg2);
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 Py_INCREF(Py_None); resultobj = Py_None;
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7417 int arg2 ;
7418 PyObject * obj0 = 0 ;
7419 PyObject * obj1 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "self",(char *) "flags", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7427 arg2 = (int)SWIG_As_int(obj1);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 (arg1)->SetFoldFlags(arg2);
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 Py_INCREF(Py_None); resultobj = Py_None;
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj;
7445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7446 int arg2 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "line", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 arg2 = (int)SWIG_As_int(obj1);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7475 bool arg2 ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "tabIndents", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7485 arg2 = (bool)SWIG_As_bool(obj1);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetTabIndents(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7504 bool result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)(arg1)->GetTabIndents();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 {
7521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7522 }
7523 return resultobj;
7524 fail:
7525 return NULL;
7526 }
7527
7528
7529 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7532 bool arg2 ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "bsUnIndents", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 arg2 = (bool)SWIG_As_bool(obj1);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 (arg1)->SetBackSpaceUnIndents(arg2);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 Py_INCREF(Py_None); resultobj = Py_None;
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7561 bool result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)(arg1)->GetBackSpaceUnIndents();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7589 int arg2 ;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "periodMilliseconds", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7599 arg2 = (int)SWIG_As_int(obj1);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetMouseDwellTime(arg2);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 Py_INCREF(Py_None); resultobj = Py_None;
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7618 int result;
7619 PyObject * obj0 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (int)(arg1)->GetMouseDwellTime();
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_From_int((int)result);
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7644 int arg2 ;
7645 bool arg3 ;
7646 int result;
7647 PyObject * obj0 = 0 ;
7648 PyObject * obj1 = 0 ;
7649 PyObject * obj2 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 arg2 = (int)SWIG_As_int(obj1);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 arg3 = (bool)SWIG_As_bool(obj2);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 resultobj = SWIG_From_int((int)result);
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7678 int arg2 ;
7679 bool arg3 ;
7680 int result;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 PyObject * obj2 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7691 arg2 = (int)SWIG_As_int(obj1);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 arg3 = (bool)SWIG_As_bool(obj2);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_From_int((int)result);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7712 int arg2 ;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "mode", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722 arg2 = (int)SWIG_As_int(obj1);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 (arg1)->SetWrapMode(arg2);
7727
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 Py_INCREF(Py_None); resultobj = Py_None;
7732 return resultobj;
7733 fail:
7734 return NULL;
7735 }
7736
7737
7738 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
7739 PyObject *resultobj;
7740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7741 int result;
7742 PyObject * obj0 = 0 ;
7743 char *kwnames[] = {
7744 (char *) "self", NULL
7745 };
7746
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 result = (int)(arg1)->GetWrapMode();
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = SWIG_From_int((int)result);
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7767 int arg2 ;
7768 PyObject * obj0 = 0 ;
7769 PyObject * obj1 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "self",(char *) "mode", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7777 arg2 = (int)SWIG_As_int(obj1);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 (arg1)->SetLayoutCache(arg2);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 Py_INCREF(Py_None); resultobj = Py_None;
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7796 int result;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (int)(arg1)->GetLayoutCache();
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_From_int((int)result);
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7822 int arg2 ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "pixelWidth", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7832 arg2 = (int)SWIG_As_int(obj1);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 (arg1)->SetScrollWidth(arg2);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 Py_INCREF(Py_None); resultobj = Py_None;
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7851 int result;
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = (int)(arg1)->GetScrollWidth();
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 resultobj = SWIG_From_int((int)result);
7868 return resultobj;
7869 fail:
7870 return NULL;
7871 }
7872
7873
7874 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7877 int arg2 ;
7878 wxString *arg3 = 0 ;
7879 int result;
7880 bool temp3 = False ;
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 PyObject * obj2 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "self",(char *) "style",(char *) "text", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7891 arg2 = (int)SWIG_As_int(obj1);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 {
7894 arg3 = wxString_in_helper(obj2);
7895 if (arg3 == NULL) SWIG_fail;
7896 temp3 = True;
7897 }
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 resultobj = SWIG_From_int((int)result);
7906 {
7907 if (temp3)
7908 delete arg3;
7909 }
7910 return resultobj;
7911 fail:
7912 {
7913 if (temp3)
7914 delete arg3;
7915 }
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7923 bool arg2 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "endAtLastLine", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7933 arg2 = (bool)SWIG_As_bool(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SetEndAtLastLine(arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7952 int result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (int)(arg1)->GetEndAtLastLine();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 resultobj = SWIG_From_int((int)result);
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7978 int arg2 ;
7979 int result;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "line", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 arg2 = (int)SWIG_As_int(obj1);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (int)(arg1)->TextHeight(arg2);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 resultobj = SWIG_From_int((int)result);
7999 return resultobj;
8000 fail:
8001 return NULL;
8002 }
8003
8004
8005 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8008 bool arg2 ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self",(char *) "show", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8018 arg2 = (bool)SWIG_As_bool(obj1);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 (arg1)->SetUseVerticalScrollBar(arg2);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8037 bool result;
8038 PyObject * obj0 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (bool)(arg1)->GetUseVerticalScrollBar();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 {
8054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8065 int arg2 ;
8066 wxString *arg3 = 0 ;
8067 bool temp3 = False ;
8068 PyObject * obj0 = 0 ;
8069 PyObject * obj1 = 0 ;
8070 PyObject * obj2 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self",(char *) "length",(char *) "text", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8078 arg2 = (int)SWIG_As_int(obj1);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 {
8081 arg3 = wxString_in_helper(obj2);
8082 if (arg3 == NULL) SWIG_fail;
8083 temp3 = True;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->AppendText(arg2,(wxString const &)*arg3);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 {
8094 if (temp3)
8095 delete arg3;
8096 }
8097 return resultobj;
8098 fail:
8099 {
8100 if (temp3)
8101 delete arg3;
8102 }
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8110 bool result;
8111 PyObject * obj0 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (bool)(arg1)->GetTwoPhaseDraw();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8128 }
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8138 bool arg2 ;
8139 PyObject * obj0 = 0 ;
8140 PyObject * obj1 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "twoPhase", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8148 arg2 = (bool)SWIG_As_bool(obj1);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 (arg1)->SetTwoPhaseDraw(arg2);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 Py_INCREF(Py_None); resultobj = Py_None;
8158 return resultobj;
8159 fail:
8160 return NULL;
8161 }
8162
8163
8164 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj;
8166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8167 PyObject * obj0 = 0 ;
8168 char *kwnames[] = {
8169 (char *) "self", NULL
8170 };
8171
8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 (arg1)->TargetFromSelection();
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_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8192 PyObject * obj0 = 0 ;
8193 char *kwnames[] = {
8194 (char *) "self", NULL
8195 };
8196
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 (arg1)->LinesJoin();
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 Py_INCREF(Py_None); resultobj = Py_None;
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8217 int arg2 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "pixelWidth", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8227 arg2 = (int)SWIG_As_int(obj1);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 (arg1)->LinesSplit(arg2);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 Py_INCREF(Py_None); resultobj = Py_None;
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8246 bool arg2 ;
8247 wxColour *arg3 = 0 ;
8248 wxColour temp3 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 PyObject * obj2 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 arg2 = (bool)SWIG_As_bool(obj1);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 {
8262 arg3 = &temp3;
8263 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8282 bool arg2 ;
8283 wxColour *arg3 = 0 ;
8284 wxColour temp3 ;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 PyObject * obj2 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8295 arg2 = (bool)SWIG_As_bool(obj1);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 {
8298 arg3 = &temp3;
8299 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 Py_INCREF(Py_None); resultobj = Py_None;
8309 return resultobj;
8310 fail:
8311 return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
8316 PyObject *resultobj;
8317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 (arg1)->LineDown();
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 Py_INCREF(Py_None); resultobj = Py_None;
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj;
8342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 (arg1)->LineDownExtend();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 Py_INCREF(Py_None); resultobj = Py_None;
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8368 PyObject * obj0 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 (arg1)->LineUp();
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 Py_INCREF(Py_None); resultobj = Py_None;
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8391 PyObject *resultobj;
8392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8393 PyObject * obj0 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 (arg1)->LineUpExtend();
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 Py_INCREF(Py_None); resultobj = Py_None;
8409 return resultobj;
8410 fail:
8411 return NULL;
8412 }
8413
8414
8415 static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
8416 PyObject *resultobj;
8417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8418 PyObject * obj0 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 (arg1)->CharLeft();
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 Py_INCREF(Py_None); resultobj = Py_None;
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8443 PyObject * obj0 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 (arg1)->CharLeftExtend();
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 Py_INCREF(Py_None); resultobj = Py_None;
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 (arg1)->CharRight();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 Py_INCREF(Py_None); resultobj = Py_None;
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8493 PyObject * obj0 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 (arg1)->CharRightExtend();
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 Py_INCREF(Py_None); resultobj = Py_None;
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
8516 PyObject *resultobj;
8517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8518 PyObject * obj0 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 (arg1)->WordLeft();
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 Py_INCREF(Py_None); resultobj = Py_None;
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 (arg1)->WordLeftExtend();
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 (arg1)->WordRight();
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 Py_INCREF(Py_None); resultobj = Py_None;
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 (arg1)->WordRightExtend();
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 Py_INCREF(Py_None); resultobj = Py_None;
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj;
8617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8618 PyObject * obj0 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 (arg1)->Home();
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 Py_INCREF(Py_None); resultobj = Py_None;
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8643 PyObject * obj0 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 (arg1)->HomeExtend();
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 Py_INCREF(Py_None); resultobj = Py_None;
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8668 PyObject * obj0 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->LineEnd();
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8693 PyObject * obj0 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 (arg1)->LineEndExtend();
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 Py_INCREF(Py_None); resultobj = Py_None;
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8718 PyObject * obj0 = 0 ;
8719 char *kwnames[] = {
8720 (char *) "self", NULL
8721 };
8722
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
8724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 (arg1)->DocumentStart();
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->DocumentStartExtend();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 Py_INCREF(Py_None); resultobj = Py_None;
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 (arg1)->DocumentEnd();
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8793 PyObject * obj0 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->DocumentEndExtend();
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 Py_INCREF(Py_None); resultobj = Py_None;
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->PageUp();
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8843 PyObject * obj0 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->PageUpExtend();
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->PageDown();
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8893 PyObject * obj0 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
8899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->PageDownExtend();
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 (arg1)->EditToggleOvertype();
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 Py_INCREF(Py_None); resultobj = Py_None;
8934 return resultobj;
8935 fail:
8936 return NULL;
8937 }
8938
8939
8940 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj;
8942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8943 PyObject * obj0 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
8949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8951 {
8952 PyThreadState* __tstate = wxPyBeginAllowThreads();
8953 (arg1)->Cancel();
8954
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 Py_INCREF(Py_None); resultobj = Py_None;
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
8966 PyObject *resultobj;
8967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8968 PyObject * obj0 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 (arg1)->DeleteBack();
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 Py_INCREF(Py_None); resultobj = Py_None;
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8993 PyObject * obj0 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
8999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 (arg1)->Tab();
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 Py_INCREF(Py_None); resultobj = Py_None;
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->BackTab();
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 (arg1)->NewLine();
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 Py_INCREF(Py_None); resultobj = Py_None;
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj;
9067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 (arg1)->FormFeed();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 Py_INCREF(Py_None); resultobj = Py_None;
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
9099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->VCHome();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9118 PyObject * obj0 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "self", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 (arg1)->VCHomeExtend();
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 Py_INCREF(Py_None); resultobj = Py_None;
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9143 PyObject * obj0 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->ZoomIn();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 Py_INCREF(Py_None); resultobj = Py_None;
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9168 PyObject * obj0 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "self", NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
9174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 (arg1)->ZoomOut();
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 Py_INCREF(Py_None); resultobj = Py_None;
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9193 PyObject * obj0 = 0 ;
9194 char *kwnames[] = {
9195 (char *) "self", NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
9199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 (arg1)->DelWordLeft();
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 Py_INCREF(Py_None); resultobj = Py_None;
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 (arg1)->DelWordRight();
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 Py_INCREF(Py_None); resultobj = Py_None;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->LineCut();
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 (arg1)->LineDelete();
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->LineTranspose();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 Py_INCREF(Py_None); resultobj = Py_None;
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 (arg1)->LineDuplicate();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 Py_INCREF(Py_None); resultobj = Py_None;
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9343 PyObject * obj0 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 (arg1)->LowerCase();
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 Py_INCREF(Py_None); resultobj = Py_None;
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 (arg1)->UpperCase();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9393 PyObject * obj0 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->LineScrollDown();
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 Py_INCREF(Py_None); resultobj = Py_None;
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->LineScrollUp();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 (arg1)->DeleteBackNotLine();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 Py_INCREF(Py_None); resultobj = Py_None;
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 (arg1)->HomeDisplay();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 Py_INCREF(Py_None); resultobj = Py_None;
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9493 PyObject * obj0 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 (arg1)->HomeDisplayExtend();
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 Py_INCREF(Py_None); resultobj = Py_None;
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 (arg1)->LineEndDisplay();
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 Py_INCREF(Py_None); resultobj = Py_None;
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 (arg1)->LineEndDisplayExtend();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 Py_INCREF(Py_None); resultobj = Py_None;
9559 return resultobj;
9560 fail:
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 (arg1)->HomeWrap();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 Py_INCREF(Py_None); resultobj = Py_None;
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9593 PyObject * obj0 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 (arg1)->HomeWrapExtend();
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 Py_INCREF(Py_None); resultobj = Py_None;
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 (arg1)->LineEndWrap();
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 Py_INCREF(Py_None); resultobj = Py_None;
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9643 PyObject * obj0 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->LineEndWrapExtend();
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 Py_INCREF(Py_None); resultobj = Py_None;
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9668 PyObject * obj0 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 (arg1)->VCHomeWrap();
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 Py_INCREF(Py_None); resultobj = Py_None;
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9693 PyObject * obj0 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 (arg1)->VCHomeWrapExtend();
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 Py_INCREF(Py_None); resultobj = Py_None;
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9718 PyObject * obj0 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->LineCopy();
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 return resultobj;
9735 fail:
9736 return NULL;
9737 }
9738
9739
9740 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9743 PyObject * obj0 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 (arg1)->MoveCaretInsideView();
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 Py_INCREF(Py_None); resultobj = Py_None;
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9768 int arg2 ;
9769 int result;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "line", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9779 arg2 = (int)SWIG_As_int(obj1);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (int)(arg1)->LineLength(arg2);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 resultobj = SWIG_From_int((int)result);
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj;
9797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9798 int arg2 ;
9799 int arg3 ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802 PyObject * obj2 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9810 arg2 = (int)SWIG_As_int(obj1);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 arg3 = (int)SWIG_As_int(obj2);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 (arg1)->BraceHighlight(arg2,arg3);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9831 int arg2 ;
9832 PyObject * obj0 = 0 ;
9833 PyObject * obj1 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self",(char *) "pos", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
9839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9841 arg2 = (int)SWIG_As_int(obj1);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->BraceBadLight(arg2);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9860 int arg2 ;
9861 int result;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self",(char *) "pos", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9871 arg2 = (int)SWIG_As_int(obj1);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 result = (int)(arg1)->BraceMatch(arg2);
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 resultobj = SWIG_From_int((int)result);
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9890 bool result;
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (bool)(arg1)->GetViewEOL();
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 {
9907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9908 }
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9918 bool arg2 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self",(char *) "visible", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9928 arg2 = (bool)SWIG_As_bool(obj1);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->SetViewEOL(arg2);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 Py_INCREF(Py_None); resultobj = Py_None;
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
9945 PyObject *resultobj;
9946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9947 void *result;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (void *)(arg1)->GetDocPointer();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9973 void *arg2 = (void *) 0 ;
9974 PyObject * obj0 = 0 ;
9975 PyObject * obj1 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "docPointer", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9983 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 (arg1)->SetDocPointer(arg2);
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 Py_INCREF(Py_None); resultobj = Py_None;
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10001 int arg2 ;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "mask", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
10009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10011 arg2 = (int)SWIG_As_int(obj1);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 (arg1)->SetModEventMask(arg2);
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 Py_INCREF(Py_None); resultobj = Py_None;
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10030 int result;
10031 PyObject * obj0 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (int)(arg1)->GetEdgeColumn();
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_From_int((int)result);
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10056 int arg2 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "column", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10066 arg2 = (int)SWIG_As_int(obj1);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 (arg1)->SetEdgeColumn(arg2);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 Py_INCREF(Py_None); resultobj = Py_None;
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10085 int result;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (int)(arg1)->GetEdgeMode();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_From_int((int)result);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10111 int arg2 ;
10112 PyObject * obj0 = 0 ;
10113 PyObject * obj1 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self",(char *) "mode", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10121 arg2 = (int)SWIG_As_int(obj1);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 (arg1)->SetEdgeMode(arg2);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 Py_INCREF(Py_None); resultobj = Py_None;
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10140 wxColour result;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
10147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (arg1)->GetEdgeColour();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 {
10157 wxColour * resultptr;
10158 resultptr = new wxColour((wxColour &) result);
10159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10160 }
10161 return resultobj;
10162 fail:
10163 return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10170 wxColour *arg2 = 0 ;
10171 wxColour temp2 ;
10172 PyObject * obj0 = 0 ;
10173 PyObject * obj1 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self",(char *) "edgeColour", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10181 {
10182 arg2 = &temp2;
10183 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10184 }
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 (arg1)->SetEdgeColour((wxColour const &)*arg2);
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 Py_INCREF(Py_None); resultobj = Py_None;
10193 return resultobj;
10194 fail:
10195 return NULL;
10196 }
10197
10198
10199 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj;
10201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10202 PyObject * obj0 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 (arg1)->SearchAnchor();
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 Py_INCREF(Py_None); resultobj = Py_None;
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10227 int arg2 ;
10228 wxString *arg3 = 0 ;
10229 int result;
10230 bool temp3 = False ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 PyObject * obj2 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self",(char *) "flags",(char *) "text", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10241 arg2 = (int)SWIG_As_int(obj1);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 {
10244 arg3 = wxString_in_helper(obj2);
10245 if (arg3 == NULL) SWIG_fail;
10246 temp3 = True;
10247 }
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = SWIG_From_int((int)result);
10256 {
10257 if (temp3)
10258 delete arg3;
10259 }
10260 return resultobj;
10261 fail:
10262 {
10263 if (temp3)
10264 delete arg3;
10265 }
10266 return NULL;
10267 }
10268
10269
10270 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10273 int arg2 ;
10274 wxString *arg3 = 0 ;
10275 int result;
10276 bool temp3 = False ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 PyObject * obj2 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self",(char *) "flags",(char *) "text", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
10285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10287 arg2 = (int)SWIG_As_int(obj1);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 {
10290 arg3 = wxString_in_helper(obj2);
10291 if (arg3 == NULL) SWIG_fail;
10292 temp3 = True;
10293 }
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = SWIG_From_int((int)result);
10302 {
10303 if (temp3)
10304 delete arg3;
10305 }
10306 return resultobj;
10307 fail:
10308 {
10309 if (temp3)
10310 delete arg3;
10311 }
10312 return NULL;
10313 }
10314
10315
10316 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10319 int result;
10320 PyObject * obj0 = 0 ;
10321 char *kwnames[] = {
10322 (char *) "self", NULL
10323 };
10324
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
10326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (int)(arg1)->LinesOnScreen();
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = SWIG_From_int((int)result);
10336 return resultobj;
10337 fail:
10338 return NULL;
10339 }
10340
10341
10342 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10345 bool arg2 ;
10346 PyObject * obj0 = 0 ;
10347 PyObject * obj1 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "self",(char *) "allowPopUp", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10355 arg2 = (bool)SWIG_As_bool(obj1);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 (arg1)->UsePopUp(arg2);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 Py_INCREF(Py_None); resultobj = Py_None;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10374 bool result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)(arg1)->SelectionIsRectangle();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 {
10391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10392 }
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10402 int arg2 ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "zoom", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 arg2 = (int)SWIG_As_int(obj1);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 (arg1)->SetZoom(arg2);
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 Py_INCREF(Py_None); resultobj = Py_None;
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10431 int result;
10432 PyObject * obj0 = 0 ;
10433 char *kwnames[] = {
10434 (char *) "self", NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
10438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = (int)(arg1)->GetZoom();
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 resultobj = SWIG_From_int((int)result);
10448 return resultobj;
10449 fail:
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10457 void *result;
10458 PyObject * obj0 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
10464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (void *)(arg1)->CreateDocument();
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10483 void *arg2 = (void *) 0 ;
10484 PyObject * obj0 = 0 ;
10485 PyObject * obj1 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self",(char *) "docPointer", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10493 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 (arg1)->AddRefDocument(arg2);
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 Py_INCREF(Py_None); resultobj = Py_None;
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10511 void *arg2 = (void *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "docPointer", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10521 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 (arg1)->ReleaseDocument(arg2);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 Py_INCREF(Py_None); resultobj = Py_None;
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10539 int result;
10540 PyObject * obj0 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (int)(arg1)->GetModEventMask();
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 resultobj = SWIG_From_int((int)result);
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10565 bool arg2 ;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "focus", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10575 arg2 = (bool)SWIG_As_bool(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->SetSTCFocus(arg2);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 Py_INCREF(Py_None); resultobj = Py_None;
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj;
10593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10594 bool result;
10595 PyObject * obj0 = 0 ;
10596 char *kwnames[] = {
10597 (char *) "self", NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10603 {
10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
10605 result = (bool)(arg1)->GetSTCFocus();
10606
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 {
10611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10612 }
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10622 int arg2 ;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "statusCode", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10632 arg2 = (int)SWIG_As_int(obj1);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 (arg1)->SetStatus(arg2);
10637
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 Py_INCREF(Py_None); resultobj = Py_None;
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj;
10650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10651 int result;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)(arg1)->GetStatus();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_From_int((int)result);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10677 bool arg2 ;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "captures", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10687 arg2 = (bool)SWIG_As_bool(obj1);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->SetMouseDownCaptures(arg2);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 Py_INCREF(Py_None); resultobj = Py_None;
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10706 bool result;
10707 PyObject * obj0 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "self", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
10713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (bool)(arg1)->GetMouseDownCaptures();
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 {
10723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10724 }
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10734 int arg2 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "cursorType", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 arg2 = (int)SWIG_As_int(obj1);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 (arg1)->SetSTCCursor(arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 Py_INCREF(Py_None); resultobj = Py_None;
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10763 int result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (int)(arg1)->GetSTCCursor();
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 resultobj = SWIG_From_int((int)result);
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10789 int arg2 ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "symbol", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 arg2 = (int)SWIG_As_int(obj1);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->SetControlCharSymbol(arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 Py_INCREF(Py_None); resultobj = Py_None;
10809 return resultobj;
10810 fail:
10811 return NULL;
10812 }
10813
10814
10815 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
10816 PyObject *resultobj;
10817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10818 int result;
10819 PyObject * obj0 = 0 ;
10820 char *kwnames[] = {
10821 (char *) "self", NULL
10822 };
10823
10824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
10825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 result = (int)(arg1)->GetControlCharSymbol();
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_From_int((int)result);
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10844 PyObject * obj0 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
10850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 (arg1)->WordPartLeft();
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 Py_INCREF(Py_None); resultobj = Py_None;
10860 return resultobj;
10861 fail:
10862 return NULL;
10863 }
10864
10865
10866 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10869 PyObject * obj0 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->WordPartLeftExtend();
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 return resultobj;
10886 fail:
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10894 PyObject * obj0 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
10900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10902 {
10903 PyThreadState* __tstate = wxPyBeginAllowThreads();
10904 (arg1)->WordPartRight();
10905
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 Py_INCREF(Py_None); resultobj = Py_None;
10910 return resultobj;
10911 fail:
10912 return NULL;
10913 }
10914
10915
10916 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj;
10918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10919 PyObject * obj0 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
10925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->WordPartRightExtend();
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10944 int arg2 ;
10945 int arg3 ;
10946 PyObject * obj0 = 0 ;
10947 PyObject * obj1 = 0 ;
10948 PyObject * obj2 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
10951 };
10952
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10956 arg2 = (int)SWIG_As_int(obj1);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 arg3 = (int)SWIG_As_int(obj2);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->SetVisiblePolicy(arg2,arg3);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->DelLineLeft();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
11008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 (arg1)->DelLineRight();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj;
11026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11027 int arg2 ;
11028 PyObject * obj0 = 0 ;
11029 PyObject * obj1 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self",(char *) "newOffset", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11037 arg2 = (int)SWIG_As_int(obj1);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 (arg1)->SetXOffset(arg2);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 Py_INCREF(Py_None); resultobj = Py_None;
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11056 int result;
11057 PyObject * obj0 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "self", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
11063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (int)(arg1)->GetXOffset();
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 resultobj = SWIG_From_int((int)result);
11073 return resultobj;
11074 fail:
11075 return NULL;
11076 }
11077
11078
11079 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj;
11081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11082 PyObject * obj0 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
11088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 (arg1)->ChooseCaretX();
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 Py_INCREF(Py_None); resultobj = Py_None;
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj;
11106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11107 int arg2 ;
11108 int arg3 ;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 PyObject * obj2 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11119 arg2 = (int)SWIG_As_int(obj1);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 arg3 = (int)SWIG_As_int(obj2);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 (arg1)->SetXCaretPolicy(arg2,arg3);
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 Py_INCREF(Py_None); resultobj = Py_None;
11131 return resultobj;
11132 fail:
11133 return NULL;
11134 }
11135
11136
11137 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
11138 PyObject *resultobj;
11139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11140 int arg2 ;
11141 int arg3 ;
11142 PyObject * obj0 = 0 ;
11143 PyObject * obj1 = 0 ;
11144 PyObject * obj2 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11152 arg2 = (int)SWIG_As_int(obj1);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 arg3 = (int)SWIG_As_int(obj2);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 (arg1)->SetYCaretPolicy(arg2,arg3);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 Py_INCREF(Py_None); resultobj = Py_None;
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11173 int arg2 ;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "mode", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11183 arg2 = (int)SWIG_As_int(obj1);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->SetPrintWrapMode(arg2);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11202 int result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = (int)(arg1)->GetPrintWrapMode();
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 resultobj = SWIG_From_int((int)result);
11219 return resultobj;
11220 fail:
11221 return NULL;
11222 }
11223
11224
11225 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11228 bool arg2 ;
11229 wxColour *arg3 = 0 ;
11230 wxColour temp3 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 PyObject * obj2 = 0 ;
11234 char *kwnames[] = {
11235 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
11236 };
11237
11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11241 arg2 = (bool)SWIG_As_bool(obj1);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 {
11244 arg3 = &temp3;
11245 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11246 }
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258 }
11259
11260
11261 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11264 bool arg2 ;
11265 wxColour *arg3 = 0 ;
11266 wxColour temp3 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 PyObject * obj2 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "useSetting",(char *) "back", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11277 arg2 = (bool)SWIG_As_bool(obj1);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 {
11280 arg3 = &temp3;
11281 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11282 }
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11300 bool arg2 ;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "underline", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11310 arg2 = (bool)SWIG_As_bool(obj1);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetHotspotActiveUnderline(arg2);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11329 bool arg2 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "singleLine", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11339 arg2 = (bool)SWIG_As_bool(obj1);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 (arg1)->SetHotspotSingleLine(arg2);
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 Py_INCREF(Py_None); resultobj = Py_None;
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11358 PyObject * obj0 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->ParaDown();
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11383 PyObject * obj0 = 0 ;
11384 char *kwnames[] = {
11385 (char *) "self", NULL
11386 };
11387
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
11389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->ParaDownExtend();
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11408 PyObject * obj0 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "self", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
11414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->ParaUp();
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 Py_INCREF(Py_None); resultobj = Py_None;
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11433 PyObject * obj0 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->ParaUpExtend();
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
11456 PyObject *resultobj;
11457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11458 int arg2 ;
11459 int result;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "pos", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 arg2 = (int)SWIG_As_int(obj1);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)(arg1)->PositionBefore(arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_From_int((int)result);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11488 int arg2 ;
11489 int result;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self",(char *) "pos", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
11497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11499 arg2 = (int)SWIG_As_int(obj1);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (int)(arg1)->PositionAfter(arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = SWIG_From_int((int)result);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11518 int arg2 ;
11519 int arg3 ;
11520 PyObject * obj0 = 0 ;
11521 PyObject * obj1 = 0 ;
11522 PyObject * obj2 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self",(char *) "start",(char *) "end", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11530 arg2 = (int)SWIG_As_int(obj1);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 arg3 = (int)SWIG_As_int(obj2);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 (arg1)->CopyRange(arg2,arg3);
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 Py_INCREF(Py_None); resultobj = Py_None;
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11551 int arg2 ;
11552 wxString *arg3 = 0 ;
11553 bool temp3 = False ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self",(char *) "length",(char *) "text", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11564 arg2 = (int)SWIG_As_int(obj1);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 {
11567 arg3 = wxString_in_helper(obj2);
11568 if (arg3 == NULL) SWIG_fail;
11569 temp3 = True;
11570 }
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 (arg1)->CopyText(arg2,(wxString const &)*arg3);
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 Py_INCREF(Py_None); resultobj = Py_None;
11579 {
11580 if (temp3)
11581 delete arg3;
11582 }
11583 return resultobj;
11584 fail:
11585 {
11586 if (temp3)
11587 delete arg3;
11588 }
11589 return NULL;
11590 }
11591
11592
11593 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11596 int arg2 ;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self",(char *) "mode", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
11604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11606 arg2 = (int)SWIG_As_int(obj1);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 (arg1)->SetSelectionMode(arg2);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 Py_INCREF(Py_None); resultobj = Py_None;
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11625 int result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (int)(arg1)->GetSelectionMode();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 resultobj = SWIG_From_int((int)result);
11642 return resultobj;
11643 fail:
11644 return NULL;
11645 }
11646
11647
11648 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11651 int arg2 ;
11652 int result;
11653 PyObject * obj0 = 0 ;
11654 PyObject * obj1 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self",(char *) "line", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
11660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11662 arg2 = (int)SWIG_As_int(obj1);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (int)(arg1)->GetLineSelStartPosition(arg2);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_From_int((int)result);
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11681 int arg2 ;
11682 int result;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "line", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11692 arg2 = (int)SWIG_As_int(obj1);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (int)(arg1)->GetLineSelEndPosition(arg2);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_From_int((int)result);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
11717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 (arg1)->LineDownRectExtend();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 Py_INCREF(Py_None); resultobj = Py_None;
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11736 PyObject * obj0 = 0 ;
11737 char *kwnames[] = {
11738 (char *) "self", NULL
11739 };
11740
11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
11742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->LineUpRectExtend();
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 (arg1)->CharLeftRectExtend();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 Py_INCREF(Py_None); resultobj = Py_None;
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->CharRightRectExtend();
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11811 PyObject * obj0 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 (arg1)->HomeRectExtend();
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 (arg1)->VCHomeRectExtend();
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 Py_INCREF(Py_None); resultobj = Py_None;
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11861 PyObject * obj0 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "self", NULL
11864 };
11865
11866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
11867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11869 {
11870 PyThreadState* __tstate = wxPyBeginAllowThreads();
11871 (arg1)->LineEndRectExtend();
11872
11873 wxPyEndAllowThreads(__tstate);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 Py_INCREF(Py_None); resultobj = Py_None;
11877 return resultobj;
11878 fail:
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->PageUpRectExtend();
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 Py_INCREF(Py_None); resultobj = Py_None;
11902 return resultobj;
11903 fail:
11904 return NULL;
11905 }
11906
11907
11908 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11911 PyObject * obj0 = 0 ;
11912 char *kwnames[] = {
11913 (char *) "self", NULL
11914 };
11915
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
11917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 (arg1)->PageDownRectExtend();
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 Py_INCREF(Py_None); resultobj = Py_None;
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->StutteredPageUp();
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 Py_INCREF(Py_None); resultobj = Py_None;
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11961 PyObject * obj0 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "self", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
11967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 (arg1)->StutteredPageUpExtend();
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 Py_INCREF(Py_None); resultobj = Py_None;
11977 return resultobj;
11978 fail:
11979 return NULL;
11980 }
11981
11982
11983 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
11984 PyObject *resultobj;
11985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11986 PyObject * obj0 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self", NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
11992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 (arg1)->StutteredPageDown();
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 Py_INCREF(Py_None); resultobj = Py_None;
12002 return resultobj;
12003 fail:
12004 return NULL;
12005 }
12006
12007
12008 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj;
12010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12011 PyObject * obj0 = 0 ;
12012 char *kwnames[] = {
12013 (char *) "self", NULL
12014 };
12015
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
12017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->StutteredPageDownExtend();
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 Py_INCREF(Py_None); resultobj = Py_None;
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 (arg1)->WordLeftEnd();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 Py_INCREF(Py_None); resultobj = Py_None;
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12061 PyObject * obj0 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->WordLeftEndExtend();
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 return resultobj;
12078 fail:
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 (arg1)->WordRightEnd();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 Py_INCREF(Py_None); resultobj = Py_None;
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->WordRightEndExtend();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12136 wxString *arg2 = 0 ;
12137 bool temp2 = False ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "characters", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
12145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12147 {
12148 arg2 = wxString_in_helper(obj1);
12149 if (arg2 == NULL) SWIG_fail;
12150 temp2 = True;
12151 }
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 Py_INCREF(Py_None); resultobj = Py_None;
12160 {
12161 if (temp2)
12162 delete arg2;
12163 }
12164 return resultobj;
12165 fail:
12166 {
12167 if (temp2)
12168 delete arg2;
12169 }
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12177 PyObject * obj0 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 (arg1)->SetCharsDefault();
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 Py_INCREF(Py_None); resultobj = Py_None;
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12202 int result;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = (int)(arg1)->AutoCompGetCurrent();
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = SWIG_From_int((int)result);
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj;
12227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12228 PyObject * obj0 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
12234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 (arg1)->StartRecord();
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 Py_INCREF(Py_None); resultobj = Py_None;
12244 return resultobj;
12245 fail:
12246 return NULL;
12247 }
12248
12249
12250 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "self", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
12259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 (arg1)->StopRecord();
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 Py_INCREF(Py_None); resultobj = Py_None;
12269 return resultobj;
12270 fail:
12271 return NULL;
12272 }
12273
12274
12275 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12278 int arg2 ;
12279 PyObject * obj0 = 0 ;
12280 PyObject * obj1 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self",(char *) "lexer", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
12286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12288 arg2 = (int)SWIG_As_int(obj1);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 (arg1)->SetLexer(arg2);
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 Py_INCREF(Py_None); resultobj = Py_None;
12298 return resultobj;
12299 fail:
12300 return NULL;
12301 }
12302
12303
12304 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
12305 PyObject *resultobj;
12306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12307 int result;
12308 PyObject * obj0 = 0 ;
12309 char *kwnames[] = {
12310 (char *) "self", NULL
12311 };
12312
12313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
12314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (int)(arg1)->GetLexer();
12319
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_From_int((int)result);
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12333 int arg2 ;
12334 int arg3 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 PyObject * obj2 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self",(char *) "start",(char *) "end", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12345 arg2 = (int)SWIG_As_int(obj1);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 arg3 = (int)SWIG_As_int(obj2);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->Colourise(arg2,arg3);
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 Py_INCREF(Py_None); resultobj = Py_None;
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12366 wxString *arg2 = 0 ;
12367 wxString *arg3 = 0 ;
12368 bool temp2 = False ;
12369 bool temp3 = False ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 char *kwnames[] = {
12374 (char *) "self",(char *) "key",(char *) "value", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
12378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12380 {
12381 arg2 = wxString_in_helper(obj1);
12382 if (arg2 == NULL) SWIG_fail;
12383 temp2 = True;
12384 }
12385 {
12386 arg3 = wxString_in_helper(obj2);
12387 if (arg3 == NULL) SWIG_fail;
12388 temp3 = True;
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 {
12399 if (temp2)
12400 delete arg2;
12401 }
12402 {
12403 if (temp3)
12404 delete arg3;
12405 }
12406 return resultobj;
12407 fail:
12408 {
12409 if (temp2)
12410 delete arg2;
12411 }
12412 {
12413 if (temp3)
12414 delete arg3;
12415 }
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12423 int arg2 ;
12424 wxString *arg3 = 0 ;
12425 bool temp3 = False ;
12426 PyObject * obj0 = 0 ;
12427 PyObject * obj1 = 0 ;
12428 PyObject * obj2 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12436 arg2 = (int)SWIG_As_int(obj1);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 {
12439 arg3 = wxString_in_helper(obj2);
12440 if (arg3 == NULL) SWIG_fail;
12441 temp3 = True;
12442 }
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 Py_INCREF(Py_None); resultobj = Py_None;
12451 {
12452 if (temp3)
12453 delete arg3;
12454 }
12455 return resultobj;
12456 fail:
12457 {
12458 if (temp3)
12459 delete arg3;
12460 }
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12468 wxString *arg2 = 0 ;
12469 bool temp2 = False ;
12470 PyObject * obj0 = 0 ;
12471 PyObject * obj1 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self",(char *) "language", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12479 {
12480 arg2 = wxString_in_helper(obj1);
12481 if (arg2 == NULL) SWIG_fail;
12482 temp2 = True;
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 (arg1)->SetLexerLanguage((wxString const &)*arg2);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 Py_INCREF(Py_None); resultobj = Py_None;
12492 {
12493 if (temp2)
12494 delete arg2;
12495 }
12496 return resultobj;
12497 fail:
12498 {
12499 if (temp2)
12500 delete arg2;
12501 }
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12509 int result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 result = (int)(arg1)->GetCurrentLine();
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 resultobj = SWIG_From_int((int)result);
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12535 int arg2 ;
12536 wxString *arg3 = 0 ;
12537 bool temp3 = False ;
12538 PyObject * obj0 = 0 ;
12539 PyObject * obj1 = 0 ;
12540 PyObject * obj2 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
12546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12548 arg2 = (int)SWIG_As_int(obj1);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 {
12551 arg3 = wxString_in_helper(obj2);
12552 if (arg3 == NULL) SWIG_fail;
12553 temp3 = True;
12554 }
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 Py_INCREF(Py_None); resultobj = Py_None;
12563 {
12564 if (temp3)
12565 delete arg3;
12566 }
12567 return resultobj;
12568 fail:
12569 {
12570 if (temp3)
12571 delete arg3;
12572 }
12573 return NULL;
12574 }
12575
12576
12577 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12580 int arg2 ;
12581 wxFont *arg3 = 0 ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "styleNum",(char *) "font", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12592 arg2 = (int)SWIG_As_int(obj1);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
12595 SWIG_POINTER_EXCEPTION | 0)) == -1)
12596 SWIG_fail;
12597 if (arg3 == NULL) {
12598 PyErr_SetString(PyExc_TypeError,"null reference");
12599 SWIG_fail;
12600 }
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 (arg1)->StyleSetFont(arg2,*arg3);
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_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12618 int arg2 ;
12619 int arg3 ;
12620 wxString *arg4 = 0 ;
12621 bool arg5 ;
12622 bool arg6 ;
12623 bool arg7 ;
12624 bool temp4 = False ;
12625 PyObject * obj0 = 0 ;
12626 PyObject * obj1 = 0 ;
12627 PyObject * obj2 = 0 ;
12628 PyObject * obj3 = 0 ;
12629 PyObject * obj4 = 0 ;
12630 PyObject * obj5 = 0 ;
12631 PyObject * obj6 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12639 arg2 = (int)SWIG_As_int(obj1);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 arg3 = (int)SWIG_As_int(obj2);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 {
12644 arg4 = wxString_in_helper(obj3);
12645 if (arg4 == NULL) SWIG_fail;
12646 temp4 = True;
12647 }
12648 arg5 = (bool)SWIG_As_bool(obj4);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 arg6 = (bool)SWIG_As_bool(obj5);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 arg7 = (bool)SWIG_As_bool(obj6);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 Py_INCREF(Py_None); resultobj = Py_None;
12662 {
12663 if (temp4)
12664 delete arg4;
12665 }
12666 return resultobj;
12667 fail:
12668 {
12669 if (temp4)
12670 delete arg4;
12671 }
12672 return NULL;
12673 }
12674
12675
12676 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
12677 PyObject *resultobj;
12678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12679 int arg2 ;
12680 PyObject * obj0 = 0 ;
12681 PyObject * obj1 = 0 ;
12682 char *kwnames[] = {
12683 (char *) "self",(char *) "cmd", NULL
12684 };
12685
12686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
12687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12689 arg2 = (int)SWIG_As_int(obj1);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
12693 (arg1)->CmdKeyExecute(arg2);
12694
12695 wxPyEndAllowThreads(__tstate);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
12698 Py_INCREF(Py_None); resultobj = Py_None;
12699 return resultobj;
12700 fail:
12701 return NULL;
12702 }
12703
12704
12705 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12706 PyObject *resultobj;
12707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12708 int arg2 ;
12709 int arg3 ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 PyObject * obj2 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self",(char *) "left",(char *) "right", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12720 arg2 = (int)SWIG_As_int(obj1);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 arg3 = (int)SWIG_As_int(obj2);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 (arg1)->SetMargins(arg2,arg3);
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 Py_INCREF(Py_None); resultobj = Py_None;
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12741 int *arg2 = (int *) 0 ;
12742 int *arg3 = (int *) 0 ;
12743 int temp2 ;
12744 int res2 = 0 ;
12745 int temp3 ;
12746 int res3 = 0 ;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12753 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
12755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 (arg1)->GetSelection(arg2,arg3);
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 Py_INCREF(Py_None); resultobj = Py_None;
12765 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12766 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12767 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12768 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
12769 return resultobj;
12770 fail:
12771 return NULL;
12772 }
12773
12774
12775 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12778 int arg2 ;
12779 wxPoint result;
12780 PyObject * obj0 = 0 ;
12781 PyObject * obj1 = 0 ;
12782 char *kwnames[] = {
12783 (char *) "self",(char *) "pos", NULL
12784 };
12785
12786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
12787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12789 arg2 = (int)SWIG_As_int(obj1);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 {
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 result = (arg1)->PointFromPosition(arg2);
12794
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 {
12799 wxPoint * resultptr;
12800 resultptr = new wxPoint((wxPoint &) result);
12801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12802 }
12803 return resultobj;
12804 fail:
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12812 int arg2 ;
12813 PyObject * obj0 = 0 ;
12814 PyObject * obj1 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "line", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
12820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12822 arg2 = (int)SWIG_As_int(obj1);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 (arg1)->ScrollToLine(arg2);
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 Py_INCREF(Py_None); resultobj = Py_None;
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12841 int arg2 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self",(char *) "column", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12851 arg2 = (int)SWIG_As_int(obj1);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 (arg1)->ScrollToColumn(arg2);
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 Py_INCREF(Py_None); resultobj = Py_None;
12861 return resultobj;
12862 fail:
12863 return NULL;
12864 }
12865
12866
12867 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12870 int arg2 ;
12871 long arg3 = (long) 0 ;
12872 long arg4 = (long) 0 ;
12873 long result;
12874 PyObject * obj0 = 0 ;
12875 PyObject * obj1 = 0 ;
12876 PyObject * obj2 = 0 ;
12877 PyObject * obj3 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12885 arg2 = (int)SWIG_As_int(obj1);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 if (obj2) {
12888 arg3 = (long)SWIG_As_long(obj2);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 if (obj3) {
12892 arg4 = (long)SWIG_As_long(obj3);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 resultobj = SWIG_From_long((long)result);
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12912 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12913 PyObject * obj0 = 0 ;
12914 PyObject * obj1 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "self",(char *) "bar", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
12920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 (arg1)->SetVScrollBar(arg2);
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 Py_INCREF(Py_None); resultobj = Py_None;
12932 return resultobj;
12933 fail:
12934 return NULL;
12935 }
12936
12937
12938 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12939 PyObject *resultobj;
12940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12941 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12942 PyObject * obj0 = 0 ;
12943 PyObject * obj1 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self",(char *) "bar", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 (arg1)->SetHScrollBar(arg2);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 Py_INCREF(Py_None); resultobj = Py_None;
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12970 bool result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (bool)(arg1)->GetLastKeydownProcessed();
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12988 }
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12998 bool arg2 ;
12999 PyObject * obj0 = 0 ;
13000 PyObject * obj1 = 0 ;
13001 char *kwnames[] = {
13002 (char *) "self",(char *) "val", NULL
13003 };
13004
13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
13006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13008 arg2 = (bool)SWIG_As_bool(obj1);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 (arg1)->SetLastKeydownProcessed(arg2);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 Py_INCREF(Py_None); resultobj = Py_None;
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13027 wxString *arg2 = 0 ;
13028 bool result;
13029 bool temp2 = False ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self",(char *) "filename", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13039 {
13040 arg2 = wxString_in_helper(obj1);
13041 if (arg2 == NULL) SWIG_fail;
13042 temp2 = True;
13043 }
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
13047
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 {
13052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13053 }
13054 {
13055 if (temp2)
13056 delete arg2;
13057 }
13058 return resultobj;
13059 fail:
13060 {
13061 if (temp2)
13062 delete arg2;
13063 }
13064 return NULL;
13065 }
13066
13067
13068 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13071 wxString *arg2 = 0 ;
13072 bool result;
13073 bool temp2 = False ;
13074 PyObject * obj0 = 0 ;
13075 PyObject * obj1 = 0 ;
13076 char *kwnames[] = {
13077 (char *) "self",(char *) "filename", NULL
13078 };
13079
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13083 {
13084 arg2 = wxString_in_helper(obj1);
13085 if (arg2 == NULL) SWIG_fail;
13086 temp2 = True;
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 {
13096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13097 }
13098 {
13099 if (temp2)
13100 delete arg2;
13101 }
13102 return resultobj;
13103 fail:
13104 {
13105 if (temp2)
13106 delete arg2;
13107 }
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13115 int arg2 ;
13116 int arg3 ;
13117 int arg4 ;
13118 int result;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 PyObject * obj2 = 0 ;
13122 PyObject * obj3 = 0 ;
13123 char *kwnames[] = {
13124 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
13125 };
13126
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13130 arg2 = (int)SWIG_As_int(obj1);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 arg3 = (int)SWIG_As_int(obj2);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 arg4 = (int)SWIG_As_int(obj3);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 resultobj = SWIG_From_int((int)result);
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13153 long arg2 ;
13154 long arg3 ;
13155 wxString *arg4 = 0 ;
13156 bool result;
13157 bool temp4 = False ;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 PyObject * obj2 = 0 ;
13161 PyObject * obj3 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13169 arg2 = (long)SWIG_As_long(obj1);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 arg3 = (long)SWIG_As_long(obj2);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 {
13174 arg4 = wxString_in_helper(obj3);
13175 if (arg4 == NULL) SWIG_fail;
13176 temp4 = True;
13177 }
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 {
13186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13187 }
13188 {
13189 if (temp4)
13190 delete arg4;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp4)
13196 delete arg4;
13197 }
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13205 bool arg2 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "useAA", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13215 arg2 = (bool)SWIG_As_bool(obj1);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 {
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 (arg1)->SetUseAntiAliasing(arg2);
13220
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 Py_INCREF(Py_None); resultobj = Py_None;
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13234 bool result;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (bool)(arg1)->GetUseAntiAliasing();
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265 }
13266 static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxEventType arg1 = (wxEventType) 0 ;
13269 int arg2 = (int) 0 ;
13270 wxStyledTextEvent *result;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "commandType",(char *) "id", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
13278 if (obj0) {
13279 arg1 = (wxEventType)SWIG_As_int(obj0);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 if (obj1) {
13283 arg2 = (int)SWIG_As_int(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13303 PyObject * obj0 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 delete arg1;
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 Py_INCREF(Py_None); resultobj = Py_None;
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13328 int arg2 ;
13329 PyObject * obj0 = 0 ;
13330 PyObject * obj1 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "self",(char *) "pos", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13338 arg2 = (int)SWIG_As_int(obj1);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 (arg1)->SetPosition(arg2);
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 Py_INCREF(Py_None); resultobj = Py_None;
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
13356 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13357 int arg2 ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "k", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13367 arg2 = (int)SWIG_As_int(obj1);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 (arg1)->SetKey(arg2);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 Py_INCREF(Py_None); resultobj = Py_None;
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13386 int arg2 ;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self",(char *) "m", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 arg2 = (int)SWIG_As_int(obj1);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetModifiers(arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 Py_INCREF(Py_None); resultobj = Py_None;
13406 return resultobj;
13407 fail:
13408 return NULL;
13409 }
13410
13411
13412 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13415 int arg2 ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "self",(char *) "t", NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
13423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13425 arg2 = (int)SWIG_As_int(obj1);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 (arg1)->SetModificationType(arg2);
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 Py_INCREF(Py_None); resultobj = Py_None;
13435 return resultobj;
13436 fail:
13437 return NULL;
13438 }
13439
13440
13441 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
13442 PyObject *resultobj;
13443 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13444 wxString *arg2 = 0 ;
13445 bool temp2 = False ;
13446 PyObject * obj0 = 0 ;
13447 PyObject * obj1 = 0 ;
13448 char *kwnames[] = {
13449 (char *) "self",(char *) "t", NULL
13450 };
13451
13452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
13453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13455 {
13456 arg2 = wxString_in_helper(obj1);
13457 if (arg2 == NULL) SWIG_fail;
13458 temp2 = True;
13459 }
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->SetText((wxString const &)*arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
13468 {
13469 if (temp2)
13470 delete arg2;
13471 }
13472 return resultobj;
13473 fail:
13474 {
13475 if (temp2)
13476 delete arg2;
13477 }
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13485 int arg2 ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self",(char *) "len", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13495 arg2 = (int)SWIG_As_int(obj1);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 (arg1)->SetLength(arg2);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 Py_INCREF(Py_None); resultobj = Py_None;
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13514 int arg2 ;
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self",(char *) "num", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
13522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13524 arg2 = (int)SWIG_As_int(obj1);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 (arg1)->SetLinesAdded(arg2);
13529
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 }
13533 Py_INCREF(Py_None); resultobj = Py_None;
13534 return resultobj;
13535 fail:
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj;
13542 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13543 int arg2 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "val", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13553 arg2 = (int)SWIG_As_int(obj1);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 (arg1)->SetLine(arg2);
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 Py_INCREF(Py_None); resultobj = Py_None;
13563 return resultobj;
13564 fail:
13565 return NULL;
13566 }
13567
13568
13569 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13572 int arg2 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self",(char *) "val", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
13580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13582 arg2 = (int)SWIG_As_int(obj1);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetFoldLevelNow(arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13601 int arg2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "val", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13611 arg2 = (int)SWIG_As_int(obj1);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 (arg1)->SetFoldLevelPrev(arg2);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 Py_INCREF(Py_None); resultobj = Py_None;
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13630 int arg2 ;
13631 PyObject * obj0 = 0 ;
13632 PyObject * obj1 = 0 ;
13633 char *kwnames[] = {
13634 (char *) "self",(char *) "val", NULL
13635 };
13636
13637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
13638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13640 arg2 = (int)SWIG_As_int(obj1);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 (arg1)->SetMargin(arg2);
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 Py_INCREF(Py_None); resultobj = Py_None;
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13659 int arg2 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self",(char *) "val", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 arg2 = (int)SWIG_As_int(obj1);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 (arg1)->SetMessage(arg2);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 Py_INCREF(Py_None); resultobj = Py_None;
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13688 int arg2 ;
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "val", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13698 arg2 = (int)SWIG_As_int(obj1);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->SetWParam(arg2);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13717 int arg2 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "val", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 arg2 = (int)SWIG_As_int(obj1);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetLParam(arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13746 int arg2 ;
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_SetListType",kwnames,&obj0,&obj1)) goto fail;
13754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13756 arg2 = (int)SWIG_As_int(obj1);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 (arg1)->SetListType(arg2);
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 Py_INCREF(Py_None); resultobj = Py_None;
13766 return resultobj;
13767 fail:
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13775 int arg2 ;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "val", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13785 arg2 = (int)SWIG_As_int(obj1);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 (arg1)->SetX(arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 Py_INCREF(Py_None); resultobj = Py_None;
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13804 int arg2 ;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self",(char *) "val", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 arg2 = (int)SWIG_As_int(obj1);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->SetY(arg2);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 Py_INCREF(Py_None); resultobj = Py_None;
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13833 wxString *arg2 = 0 ;
13834 bool temp2 = False ;
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "self",(char *) "val", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
13842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13844 {
13845 arg2 = wxString_in_helper(obj1);
13846 if (arg2 == NULL) SWIG_fail;
13847 temp2 = True;
13848 }
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 (arg1)->SetDragText((wxString const &)*arg2);
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 Py_INCREF(Py_None); resultobj = Py_None;
13857 {
13858 if (temp2)
13859 delete arg2;
13860 }
13861 return resultobj;
13862 fail:
13863 {
13864 if (temp2)
13865 delete arg2;
13866 }
13867 return NULL;
13868 }
13869
13870
13871 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
13872 PyObject *resultobj;
13873 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13874 bool arg2 ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self",(char *) "val", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 arg2 = (bool)SWIG_As_bool(obj1);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->SetDragAllowMove(arg2);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13903 int arg2 ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self",(char *) "val", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 arg2 = (int)SWIG_As_int(obj1);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 (arg1)->SetDragResult((wxDragResult )arg2);
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 Py_INCREF(Py_None); resultobj = Py_None;
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13932 int result;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13941 {
13942 PyThreadState* __tstate = wxPyBeginAllowThreads();
13943 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
13944
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 resultobj = SWIG_From_int((int)result);
13949 return resultobj;
13950 fail:
13951 return NULL;
13952 }
13953
13954
13955 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj;
13957 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13958 int result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 resultobj = SWIG_From_int((int)result);
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj;
13983 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13984 int result;
13985 PyObject * obj0 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
13991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 resultobj = SWIG_From_int((int)result);
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14010 int result;
14011 PyObject * obj0 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "self", NULL
14014 };
14015
14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
14017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 resultobj = SWIG_From_int((int)result);
14027 return resultobj;
14028 fail:
14029 return NULL;
14030 }
14031
14032
14033 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14036 wxString result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
14043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = ((wxStyledTextEvent const *)arg1)->GetText();
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 #if wxUSE_UNICODE
14054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14055 #else
14056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14057 #endif
14058 }
14059 return resultobj;
14060 fail:
14061 return NULL;
14062 }
14063
14064
14065 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj;
14067 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14068 int result;
14069 PyObject * obj0 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
14075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 resultobj = SWIG_From_int((int)result);
14085 return resultobj;
14086 fail:
14087 return NULL;
14088 }
14089
14090
14091 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj;
14093 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14094 int result;
14095 PyObject * obj0 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
14106
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 resultobj = SWIG_From_int((int)result);
14111 return resultobj;
14112 fail:
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj;
14119 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14120 int result;
14121 PyObject * obj0 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = SWIG_From_int((int)result);
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14146 int result;
14147 PyObject * obj0 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = SWIG_From_int((int)result);
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14172 int result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_From_int((int)result);
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj;
14197 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14198 int result;
14199 PyObject * obj0 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
14205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 resultobj = SWIG_From_int((int)result);
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14224 int result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_From_int((int)result);
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14250 int result;
14251 PyObject * obj0 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
14257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 resultobj = SWIG_From_int((int)result);
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14276 int result;
14277 PyObject * obj0 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "self", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
14283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
14288
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 resultobj = SWIG_From_int((int)result);
14293 return resultobj;
14294 fail:
14295 return NULL;
14296 }
14297
14298
14299 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj;
14301 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14302 int result;
14303 PyObject * obj0 = 0 ;
14304 char *kwnames[] = {
14305 (char *) "self", NULL
14306 };
14307
14308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
14309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 resultobj = SWIG_From_int((int)result);
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj;
14327 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14328 int result;
14329 PyObject * obj0 = 0 ;
14330 char *kwnames[] = {
14331 (char *) "self", NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
14335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 resultobj = SWIG_From_int((int)result);
14345 return resultobj;
14346 fail:
14347 return NULL;
14348 }
14349
14350
14351 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj;
14353 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14354 int result;
14355 PyObject * obj0 = 0 ;
14356 char *kwnames[] = {
14357 (char *) "self", NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
14361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 resultobj = SWIG_From_int((int)result);
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14380 wxString result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
14387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (arg1)->GetDragText();
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
14397 #if wxUSE_UNICODE
14398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14399 #else
14400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14401 #endif
14402 }
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14412 bool result;
14413 PyObject * obj0 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (bool)(arg1)->GetDragAllowMove();
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 {
14429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14430 }
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14440 int result;
14441 PyObject * obj0 = 0 ;
14442 char *kwnames[] = {
14443 (char *) "self", NULL
14444 };
14445
14446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
14447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = (int)(arg1)->GetDragResult();
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = SWIG_From_int((int)result);
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
14464 PyObject *resultobj;
14465 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14466 bool result;
14467 PyObject * obj0 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
14473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 {
14483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14484 }
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14494 bool result;
14495 PyObject * obj0 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "self", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
14501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 {
14511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14512 }
14513 return resultobj;
14514 fail:
14515 return NULL;
14516 }
14517
14518
14519 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj;
14521 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14522 bool result;
14523 PyObject * obj0 = 0 ;
14524 char *kwnames[] = {
14525 (char *) "self", NULL
14526 };
14527
14528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
14529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14540 }
14541 return resultobj;
14542 fail:
14543 return NULL;
14544 }
14545
14546
14547 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj;
14549 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14550 wxEvent *result;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
14574 PyObject *obj;
14575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14576 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
14577 Py_INCREF(obj);
14578 return Py_BuildValue((char *)"");
14579 }
14580 static PyMethodDef SwigMethods[] = {
14581 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
14582 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
14583 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
14584 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL },
14585 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL },
14586 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL },
14587 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
14588 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL },
14589 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL },
14590 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL },
14591 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL },
14592 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
14593 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL },
14594 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
14595 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL },
14596 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
14597 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL },
14598 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL },
14599 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
14600 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL },
14601 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL },
14602 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL },
14603 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL },
14604 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL },
14605 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
14606 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL },
14607 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL },
14608 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL },
14609 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
14610 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL },
14611 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL },
14612 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL },
14613 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL },
14614 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL },
14615 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL },
14616 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL },
14617 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL },
14618 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL },
14619 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14620 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14621 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL },
14622 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL },
14623 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14624 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14625 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL },
14626 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL },
14627 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
14628 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL },
14629 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL },
14630 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
14631 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
14632 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL },
14633 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL },
14634 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14635 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14636 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL },
14637 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL },
14638 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL },
14639 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL },
14640 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
14641 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14642 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14643 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL },
14644 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL },
14645 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
14646 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
14647 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL },
14648 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
14649 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL },
14650 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL },
14651 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL },
14652 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL },
14653 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14654 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14655 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14656 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL },
14657 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL },
14658 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
14659 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL },
14660 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14661 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL },
14662 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL },
14663 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL },
14664 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL },
14665 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL },
14666 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
14667 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
14668 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14669 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14670 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14671 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14672 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL },
14673 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL },
14674 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL },
14675 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL },
14676 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL },
14677 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14678 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14679 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL },
14680 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL },
14681 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL },
14682 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL },
14683 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL },
14684 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL },
14685 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL },
14686 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL },
14687 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL },
14688 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
14689 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
14690 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL },
14691 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL },
14692 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL },
14693 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL },
14694 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL },
14695 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL },
14696 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL },
14697 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL },
14698 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL },
14699 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL },
14700 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL },
14701 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL },
14702 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL },
14703 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL },
14704 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL },
14705 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
14706 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
14707 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
14708 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
14709 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL },
14710 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL },
14711 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL },
14712 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL },
14713 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14714 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
14715 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14716 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14717 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL },
14718 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL },
14719 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL },
14720 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL },
14721 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14722 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL },
14723 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14724 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
14725 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL },
14726 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL },
14727 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL },
14728 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14729 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14730 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL },
14731 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL },
14732 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL },
14733 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL },
14734 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL },
14735 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL },
14736 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
14737 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL },
14738 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
14739 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14740 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14741 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL },
14742 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL },
14743 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL },
14744 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
14745 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL },
14746 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL },
14747 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL },
14748 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14749 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL },
14750 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL },
14751 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14752 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
14753 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
14754 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
14755 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
14756 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
14757 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
14758 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
14759 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
14760 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
14761 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
14762 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
14763 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
14764 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
14765 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL },
14766 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL },
14767 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14768 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14769 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL },
14770 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL },
14771 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14772 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14773 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL },
14774 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL },
14775 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL },
14776 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL },
14777 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL },
14778 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL },
14779 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL },
14780 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL },
14781 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL },
14782 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
14783 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14784 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14785 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
14786 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL },
14787 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14788 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL },
14789 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL },
14790 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
14791 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL },
14792 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL },
14793 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL },
14794 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14795 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
14796 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
14797 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL },
14798 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
14799 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL },
14800 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL },
14801 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL },
14802 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL },
14803 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL },
14804 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL },
14805 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL },
14806 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL },
14807 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14808 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14809 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
14810 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
14811 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL },
14812 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL },
14813 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14814 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14815 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL },
14816 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL },
14817 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL },
14818 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL },
14819 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14820 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14821 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
14822 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL },
14823 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL },
14824 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL },
14825 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL },
14826 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL },
14827 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL },
14828 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL },
14829 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
14830 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14831 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
14832 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14833 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14834 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14835 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL },
14836 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14837 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14838 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14839 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL },
14840 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14841 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL },
14842 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14843 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14844 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14845 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL },
14846 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14847 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14848 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14849 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
14850 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14851 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
14852 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14853 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL },
14854 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL },
14855 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL },
14856 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL },
14857 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL },
14858 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL },
14859 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL },
14860 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL },
14861 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14862 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL },
14863 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL },
14864 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14865 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL },
14866 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL },
14867 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL },
14868 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL },
14869 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL },
14870 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL },
14871 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL },
14872 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL },
14873 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL },
14874 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL },
14875 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
14876 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14877 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
14878 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14879 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL },
14880 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14881 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL },
14882 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14883 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL },
14884 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14885 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL },
14886 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL },
14887 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL },
14888 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
14889 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL },
14890 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL },
14891 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL },
14892 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL },
14893 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL },
14894 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL },
14895 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL },
14896 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL },
14897 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL },
14898 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL },
14899 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL },
14900 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL },
14901 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL },
14902 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
14903 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL },
14904 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL },
14905 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
14906 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL },
14907 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
14908 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
14909 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
14910 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL },
14911 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL },
14912 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL },
14913 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL },
14914 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL },
14915 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL },
14916 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL },
14917 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL },
14918 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL },
14919 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL },
14920 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL },
14921 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL },
14922 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL },
14923 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL },
14924 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14925 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14926 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL },
14927 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14928 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL },
14929 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL },
14930 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL },
14931 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL },
14932 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL },
14933 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL },
14934 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL },
14935 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL },
14936 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
14937 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL },
14938 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL },
14939 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL },
14940 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL },
14941 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
14942 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL },
14943 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14944 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL },
14945 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14946 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL },
14947 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL },
14948 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL },
14949 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL },
14950 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
14951 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
14952 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14953 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14954 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14955 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14956 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14957 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14958 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14959 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14960 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14961 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14962 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14963 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL },
14964 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14965 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL },
14966 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14967 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14968 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14969 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL },
14970 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL },
14971 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL },
14972 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
14973 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
14974 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL },
14975 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL },
14976 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL },
14977 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL },
14978 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL },
14979 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL },
14980 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL },
14981 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
14982 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL },
14983 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL },
14984 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL },
14985 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL },
14986 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL },
14987 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
14988 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
14989 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL },
14990 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
14991 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL },
14992 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL },
14993 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14994 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
14995 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL },
14996 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL },
14997 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
14998 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
14999 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
15000 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL },
15001 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
15002 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
15003 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL },
15004 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL },
15005 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL },
15006 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
15007 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL },
15008 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
15009 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL },
15010 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
15011 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL },
15012 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL },
15013 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL },
15014 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL },
15015 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL },
15016 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
15017 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
15018 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL },
15019 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL },
15020 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL },
15021 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
15022 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
15023 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL },
15024 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL },
15025 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL },
15026 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
15027 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL },
15028 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
15029 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL },
15030 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
15031 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL },
15032 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL },
15033 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL },
15034 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL },
15035 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL },
15036 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
15037 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
15038 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL },
15039 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL },
15040 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL },
15041 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
15042 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
15043 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL },
15044 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL },
15045 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL },
15046 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL },
15047 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
15048 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL },
15049 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15050 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL },
15051 { NULL, NULL, 0, NULL }
15052 };
15053
15054
15055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15056
15057 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15058 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
15059 }
15060 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15061 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
15062 }
15063 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15064 return (void *)((wxObject *) ((wxSizerItem *) x));
15065 }
15066 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15067 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
15068 }
15069 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15070 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
15071 }
15072 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15073 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
15074 }
15075 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15076 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
15077 }
15078 static void *_p_wxSizerTo_p_wxObject(void *x) {
15079 return (void *)((wxObject *) ((wxSizer *) x));
15080 }
15081 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15082 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15083 }
15084 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
15085 return (void *)((wxObject *) ((wxFileHistory *) x));
15086 }
15087 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15089 }
15090 static void *_p_wxEventTo_p_wxObject(void *x) {
15091 return (void *)((wxObject *) ((wxEvent *) x));
15092 }
15093 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15094 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15095 }
15096 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15097 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15098 }
15099 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15100 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15101 }
15102 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15103 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15104 }
15105 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15106 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15107 }
15108 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
15109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
15110 }
15111 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15112 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15113 }
15114 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15115 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15116 }
15117 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15118 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15119 }
15120 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15121 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15122 }
15123 static void *_p_wxControlTo_p_wxObject(void *x) {
15124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15125 }
15126 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15127 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15128 }
15129 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
15130 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
15131 }
15132 static void *_p_wxFSFileTo_p_wxObject(void *x) {
15133 return (void *)((wxObject *) ((wxFSFile *) x));
15134 }
15135 static void *_p_wxClipboardTo_p_wxObject(void *x) {
15136 return (void *)((wxObject *) ((wxClipboard *) x));
15137 }
15138 static void *_p_wxPySizerTo_p_wxObject(void *x) {
15139 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15140 }
15141 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
15142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15143 }
15144 static void *_p_wxPyEventTo_p_wxObject(void *x) {
15145 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15146 }
15147 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15149 }
15150 static void *_p_wxShowEventTo_p_wxObject(void *x) {
15151 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15152 }
15153 static void *_p_wxToolTipTo_p_wxObject(void *x) {
15154 return (void *)((wxObject *) ((wxToolTip *) x));
15155 }
15156 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15157 return (void *)((wxObject *) ((wxMenuItem *) x));
15158 }
15159 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15160 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15161 }
15162 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15164 }
15165 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15166 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15167 }
15168 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15169 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15170 }
15171 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15172 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15173 }
15174 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15175 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15176 }
15177 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15178 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15179 }
15180 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15181 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15182 }
15183 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15184 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15185 }
15186 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15187 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15188 }
15189 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15190 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15191 }
15192 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15193 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15194 }
15195 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15196 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15197 }
15198 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15199 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15200 }
15201 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15202 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15203 }
15204 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15205 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15206 }
15207 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15208 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15209 }
15210 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15211 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15212 }
15213 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15214 return (void *)((wxObject *) ((wxImageHandler *) x));
15215 }
15216 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15217 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15218 }
15219 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15220 return (void *)((wxObject *) ((wxEvtHandler *) x));
15221 }
15222 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15223 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15224 }
15225 static void *_p_wxImageTo_p_wxObject(void *x) {
15226 return (void *)((wxObject *) ((wxImage *) x));
15227 }
15228 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15229 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15230 }
15231 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
15232 return (void *)((wxObject *) ((wxSystemOptions *) x));
15233 }
15234 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
15235 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
15236 }
15237 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15239 }
15240 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15241 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15242 }
15243 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15244 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15245 }
15246 static void *_p_wxWindowTo_p_wxObject(void *x) {
15247 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15248 }
15249 static void *_p_wxMenuTo_p_wxObject(void *x) {
15250 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15251 }
15252 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15254 }
15255 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
15256 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
15257 }
15258 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15259 return (void *)((wxObject *) ((wxFileSystem *) x));
15260 }
15261 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15263 }
15264 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15265 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15266 }
15267 static void *_p_wxPyAppTo_p_wxObject(void *x) {
15268 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15269 }
15270 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15271 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15272 }
15273 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15274 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15275 }
15276 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15277 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15278 }
15279 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
15280 return (void *)((wxObject *) ((wxBusyInfo *) x));
15281 }
15282 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15284 }
15285 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15286 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15287 }
15288 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15289 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15290 }
15291 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15292 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15293 }
15294 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15296 }
15297 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
15298 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
15299 }
15300 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15302 }
15303 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15304 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15305 }
15306 static void *_p_wxValidatorTo_p_wxObject(void *x) {
15307 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15308 }
15309 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
15310 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
15311 }
15312 static void *_p_wxControlTo_p_wxWindow(void *x) {
15313 return (void *)((wxWindow *) ((wxControl *) x));
15314 }
15315 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15316 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15317 }
15318 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
15319 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
15320 }
15321 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15322 return (void *)((wxWindow *) ((wxMenuBar *) x));
15323 }
15324 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15325 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15326 }
15327 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15328 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15329 }
15330 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15331 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15332 }
15333 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15334 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15335 }
15336 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
15337 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
15338 }
15339 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15340 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15341 }
15342 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15343 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15344 }
15345 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15346 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15347 }
15348 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15349 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15350 }
15351 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15352 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15353 }
15354 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15355 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15356 }
15357 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15359 }
15360 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15361 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15362 }
15363 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
15364 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
15365 }
15366 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
15367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15368 }
15369 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15370 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15371 }
15372 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15373 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15374 }
15375 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15376 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15377 }
15378 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15379 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15380 }
15381 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
15382 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
15383 }
15384 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15385 return (void *)((wxControl *) ((wxControlWithItems *) x));
15386 }
15387 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
15388 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
15389 }
15390 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15392 }
15393 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15394 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15395 }
15396 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15397 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15398 }
15399 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15400 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15401 }
15402 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15403 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15404 }
15405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15406 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15407 }
15408 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
15409 return (void *)((wxEvent *) ((wxTimerEvent *) x));
15410 }
15411 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15412 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15413 }
15414 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15416 }
15417 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15418 return (void *)((wxEvent *) ((wxPyEvent *) x));
15419 }
15420 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15422 }
15423 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
15424 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
15425 }
15426 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15427 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15428 }
15429 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15431 }
15432 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15433 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15434 }
15435 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15436 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15437 }
15438 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15439 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15440 }
15441 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15442 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15443 }
15444 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15445 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15446 }
15447 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15448 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15449 }
15450 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15451 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15452 }
15453 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15454 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15455 }
15456 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
15457 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
15458 }
15459 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15461 }
15462 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15463 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15464 }
15465 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15466 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15467 }
15468 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15469 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15470 }
15471 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15472 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15473 }
15474 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15475 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15476 }
15477 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15478 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15479 }
15480 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15481 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15482 }
15483 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
15484 return (void *)((wxEvent *) ((wxProcessEvent *) x));
15485 }
15486 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15487 return (void *)((wxEvent *) ((wxShowEvent *) x));
15488 }
15489 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15490 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15491 }
15492 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15494 }
15495 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15497 }
15498 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15499 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15500 }
15501 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15502 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15503 }
15504 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15505 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15506 }
15507 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}};
15508 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}};
15509 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}};
15510 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}};
15511 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}};
15512 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}};
15513 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}};
15514 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}};
15515 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}};
15516 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}};
15517 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}};
15518 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}};
15519 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}};
15520 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}};
15521 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}};
15522 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}};
15523 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}};
15524 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}};
15525 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}};
15526
15527 static swig_type_info *swig_types_initial[] = {
15528 _swigt__p_wxRect,
15529 _swigt__p_wxColour,
15530 _swigt__p_wxObject,
15531 _swigt__p_wxScrollBar,
15532 _swigt__p_wxStyledTextEvent,
15533 _swigt__p_wxWindow,
15534 _swigt__p_wxCommandEvent,
15535 _swigt__p_wxBitmap,
15536 _swigt__p_void,
15537 _swigt__p_wxPoint,
15538 _swigt__p_wxDC,
15539 _swigt__p_char,
15540 _swigt__p_wxEvtHandler,
15541 _swigt__p_wxStyledTextCtrl,
15542 _swigt__p_wxFont,
15543 _swigt__p_wxControl,
15544 _swigt__p_wxEvent,
15545 _swigt__p_int,
15546 _swigt__p_wxMemoryBuffer,
15547 0
15548 };
15549
15550
15551 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15552
15553 static swig_const_info swig_const_table[] = {
15554 {0, 0, 0, 0.0, 0, 0}};
15555
15556 #ifdef __cplusplus
15557 }
15558 #endif
15559
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 SWIGEXPORT(void) SWIG_init(void) {
15564 static PyObject *SWIG_globals = 0;
15565 static int typeinit = 0;
15566 PyObject *m, *d;
15567 int i;
15568 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15569 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15570 d = PyModule_GetDict(m);
15571
15572 if (!typeinit) {
15573 for (i = 0; swig_types_initial[i]; i++) {
15574 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15575 }
15576 typeinit = 1;
15577 }
15578 SWIG_InstallConstants(d,swig_const_table);
15579
15580 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15581 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
15582 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)1));
15583 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)1));
15584 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)-1));
15585 PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)2000));
15586 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)3000));
15587 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)4000));
15588 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)0));
15589 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)1));
15590 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)2));
15591 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)0));
15592 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)1));
15593 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)2));
15594 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)65001));
15595 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)1));
15596 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)31));
15597 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)0));
15598 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)1));
15599 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)2));
15600 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)3));
15601 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)4));
15602 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)5));
15603 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)6));
15604 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)7));
15605 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)8));
15606 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)9));
15607 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)10));
15608 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)11));
15609 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)12));
15610 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)13));
15611 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)14));
15612 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)15));
15613 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)16));
15614 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)17));
15615 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)18));
15616 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)19));
15617 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)20));
15618 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)21));
15619 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)22));
15620 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)23));
15621 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)24));
15622 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)25));
15623 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)10000));
15624 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)25));
15625 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)26));
15626 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)27));
15627 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)28));
15628 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)29));
15629 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)30));
15630 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)31));
15631 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)0xFE000000));
15632 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)0));
15633 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)1));
15634 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)32));
15635 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)33));
15636 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)34));
15637 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)35));
15638 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)36));
15639 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)37));
15640 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)39));
15641 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)127));
15642 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)0));
15643 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)1));
15644 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)186));
15645 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)136));
15646 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)238));
15647 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)134));
15648 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)161));
15649 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)129));
15650 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)77));
15651 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)255));
15652 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)204));
15653 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)128));
15654 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)2));
15655 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)162));
15656 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)130));
15657 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)177));
15658 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)178));
15659 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)163));
15660 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)222));
15661 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)0));
15662 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)1));
15663 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)2));
15664 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)7));
15665 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)0));
15666 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)1));
15667 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)2));
15668 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)3));
15669 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)4));
15670 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)5));
15671 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)6));
15672 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)0x20));
15673 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)0x40));
15674 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)0x80));
15675 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)0xE0));
15676 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)0));
15677 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)1));
15678 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)2));
15679 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)3));
15680 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)4));
15681 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)2));
15682 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)4));
15683 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)0x00100000));
15684 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)0x00200000));
15685 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)0x00400000));
15686 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)0x400));
15687 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)0x1000));
15688 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)0x2000));
15689 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)0x4000));
15690 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)0x8000));
15691 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)0x10000));
15692 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)0x20000));
15693 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)0x0FFF));
15694 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)0x0002));
15695 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)0x0004));
15696 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)0x0008));
15697 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)0x0010));
15698 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)0x0040));
15699 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)0x0001));
15700 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)10000000));
15701 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)0));
15702 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)1));
15703 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)0));
15704 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)1));
15705 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)2));
15706 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)3));
15707 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)0));
15708 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)1));
15709 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)2));
15710 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)-1));
15711 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)4));
15712 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)0x01));
15713 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)0x04));
15714 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)0x01));
15715 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)0x04));
15716 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)0x10));
15717 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)0x08));
15718 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)0));
15719 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)1));
15720 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)2));
15721 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)8));
15722 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)0x1));
15723 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)0x2));
15724 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)0x4));
15725 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)0x8));
15726 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)0x10));
15727 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)0x20));
15728 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)0x40));
15729 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)0x100));
15730 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)0x200));
15731 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)0x400));
15732 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)0x800));
15733 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)0xF77));
15734 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)300));
15735 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)301));
15736 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)302));
15737 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)303));
15738 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)304));
15739 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)305));
15740 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)306));
15741 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)307));
15742 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)308));
15743 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)309));
15744 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)7));
15745 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)8));
15746 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)9));
15747 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)13));
15748 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)310));
15749 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)311));
15750 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)312));
15751 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)1));
15752 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)2));
15753 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)4));
15754 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)0));
15755 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)1));
15756 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)2));
15757 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)3));
15758 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)4));
15759 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)5));
15760 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)6));
15761 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)7));
15762 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)8));
15763 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)9));
15764 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)10));
15765 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)11));
15766 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)12));
15767 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)13));
15768 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)14));
15769 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)15));
15770 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)16));
15771 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)17));
15772 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)18));
15773 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)19));
15774 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)20));
15775 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)21));
15776 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)22));
15777 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)23));
15778 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)24));
15779 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)25));
15780 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)26));
15781 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)27));
15782 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)28));
15783 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)29));
15784 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)30));
15785 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)31));
15786 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)32));
15787 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)33));
15788 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)34));
15789 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)35));
15790 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)36));
15791 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)37));
15792 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)38));
15793 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)39));
15794 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)40));
15795 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)41));
15796 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)42));
15797 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)43));
15798 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)44));
15799 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)45));
15800 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)46));
15801 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)47));
15802 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)48));
15803 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)49));
15804 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)50));
15805 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)51));
15806 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)52));
15807 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)53));
15808 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)54));
15809 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)1000));
15810 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)0));
15811 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)1));
15812 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)2));
15813 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)3));
15814 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)4));
15815 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)5));
15816 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)6));
15817 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)7));
15818 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)8));
15819 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)9));
15820 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)10));
15821 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)11));
15822 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)12));
15823 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)13));
15824 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)0));
15825 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)1));
15826 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)2));
15827 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)3));
15828 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)4));
15829 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)5));
15830 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)6));
15831 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)7));
15832 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)8));
15833 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)9));
15834 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)10));
15835 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)11));
15836 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)12));
15837 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)13));
15838 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)14));
15839 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)15));
15840 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)16));
15841 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)17));
15842 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)18));
15843 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)19));
15844 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)0));
15845 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)1));
15846 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)2));
15847 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)3));
15848 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)4));
15849 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)5));
15850 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)6));
15851 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)7));
15852 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)8));
15853 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)9));
15854 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)10));
15855 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)11));
15856 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)12));
15857 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)13));
15858 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)14));
15859 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)15));
15860 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)16));
15861 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)17));
15862 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)18));
15863 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)19));
15864 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)20));
15865 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)21));
15866 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)22));
15867 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)23));
15868 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)24));
15869 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)25));
15870 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)26));
15871 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)27));
15872 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)28));
15873 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)29));
15874 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)30));
15875 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)31));
15876 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)40));
15877 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)41));
15878 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)42));
15879 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)43));
15880 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)44));
15881 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)45));
15882 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)46));
15883 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)47));
15884 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)48));
15885 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)49));
15886 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)50));
15887 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)51));
15888 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)52));
15889 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)55));
15890 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)56));
15891 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)57));
15892 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)58));
15893 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)59));
15894 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)60));
15895 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)61));
15896 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)62));
15897 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)63));
15898 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)64));
15899 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)65));
15900 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)66));
15901 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)67));
15902 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)70));
15903 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)71));
15904 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)72));
15905 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)73));
15906 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)74));
15907 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)75));
15908 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)76));
15909 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)77));
15910 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)80));
15911 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)81));
15912 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)82));
15913 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)83));
15914 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)84));
15915 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)85));
15916 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)86));
15917 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)87));
15918 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)90));
15919 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)91));
15920 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)92));
15921 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)93));
15922 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)94));
15923 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)95));
15924 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)96));
15925 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)97));
15926 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)98));
15927 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)99));
15928 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)100));
15929 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)101));
15930 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)102));
15931 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)105));
15932 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)106));
15933 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)107));
15934 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)108));
15935 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)109));
15936 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)110));
15937 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)111));
15938 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)112));
15939 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)113));
15940 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)114));
15941 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)115));
15942 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)116));
15943 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)117));
15944 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)118));
15945 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)119));
15946 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)120));
15947 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)121));
15948 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)122));
15949 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)123));
15950 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)124));
15951 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)125));
15952 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)126));
15953 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)127));
15954 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)0));
15955 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)1));
15956 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)2));
15957 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)3));
15958 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)4));
15959 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)5));
15960 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)6));
15961 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)7));
15962 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)8));
15963 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)9));
15964 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)10));
15965 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)11));
15966 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)12));
15967 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)13));
15968 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)14));
15969 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)15));
15970 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)17));
15971 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)18));
15972 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)19));
15973 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)20));
15974 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)21));
15975 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)22));
15976 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)23));
15977 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)24));
15978 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)25));
15979 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)26));
15980 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)27));
15981 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)28));
15982 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)29));
15983 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)30));
15984 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)0));
15985 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)1));
15986 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)2));
15987 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)3));
15988 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)4));
15989 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)5));
15990 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)6));
15991 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)7));
15992 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)8));
15993 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)9));
15994 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)10));
15995 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)11));
15996 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)12));
15997 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)0));
15998 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)1));
15999 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)2));
16000 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)3));
16001 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)4));
16002 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)0));
16003 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)1));
16004 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)2));
16005 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)3));
16006 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)4));
16007 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)0));
16008 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)1));
16009 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)2));
16010 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)3));
16011 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)4));
16012 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)5));
16013 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)6));
16014 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)7));
16015 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)8));
16016 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)9));
16017 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)10));
16018 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)11));
16019 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)12));
16020 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)13));
16021 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)14));
16022 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)15));
16023 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)16));
16024 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)17));
16025 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)18));
16026 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)19));
16027 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)0));
16028 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)1));
16029 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)2));
16030 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)3));
16031 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)4));
16032 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)5));
16033 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)6));
16034 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)7));
16035 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)8));
16036 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)9));
16037 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)10));
16038 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)11));
16039 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)12));
16040 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)13));
16041 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)14));
16042 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)15));
16043 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)16));
16044 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)17));
16045 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)18));
16046 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)0));
16047 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)1));
16048 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)2));
16049 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)3));
16050 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)4));
16051 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)5));
16052 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)6));
16053 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)7));
16054 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)0));
16055 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)1));
16056 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)2));
16057 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)3));
16058 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)4));
16059 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)5));
16060 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)9));
16061 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)0));
16062 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)1));
16063 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)2));
16064 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)3));
16065 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)4));
16066 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)5));
16067 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)6));
16068 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)0));
16069 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)1));
16070 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)2));
16071 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)3));
16072 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)4));
16073 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)5));
16074 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)6));
16075 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)7));
16076 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)8));
16077 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)9));
16078 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)0));
16079 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)1));
16080 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)2));
16081 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)3));
16082 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)6));
16083 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)7));
16084 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)8));
16085 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)9));
16086 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)10));
16087 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)11));
16088 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)12));
16089 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)13));
16090 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)14));
16091 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)15));
16092 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)16));
16093 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)0));
16094 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)1));
16095 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)2));
16096 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)3));
16097 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)4));
16098 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)5));
16099 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)6));
16100 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)7));
16101 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)8));
16102 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)9));
16103 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)10));
16104 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)11));
16105 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)0));
16106 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)1));
16107 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)2));
16108 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)3));
16109 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)4));
16110 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)5));
16111 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)6));
16112 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)7));
16113 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)8));
16114 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)9));
16115 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)10));
16116 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)0));
16117 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)1));
16118 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)2));
16119 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)3));
16120 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)6));
16121 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)8));
16122 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)9));
16123 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)10));
16124 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)0));
16125 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)1));
16126 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)2));
16127 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)3));
16128 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)4));
16129 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)5));
16130 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)6));
16131 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)7));
16132 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)8));
16133 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)0));
16134 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)1));
16135 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)2));
16136 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)3));
16137 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)4));
16138 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)5));
16139 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)6));
16140 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)7));
16141 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)8));
16142 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)9));
16143 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)10));
16144 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)0));
16145 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)1));
16146 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)2));
16147 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)3));
16148 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)4));
16149 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)5));
16150 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)6));
16151 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)7));
16152 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)8));
16153 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)9));
16154 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)10));
16155 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)11));
16156 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)0));
16157 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)1));
16158 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)2));
16159 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)3));
16160 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)4));
16161 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)5));
16162 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)6));
16163 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)7));
16164 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)8));
16165 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)0));
16166 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)1));
16167 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)2));
16168 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)3));
16169 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)4));
16170 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)5));
16171 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)6));
16172 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)7));
16173 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)8));
16174 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)9));
16175 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)10));
16176 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)11));
16177 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)12));
16178 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)13));
16179 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)14));
16180 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)15));
16181 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)0));
16182 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)1));
16183 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)2));
16184 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)3));
16185 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)4));
16186 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)5));
16187 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)6));
16188 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)7));
16189 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)8));
16190 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)9));
16191 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)10));
16192 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)11));
16193 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)12));
16194 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)13));
16195 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)14));
16196 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)0));
16197 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)1));
16198 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)2));
16199 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)3));
16200 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)4));
16201 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)5));
16202 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)6));
16203 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)7));
16204 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)8));
16205 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)9));
16206 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)10));
16207 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)11));
16208 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)12));
16209 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)13));
16210 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)14));
16211 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)0));
16212 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)1));
16213 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)2));
16214 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)3));
16215 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)4));
16216 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)5));
16217 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)6));
16218 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)7));
16219 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)8));
16220 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)9));
16221 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)10));
16222 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)11));
16223 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)12));
16224 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)13));
16225 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)14));
16226 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)0));
16227 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)1));
16228 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)2));
16229 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)3));
16230 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)4));
16231 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)5));
16232 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)6));
16233 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)7));
16234 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)8));
16235 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)9));
16236 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)10));
16237 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)11));
16238 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)12));
16239 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)13));
16240 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)14));
16241 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)15));
16242 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)16));
16243 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)0));
16244 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)1));
16245 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)2));
16246 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)3));
16247 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)4));
16248 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)5));
16249 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)6));
16250 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)7));
16251 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)8));
16252 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)9));
16253 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)10));
16254 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)0));
16255 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)1));
16256 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)2));
16257 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)3));
16258 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)4));
16259 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)5));
16260 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)6));
16261 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)7));
16262 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)8));
16263 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)9));
16264 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)10));
16265 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)11));
16266 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)0));
16267 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)1));
16268 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)2));
16269 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)3));
16270 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)4));
16271 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)5));
16272 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)6));
16273 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)7));
16274 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)8));
16275 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)9));
16276 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)10));
16277 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)11));
16278 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)12));
16279 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)13));
16280 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)14));
16281 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)15));
16282 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)0));
16283 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)1));
16284 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)2));
16285 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)3));
16286 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)4));
16287 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)5));
16288 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)6));
16289 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)7));
16290 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)8));
16291 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)9));
16292 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)10));
16293 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)11));
16294 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)12));
16295 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)13));
16296 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)0));
16297 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)1));
16298 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)2));
16299 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)3));
16300 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)4));
16301 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)5));
16302 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)6));
16303 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)7));
16304 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)8));
16305 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)9));
16306 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)10));
16307 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)11));
16308 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)12));
16309 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)13));
16310 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)14));
16311 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)15));
16312 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)16));
16313 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)17));
16314 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)0));
16315 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)1));
16316 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)2));
16317 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)3));
16318 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)4));
16319 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)5));
16320 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)6));
16321 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)7));
16322 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)8));
16323 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)9));
16324 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)10));
16325 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)11));
16326 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)12));
16327 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)13));
16328 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)14));
16329 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)0));
16330 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)1));
16331 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)2));
16332 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)3));
16333 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)4));
16334 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)5));
16335 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)6));
16336 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)0));
16337 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)1));
16338 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)2));
16339 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)3));
16340 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)4));
16341 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)5));
16342 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)6));
16343 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)7));
16344 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)8));
16345 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)0));
16346 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)1));
16347 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)2));
16348 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)3));
16349 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)4));
16350 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)5));
16351 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)0));
16352 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)1));
16353 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)2));
16354 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)3));
16355 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)4));
16356 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)5));
16357 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)6));
16358 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)0));
16359 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)1));
16360 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)2));
16361 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)3));
16362 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)4));
16363 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)5));
16364 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)6));
16365 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)7));
16366 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)8));
16367 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)9));
16368 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)10));
16369 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)11));
16370 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)12));
16371 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)13));
16372 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)31));
16373 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)2011));
16374 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)2013));
16375 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)2176));
16376 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)2177));
16377 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)2178));
16378 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)2179));
16379 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)2180));
16380 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)2300));
16381 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)2301));
16382 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)2302));
16383 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)2303));
16384 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)2304));
16385 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)2305));
16386 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)2306));
16387 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)2307));
16388 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)2308));
16389 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)2309));
16390 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)2310));
16391 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)2311));
16392 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)2312));
16393 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)2313));
16394 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)2314));
16395 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)2315));
16396 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)2316));
16397 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)2317));
16398 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)2318));
16399 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)2319));
16400 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)2320));
16401 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)2321));
16402 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)2322));
16403 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)2323));
16404 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)2324));
16405 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)2325));
16406 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)2326));
16407 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)2327));
16408 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)2328));
16409 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)2329));
16410 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)2330));
16411 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)2331));
16412 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)2332));
16413 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)2333));
16414 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)2334));
16415 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)2335));
16416 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)2336));
16417 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)2337));
16418 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)2338));
16419 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)2339));
16420 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)2404));
16421 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)2340));
16422 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)2341));
16423 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)2342));
16424 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)2343));
16425 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)2344));
16426 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)2345));
16427 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)2346));
16428 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)2347));
16429 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)2348));
16430 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)2349));
16431 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)2450));
16432 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)2451));
16433 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)2452));
16434 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)2453));
16435 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)2454));
16436 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)2455));
16437 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)2390));
16438 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)2391));
16439 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)2392));
16440 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)2393));
16441 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)2395));
16442 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)2396));
16443 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)2413));
16444 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)2414));
16445 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)2415));
16446 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)2416));
16447 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)2426));
16448 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)2427));
16449 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)2428));
16450 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)2429));
16451 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)2430));
16452 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)2431));
16453 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)2432));
16454 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)2433));
16455 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)2434));
16456 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)2435));
16457 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)2436));
16458 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)2437));
16459 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)2438));
16460 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)2439));
16461 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)2440));
16462 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)2441));
16463 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)2442));
16464 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)wxEVT_STC_CHANGE));
16465 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)wxEVT_STC_STYLENEEDED));
16466 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)wxEVT_STC_CHARADDED));
16467 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)wxEVT_STC_SAVEPOINTREACHED));
16468 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)wxEVT_STC_SAVEPOINTLEFT));
16469 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)wxEVT_STC_ROMODIFYATTEMPT));
16470 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)wxEVT_STC_KEY));
16471 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)wxEVT_STC_DOUBLECLICK));
16472 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)wxEVT_STC_UPDATEUI));
16473 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)wxEVT_STC_MODIFIED));
16474 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)wxEVT_STC_MACRORECORD));
16475 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)wxEVT_STC_MARGINCLICK));
16476 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)wxEVT_STC_NEEDSHOWN));
16477 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)wxEVT_STC_PAINTED));
16478 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)wxEVT_STC_USERLISTSELECTION));
16479 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)wxEVT_STC_URIDROPPED));
16480 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)wxEVT_STC_DWELLSTART));
16481 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)wxEVT_STC_DWELLEND));
16482 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)wxEVT_STC_START_DRAG));
16483 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)wxEVT_STC_DRAG_OVER));
16484 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)wxEVT_STC_DO_DROP));
16485 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)wxEVT_STC_ZOOM));
16486 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_CLICK));
16487 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_DCLICK));
16488 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)wxEVT_STC_CALLTIP_CLICK));
16489
16490
16491 }
16492