]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/stc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
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 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxRect swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxObject swig_types[2]
236 #define SWIGTYPE_p_wxScrollBar swig_types[3]
237 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
238 #define SWIGTYPE_p_wxWindow swig_types[5]
239 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
240 #define SWIGTYPE_p_wxBitmap swig_types[7]
241 #define SWIGTYPE_p_void swig_types[8]
242 #define SWIGTYPE_p_wxPoint swig_types[9]
243 #define SWIGTYPE_p_char swig_types[10]
244 #define SWIGTYPE_p_wxDC swig_types[11]
245 #define SWIGTYPE_p_wxDragResult swig_types[12]
246 #define SWIGTYPE_p_wxString swig_types[13]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[14]
248 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[15]
249 #define SWIGTYPE_p_wxFont swig_types[16]
250 #define SWIGTYPE_p_wxControl swig_types[17]
251 #define SWIGTYPE_p_wxEvent swig_types[18]
252 #define SWIGTYPE_p_int swig_types[19]
253 #define SWIGTYPE_p_wxMemoryBuffer swig_types[20]
254 static swig_type_info *swig_types[22];
255
256 /* -------- TYPES TABLE (END) -------- */
257
258
259 /*-----------------------------------------------
260 @(target):= _stc.so
261 ------------------------------------------------*/
262 #define SWIG_init init_stc
263
264 #define SWIG_name "_stc"
265
266 #include <limits.h>
267 #include <float.h>
268 #include <string.h>
269
270 #ifndef SWIGSTATIC
271 #ifdef __cplusplus
272 #define SWIGSTATIC(a) static inline a
273 #else
274 #define SWIGSTATIC(a) static a
275 #endif
276 #endif
277
278 #ifndef numeric_cast
279 #ifdef __cplusplus
280 #ifdef HAVE_NUMERIC_CAST
281 #define numeric_cast(type,a) numeric_cast<type>(a)
282 #else
283 #define numeric_cast(type,a) static_cast<type>(a)
284 #endif
285 #else
286 #define numeric_cast(type,a) (type)(a)
287 #endif
288 #endif
289
290
291
292 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
293 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
294 #define SWIG_PyObj_FromShort PyInt_FromLong
295 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
296 #define SWIG_PyObj_FromInt PyInt_FromLong
297 #define SWIG_PyObj_FromLong PyInt_FromLong
298 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
299 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
300 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
301 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
302
303
304 #include "wx/wxPython/wxPython.h"
305 #include "wx/wxPython/pyclasses.h"
306 #include <wx/stc/stc.h>
307
308
309 static const wxString wxPySTCNameStr(wxSTCNameStr);
310
311 SWIGSTATIC(int)
312 SWIG_PyObj_AsInt(PyObject *obj)
313 {
314 return numeric_cast(int,
315 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
316 }
317
318
319 SWIGSTATIC(long)
320 SWIG_PyObj_AsLong(PyObject * obj)
321 {
322 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
323 }
324
325
326 SWIGSTATIC(bool)
327 SWIG_PyObj_AsBool(PyObject *obj)
328 {
329 return PyObject_IsTrue(obj) ? true : false;
330 }
331
332
333 SWIGSTATIC(PyObject*)
334 SWIG_PyObj_FromBool(bool value)
335 {
336 PyObject *obj = value ? Py_True : Py_False;
337 Py_INCREF(obj);
338 return obj;
339 }
340
341
342 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
343 PyObject* o2;
344 PyObject* o3;
345
346 if (!target) {
347 target = o;
348 } else if (target == Py_None) {
349 Py_DECREF(Py_None);
350 target = o;
351 } else {
352 if (!PyTuple_Check(target)) {
353 o2 = target;
354 target = PyTuple_New(1);
355 PyTuple_SetItem(target, 0, o2);
356 }
357 o3 = PyTuple_New(1);
358 PyTuple_SetItem(o3, 0, o);
359
360 o2 = target;
361 target = PySequence_Concat(o2, o3);
362 Py_DECREF(o2);
363 Py_DECREF(o3);
364 }
365 return target;
366 }
367
368 #ifdef __cplusplus
369 extern "C" {
370 #endif
371 static int _wrap_STCNameStr_set(PyObject *) {
372 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
373 return 1;
374 }
375
376
377 static PyObject *_wrap_STCNameStr_get() {
378 PyObject *pyobj;
379
380 {
381 #if wxUSE_UNICODE
382 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
383 #else
384 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
385 #endif
386 }
387 return pyobj;
388 }
389
390
391 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
392 PyObject *resultobj;
393 wxWindow *arg1 = (wxWindow *) 0 ;
394 int arg2 ;
395 wxPoint const &arg3_defvalue = wxDefaultPosition ;
396 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
397 wxSize const &arg4_defvalue = wxDefaultSize ;
398 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
399 long arg5 = (long) 0 ;
400 wxString const &arg6_defvalue = wxPySTCNameStr ;
401 wxString *arg6 = (wxString *) &arg6_defvalue ;
402 wxStyledTextCtrl *result;
403 wxPoint temp3 ;
404 wxSize temp4 ;
405 bool temp6 = False ;
406 PyObject * obj0 = 0 ;
407 PyObject * obj1 = 0 ;
408 PyObject * obj2 = 0 ;
409 PyObject * obj3 = 0 ;
410 PyObject * obj4 = 0 ;
411 PyObject * obj5 = 0 ;
412 char *kwnames[] = {
413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
414 };
415
416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
418 {
419 arg2 = (int) SWIG_PyObj_AsInt(obj1);
420 if (PyErr_Occurred()) SWIG_fail;
421 }
422 if (obj2) {
423 {
424 arg3 = &temp3;
425 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
426 }
427 }
428 if (obj3) {
429 {
430 arg4 = &temp4;
431 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
432 }
433 }
434 if (obj4) {
435 {
436 arg5 = (long) SWIG_PyObj_AsLong(obj4);
437 if (PyErr_Occurred()) SWIG_fail;
438 }
439 }
440 if (obj5) {
441 {
442 arg6 = wxString_in_helper(obj5);
443 if (arg6 == NULL) SWIG_fail;
444 temp6 = True;
445 }
446 }
447 {
448 PyThreadState* __tstate = wxPyBeginAllowThreads();
449 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
450
451 wxPyEndAllowThreads(__tstate);
452 if (PyErr_Occurred()) SWIG_fail;
453 }
454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
455 {
456 if (temp6)
457 delete arg6;
458 }
459 return resultobj;
460 fail:
461 {
462 if (temp6)
463 delete arg6;
464 }
465 return NULL;
466 }
467
468
469 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
470 PyObject *resultobj;
471 wxStyledTextCtrl *result;
472 char *kwnames[] = {
473 NULL
474 };
475
476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
477 {
478 PyThreadState* __tstate = wxPyBeginAllowThreads();
479 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
480
481 wxPyEndAllowThreads(__tstate);
482 if (PyErr_Occurred()) SWIG_fail;
483 }
484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
485 return resultobj;
486 fail:
487 return NULL;
488 }
489
490
491 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
492 PyObject *resultobj;
493 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
494 wxWindow *arg2 = (wxWindow *) 0 ;
495 int arg3 ;
496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
498 wxSize const &arg5_defvalue = wxDefaultSize ;
499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
500 long arg6 = (long) 0 ;
501 wxString const &arg7_defvalue = wxSTCNameStr ;
502 wxString *arg7 = (wxString *) &arg7_defvalue ;
503 wxPoint temp4 ;
504 wxSize temp5 ;
505 bool temp7 = False ;
506 PyObject * obj0 = 0 ;
507 PyObject * obj1 = 0 ;
508 PyObject * obj2 = 0 ;
509 PyObject * obj3 = 0 ;
510 PyObject * obj4 = 0 ;
511 PyObject * obj5 = 0 ;
512 PyObject * obj6 = 0 ;
513 char *kwnames[] = {
514 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
515 };
516
517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
520 {
521 arg3 = (int) SWIG_PyObj_AsInt(obj2);
522 if (PyErr_Occurred()) SWIG_fail;
523 }
524 if (obj3) {
525 {
526 arg4 = &temp4;
527 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
528 }
529 }
530 if (obj4) {
531 {
532 arg5 = &temp5;
533 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
534 }
535 }
536 if (obj5) {
537 {
538 arg6 = (long) SWIG_PyObj_AsLong(obj5);
539 if (PyErr_Occurred()) SWIG_fail;
540 }
541 }
542 if (obj6) {
543 {
544 arg7 = wxString_in_helper(obj6);
545 if (arg7 == NULL) SWIG_fail;
546 temp7 = True;
547 }
548 }
549 {
550 PyThreadState* __tstate = wxPyBeginAllowThreads();
551 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
552
553 wxPyEndAllowThreads(__tstate);
554 if (PyErr_Occurred()) SWIG_fail;
555 }
556 Py_INCREF(Py_None); resultobj = Py_None;
557 {
558 if (temp7)
559 delete arg7;
560 }
561 return resultobj;
562 fail:
563 {
564 if (temp7)
565 delete arg7;
566 }
567 return NULL;
568 }
569
570
571 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
572 PyObject *resultobj;
573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
574 wxString *arg2 = 0 ;
575 bool temp2 = False ;
576 PyObject * obj0 = 0 ;
577 PyObject * obj1 = 0 ;
578 char *kwnames[] = {
579 (char *) "self",(char *) "text", NULL
580 };
581
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
584 {
585 arg2 = wxString_in_helper(obj1);
586 if (arg2 == NULL) SWIG_fail;
587 temp2 = True;
588 }
589 {
590 PyThreadState* __tstate = wxPyBeginAllowThreads();
591 (arg1)->AddText((wxString const &)*arg2);
592
593 wxPyEndAllowThreads(__tstate);
594 if (PyErr_Occurred()) SWIG_fail;
595 }
596 Py_INCREF(Py_None); resultobj = Py_None;
597 {
598 if (temp2)
599 delete arg2;
600 }
601 return resultobj;
602 fail:
603 {
604 if (temp2)
605 delete arg2;
606 }
607 return NULL;
608 }
609
610
611 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
612 PyObject *resultobj;
613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
614 wxMemoryBuffer *arg2 = 0 ;
615 PyObject * obj0 = 0 ;
616 PyObject * obj1 = 0 ;
617 char *kwnames[] = {
618 (char *) "self",(char *) "data", NULL
619 };
620
621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
624 if (arg2 == NULL) {
625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
626 }
627 {
628 PyThreadState* __tstate = wxPyBeginAllowThreads();
629 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
630
631 wxPyEndAllowThreads(__tstate);
632 if (PyErr_Occurred()) SWIG_fail;
633 }
634 Py_INCREF(Py_None); resultobj = Py_None;
635 return resultobj;
636 fail:
637 return NULL;
638 }
639
640
641 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
642 PyObject *resultobj;
643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
644 int arg2 ;
645 wxString *arg3 = 0 ;
646 bool temp3 = False ;
647 PyObject * obj0 = 0 ;
648 PyObject * obj1 = 0 ;
649 PyObject * obj2 = 0 ;
650 char *kwnames[] = {
651 (char *) "self",(char *) "pos",(char *) "text", NULL
652 };
653
654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
656 {
657 arg2 = (int) SWIG_PyObj_AsInt(obj1);
658 if (PyErr_Occurred()) SWIG_fail;
659 }
660 {
661 arg3 = wxString_in_helper(obj2);
662 if (arg3 == NULL) SWIG_fail;
663 temp3 = True;
664 }
665 {
666 PyThreadState* __tstate = wxPyBeginAllowThreads();
667 (arg1)->InsertText(arg2,(wxString const &)*arg3);
668
669 wxPyEndAllowThreads(__tstate);
670 if (PyErr_Occurred()) SWIG_fail;
671 }
672 Py_INCREF(Py_None); resultobj = Py_None;
673 {
674 if (temp3)
675 delete arg3;
676 }
677 return resultobj;
678 fail:
679 {
680 if (temp3)
681 delete arg3;
682 }
683 return NULL;
684 }
685
686
687 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
688 PyObject *resultobj;
689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
690 PyObject * obj0 = 0 ;
691 char *kwnames[] = {
692 (char *) "self", NULL
693 };
694
695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
697 {
698 PyThreadState* __tstate = wxPyBeginAllowThreads();
699 (arg1)->ClearAll();
700
701 wxPyEndAllowThreads(__tstate);
702 if (PyErr_Occurred()) SWIG_fail;
703 }
704 Py_INCREF(Py_None); resultobj = Py_None;
705 return resultobj;
706 fail:
707 return NULL;
708 }
709
710
711 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
712 PyObject *resultobj;
713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
714 PyObject * obj0 = 0 ;
715 char *kwnames[] = {
716 (char *) "self", NULL
717 };
718
719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
721 {
722 PyThreadState* __tstate = wxPyBeginAllowThreads();
723 (arg1)->ClearDocumentStyle();
724
725 wxPyEndAllowThreads(__tstate);
726 if (PyErr_Occurred()) SWIG_fail;
727 }
728 Py_INCREF(Py_None); resultobj = Py_None;
729 return resultobj;
730 fail:
731 return NULL;
732 }
733
734
735 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
736 PyObject *resultobj;
737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
738 int result;
739 PyObject * obj0 = 0 ;
740 char *kwnames[] = {
741 (char *) "self", NULL
742 };
743
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
746 {
747 PyThreadState* __tstate = wxPyBeginAllowThreads();
748 result = (int)(arg1)->GetLength();
749
750 wxPyEndAllowThreads(__tstate);
751 if (PyErr_Occurred()) SWIG_fail;
752 }
753 resultobj = SWIG_PyObj_FromInt((int)result);
754 return resultobj;
755 fail:
756 return NULL;
757 }
758
759
760 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
761 PyObject *resultobj;
762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
763 int arg2 ;
764 int result;
765 PyObject * obj0 = 0 ;
766 PyObject * obj1 = 0 ;
767 char *kwnames[] = {
768 (char *) "self",(char *) "pos", NULL
769 };
770
771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
773 {
774 arg2 = (int) SWIG_PyObj_AsInt(obj1);
775 if (PyErr_Occurred()) SWIG_fail;
776 }
777 {
778 PyThreadState* __tstate = wxPyBeginAllowThreads();
779 result = (int)(arg1)->GetCharAt(arg2);
780
781 wxPyEndAllowThreads(__tstate);
782 if (PyErr_Occurred()) SWIG_fail;
783 }
784 resultobj = SWIG_PyObj_FromInt((int)result);
785 return resultobj;
786 fail:
787 return NULL;
788 }
789
790
791 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
792 PyObject *resultobj;
793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
794 int result;
795 PyObject * obj0 = 0 ;
796 char *kwnames[] = {
797 (char *) "self", NULL
798 };
799
800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
802 {
803 PyThreadState* __tstate = wxPyBeginAllowThreads();
804 result = (int)(arg1)->GetCurrentPos();
805
806 wxPyEndAllowThreads(__tstate);
807 if (PyErr_Occurred()) SWIG_fail;
808 }
809 resultobj = SWIG_PyObj_FromInt((int)result);
810 return resultobj;
811 fail:
812 return NULL;
813 }
814
815
816 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
817 PyObject *resultobj;
818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
819 int result;
820 PyObject * obj0 = 0 ;
821 char *kwnames[] = {
822 (char *) "self", NULL
823 };
824
825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
827 {
828 PyThreadState* __tstate = wxPyBeginAllowThreads();
829 result = (int)(arg1)->GetAnchor();
830
831 wxPyEndAllowThreads(__tstate);
832 if (PyErr_Occurred()) SWIG_fail;
833 }
834 resultobj = SWIG_PyObj_FromInt((int)result);
835 return resultobj;
836 fail:
837 return NULL;
838 }
839
840
841 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
842 PyObject *resultobj;
843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
844 int arg2 ;
845 int result;
846 PyObject * obj0 = 0 ;
847 PyObject * obj1 = 0 ;
848 char *kwnames[] = {
849 (char *) "self",(char *) "pos", NULL
850 };
851
852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
854 {
855 arg2 = (int) SWIG_PyObj_AsInt(obj1);
856 if (PyErr_Occurred()) SWIG_fail;
857 }
858 {
859 PyThreadState* __tstate = wxPyBeginAllowThreads();
860 result = (int)(arg1)->GetStyleAt(arg2);
861
862 wxPyEndAllowThreads(__tstate);
863 if (PyErr_Occurred()) SWIG_fail;
864 }
865 resultobj = SWIG_PyObj_FromInt((int)result);
866 return resultobj;
867 fail:
868 return NULL;
869 }
870
871
872 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
873 PyObject *resultobj;
874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
875 PyObject * obj0 = 0 ;
876 char *kwnames[] = {
877 (char *) "self", NULL
878 };
879
880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
882 {
883 PyThreadState* __tstate = wxPyBeginAllowThreads();
884 (arg1)->Redo();
885
886 wxPyEndAllowThreads(__tstate);
887 if (PyErr_Occurred()) SWIG_fail;
888 }
889 Py_INCREF(Py_None); resultobj = Py_None;
890 return resultobj;
891 fail:
892 return NULL;
893 }
894
895
896 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
897 PyObject *resultobj;
898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
899 bool arg2 ;
900 PyObject * obj0 = 0 ;
901 PyObject * obj1 = 0 ;
902 char *kwnames[] = {
903 (char *) "self",(char *) "collectUndo", NULL
904 };
905
906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
908 {
909 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
910 if (PyErr_Occurred()) SWIG_fail;
911 }
912 {
913 PyThreadState* __tstate = wxPyBeginAllowThreads();
914 (arg1)->SetUndoCollection(arg2);
915
916 wxPyEndAllowThreads(__tstate);
917 if (PyErr_Occurred()) SWIG_fail;
918 }
919 Py_INCREF(Py_None); resultobj = Py_None;
920 return resultobj;
921 fail:
922 return NULL;
923 }
924
925
926 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject *resultobj;
928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
929 PyObject * obj0 = 0 ;
930 char *kwnames[] = {
931 (char *) "self", NULL
932 };
933
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
936 {
937 PyThreadState* __tstate = wxPyBeginAllowThreads();
938 (arg1)->SelectAll();
939
940 wxPyEndAllowThreads(__tstate);
941 if (PyErr_Occurred()) SWIG_fail;
942 }
943 Py_INCREF(Py_None); resultobj = Py_None;
944 return resultobj;
945 fail:
946 return NULL;
947 }
948
949
950 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
951 PyObject *resultobj;
952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
953 PyObject * obj0 = 0 ;
954 char *kwnames[] = {
955 (char *) "self", NULL
956 };
957
958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
960 {
961 PyThreadState* __tstate = wxPyBeginAllowThreads();
962 (arg1)->SetSavePoint();
963
964 wxPyEndAllowThreads(__tstate);
965 if (PyErr_Occurred()) SWIG_fail;
966 }
967 Py_INCREF(Py_None); resultobj = Py_None;
968 return resultobj;
969 fail:
970 return NULL;
971 }
972
973
974 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
975 PyObject *resultobj;
976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
977 int arg2 ;
978 int arg3 ;
979 wxMemoryBuffer result;
980 PyObject * obj0 = 0 ;
981 PyObject * obj1 = 0 ;
982 PyObject * obj2 = 0 ;
983 char *kwnames[] = {
984 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
985 };
986
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
989 {
990 arg2 = (int) SWIG_PyObj_AsInt(obj1);
991 if (PyErr_Occurred()) SWIG_fail;
992 }
993 {
994 arg3 = (int) SWIG_PyObj_AsInt(obj2);
995 if (PyErr_Occurred()) SWIG_fail;
996 }
997 {
998 PyThreadState* __tstate = wxPyBeginAllowThreads();
999 result = (arg1)->GetStyledText(arg2,arg3);
1000
1001 wxPyEndAllowThreads(__tstate);
1002 if (PyErr_Occurred()) SWIG_fail;
1003 }
1004 {
1005 wxMemoryBuffer * resultptr;
1006 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
1007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
1008 }
1009 return resultobj;
1010 fail:
1011 return NULL;
1012 }
1013
1014
1015 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1016 PyObject *resultobj;
1017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1018 bool result;
1019 PyObject * obj0 = 0 ;
1020 char *kwnames[] = {
1021 (char *) "self", NULL
1022 };
1023
1024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1026 {
1027 PyThreadState* __tstate = wxPyBeginAllowThreads();
1028 result = (bool)(arg1)->CanRedo();
1029
1030 wxPyEndAllowThreads(__tstate);
1031 if (PyErr_Occurred()) SWIG_fail;
1032 }
1033 resultobj = SWIG_PyObj_FromBool((bool)result);
1034 return resultobj;
1035 fail:
1036 return NULL;
1037 }
1038
1039
1040 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, 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 *) "handle", NULL
1049 };
1050
1051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1053 {
1054 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1055 if (PyErr_Occurred()) SWIG_fail;
1056 }
1057 {
1058 PyThreadState* __tstate = wxPyBeginAllowThreads();
1059 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1060
1061 wxPyEndAllowThreads(__tstate);
1062 if (PyErr_Occurred()) SWIG_fail;
1063 }
1064 resultobj = SWIG_PyObj_FromInt((int)result);
1065 return resultobj;
1066 fail:
1067 return NULL;
1068 }
1069
1070
1071 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1074 int arg2 ;
1075 PyObject * obj0 = 0 ;
1076 PyObject * obj1 = 0 ;
1077 char *kwnames[] = {
1078 (char *) "self",(char *) "handle", NULL
1079 };
1080
1081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1083 {
1084 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1085 if (PyErr_Occurred()) SWIG_fail;
1086 }
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 (arg1)->MarkerDeleteHandle(arg2);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 Py_INCREF(Py_None); resultobj = Py_None;
1095 return resultobj;
1096 fail:
1097 return NULL;
1098 }
1099
1100
1101 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1102 PyObject *resultobj;
1103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1104 bool result;
1105 PyObject * obj0 = 0 ;
1106 char *kwnames[] = {
1107 (char *) "self", NULL
1108 };
1109
1110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1112 {
1113 PyThreadState* __tstate = wxPyBeginAllowThreads();
1114 result = (bool)(arg1)->GetUndoCollection();
1115
1116 wxPyEndAllowThreads(__tstate);
1117 if (PyErr_Occurred()) SWIG_fail;
1118 }
1119 resultobj = SWIG_PyObj_FromBool((bool)result);
1120 return resultobj;
1121 fail:
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1129 int result;
1130 PyObject * obj0 = 0 ;
1131 char *kwnames[] = {
1132 (char *) "self", NULL
1133 };
1134
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1137 {
1138 PyThreadState* __tstate = wxPyBeginAllowThreads();
1139 result = (int)(arg1)->GetViewWhiteSpace();
1140
1141 wxPyEndAllowThreads(__tstate);
1142 if (PyErr_Occurred()) SWIG_fail;
1143 }
1144 resultobj = SWIG_PyObj_FromInt((int)result);
1145 return resultobj;
1146 fail:
1147 return NULL;
1148 }
1149
1150
1151 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1154 int arg2 ;
1155 PyObject * obj0 = 0 ;
1156 PyObject * obj1 = 0 ;
1157 char *kwnames[] = {
1158 (char *) "self",(char *) "viewWS", NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1163 {
1164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 (arg1)->SetViewWhiteSpace(arg2);
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 Py_INCREF(Py_None); resultobj = Py_None;
1175 return resultobj;
1176 fail:
1177 return NULL;
1178 }
1179
1180
1181 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1184 wxPoint arg2 ;
1185 int result;
1186 wxPoint *argp2 ;
1187 PyObject * obj0 = 0 ;
1188 PyObject * obj1 = 0 ;
1189 char *kwnames[] = {
1190 (char *) "self",(char *) "pt", NULL
1191 };
1192
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1195 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1196 arg2 = *argp2;
1197 {
1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
1199 result = (int)(arg1)->PositionFromPoint(arg2);
1200
1201 wxPyEndAllowThreads(__tstate);
1202 if (PyErr_Occurred()) SWIG_fail;
1203 }
1204 resultobj = SWIG_PyObj_FromInt((int)result);
1205 return resultobj;
1206 fail:
1207 return NULL;
1208 }
1209
1210
1211 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1212 PyObject *resultobj;
1213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1214 int arg2 ;
1215 int arg3 ;
1216 int result;
1217 PyObject * obj0 = 0 ;
1218 PyObject * obj1 = 0 ;
1219 PyObject * obj2 = 0 ;
1220 char *kwnames[] = {
1221 (char *) "self",(char *) "x",(char *) "y", NULL
1222 };
1223
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1226 {
1227 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 {
1231 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
1234 {
1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
1236 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1237
1238 wxPyEndAllowThreads(__tstate);
1239 if (PyErr_Occurred()) SWIG_fail;
1240 }
1241 resultobj = SWIG_PyObj_FromInt((int)result);
1242 return resultobj;
1243 fail:
1244 return NULL;
1245 }
1246
1247
1248 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject *resultobj;
1250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1251 int arg2 ;
1252 PyObject * obj0 = 0 ;
1253 PyObject * obj1 = 0 ;
1254 char *kwnames[] = {
1255 (char *) "self",(char *) "line", NULL
1256 };
1257
1258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1260 {
1261 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
1266 (arg1)->GotoLine(arg2);
1267
1268 wxPyEndAllowThreads(__tstate);
1269 if (PyErr_Occurred()) SWIG_fail;
1270 }
1271 Py_INCREF(Py_None); resultobj = Py_None;
1272 return resultobj;
1273 fail:
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1281 int arg2 ;
1282 PyObject * obj0 = 0 ;
1283 PyObject * obj1 = 0 ;
1284 char *kwnames[] = {
1285 (char *) "self",(char *) "pos", NULL
1286 };
1287
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1290 {
1291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 {
1295 PyThreadState* __tstate = wxPyBeginAllowThreads();
1296 (arg1)->GotoPos(arg2);
1297
1298 wxPyEndAllowThreads(__tstate);
1299 if (PyErr_Occurred()) SWIG_fail;
1300 }
1301 Py_INCREF(Py_None); resultobj = Py_None;
1302 return resultobj;
1303 fail:
1304 return NULL;
1305 }
1306
1307
1308 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject *resultobj;
1310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1311 int arg2 ;
1312 PyObject * obj0 = 0 ;
1313 PyObject * obj1 = 0 ;
1314 char *kwnames[] = {
1315 (char *) "self",(char *) "posAnchor", NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320 {
1321 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 {
1325 PyThreadState* __tstate = wxPyBeginAllowThreads();
1326 (arg1)->SetAnchor(arg2);
1327
1328 wxPyEndAllowThreads(__tstate);
1329 if (PyErr_Occurred()) SWIG_fail;
1330 }
1331 Py_INCREF(Py_None); resultobj = Py_None;
1332 return resultobj;
1333 fail:
1334 return NULL;
1335 }
1336
1337
1338 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1341 int *arg2 = (int *) 0 ;
1342 wxString result;
1343 int temp2 ;
1344 PyObject * obj0 = 0 ;
1345 char *kwnames[] = {
1346 (char *) "self", NULL
1347 };
1348
1349 arg2 = &temp2;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (arg1)->GetCurLine(arg2);
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 {
1360 #if wxUSE_UNICODE
1361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1362 #else
1363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1364 #endif
1365 }
1366 {
1367 PyObject *o = PyInt_FromLong((long) (*arg2));
1368 resultobj = t_output_helper(resultobj,o);
1369 }
1370 return resultobj;
1371 fail:
1372 return NULL;
1373 }
1374
1375
1376 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1379 int result;
1380 PyObject * obj0 = 0 ;
1381 char *kwnames[] = {
1382 (char *) "self", NULL
1383 };
1384
1385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387 {
1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1389 result = (int)(arg1)->GetEndStyled();
1390
1391 wxPyEndAllowThreads(__tstate);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 resultobj = SWIG_PyObj_FromInt((int)result);
1395 return resultobj;
1396 fail:
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1404 int arg2 ;
1405 PyObject * obj0 = 0 ;
1406 PyObject * obj1 = 0 ;
1407 char *kwnames[] = {
1408 (char *) "self",(char *) "eolMode", NULL
1409 };
1410
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1413 {
1414 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 (arg1)->ConvertEOLs(arg2);
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 Py_INCREF(Py_None); resultobj = Py_None;
1425 return resultobj;
1426 fail:
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1434 int result;
1435 PyObject * obj0 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (int)(arg1)->GetEOLMode();
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 resultobj = SWIG_PyObj_FromInt((int)result);
1450 return resultobj;
1451 fail:
1452 return NULL;
1453 }
1454
1455
1456 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject *resultobj;
1458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1459 int arg2 ;
1460 PyObject * obj0 = 0 ;
1461 PyObject * obj1 = 0 ;
1462 char *kwnames[] = {
1463 (char *) "self",(char *) "eolMode", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1468 {
1469 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 {
1473 PyThreadState* __tstate = wxPyBeginAllowThreads();
1474 (arg1)->SetEOLMode(arg2);
1475
1476 wxPyEndAllowThreads(__tstate);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 }
1479 Py_INCREF(Py_None); resultobj = Py_None;
1480 return resultobj;
1481 fail:
1482 return NULL;
1483 }
1484
1485
1486 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1489 int arg2 ;
1490 int arg3 ;
1491 PyObject * obj0 = 0 ;
1492 PyObject * obj1 = 0 ;
1493 PyObject * obj2 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self",(char *) "pos",(char *) "mask", NULL
1496 };
1497
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1502 if (PyErr_Occurred()) SWIG_fail;
1503 }
1504 {
1505 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 (arg1)->StartStyling(arg2,arg3);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 Py_INCREF(Py_None); resultobj = Py_None;
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1525 int arg2 ;
1526 int arg3 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1529 PyObject * obj2 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self",(char *) "length",(char *) "style", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1536 {
1537 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 {
1541 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 (arg1)->SetStyling(arg2,arg3);
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 Py_INCREF(Py_None); resultobj = Py_None;
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1561 bool result;
1562 PyObject * obj0 = 0 ;
1563 char *kwnames[] = {
1564 (char *) "self", NULL
1565 };
1566
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (bool)(arg1)->GetBufferedDraw();
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 resultobj = SWIG_PyObj_FromBool((bool)result);
1577 return resultobj;
1578 fail:
1579 return NULL;
1580 }
1581
1582
1583 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1586 bool arg2 ;
1587 PyObject * obj0 = 0 ;
1588 PyObject * obj1 = 0 ;
1589 char *kwnames[] = {
1590 (char *) "self",(char *) "buffered", NULL
1591 };
1592
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1595 {
1596 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 }
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 (arg1)->SetBufferedDraw(arg2);
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 Py_INCREF(Py_None); resultobj = Py_None;
1607 return resultobj;
1608 fail:
1609 return NULL;
1610 }
1611
1612
1613 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject *resultobj;
1615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1616 int arg2 ;
1617 PyObject * obj0 = 0 ;
1618 PyObject * obj1 = 0 ;
1619 char *kwnames[] = {
1620 (char *) "self",(char *) "tabWidth", NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1625 {
1626 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1627 if (PyErr_Occurred()) SWIG_fail;
1628 }
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 (arg1)->SetTabWidth(arg2);
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 Py_INCREF(Py_None); resultobj = Py_None;
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1646 int result;
1647 PyObject * obj0 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (int)(arg1)->GetTabWidth();
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = SWIG_PyObj_FromInt((int)result);
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1671 int arg2 ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self",(char *) "codePage", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 {
1681 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 (arg1)->SetCodePage(arg2);
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 Py_INCREF(Py_None); resultobj = Py_None;
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1701 int arg2 ;
1702 int arg3 ;
1703 wxColour const &arg4_defvalue = wxNullColour ;
1704 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1705 wxColour const &arg5_defvalue = wxNullColour ;
1706 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1707 wxColour temp4 ;
1708 wxColour temp5 ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 PyObject * obj2 = 0 ;
1712 PyObject * obj3 = 0 ;
1713 PyObject * obj4 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1720 {
1721 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 {
1725 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 if (obj3) {
1729 {
1730 arg4 = &temp4;
1731 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1732 }
1733 }
1734 if (obj4) {
1735 {
1736 arg5 = &temp5;
1737 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1738 }
1739 }
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 Py_INCREF(Py_None); resultobj = Py_None;
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1757 int arg2 ;
1758 wxColour *arg3 = 0 ;
1759 wxColour temp3 ;
1760 PyObject * obj0 = 0 ;
1761 PyObject * obj1 = 0 ;
1762 PyObject * obj2 = 0 ;
1763 char *kwnames[] = {
1764 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1769 {
1770 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
1773 {
1774 arg3 = &temp3;
1775 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1776 }
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1794 int arg2 ;
1795 wxColour *arg3 = 0 ;
1796 wxColour temp3 ;
1797 PyObject * obj0 = 0 ;
1798 PyObject * obj1 = 0 ;
1799 PyObject * obj2 = 0 ;
1800 char *kwnames[] = {
1801 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1802 };
1803
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1806 {
1807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 {
1811 arg3 = &temp3;
1812 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1813 }
1814 {
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
1816 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 Py_INCREF(Py_None); resultobj = Py_None;
1822 return resultobj;
1823 fail:
1824 return NULL;
1825 }
1826
1827
1828 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject *resultobj;
1830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1831 int arg2 ;
1832 int arg3 ;
1833 int result;
1834 PyObject * obj0 = 0 ;
1835 PyObject * obj1 = 0 ;
1836 PyObject * obj2 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1843 {
1844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 {
1848 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 resultobj = SWIG_PyObj_FromInt((int)result);
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1868 int arg2 ;
1869 int arg3 ;
1870 PyObject * obj0 = 0 ;
1871 PyObject * obj1 = 0 ;
1872 PyObject * obj2 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1879 {
1880 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 {
1884 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 (arg1)->MarkerDelete(arg2,arg3);
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1904 int arg2 ;
1905 PyObject * obj0 = 0 ;
1906 PyObject * obj1 = 0 ;
1907 char *kwnames[] = {
1908 (char *) "self",(char *) "markerNumber", NULL
1909 };
1910
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
1912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1913 {
1914 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 {
1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
1919 (arg1)->MarkerDeleteAll(arg2);
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 }
1924 Py_INCREF(Py_None); resultobj = Py_None;
1925 return resultobj;
1926 fail:
1927 return NULL;
1928 }
1929
1930
1931 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject *resultobj;
1933 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1934 int arg2 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 PyObject * obj1 = 0 ;
1938 char *kwnames[] = {
1939 (char *) "self",(char *) "line", NULL
1940 };
1941
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1944 {
1945 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 result = (int)(arg1)->MarkerGet(arg2);
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 resultobj = SWIG_PyObj_FromInt((int)result);
1956 return resultobj;
1957 fail:
1958 return NULL;
1959 }
1960
1961
1962 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1965 int arg2 ;
1966 int arg3 ;
1967 int result;
1968 PyObject * obj0 = 0 ;
1969 PyObject * obj1 = 0 ;
1970 PyObject * obj2 = 0 ;
1971 char *kwnames[] = {
1972 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1973 };
1974
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
1976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1977 {
1978 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 {
1982 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 result = (int)(arg1)->MarkerNext(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 resultobj = SWIG_PyObj_FromInt((int)result);
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2002 int arg2 ;
2003 int arg3 ;
2004 int result;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 PyObject * obj2 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 {
2019 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 resultobj = SWIG_PyObj_FromInt((int)result);
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2039 int arg2 ;
2040 wxBitmap *arg3 = 0 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 PyObject * obj2 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 if (arg3 == NULL) {
2056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2057 }
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 Py_INCREF(Py_None); resultobj = Py_None;
2066 return resultobj;
2067 fail:
2068 return NULL;
2069 }
2070
2071
2072 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2073 PyObject *resultobj;
2074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2075 int arg2 ;
2076 int arg3 ;
2077 PyObject * obj0 = 0 ;
2078 PyObject * obj1 = 0 ;
2079 PyObject * obj2 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 {
2087 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 {
2091 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 {
2095 PyThreadState* __tstate = wxPyBeginAllowThreads();
2096 (arg1)->SetMarginType(arg2,arg3);
2097
2098 wxPyEndAllowThreads(__tstate);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 }
2101 Py_INCREF(Py_None); resultobj = Py_None;
2102 return resultobj;
2103 fail:
2104 return NULL;
2105 }
2106
2107
2108 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject *resultobj;
2110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2111 int arg2 ;
2112 int result;
2113 PyObject * obj0 = 0 ;
2114 PyObject * obj1 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self",(char *) "margin", NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 {
2122 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (int)(arg1)->GetMarginType(arg2);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 resultobj = SWIG_PyObj_FromInt((int)result);
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2142 int arg2 ;
2143 int arg3 ;
2144 PyObject * obj0 = 0 ;
2145 PyObject * obj1 = 0 ;
2146 PyObject * obj2 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2153 {
2154 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 {
2158 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 (arg1)->SetMarginWidth(arg2,arg3);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 Py_INCREF(Py_None); resultobj = Py_None;
2169 return resultobj;
2170 fail:
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2178 int arg2 ;
2179 int result;
2180 PyObject * obj0 = 0 ;
2181 PyObject * obj1 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "margin", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2188 {
2189 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2190 if (PyErr_Occurred()) SWIG_fail;
2191 }
2192 {
2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
2194 result = (int)(arg1)->GetMarginWidth(arg2);
2195
2196 wxPyEndAllowThreads(__tstate);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 resultobj = SWIG_PyObj_FromInt((int)result);
2200 return resultobj;
2201 fail:
2202 return NULL;
2203 }
2204
2205
2206 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject *resultobj;
2208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2209 int arg2 ;
2210 int arg3 ;
2211 PyObject * obj0 = 0 ;
2212 PyObject * obj1 = 0 ;
2213 PyObject * obj2 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self",(char *) "margin",(char *) "mask", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 {
2225 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 (arg1)->SetMarginMask(arg2,arg3);
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 Py_INCREF(Py_None); resultobj = Py_None;
2236 return resultobj;
2237 fail:
2238 return NULL;
2239 }
2240
2241
2242 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2243 PyObject *resultobj;
2244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2245 int arg2 ;
2246 int result;
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj1 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self",(char *) "margin", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 result = (int)(arg1)->GetMarginMask(arg2);
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
2266 resultobj = SWIG_PyObj_FromInt((int)result);
2267 return resultobj;
2268 fail:
2269 return NULL;
2270 }
2271
2272
2273 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2276 int arg2 ;
2277 bool arg3 ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2287 {
2288 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 {
2292 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 (arg1)->SetMarginSensitive(arg2,arg3);
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 Py_INCREF(Py_None); resultobj = Py_None;
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2312 int arg2 ;
2313 bool result;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "margin", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 result = (bool)(arg1)->GetMarginSensitive(arg2);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 resultobj = SWIG_PyObj_FromBool((bool)result);
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2343 PyObject * obj0 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 (arg1)->StyleClearAll();
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 }
2357 Py_INCREF(Py_None); resultobj = Py_None;
2358 return resultobj;
2359 fail:
2360 return NULL;
2361 }
2362
2363
2364 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2365 PyObject *resultobj;
2366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2367 int arg2 ;
2368 wxColour *arg3 = 0 ;
2369 wxColour temp3 ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 PyObject * obj2 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self",(char *) "style",(char *) "fore", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2379 {
2380 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 {
2384 arg3 = &temp3;
2385 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2386 }
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
2394 Py_INCREF(Py_None); resultobj = Py_None;
2395 return resultobj;
2396 fail:
2397 return NULL;
2398 }
2399
2400
2401 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject *resultobj;
2403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2404 int arg2 ;
2405 wxColour *arg3 = 0 ;
2406 wxColour temp3 ;
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409 PyObject * obj2 = 0 ;
2410 char *kwnames[] = {
2411 (char *) "self",(char *) "style",(char *) "back", NULL
2412 };
2413
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2416 {
2417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2418 if (PyErr_Occurred()) SWIG_fail;
2419 }
2420 {
2421 arg3 = &temp3;
2422 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2423 }
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 Py_INCREF(Py_None); resultobj = Py_None;
2432 return resultobj;
2433 fail:
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2441 int arg2 ;
2442 bool arg3 ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 PyObject * obj2 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self",(char *) "style",(char *) "bold", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2452 {
2453 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 {
2457 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 (arg1)->StyleSetBold(arg2,arg3);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 Py_INCREF(Py_None); resultobj = Py_None;
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2477 int arg2 ;
2478 bool arg3 ;
2479 PyObject * obj0 = 0 ;
2480 PyObject * obj1 = 0 ;
2481 PyObject * obj2 = 0 ;
2482 char *kwnames[] = {
2483 (char *) "self",(char *) "style",(char *) "italic", NULL
2484 };
2485
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2488 {
2489 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 (arg1)->StyleSetItalic(arg2,arg3);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 Py_INCREF(Py_None); resultobj = Py_None;
2504 return resultobj;
2505 fail:
2506 return NULL;
2507 }
2508
2509
2510 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2513 int arg2 ;
2514 int arg3 ;
2515 PyObject * obj0 = 0 ;
2516 PyObject * obj1 = 0 ;
2517 PyObject * obj2 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2520 };
2521
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2524 {
2525 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 {
2529 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 (arg1)->StyleSetSize(arg2,arg3);
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 Py_INCREF(Py_None); resultobj = Py_None;
2540 return resultobj;
2541 fail:
2542 return NULL;
2543 }
2544
2545
2546 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2547 PyObject *resultobj;
2548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2549 int arg2 ;
2550 wxString *arg3 = 0 ;
2551 bool temp3 = False ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 PyObject * obj2 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "self",(char *) "style",(char *) "fontName", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2561 {
2562 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 {
2566 arg3 = wxString_in_helper(obj2);
2567 if (arg3 == NULL) SWIG_fail;
2568 temp3 = True;
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 Py_INCREF(Py_None); resultobj = Py_None;
2578 {
2579 if (temp3)
2580 delete arg3;
2581 }
2582 return resultobj;
2583 fail:
2584 {
2585 if (temp3)
2586 delete arg3;
2587 }
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2595 int arg2 ;
2596 bool arg3 ;
2597 PyObject * obj0 = 0 ;
2598 PyObject * obj1 = 0 ;
2599 PyObject * obj2 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self",(char *) "style",(char *) "filled", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2606 {
2607 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 (arg1)->StyleSetEOLFilled(arg2,arg3);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 Py_INCREF(Py_None); resultobj = Py_None;
2622 return resultobj;
2623 fail:
2624 return NULL;
2625 }
2626
2627
2628 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2629 PyObject *resultobj;
2630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2631 PyObject * obj0 = 0 ;
2632 char *kwnames[] = {
2633 (char *) "self", NULL
2634 };
2635
2636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2638 {
2639 PyThreadState* __tstate = wxPyBeginAllowThreads();
2640 (arg1)->StyleResetDefault();
2641
2642 wxPyEndAllowThreads(__tstate);
2643 if (PyErr_Occurred()) SWIG_fail;
2644 }
2645 Py_INCREF(Py_None); resultobj = Py_None;
2646 return resultobj;
2647 fail:
2648 return NULL;
2649 }
2650
2651
2652 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2653 PyObject *resultobj;
2654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2655 int arg2 ;
2656 bool arg3 ;
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
2659 PyObject * obj2 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "style",(char *) "underline", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2666 {
2667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 }
2670 {
2671 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 (arg1)->StyleSetUnderline(arg2,arg3);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 Py_INCREF(Py_None); resultobj = Py_None;
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2691 int arg2 ;
2692 int arg3 ;
2693 PyObject * obj0 = 0 ;
2694 PyObject * obj1 = 0 ;
2695 PyObject * obj2 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 {
2703 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2704 if (PyErr_Occurred()) SWIG_fail;
2705 }
2706 {
2707 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->StyleSetCase(arg2,arg3);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2727 int arg2 ;
2728 int arg3 ;
2729 PyObject * obj0 = 0 ;
2730 PyObject * obj1 = 0 ;
2731 PyObject * obj2 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 {
2739 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 {
2743 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->StyleSetCharacterSet(arg2,arg3);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2763 int arg2 ;
2764 bool arg3 ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 PyObject * obj2 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2774 {
2775 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 {
2779 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2780 if (PyErr_Occurred()) SWIG_fail;
2781 }
2782 {
2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2784 (arg1)->StyleSetHotSpot(arg2,arg3);
2785
2786 wxPyEndAllowThreads(__tstate);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 }
2789 Py_INCREF(Py_None); resultobj = Py_None;
2790 return resultobj;
2791 fail:
2792 return NULL;
2793 }
2794
2795
2796 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2799 bool arg2 ;
2800 wxColour *arg3 = 0 ;
2801 wxColour temp3 ;
2802 PyObject * obj0 = 0 ;
2803 PyObject * obj1 = 0 ;
2804 PyObject * obj2 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2811 {
2812 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 {
2816 arg3 = &temp3;
2817 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2818 }
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 Py_INCREF(Py_None); resultobj = Py_None;
2827 return resultobj;
2828 fail:
2829 return NULL;
2830 }
2831
2832
2833 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2836 bool arg2 ;
2837 wxColour *arg3 = 0 ;
2838 wxColour temp3 ;
2839 PyObject * obj0 = 0 ;
2840 PyObject * obj1 = 0 ;
2841 PyObject * obj2 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2848 {
2849 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 {
2853 arg3 = &temp3;
2854 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2855 }
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 return resultobj;
2865 fail:
2866 return NULL;
2867 }
2868
2869
2870 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject *resultobj;
2872 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2873 wxColour *arg2 = 0 ;
2874 wxColour temp2 ;
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj1 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "fore", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 {
2884 arg2 = &temp2;
2885 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2886 }
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 Py_INCREF(Py_None); resultobj = Py_None;
2895 return resultobj;
2896 fail:
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2904 int arg2 ;
2905 int arg3 ;
2906 int arg4 ;
2907 PyObject * obj0 = 0 ;
2908 PyObject * obj1 = 0 ;
2909 PyObject * obj2 = 0 ;
2910 PyObject * obj3 = 0 ;
2911 char *kwnames[] = {
2912 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2913 };
2914
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2917 {
2918 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 {
2922 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 Py_INCREF(Py_None); resultobj = Py_None;
2937 return resultobj;
2938 fail:
2939 return NULL;
2940 }
2941
2942
2943 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2946 int arg2 ;
2947 int arg3 ;
2948 PyObject * obj0 = 0 ;
2949 PyObject * obj1 = 0 ;
2950 PyObject * obj2 = 0 ;
2951 char *kwnames[] = {
2952 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 {
2958 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 (arg1)->CmdKeyClear(arg2,arg3);
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 Py_INCREF(Py_None); resultobj = Py_None;
2973 return resultobj;
2974 fail:
2975 return NULL;
2976 }
2977
2978
2979 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2980 PyObject *resultobj;
2981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2982 PyObject * obj0 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "self", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 (arg1)->CmdKeyClearAll();
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 Py_INCREF(Py_None); resultobj = Py_None;
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3006 int arg2 ;
3007 char *arg3 ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 PyObject * obj2 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 {
3018 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 {
3022 arg3 = SWIG_PyObj_AsCharPtr(obj2, SWIGTYPE_p_char);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 (arg1)->SetStyleBytes(arg2,arg3);
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 Py_INCREF(Py_None); resultobj = Py_None;
3033 return resultobj;
3034 fail:
3035 return NULL;
3036 }
3037
3038
3039 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3042 int arg2 ;
3043 bool arg3 ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "style",(char *) "visible", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 {
3054 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 {
3058 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 (arg1)->StyleSetVisible(arg2,arg3);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 Py_INCREF(Py_None); resultobj = Py_None;
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3078 int result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = (int)(arg1)->GetCaretPeriod();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 resultobj = SWIG_PyObj_FromInt((int)result);
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3103 int arg2 ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "periodMilliseconds", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 {
3113 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetCaretPeriod(arg2);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3133 wxString *arg2 = 0 ;
3134 bool temp2 = False ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "characters", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3143 {
3144 arg2 = wxString_in_helper(obj1);
3145 if (arg2 == NULL) SWIG_fail;
3146 temp2 = True;
3147 }
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 (arg1)->SetWordChars((wxString const &)*arg2);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 Py_INCREF(Py_None); resultobj = Py_None;
3156 {
3157 if (temp2)
3158 delete arg2;
3159 }
3160 return resultobj;
3161 fail:
3162 {
3163 if (temp2)
3164 delete arg2;
3165 }
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3173 PyObject * obj0 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "self", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 (arg1)->BeginUndoAction();
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_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3195 PyObject *resultobj;
3196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3197 PyObject * obj0 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 (arg1)->EndUndoAction();
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
3211 Py_INCREF(Py_None); resultobj = Py_None;
3212 return resultobj;
3213 fail:
3214 return NULL;
3215 }
3216
3217
3218 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3221 int arg2 ;
3222 int arg3 ;
3223 PyObject * obj0 = 0 ;
3224 PyObject * obj1 = 0 ;
3225 PyObject * obj2 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self",(char *) "indic",(char *) "style", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3232 {
3233 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 {
3237 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->IndicatorSetStyle(arg2,arg3);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3257 int arg2 ;
3258 int result;
3259 PyObject * obj0 = 0 ;
3260 PyObject * obj1 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self",(char *) "indic", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3267 {
3268 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 result = (int)(arg1)->IndicatorGetStyle(arg2);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 resultobj = SWIG_PyObj_FromInt((int)result);
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3288 int arg2 ;
3289 wxColour *arg3 = 0 ;
3290 wxColour temp3 ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 PyObject * obj2 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "indic",(char *) "fore", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 {
3301 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 {
3305 arg3 = &temp3;
3306 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3307 }
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 Py_INCREF(Py_None); resultobj = Py_None;
3316 return resultobj;
3317 fail:
3318 return NULL;
3319 }
3320
3321
3322 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject *resultobj;
3324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3325 int arg2 ;
3326 wxColour result;
3327 PyObject * obj0 = 0 ;
3328 PyObject * obj1 = 0 ;
3329 char *kwnames[] = {
3330 (char *) "self",(char *) "indic", NULL
3331 };
3332
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3335 {
3336 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (arg1)->IndicatorGetForeground(arg2);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 {
3347 wxColour * resultptr;
3348 resultptr = new wxColour((wxColour &) result);
3349 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3350 }
3351 return resultobj;
3352 fail:
3353 return NULL;
3354 }
3355
3356
3357 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3360 bool arg2 ;
3361 wxColour *arg3 = 0 ;
3362 wxColour temp3 ;
3363 PyObject * obj0 = 0 ;
3364 PyObject * obj1 = 0 ;
3365 PyObject * obj2 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3372 {
3373 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 {
3377 arg3 = &temp3;
3378 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 return resultobj;
3389 fail:
3390 return NULL;
3391 }
3392
3393
3394 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3395 PyObject *resultobj;
3396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3397 bool arg2 ;
3398 wxColour *arg3 = 0 ;
3399 wxColour temp3 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 PyObject * obj2 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3409 {
3410 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 arg3 = &temp3;
3415 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3416 }
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3434 int arg2 ;
3435 PyObject * obj0 = 0 ;
3436 PyObject * obj1 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self",(char *) "bits", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3443 {
3444 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetStyleBits(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3464 int result;
3465 PyObject * obj0 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (int)(arg1)->GetStyleBits();
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 resultobj = SWIG_PyObj_FromInt((int)result);
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3489 int arg2 ;
3490 int arg3 ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 PyObject * obj2 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "line",(char *) "state", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3500 {
3501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 {
3505 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 (arg1)->SetLineState(arg2,arg3);
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 Py_INCREF(Py_None); resultobj = Py_None;
3516 return resultobj;
3517 fail:
3518 return NULL;
3519 }
3520
3521
3522 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3525 int arg2 ;
3526 int result;
3527 PyObject * obj0 = 0 ;
3528 PyObject * obj1 = 0 ;
3529 char *kwnames[] = {
3530 (char *) "self",(char *) "line", NULL
3531 };
3532
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3535 {
3536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (int)(arg1)->GetLineState(arg2);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 resultobj = SWIG_PyObj_FromInt((int)result);
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj;
3555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3556 int result;
3557 PyObject * obj0 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (int)(arg1)->GetMaxLineState();
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 resultobj = SWIG_PyObj_FromInt((int)result);
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3581 bool result;
3582 PyObject * obj0 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "self", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 result = (bool)(arg1)->GetCaretLineVisible();
3592
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 resultobj = SWIG_PyObj_FromBool((bool)result);
3597 return resultobj;
3598 fail:
3599 return NULL;
3600 }
3601
3602
3603 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3606 bool arg2 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self",(char *) "show", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 {
3616 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3617 if (PyErr_Occurred()) SWIG_fail;
3618 }
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 (arg1)->SetCaretLineVisible(arg2);
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_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3636 wxColour result;
3637 PyObject * obj0 = 0 ;
3638 char *kwnames[] = {
3639 (char *) "self", NULL
3640 };
3641
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 result = (arg1)->GetCaretLineBack();
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 {
3652 wxColour * resultptr;
3653 resultptr = new wxColour((wxColour &) result);
3654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3665 wxColour *arg2 = 0 ;
3666 wxColour temp2 ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self",(char *) "back", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 {
3676 arg2 = &temp2;
3677 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3678 }
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 Py_INCREF(Py_None); resultobj = Py_None;
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3696 int arg2 ;
3697 bool arg3 ;
3698 PyObject * obj0 = 0 ;
3699 PyObject * obj1 = 0 ;
3700 PyObject * obj2 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self",(char *) "style",(char *) "changeable", NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 {
3708 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 {
3712 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 (arg1)->StyleSetChangeable(arg2,arg3);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3732 int arg2 ;
3733 wxString *arg3 = 0 ;
3734 bool temp3 = False ;
3735 PyObject * obj0 = 0 ;
3736 PyObject * obj1 = 0 ;
3737 PyObject * obj2 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 {
3745 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 arg3 = wxString_in_helper(obj2);
3750 if (arg3 == NULL) SWIG_fail;
3751 temp3 = True;
3752 }
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 {
3762 if (temp3)
3763 delete arg3;
3764 }
3765 return resultobj;
3766 fail:
3767 {
3768 if (temp3)
3769 delete arg3;
3770 }
3771 return NULL;
3772 }
3773
3774
3775 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 (arg1)->AutoCompCancel();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 Py_INCREF(Py_None); resultobj = Py_None;
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3802 bool result;
3803 PyObject * obj0 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "self", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (bool)(arg1)->AutoCompActive();
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 resultobj = SWIG_PyObj_FromBool((bool)result);
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3827 int result;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (int)(arg1)->AutoCompPosStart();
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = SWIG_PyObj_FromInt((int)result);
3843 return resultobj;
3844 fail:
3845 return NULL;
3846 }
3847
3848
3849 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3852 PyObject * obj0 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "self", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->AutoCompComplete();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3876 wxString *arg2 = 0 ;
3877 bool temp2 = False ;
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "characterSet", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3886 {
3887 arg2 = wxString_in_helper(obj1);
3888 if (arg2 == NULL) SWIG_fail;
3889 temp2 = True;
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 (arg1)->AutoCompStops((wxString const &)*arg2);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 {
3900 if (temp2)
3901 delete arg2;
3902 }
3903 return resultobj;
3904 fail:
3905 {
3906 if (temp2)
3907 delete arg2;
3908 }
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3916 int arg2 ;
3917 PyObject * obj0 = 0 ;
3918 PyObject * obj1 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self",(char *) "separatorCharacter", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 {
3926 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->AutoCompSetSeparator(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3946 int result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 result = (int)(arg1)->AutoCompGetSeparator();
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 resultobj = SWIG_PyObj_FromInt((int)result);
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3971 wxString *arg2 = 0 ;
3972 bool temp2 = False ;
3973 PyObject * obj0 = 0 ;
3974 PyObject * obj1 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self",(char *) "text", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3981 {
3982 arg2 = wxString_in_helper(obj1);
3983 if (arg2 == NULL) SWIG_fail;
3984 temp2 = True;
3985 }
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->AutoCompSelect((wxString const &)*arg2);
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 Py_INCREF(Py_None); resultobj = Py_None;
3994 {
3995 if (temp2)
3996 delete arg2;
3997 }
3998 return resultobj;
3999 fail:
4000 {
4001 if (temp2)
4002 delete arg2;
4003 }
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4011 bool arg2 ;
4012 PyObject * obj0 = 0 ;
4013 PyObject * obj1 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self",(char *) "cancel", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 {
4021 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 (arg1)->AutoCompSetCancelAtStart(arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 Py_INCREF(Py_None); resultobj = Py_None;
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4041 bool result;
4042 PyObject * obj0 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "self", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 resultobj = SWIG_PyObj_FromBool((bool)result);
4057 return resultobj;
4058 fail:
4059 return NULL;
4060 }
4061
4062
4063 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj;
4065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4066 wxString *arg2 = 0 ;
4067 bool temp2 = False ;
4068 PyObject * obj0 = 0 ;
4069 PyObject * obj1 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "characterSet", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 {
4077 arg2 = wxString_in_helper(obj1);
4078 if (arg2 == NULL) SWIG_fail;
4079 temp2 = True;
4080 }
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 {
4090 if (temp2)
4091 delete arg2;
4092 }
4093 return resultobj;
4094 fail:
4095 {
4096 if (temp2)
4097 delete arg2;
4098 }
4099 return NULL;
4100 }
4101
4102
4103 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4106 bool arg2 ;
4107 PyObject * obj0 = 0 ;
4108 PyObject * obj1 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self",(char *) "chooseSingle", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 {
4116 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->AutoCompSetChooseSingle(arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4136 bool result;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (bool)(arg1)->AutoCompGetChooseSingle();
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = SWIG_PyObj_FromBool((bool)result);
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj;
4160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4161 bool arg2 ;
4162 PyObject * obj0 = 0 ;
4163 PyObject * obj1 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self",(char *) "ignoreCase", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4170 {
4171 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 (arg1)->AutoCompSetIgnoreCase(arg2);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 Py_INCREF(Py_None); resultobj = Py_None;
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4191 bool result;
4192 PyObject * obj0 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "self", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 resultobj = SWIG_PyObj_FromBool((bool)result);
4207 return resultobj;
4208 fail:
4209 return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4216 int arg2 ;
4217 wxString *arg3 = 0 ;
4218 bool temp3 = False ;
4219 PyObject * obj0 = 0 ;
4220 PyObject * obj1 = 0 ;
4221 PyObject * obj2 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 arg3 = wxString_in_helper(obj2);
4234 if (arg3 == NULL) SWIG_fail;
4235 temp3 = True;
4236 }
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4244 Py_INCREF(Py_None); resultobj = Py_None;
4245 {
4246 if (temp3)
4247 delete arg3;
4248 }
4249 return resultobj;
4250 fail:
4251 {
4252 if (temp3)
4253 delete arg3;
4254 }
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4262 bool arg2 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "self",(char *) "autoHide", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 {
4272 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 (arg1)->AutoCompSetAutoHide(arg2);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4292 bool result;
4293 PyObject * obj0 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (bool)(arg1)->AutoCompGetAutoHide();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 resultobj = SWIG_PyObj_FromBool((bool)result);
4308 return resultobj;
4309 fail:
4310 return NULL;
4311 }
4312
4313
4314 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj;
4316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4317 bool arg2 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "dropRestOfWord", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4326 {
4327 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 (arg1)->AutoCompSetDropRestOfWord(arg2);
4333
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 Py_INCREF(Py_None); resultobj = Py_None;
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj;
4346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4347 bool result;
4348 PyObject * obj0 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "self", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 resultobj = SWIG_PyObj_FromBool((bool)result);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4372 int arg2 ;
4373 wxBitmap *arg3 = 0 ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4376 PyObject * obj2 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "type",(char *) "bmp", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 {
4384 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 if (arg3 == NULL) {
4389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4390 }
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4408 PyObject * obj0 = 0 ;
4409 char *kwnames[] = {
4410 (char *) "self", NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 (arg1)->ClearRegisteredImages();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 Py_INCREF(Py_None); resultobj = Py_None;
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4432 int result;
4433 PyObject * obj0 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (int)(arg1)->AutoCompGetTypeSeparator();
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = SWIG_PyObj_FromInt((int)result);
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4457 int arg2 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self",(char *) "separatorCharacter", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 {
4467 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 (arg1)->AutoCompSetTypeSeparator(arg2);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 Py_INCREF(Py_None); resultobj = Py_None;
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4487 int arg2 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "self",(char *) "indentSize", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4496 {
4497 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 (arg1)->SetIndent(arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4517 int result;
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (int)(arg1)->GetIndent();
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 resultobj = SWIG_PyObj_FromInt((int)result);
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4542 bool arg2 ;
4543 PyObject * obj0 = 0 ;
4544 PyObject * obj1 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self",(char *) "useTabs", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4551 {
4552 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->SetUseTabs(arg2);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 Py_INCREF(Py_None); resultobj = Py_None;
4563 return resultobj;
4564 fail:
4565 return NULL;
4566 }
4567
4568
4569 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4572 bool result;
4573 PyObject * obj0 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = (bool)(arg1)->GetUseTabs();
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 resultobj = SWIG_PyObj_FromBool((bool)result);
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4597 int arg2 ;
4598 int arg3 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4608 {
4609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 {
4613 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 (arg1)->SetLineIndentation(arg2,arg3);
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 Py_INCREF(Py_None); resultobj = Py_None;
4624 return resultobj;
4625 fail:
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4633 int arg2 ;
4634 int result;
4635 PyObject * obj0 = 0 ;
4636 PyObject * obj1 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self",(char *) "line", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643 {
4644 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = (int)(arg1)->GetLineIndentation(arg2);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 resultobj = SWIG_PyObj_FromInt((int)result);
4655 return resultobj;
4656 fail:
4657 return NULL;
4658 }
4659
4660
4661 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4664 int arg2 ;
4665 int result;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "self",(char *) "line", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4674 {
4675 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (int)(arg1)->GetLineIndentPosition(arg2);
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = SWIG_PyObj_FromInt((int)result);
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4695 int arg2 ;
4696 int result;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "pos", NULL
4701 };
4702
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4705 {
4706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (int)(arg1)->GetColumn(arg2);
4712
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_PyObj_FromInt((int)result);
4717 return resultobj;
4718 fail:
4719 return NULL;
4720 }
4721
4722
4723 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj;
4725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4726 bool arg2 ;
4727 PyObject * obj0 = 0 ;
4728 PyObject * obj1 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "self",(char *) "show", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 {
4736 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetUseHorizontalScrollBar(arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4756 bool result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_PyObj_FromBool((bool)result);
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4781 bool arg2 ;
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 char *kwnames[] = {
4785 (char *) "self",(char *) "show", NULL
4786 };
4787
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4790 {
4791 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 (arg1)->SetIndentationGuides(arg2);
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 Py_INCREF(Py_None); resultobj = Py_None;
4802 return resultobj;
4803 fail:
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4811 bool result;
4812 PyObject * obj0 = 0 ;
4813 char *kwnames[] = {
4814 (char *) "self", NULL
4815 };
4816
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 result = (bool)(arg1)->GetIndentationGuides();
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 resultobj = SWIG_PyObj_FromBool((bool)result);
4827 return resultobj;
4828 fail:
4829 return NULL;
4830 }
4831
4832
4833 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject *resultobj;
4835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4836 int arg2 ;
4837 PyObject * obj0 = 0 ;
4838 PyObject * obj1 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "column", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4845 {
4846 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 (arg1)->SetHighlightGuide(arg2);
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 Py_INCREF(Py_None); resultobj = Py_None;
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4866 int result;
4867 PyObject * obj0 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (int)(arg1)->GetHighlightGuide();
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = SWIG_PyObj_FromInt((int)result);
4882 return resultobj;
4883 fail:
4884 return NULL;
4885 }
4886
4887
4888 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj;
4890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4891 int arg2 ;
4892 int result;
4893 PyObject * obj0 = 0 ;
4894 PyObject * obj1 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self",(char *) "line", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4901 {
4902 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 result = (int)(arg1)->GetLineEndPosition(arg2);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 resultobj = SWIG_PyObj_FromInt((int)result);
4913 return resultobj;
4914 fail:
4915 return NULL;
4916 }
4917
4918
4919 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4922 int result;
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (int)(arg1)->GetCodePage();
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 resultobj = SWIG_PyObj_FromInt((int)result);
4938 return resultobj;
4939 fail:
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4947 wxColour result;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (arg1)->GetCaretForeground();
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 {
4963 wxColour * resultptr;
4964 resultptr = new wxColour((wxColour &) result);
4965 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4976 bool result;
4977 PyObject * obj0 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (bool)(arg1)->GetReadOnly();
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 resultobj = SWIG_PyObj_FromBool((bool)result);
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5001 int arg2 ;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "pos", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 {
5011 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 (arg1)->SetCurrentPos(arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5031 int arg2 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "pos", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5040 {
5041 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 (arg1)->SetSelectionStart(arg2);
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 Py_INCREF(Py_None); resultobj = Py_None;
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5061 int result;
5062 PyObject * obj0 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (int)(arg1)->GetSelectionStart();
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 resultobj = SWIG_PyObj_FromInt((int)result);
5077 return resultobj;
5078 fail:
5079 return NULL;
5080 }
5081
5082
5083 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5086 int arg2 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "pos", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5095 {
5096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 (arg1)->SetSelectionEnd(arg2);
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 Py_INCREF(Py_None); resultobj = Py_None;
5107 return resultobj;
5108 fail:
5109 return NULL;
5110 }
5111
5112
5113 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5114 PyObject *resultobj;
5115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5116 int result;
5117 PyObject * obj0 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (int)(arg1)->GetSelectionEnd();
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 resultobj = SWIG_PyObj_FromInt((int)result);
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5141 int arg2 ;
5142 PyObject * obj0 = 0 ;
5143 PyObject * obj1 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "magnification", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5150 {
5151 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 (arg1)->SetPrintMagnification(arg2);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 Py_INCREF(Py_None); resultobj = Py_None;
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5169 PyObject *resultobj;
5170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5171 int result;
5172 PyObject * obj0 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (int)(arg1)->GetPrintMagnification();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_PyObj_FromInt((int)result);
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5196 int arg2 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "mode", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5205 {
5206 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 (arg1)->SetPrintColourMode(arg2);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 Py_INCREF(Py_None); resultobj = Py_None;
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5226 int result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (int)(arg1)->GetPrintColourMode();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = SWIG_PyObj_FromInt((int)result);
5242 return resultobj;
5243 fail:
5244 return NULL;
5245 }
5246
5247
5248 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5251 int arg2 ;
5252 int arg3 ;
5253 wxString *arg4 = 0 ;
5254 int arg5 = (int) 0 ;
5255 int result;
5256 bool temp4 = False ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
5260 PyObject * obj3 = 0 ;
5261 PyObject * obj4 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5268 {
5269 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 {
5273 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 {
5277 arg4 = wxString_in_helper(obj3);
5278 if (arg4 == NULL) SWIG_fail;
5279 temp4 = True;
5280 }
5281 if (obj4) {
5282 {
5283 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 }
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = SWIG_PyObj_FromInt((int)result);
5295 {
5296 if (temp4)
5297 delete arg4;
5298 }
5299 return resultobj;
5300 fail:
5301 {
5302 if (temp4)
5303 delete arg4;
5304 }
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5312 bool arg2 ;
5313 int arg3 ;
5314 int arg4 ;
5315 wxDC *arg5 = (wxDC *) 0 ;
5316 wxDC *arg6 = (wxDC *) 0 ;
5317 wxRect arg7 ;
5318 wxRect arg8 ;
5319 int result;
5320 wxRect *argp7 ;
5321 wxRect *argp8 ;
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 PyObject * obj2 = 0 ;
5325 PyObject * obj3 = 0 ;
5326 PyObject * obj4 = 0 ;
5327 PyObject * obj5 = 0 ;
5328 PyObject * obj6 = 0 ;
5329 PyObject * obj7 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5336 {
5337 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 {
5341 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 {
5345 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5351 arg7 = *argp7;
5352 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5353 arg8 = *argp8;
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = SWIG_PyObj_FromInt((int)result);
5362 return resultobj;
5363 fail:
5364 return NULL;
5365 }
5366
5367
5368 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj;
5370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5371 int result;
5372 PyObject * obj0 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 result = (int)(arg1)->GetFirstVisibleLine();
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 resultobj = SWIG_PyObj_FromInt((int)result);
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5396 int arg2 ;
5397 wxString result;
5398 PyObject * obj0 = 0 ;
5399 PyObject * obj1 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "line", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (arg1)->GetLine(arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 #if wxUSE_UNICODE
5419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5420 #else
5421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5422 #endif
5423 }
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5433 int result;
5434 PyObject * obj0 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 result = (int)(arg1)->GetLineCount();
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 resultobj = SWIG_PyObj_FromInt((int)result);
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj;
5457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5458 int arg2 ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "pixelWidth", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5467 {
5468 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->SetMarginLeft(arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 Py_INCREF(Py_None); resultobj = Py_None;
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5488 int result;
5489 PyObject * obj0 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (int)(arg1)->GetMarginLeft();
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_PyObj_FromInt((int)result);
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5513 int arg2 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self",(char *) "pixelWidth", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5522 {
5523 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 (arg1)->SetMarginRight(arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 Py_INCREF(Py_None); resultobj = Py_None;
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5543 int result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 result = (int)(arg1)->GetMarginRight();
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 resultobj = SWIG_PyObj_FromInt((int)result);
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj;
5567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5568 bool result;
5569 PyObject * obj0 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5576 {
5577 PyThreadState* __tstate = wxPyBeginAllowThreads();
5578 result = (bool)(arg1)->GetModify();
5579
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 resultobj = SWIG_PyObj_FromBool((bool)result);
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5593 int arg2 ;
5594 int arg3 ;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 PyObject * obj2 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self",(char *) "start",(char *) "end", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 {
5605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 {
5609 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetSelection(arg2,arg3);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 return resultobj;
5621 fail:
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5629 wxString result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (arg1)->GetSelectedText();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 #if wxUSE_UNICODE
5646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5647 #else
5648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5649 #endif
5650 }
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5660 int arg2 ;
5661 int arg3 ;
5662 wxString result;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 PyObject * obj2 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5672 {
5673 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (arg1)->GetTextRange(arg2,arg3);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 {
5688 #if wxUSE_UNICODE
5689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5690 #else
5691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5692 #endif
5693 }
5694 return resultobj;
5695 fail:
5696 return NULL;
5697 }
5698
5699
5700 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj;
5702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5703 bool arg2 ;
5704 PyObject * obj0 = 0 ;
5705 PyObject * obj1 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "normal", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5712 {
5713 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 (arg1)->HideSelection(arg2);
5719
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 Py_INCREF(Py_None); resultobj = Py_None;
5724 return resultobj;
5725 fail:
5726 return NULL;
5727 }
5728
5729
5730 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5731 PyObject *resultobj;
5732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5733 int arg2 ;
5734 int result;
5735 PyObject * obj0 = 0 ;
5736 PyObject * obj1 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self",(char *) "pos", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5743 {
5744 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 result = (int)(arg1)->LineFromPosition(arg2);
5750
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 resultobj = SWIG_PyObj_FromInt((int)result);
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj;
5763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5764 int arg2 ;
5765 int result;
5766 PyObject * obj0 = 0 ;
5767 PyObject * obj1 = 0 ;
5768 char *kwnames[] = {
5769 (char *) "self",(char *) "line", NULL
5770 };
5771
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5774 {
5775 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 result = (int)(arg1)->PositionFromLine(arg2);
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 resultobj = SWIG_PyObj_FromInt((int)result);
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5793 PyObject *resultobj;
5794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5795 int arg2 ;
5796 int arg3 ;
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 PyObject * obj2 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self",(char *) "columns",(char *) "lines", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5806 {
5807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 {
5811 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->LineScroll(arg2,arg3);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 (arg1)->EnsureCaretVisible();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 Py_INCREF(Py_None); resultobj = Py_None;
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5855 wxString *arg2 = 0 ;
5856 bool temp2 = False ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self",(char *) "text", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 {
5866 arg2 = wxString_in_helper(obj1);
5867 if (arg2 == NULL) SWIG_fail;
5868 temp2 = True;
5869 }
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 (arg1)->ReplaceSelection((wxString const &)*arg2);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 Py_INCREF(Py_None); resultobj = Py_None;
5878 {
5879 if (temp2)
5880 delete arg2;
5881 }
5882 return resultobj;
5883 fail:
5884 {
5885 if (temp2)
5886 delete arg2;
5887 }
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5895 bool arg2 ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "readOnly", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5904 {
5905 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetReadOnly(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5925 bool result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (bool)(arg1)->CanPaste();
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 resultobj = SWIG_PyObj_FromBool((bool)result);
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5950 bool result;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 result = (bool)(arg1)->CanUndo();
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 resultobj = SWIG_PyObj_FromBool((bool)result);
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5975 PyObject * obj0 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 (arg1)->EmptyUndoBuffer();
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 Py_INCREF(Py_None); resultobj = Py_None;
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->Undo();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 Py_INCREF(Py_None); resultobj = Py_None;
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6023 PyObject * obj0 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 (arg1)->Cut();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 Py_INCREF(Py_None); resultobj = Py_None;
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->Copy();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 (arg1)->Paste();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 Py_INCREF(Py_None); resultobj = Py_None;
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6095 PyObject * obj0 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 (arg1)->Clear();
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 Py_INCREF(Py_None); resultobj = Py_None;
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj;
6118 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6119 wxString *arg2 = 0 ;
6120 bool temp2 = False ;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "self",(char *) "text", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6129 {
6130 arg2 = wxString_in_helper(obj1);
6131 if (arg2 == NULL) SWIG_fail;
6132 temp2 = True;
6133 }
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 (arg1)->SetText((wxString const &)*arg2);
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 Py_INCREF(Py_None); resultobj = Py_None;
6142 {
6143 if (temp2)
6144 delete arg2;
6145 }
6146 return resultobj;
6147 fail:
6148 {
6149 if (temp2)
6150 delete arg2;
6151 }
6152 return NULL;
6153 }
6154
6155
6156 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6159 wxString result;
6160 PyObject * obj0 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (arg1)->GetText();
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175 #if wxUSE_UNICODE
6176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6177 #else
6178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6179 #endif
6180 }
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6190 int result;
6191 PyObject * obj0 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (int)(arg1)->GetTextLength();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 resultobj = SWIG_PyObj_FromInt((int)result);
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6215 bool arg2 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self",(char *) "overtype", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 {
6225 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 (arg1)->SetOvertype(arg2);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 Py_INCREF(Py_None); resultobj = Py_None;
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6245 bool result;
6246 PyObject * obj0 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "self", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (bool)(arg1)->GetOvertype();
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = SWIG_PyObj_FromBool((bool)result);
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6270 int arg2 ;
6271 PyObject * obj0 = 0 ;
6272 PyObject * obj1 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self",(char *) "pixelWidth", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6279 {
6280 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 (arg1)->SetCaretWidth(arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 Py_INCREF(Py_None); resultobj = Py_None;
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6300 int result;
6301 PyObject * obj0 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 result = (int)(arg1)->GetCaretWidth();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 resultobj = SWIG_PyObj_FromInt((int)result);
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6325 int arg2 ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self",(char *) "pos", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 {
6335 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 (arg1)->SetTargetStart(arg2);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 Py_INCREF(Py_None); resultobj = Py_None;
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6355 int result;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (int)(arg1)->GetTargetStart();
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_PyObj_FromInt((int)result);
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6380 int arg2 ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "pos", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6389 {
6390 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 (arg1)->SetTargetEnd(arg2);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 Py_INCREF(Py_None); resultobj = Py_None;
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6410 int result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (int)(arg1)->GetTargetEnd();
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_PyObj_FromInt((int)result);
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6435 wxString *arg2 = 0 ;
6436 int result;
6437 bool temp2 = False ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self",(char *) "text", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6446 {
6447 arg2 = wxString_in_helper(obj1);
6448 if (arg2 == NULL) SWIG_fail;
6449 temp2 = True;
6450 }
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 resultobj = SWIG_PyObj_FromInt((int)result);
6459 {
6460 if (temp2)
6461 delete arg2;
6462 }
6463 return resultobj;
6464 fail:
6465 {
6466 if (temp2)
6467 delete arg2;
6468 }
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6476 wxString *arg2 = 0 ;
6477 int result;
6478 bool temp2 = False ;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "text", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 {
6488 arg2 = wxString_in_helper(obj1);
6489 if (arg2 == NULL) SWIG_fail;
6490 temp2 = True;
6491 }
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 resultobj = SWIG_PyObj_FromInt((int)result);
6500 {
6501 if (temp2)
6502 delete arg2;
6503 }
6504 return resultobj;
6505 fail:
6506 {
6507 if (temp2)
6508 delete arg2;
6509 }
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6517 wxString *arg2 = 0 ;
6518 int result;
6519 bool temp2 = False ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self",(char *) "text", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6528 {
6529 arg2 = wxString_in_helper(obj1);
6530 if (arg2 == NULL) SWIG_fail;
6531 temp2 = True;
6532 }
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 resultobj = SWIG_PyObj_FromInt((int)result);
6541 {
6542 if (temp2)
6543 delete arg2;
6544 }
6545 return resultobj;
6546 fail:
6547 {
6548 if (temp2)
6549 delete arg2;
6550 }
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6558 int arg2 ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "flags", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SetSearchFlags(arg2);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6588 int result;
6589 PyObject * obj0 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = (int)(arg1)->GetSearchFlags();
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 resultobj = SWIG_PyObj_FromInt((int)result);
6604 return resultobj;
6605 fail:
6606 return NULL;
6607 }
6608
6609
6610 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6613 int arg2 ;
6614 wxString *arg3 = 0 ;
6615 bool temp3 = False ;
6616 PyObject * obj0 = 0 ;
6617 PyObject * obj1 = 0 ;
6618 PyObject * obj2 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "pos",(char *) "definition", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6625 {
6626 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 {
6630 arg3 = wxString_in_helper(obj2);
6631 if (arg3 == NULL) SWIG_fail;
6632 temp3 = True;
6633 }
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 Py_INCREF(Py_None); resultobj = Py_None;
6642 {
6643 if (temp3)
6644 delete arg3;
6645 }
6646 return resultobj;
6647 fail:
6648 {
6649 if (temp3)
6650 delete arg3;
6651 }
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->CallTipCancel();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 Py_INCREF(Py_None); resultobj = Py_None;
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 bool result;
6684 PyObject * obj0 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 result = (bool)(arg1)->CallTipActive();
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = SWIG_PyObj_FromBool((bool)result);
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6708 int result;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (int)(arg1)->CallTipPosAtStart();
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 resultobj = SWIG_PyObj_FromInt((int)result);
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6733 int arg2 ;
6734 int arg3 ;
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 PyObject * obj2 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "start",(char *) "end", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 {
6745 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 (arg1)->CallTipSetHighlight(arg2,arg3);
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
6759 Py_INCREF(Py_None); resultobj = Py_None;
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6769 wxColour *arg2 = 0 ;
6770 wxColour temp2 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "back", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6779 {
6780 arg2 = &temp2;
6781 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6800 wxColour *arg2 = 0 ;
6801 wxColour temp2 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "fore", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6810 {
6811 arg2 = &temp2;
6812 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6831 wxColour *arg2 = 0 ;
6832 wxColour temp2 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "fore", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6841 {
6842 arg2 = &temp2;
6843 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6844 }
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 Py_INCREF(Py_None); resultobj = Py_None;
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6862 int arg2 ;
6863 int result;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "line", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6872 {
6873 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 result = (int)(arg1)->VisibleFromDocLine(arg2);
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = SWIG_PyObj_FromInt((int)result);
6884 return resultobj;
6885 fail:
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6893 int arg2 ;
6894 int result;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self",(char *) "lineDisplay", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 {
6904 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (int)(arg1)->DocLineFromVisible(arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_PyObj_FromInt((int)result);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6924 int arg2 ;
6925 int arg3 ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "line",(char *) "level", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 {
6940 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 (arg1)->SetFoldLevel(arg2,arg3);
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 Py_INCREF(Py_None); resultobj = Py_None;
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6960 int arg2 ;
6961 int result;
6962 PyObject * obj0 = 0 ;
6963 PyObject * obj1 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self",(char *) "line", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970 {
6971 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (int)(arg1)->GetFoldLevel(arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_PyObj_FromInt((int)result);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6991 int arg2 ;
6992 int arg3 ;
6993 int result;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 PyObject * obj2 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "line",(char *) "level", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7003 {
7004 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 result = (int)(arg1)->GetLastChild(arg2,arg3);
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 resultobj = SWIG_PyObj_FromInt((int)result);
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj;
7027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7028 int arg2 ;
7029 int result;
7030 PyObject * obj0 = 0 ;
7031 PyObject * obj1 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self",(char *) "line", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7038 {
7039 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (int)(arg1)->GetFoldParent(arg2);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_PyObj_FromInt((int)result);
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7059 int arg2 ;
7060 int arg3 ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 PyObject * obj2 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7070 {
7071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 {
7075 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 (arg1)->ShowLines(arg2,arg3);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 Py_INCREF(Py_None); resultobj = Py_None;
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7095 int arg2 ;
7096 int arg3 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 PyObject * obj2 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7106 {
7107 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 {
7111 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 (arg1)->HideLines(arg2,arg3);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 Py_INCREF(Py_None); resultobj = Py_None;
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7131 int arg2 ;
7132 bool result;
7133 PyObject * obj0 = 0 ;
7134 PyObject * obj1 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "line", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 {
7142 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 result = (bool)(arg1)->GetLineVisible(arg2);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 resultobj = SWIG_PyObj_FromBool((bool)result);
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7162 int arg2 ;
7163 bool arg3 ;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj1 = 0 ;
7166 PyObject * obj2 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "line",(char *) "expanded", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 {
7174 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 {
7178 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 (arg1)->SetFoldExpanded(arg2,arg3);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 return resultobj;
7190 fail:
7191 return NULL;
7192 }
7193
7194
7195 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7198 int arg2 ;
7199 bool result;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "line", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7208 {
7209 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (bool)(arg1)->GetFoldExpanded(arg2);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 resultobj = SWIG_PyObj_FromBool((bool)result);
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7229 int arg2 ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "line", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 (arg1)->ToggleFold(arg2);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 Py_INCREF(Py_None); resultobj = Py_None;
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7259 int arg2 ;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "line", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7268 {
7269 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->EnsureVisible(arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 Py_INCREF(Py_None); resultobj = Py_None;
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7289 int arg2 ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self",(char *) "flags", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7298 {
7299 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->SetFoldFlags(arg2);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 return resultobj;
7311 fail:
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7319 int arg2 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "line", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7328 {
7329 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7349 bool arg2 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "tabIndents", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 {
7359 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->SetTabIndents(arg2);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7379 bool result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (bool)(arg1)->GetTabIndents();
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 resultobj = SWIG_PyObj_FromBool((bool)result);
7395 return resultobj;
7396 fail:
7397 return NULL;
7398 }
7399
7400
7401 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7404 bool arg2 ;
7405 PyObject * obj0 = 0 ;
7406 PyObject * obj1 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "self",(char *) "bsUnIndents", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7413 {
7414 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetBackSpaceUnIndents(arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7434 bool result;
7435 PyObject * obj0 = 0 ;
7436 char *kwnames[] = {
7437 (char *) "self", NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (bool)(arg1)->GetBackSpaceUnIndents();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_PyObj_FromBool((bool)result);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7459 int arg2 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self",(char *) "periodMilliseconds", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7468 {
7469 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 (arg1)->SetMouseDwellTime(arg2);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 Py_INCREF(Py_None); resultobj = Py_None;
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7489 int result;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 result = (int)(arg1)->GetMouseDwellTime();
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 resultobj = SWIG_PyObj_FromInt((int)result);
7505 return resultobj;
7506 fail:
7507 return NULL;
7508 }
7509
7510
7511 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7514 int arg2 ;
7515 bool arg3 ;
7516 int result;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 PyObject * obj2 = 0 ;
7520 char *kwnames[] = {
7521 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7526 {
7527 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
7531 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 resultobj = SWIG_PyObj_FromInt((int)result);
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7551 int arg2 ;
7552 bool arg3 ;
7553 int result;
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 PyObject * obj2 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 {
7564 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 {
7568 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = SWIG_PyObj_FromInt((int)result);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7588 int arg2 ;
7589 PyObject * obj0 = 0 ;
7590 PyObject * obj1 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self",(char *) "mode", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7597 {
7598 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetWrapMode(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_GetWrapMode(PyObject *self, 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_GetWrapMode",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (int)(arg1)->GetWrapMode();
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = SWIG_PyObj_FromInt((int)result);
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7643 int arg2 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "mode", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7652 {
7653 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->SetLayoutCache(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7673 int result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (int)(arg1)->GetLayoutCache();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_PyObj_FromInt((int)result);
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7698 int arg2 ;
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self",(char *) "pixelWidth", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7707 {
7708 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 (arg1)->SetScrollWidth(arg2);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 Py_INCREF(Py_None); resultobj = Py_None;
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7728 int result;
7729 PyObject * obj0 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 result = (int)(arg1)->GetScrollWidth();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 resultobj = SWIG_PyObj_FromInt((int)result);
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj;
7752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7753 int arg2 ;
7754 wxString *arg3 = 0 ;
7755 int result;
7756 bool temp3 = False ;
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 PyObject * obj2 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self",(char *) "style",(char *) "text", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7766 {
7767 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
7771 arg3 = wxString_in_helper(obj2);
7772 if (arg3 == NULL) SWIG_fail;
7773 temp3 = True;
7774 }
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_PyObj_FromInt((int)result);
7783 {
7784 if (temp3)
7785 delete arg3;
7786 }
7787 return resultobj;
7788 fail:
7789 {
7790 if (temp3)
7791 delete arg3;
7792 }
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7800 bool arg2 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "endAtLastLine", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7809 {
7810 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->SetEndAtLastLine(arg2);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7830 int result;
7831 PyObject * obj0 = 0 ;
7832 char *kwnames[] = {
7833 (char *) "self", NULL
7834 };
7835
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)(arg1)->GetEndAtLastLine();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_PyObj_FromInt((int)result);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7855 int arg2 ;
7856 int result;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "line", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7865 {
7866 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (int)(arg1)->TextHeight(arg2);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_PyObj_FromInt((int)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7886 bool arg2 ;
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "show", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7895 {
7896 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 (arg1)->SetUseVerticalScrollBar(arg2);
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 Py_INCREF(Py_None); resultobj = Py_None;
7907 return resultobj;
7908 fail:
7909 return NULL;
7910 }
7911
7912
7913 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7914 PyObject *resultobj;
7915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7916 bool result;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (bool)(arg1)->GetUseVerticalScrollBar();
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 resultobj = SWIG_PyObj_FromBool((bool)result);
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7941 int arg2 ;
7942 wxString *arg3 = 0 ;
7943 bool temp3 = False ;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 PyObject * obj2 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self",(char *) "length",(char *) "text", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7953 {
7954 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 {
7958 arg3 = wxString_in_helper(obj2);
7959 if (arg3 == NULL) SWIG_fail;
7960 temp3 = True;
7961 }
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 {
7971 if (temp3)
7972 delete arg3;
7973 }
7974 return resultobj;
7975 fail:
7976 {
7977 if (temp3)
7978 delete arg3;
7979 }
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7987 bool result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (bool)(arg1)->GetTwoPhaseDraw();
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = SWIG_PyObj_FromBool((bool)result);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8012 bool arg2 ;
8013 PyObject * obj0 = 0 ;
8014 PyObject * obj1 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self",(char *) "twoPhase", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 {
8022 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->SetTwoPhaseDraw(arg2);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 Py_INCREF(Py_None); resultobj = Py_None;
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8042 PyObject * obj0 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 (arg1)->TargetFromSelection();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 Py_INCREF(Py_None); resultobj = Py_None;
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "self", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 (arg1)->LinesJoin();
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 Py_INCREF(Py_None); resultobj = Py_None;
8081 return resultobj;
8082 fail:
8083 return NULL;
8084 }
8085
8086
8087 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8090 int arg2 ;
8091 PyObject * obj0 = 0 ;
8092 PyObject * obj1 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "self",(char *) "pixelWidth", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8099 {
8100 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->LinesSplit(arg2);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8120 bool arg2 ;
8121 wxColour *arg3 = 0 ;
8122 wxColour temp3 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 PyObject * obj2 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 {
8133 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 {
8137 arg3 = &temp3;
8138 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8139 }
8140 {
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8143
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 Py_INCREF(Py_None); resultobj = Py_None;
8148 return resultobj;
8149 fail:
8150 return NULL;
8151 }
8152
8153
8154 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8157 bool arg2 ;
8158 wxColour *arg3 = 0 ;
8159 wxColour temp3 ;
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
8162 PyObject * obj2 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8169 {
8170 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 {
8174 arg3 = &temp3;
8175 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 (arg1)->LineDuplicate();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 Py_INCREF(Py_None); resultobj = Py_None;
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj;
8217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8218 PyObject * obj0 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
8224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 (arg1)->HomeDisplay();
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 Py_INCREF(Py_None); resultobj = Py_None;
8233 return resultobj;
8234 fail:
8235 return NULL;
8236 }
8237
8238
8239 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj;
8241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8242 PyObject * obj0 = 0 ;
8243 char *kwnames[] = {
8244 (char *) "self", NULL
8245 };
8246
8247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
8248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->HomeDisplayExtend();
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->LineEndDisplay();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 (arg1)->LineEndDisplayExtend();
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8314 PyObject * obj0 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
8320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 (arg1)->LineCopy();
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 Py_INCREF(Py_None); resultobj = Py_None;
8329 return resultobj;
8330 fail:
8331 return NULL;
8332 }
8333
8334
8335 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj;
8337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8338 PyObject * obj0 = 0 ;
8339 char *kwnames[] = {
8340 (char *) "self", NULL
8341 };
8342
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
8344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 (arg1)->MoveCaretInsideView();
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 Py_INCREF(Py_None); resultobj = Py_None;
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8362 int arg2 ;
8363 int result;
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self",(char *) "line", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8372 {
8373 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (int)(arg1)->LineLength(arg2);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_PyObj_FromInt((int)result);
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8391 PyObject *resultobj;
8392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8393 int arg2 ;
8394 int arg3 ;
8395 PyObject * obj0 = 0 ;
8396 PyObject * obj1 = 0 ;
8397 PyObject * obj2 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8404 {
8405 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 {
8409 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->BraceHighlight(arg2,arg3);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8429 int arg2 ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "pos", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 {
8439 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->BraceBadLight(arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8459 int arg2 ;
8460 int result;
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self",(char *) "pos", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 {
8470 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (int)(arg1)->BraceMatch(arg2);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 resultobj = SWIG_PyObj_FromInt((int)result);
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8490 bool result;
8491 PyObject * obj0 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 result = (bool)(arg1)->GetViewEOL();
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 resultobj = SWIG_PyObj_FromBool((bool)result);
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8515 bool arg2 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "visible", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
8523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8524 {
8525 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->SetViewEOL(arg2);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8545 void *result;
8546 PyObject * obj0 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (void *)(arg1)->GetDocPointer();
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8561 return resultobj;
8562 fail:
8563 return NULL;
8564 }
8565
8566
8567 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8570 void *arg2 = (void *) 0 ;
8571 PyObject * obj0 = 0 ;
8572 PyObject * obj1 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self",(char *) "docPointer", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
8578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetDocPointer(arg2);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8597 int arg2 ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "mask", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8606 {
8607 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 (arg1)->SetModEventMask(arg2);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 Py_INCREF(Py_None); resultobj = Py_None;
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj;
8626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8627 int result;
8628 PyObject * obj0 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (int)(arg1)->GetEdgeColumn();
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 resultobj = SWIG_PyObj_FromInt((int)result);
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8652 int arg2 ;
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self",(char *) "column", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
8660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8661 {
8662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 (arg1)->SetEdgeColumn(arg2);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 Py_INCREF(Py_None); resultobj = Py_None;
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8682 int result;
8683 PyObject * obj0 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
8689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (int)(arg1)->GetEdgeMode();
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = SWIG_PyObj_FromInt((int)result);
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8707 int arg2 ;
8708 PyObject * obj0 = 0 ;
8709 PyObject * obj1 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "mode", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 {
8717 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 (arg1)->SetEdgeMode(arg2);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 Py_INCREF(Py_None); resultobj = Py_None;
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8737 wxColour result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = (arg1)->GetEdgeColour();
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 {
8753 wxColour * resultptr;
8754 resultptr = new wxColour((wxColour &) result);
8755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8756 }
8757 return resultobj;
8758 fail:
8759 return NULL;
8760 }
8761
8762
8763 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj;
8765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8766 wxColour *arg2 = 0 ;
8767 wxColour temp2 ;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "edgeColour", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
8775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8776 {
8777 arg2 = &temp2;
8778 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->SetEdgeColour((wxColour const &)*arg2);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8797 PyObject * obj0 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "self", NULL
8800 };
8801
8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
8803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 (arg1)->SearchAnchor();
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 Py_INCREF(Py_None); resultobj = Py_None;
8812 return resultobj;
8813 fail:
8814 return NULL;
8815 }
8816
8817
8818 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8821 int arg2 ;
8822 wxString *arg3 = 0 ;
8823 int result;
8824 bool temp3 = False ;
8825 PyObject * obj0 = 0 ;
8826 PyObject * obj1 = 0 ;
8827 PyObject * obj2 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "flags",(char *) "text", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8834 {
8835 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 {
8839 arg3 = wxString_in_helper(obj2);
8840 if (arg3 == NULL) SWIG_fail;
8841 temp3 = True;
8842 }
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_PyObj_FromInt((int)result);
8851 {
8852 if (temp3)
8853 delete arg3;
8854 }
8855 return resultobj;
8856 fail:
8857 {
8858 if (temp3)
8859 delete arg3;
8860 }
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8868 int arg2 ;
8869 wxString *arg3 = 0 ;
8870 int result;
8871 bool temp3 = False ;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 PyObject * obj2 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "flags",(char *) "text", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8881 {
8882 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 {
8886 arg3 = wxString_in_helper(obj2);
8887 if (arg3 == NULL) SWIG_fail;
8888 temp3 = True;
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 resultobj = SWIG_PyObj_FromInt((int)result);
8898 {
8899 if (temp3)
8900 delete arg3;
8901 }
8902 return resultobj;
8903 fail:
8904 {
8905 if (temp3)
8906 delete arg3;
8907 }
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj;
8914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8915 int result;
8916 PyObject * obj0 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = (int)(arg1)->LinesOnScreen();
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_PyObj_FromInt((int)result);
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8940 bool arg2 ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self",(char *) "allowPopUp", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8949 {
8950 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 (arg1)->UsePopUp(arg2);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 Py_INCREF(Py_None); resultobj = Py_None;
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8970 bool result;
8971 PyObject * obj0 = 0 ;
8972 char *kwnames[] = {
8973 (char *) "self", NULL
8974 };
8975
8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
8977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 result = (bool)(arg1)->SelectionIsRectangle();
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_PyObj_FromBool((bool)result);
8986 return resultobj;
8987 fail:
8988 return NULL;
8989 }
8990
8991
8992 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8995 int arg2 ;
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "zoom", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 {
9005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetZoom(arg2);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9025 int result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (int)(arg1)->GetZoom();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = SWIG_PyObj_FromInt((int)result);
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9050 void *result;
9051 PyObject * obj0 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "self", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
9057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (void *)(arg1)->CreateDocument();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9075 void *arg2 = (void *) 0 ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "docPointer", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 (arg1)->AddRefDocument(arg2);
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9102 void *arg2 = (void *) 0 ;
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "docPointer", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 (arg1)->ReleaseDocument(arg2);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 Py_INCREF(Py_None); resultobj = Py_None;
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9129 int result;
9130 PyObject * obj0 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
9136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 result = (int)(arg1)->GetModEventMask();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_PyObj_FromInt((int)result);
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9154 bool arg2 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "focus", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 {
9164 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 (arg1)->SetSTCFocus(arg2);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 Py_INCREF(Py_None); resultobj = Py_None;
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9184 bool result;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (bool)(arg1)->GetSTCFocus();
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 resultobj = SWIG_PyObj_FromBool((bool)result);
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9209 int arg2 ;
9210 PyObject * obj0 = 0 ;
9211 PyObject * obj1 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "statusCode", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9218 {
9219 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 (arg1)->SetStatus(arg2);
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 Py_INCREF(Py_None); resultobj = Py_None;
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9239 int result;
9240 PyObject * obj0 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
9246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (int)(arg1)->GetStatus();
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 resultobj = SWIG_PyObj_FromInt((int)result);
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9264 bool arg2 ;
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "captures", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 {
9274 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetMouseDownCaptures(arg2);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 Py_INCREF(Py_None); resultobj = Py_None;
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9294 bool result;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 result = (bool)(arg1)->GetMouseDownCaptures();
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 resultobj = SWIG_PyObj_FromBool((bool)result);
9310 return resultobj;
9311 fail:
9312 return NULL;
9313 }
9314
9315
9316 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9317 PyObject *resultobj;
9318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9319 int arg2 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self",(char *) "cursorType", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 (arg1)->SetSTCCursor(arg2);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9349 int result;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)(arg1)->GetSTCCursor();
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_PyObj_FromInt((int)result);
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9374 int arg2 ;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self",(char *) "symbol", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9383 {
9384 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 (arg1)->SetControlCharSymbol(arg2);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 Py_INCREF(Py_None); resultobj = Py_None;
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9404 int result;
9405 PyObject * obj0 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
9411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (int)(arg1)->GetControlCharSymbol();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 resultobj = SWIG_PyObj_FromInt((int)result);
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 (arg1)->WordPartLeft();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 Py_INCREF(Py_None); resultobj = Py_None;
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9453 PyObject * obj0 = 0 ;
9454 char *kwnames[] = {
9455 (char *) "self", NULL
9456 };
9457
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
9459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 (arg1)->WordPartLeftExtend();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 Py_INCREF(Py_None); resultobj = Py_None;
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj;
9476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
9483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 (arg1)->WordPartRight();
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 Py_INCREF(Py_None); resultobj = Py_None;
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9501 PyObject * obj0 = 0 ;
9502 char *kwnames[] = {
9503 (char *) "self", NULL
9504 };
9505
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
9507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 (arg1)->WordPartRightExtend();
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9525 int arg2 ;
9526 int arg3 ;
9527 PyObject * obj0 = 0 ;
9528 PyObject * obj1 = 0 ;
9529 PyObject * obj2 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9536 {
9537 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 {
9541 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 (arg1)->SetVisiblePolicy(arg2,arg3);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 Py_INCREF(Py_None); resultobj = Py_None;
9552 return resultobj;
9553 fail:
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9561 PyObject * obj0 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "self", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
9567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 (arg1)->DelLineLeft();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 Py_INCREF(Py_None); resultobj = Py_None;
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9585 PyObject * obj0 = 0 ;
9586 char *kwnames[] = {
9587 (char *) "self", NULL
9588 };
9589
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
9591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 (arg1)->DelLineRight();
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 Py_INCREF(Py_None); resultobj = Py_None;
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj;
9608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9609 int arg2 ;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj1 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self",(char *) "newOffset", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618 {
9619 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 (arg1)->SetXOffset(arg2);
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 Py_INCREF(Py_None); resultobj = Py_None;
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (int)(arg1)->GetXOffset();
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = SWIG_PyObj_FromInt((int)result);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9664 PyObject * obj0 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->ChooseCaretX();
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9688 int arg2 ;
9689 int arg3 ;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 PyObject * obj2 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 {
9700 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 (arg1)->SetXCaretPolicy(arg2,arg3);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 Py_INCREF(Py_None); resultobj = Py_None;
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9724 int arg2 ;
9725 int arg3 ;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 PyObject * obj2 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9735 {
9736 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 {
9740 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 (arg1)->SetYCaretPolicy(arg2,arg3);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 Py_INCREF(Py_None); resultobj = Py_None;
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9760 int arg2 ;
9761 PyObject * obj0 = 0 ;
9762 PyObject * obj1 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self",(char *) "mode", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9769 {
9770 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 (arg1)->SetPrintWrapMode(arg2);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9790 int result;
9791 PyObject * obj0 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (int)(arg1)->GetPrintWrapMode();
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_PyObj_FromInt((int)result);
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9815 bool arg2 ;
9816 wxColour *arg3 = 0 ;
9817 wxColour temp3 ;
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 PyObject * obj2 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9827 {
9828 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 {
9832 arg3 = &temp3;
9833 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9834 }
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 Py_INCREF(Py_None); resultobj = Py_None;
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9852 bool arg2 ;
9853 wxColour *arg3 = 0 ;
9854 wxColour temp3 ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 PyObject * obj2 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 {
9865 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 {
9869 arg3 = &temp3;
9870 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9871 }
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 Py_INCREF(Py_None); resultobj = Py_None;
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9889 bool arg2 ;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self",(char *) "underline", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9898 {
9899 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 (arg1)->SetHotspotActiveUnderline(arg2);
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 Py_INCREF(Py_None); resultobj = Py_None;
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9919 int arg2 ;
9920 int result;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "pos", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
9928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9929 {
9930 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = (int)(arg1)->PositionBefore(arg2);
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 resultobj = SWIG_PyObj_FromInt((int)result);
9941 return resultobj;
9942 fail:
9943 return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9950 int arg2 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self",(char *) "pos", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9960 {
9961 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)(arg1)->PositionAfter(arg2);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_PyObj_FromInt((int)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9981 int arg2 ;
9982 int arg3 ;
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 PyObject * obj2 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self",(char *) "start",(char *) "end", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 {
9993 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 {
9997 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->CopyRange(arg2,arg3);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10017 int arg2 ;
10018 wxString *arg3 = 0 ;
10019 bool temp3 = False ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10022 PyObject * obj2 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "length",(char *) "text", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10029 {
10030 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 {
10034 arg3 = wxString_in_helper(obj2);
10035 if (arg3 == NULL) SWIG_fail;
10036 temp3 = True;
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 (arg1)->CopyText(arg2,(wxString const &)*arg3);
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 Py_INCREF(Py_None); resultobj = Py_None;
10046 {
10047 if (temp3)
10048 delete arg3;
10049 }
10050 return resultobj;
10051 fail:
10052 {
10053 if (temp3)
10054 delete arg3;
10055 }
10056 return NULL;
10057 }
10058
10059
10060 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10063 PyObject * obj0 = 0 ;
10064 char *kwnames[] = {
10065 (char *) "self", NULL
10066 };
10067
10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
10069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 (arg1)->StartRecord();
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->StopRecord();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 Py_INCREF(Py_None); resultobj = Py_None;
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, 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 *) "lexer", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 {
10121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 (arg1)->SetLexer(arg2);
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 Py_INCREF(Py_None); resultobj = Py_None;
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10141 int result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
10148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (int)(arg1)->GetLexer();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = SWIG_PyObj_FromInt((int)result);
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10166 int arg2 ;
10167 int arg3 ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 PyObject * obj2 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "start",(char *) "end", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10177 {
10178 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 {
10182 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 (arg1)->Colourise(arg2,arg3);
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_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj;
10201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10202 wxString *arg2 = 0 ;
10203 wxString *arg3 = 0 ;
10204 bool temp2 = False ;
10205 bool temp3 = False ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 PyObject * obj2 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self",(char *) "key",(char *) "value", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 arg2 = wxString_in_helper(obj1);
10217 if (arg2 == NULL) SWIG_fail;
10218 temp2 = True;
10219 }
10220 {
10221 arg3 = wxString_in_helper(obj2);
10222 if (arg3 == NULL) SWIG_fail;
10223 temp3 = True;
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 Py_INCREF(Py_None); resultobj = Py_None;
10233 {
10234 if (temp2)
10235 delete arg2;
10236 }
10237 {
10238 if (temp3)
10239 delete arg3;
10240 }
10241 return resultobj;
10242 fail:
10243 {
10244 if (temp2)
10245 delete arg2;
10246 }
10247 {
10248 if (temp3)
10249 delete arg3;
10250 }
10251 return NULL;
10252 }
10253
10254
10255 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10258 int arg2 ;
10259 wxString *arg3 = 0 ;
10260 bool temp3 = False ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 PyObject * obj2 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
10269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10270 {
10271 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 {
10275 arg3 = wxString_in_helper(obj2);
10276 if (arg3 == NULL) SWIG_fail;
10277 temp3 = True;
10278 }
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 Py_INCREF(Py_None); resultobj = Py_None;
10287 {
10288 if (temp3)
10289 delete arg3;
10290 }
10291 return resultobj;
10292 fail:
10293 {
10294 if (temp3)
10295 delete arg3;
10296 }
10297 return NULL;
10298 }
10299
10300
10301 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj;
10303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10304 wxString *arg2 = 0 ;
10305 bool temp2 = False ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self",(char *) "language", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 {
10315 arg2 = wxString_in_helper(obj1);
10316 if (arg2 == NULL) SWIG_fail;
10317 temp2 = True;
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetLexerLanguage((wxString const &)*arg2);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 {
10328 if (temp2)
10329 delete arg2;
10330 }
10331 return resultobj;
10332 fail:
10333 {
10334 if (temp2)
10335 delete arg2;
10336 }
10337 return NULL;
10338 }
10339
10340
10341 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj;
10343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10344 int result;
10345 PyObject * obj0 = 0 ;
10346 char *kwnames[] = {
10347 (char *) "self", NULL
10348 };
10349
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 result = (int)(arg1)->GetCurrentLine();
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 resultobj = SWIG_PyObj_FromInt((int)result);
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj;
10368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10369 int arg2 ;
10370 wxString *arg3 = 0 ;
10371 bool temp3 = False ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 PyObject * obj2 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 {
10386 arg3 = wxString_in_helper(obj2);
10387 if (arg3 == NULL) SWIG_fail;
10388 temp3 = True;
10389 }
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 Py_INCREF(Py_None); resultobj = Py_None;
10398 {
10399 if (temp3)
10400 delete arg3;
10401 }
10402 return resultobj;
10403 fail:
10404 {
10405 if (temp3)
10406 delete arg3;
10407 }
10408 return NULL;
10409 }
10410
10411
10412 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10415 int arg2 ;
10416 wxFont *arg3 = 0 ;
10417 PyObject * obj0 = 0 ;
10418 PyObject * obj1 = 0 ;
10419 PyObject * obj2 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10426 {
10427 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 if (arg3 == NULL) {
10432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 (arg1)->StyleSetFont(arg2,*arg3);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 Py_INCREF(Py_None); resultobj = Py_None;
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10451 int arg2 ;
10452 int arg3 ;
10453 wxString *arg4 = 0 ;
10454 bool arg5 ;
10455 bool arg6 ;
10456 bool arg7 ;
10457 bool temp4 = False ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 PyObject * obj2 = 0 ;
10461 PyObject * obj3 = 0 ;
10462 PyObject * obj4 = 0 ;
10463 PyObject * obj5 = 0 ;
10464 PyObject * obj6 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 {
10472 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 {
10480 arg4 = wxString_in_helper(obj3);
10481 if (arg4 == NULL) SWIG_fail;
10482 temp4 = True;
10483 }
10484 {
10485 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 {
10489 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 Py_INCREF(Py_None); resultobj = Py_None;
10504 {
10505 if (temp4)
10506 delete arg4;
10507 }
10508 return resultobj;
10509 fail:
10510 {
10511 if (temp4)
10512 delete arg4;
10513 }
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10521 int arg2 ;
10522 PyObject * obj0 = 0 ;
10523 PyObject * obj1 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self",(char *) "cmd", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10530 {
10531 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->CmdKeyExecute(arg2);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10551 int arg2 ;
10552 int arg3 ;
10553 PyObject * obj0 = 0 ;
10554 PyObject * obj1 = 0 ;
10555 PyObject * obj2 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self",(char *) "left",(char *) "right", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 {
10567 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 (arg1)->SetMargins(arg2,arg3);
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 Py_INCREF(Py_None); resultobj = Py_None;
10578 return resultobj;
10579 fail:
10580 return NULL;
10581 }
10582
10583
10584 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject *resultobj;
10586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10587 int *arg2 = (int *) 0 ;
10588 int *arg3 = (int *) 0 ;
10589 int temp2 ;
10590 int temp3 ;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 arg2 = &temp2;
10597 arg3 = &temp3;
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->GetSelection(arg2,arg3);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 {
10609 PyObject *o = PyInt_FromLong((long) (*arg2));
10610 resultobj = t_output_helper(resultobj,o);
10611 }
10612 {
10613 PyObject *o = PyInt_FromLong((long) (*arg3));
10614 resultobj = t_output_helper(resultobj,o);
10615 }
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10625 int arg2 ;
10626 wxPoint result;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "pos", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (arg1)->PointFromPosition(arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 {
10647 wxPoint * resultptr;
10648 resultptr = new wxPoint((wxPoint &) result);
10649 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10650 }
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10660 int arg2 ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self",(char *) "line", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
10668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10669 {
10670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 (arg1)->ScrollToLine(arg2);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10690 int arg2 ;
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self",(char *) "column", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
10698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10699 {
10700 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 (arg1)->ScrollToColumn(arg2);
10706
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 Py_INCREF(Py_None); resultobj = Py_None;
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj;
10719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10720 int arg2 ;
10721 long arg3 = (long) 0 ;
10722 long arg4 = (long) 0 ;
10723 long result;
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 PyObject * obj3 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 {
10735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 if (obj2) {
10739 {
10740 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 }
10744 if (obj3) {
10745 {
10746 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 }
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_PyObj_FromLong((long)result);
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10767 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self",(char *) "bar", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
10775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->SetVScrollBar(arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10794 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 char *kwnames[] = {
10798 (char *) "self",(char *) "bar", NULL
10799 };
10800
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
10802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 (arg1)->SetHScrollBar(arg2);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 Py_INCREF(Py_None); resultobj = Py_None;
10812 return resultobj;
10813 fail:
10814 return NULL;
10815 }
10816
10817
10818 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
10819 PyObject *resultobj;
10820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10821 bool result;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = (bool)(arg1)->GetLastKeydownProcessed();
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 resultobj = SWIG_PyObj_FromBool((bool)result);
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10846 bool arg2 ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "val", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 (arg1)->SetLastKeydownProcessed(arg2);
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 Py_INCREF(Py_None); resultobj = Py_None;
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10876 wxString *arg2 = 0 ;
10877 bool result;
10878 bool temp2 = False ;
10879 PyObject * obj0 = 0 ;
10880 PyObject * obj1 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self",(char *) "filename", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10887 {
10888 arg2 = wxString_in_helper(obj1);
10889 if (arg2 == NULL) SWIG_fail;
10890 temp2 = True;
10891 }
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 resultobj = SWIG_PyObj_FromBool((bool)result);
10900 {
10901 if (temp2)
10902 delete arg2;
10903 }
10904 return resultobj;
10905 fail:
10906 {
10907 if (temp2)
10908 delete arg2;
10909 }
10910 return NULL;
10911 }
10912
10913
10914 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10917 wxString *arg2 = 0 ;
10918 bool result;
10919 bool temp2 = False ;
10920 PyObject * obj0 = 0 ;
10921 PyObject * obj1 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self",(char *) "filename", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10928 {
10929 arg2 = wxString_in_helper(obj1);
10930 if (arg2 == NULL) SWIG_fail;
10931 temp2 = True;
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_PyObj_FromBool((bool)result);
10941 {
10942 if (temp2)
10943 delete arg2;
10944 }
10945 return resultobj;
10946 fail:
10947 {
10948 if (temp2)
10949 delete arg2;
10950 }
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10958 int arg2 ;
10959 int arg3 ;
10960 wxDragResult arg4 ;
10961 wxDragResult result;
10962 wxDragResult *argp4 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 PyObject * obj2 = 0 ;
10966 PyObject * obj3 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10973 {
10974 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10982 arg4 = *argp4;
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (arg1)->DoDragOver(arg2,arg3,arg4);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 {
10991 wxDragResult * resultptr;
10992 resultptr = new wxDragResult((wxDragResult &) result);
10993 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11004 long arg2 ;
11005 long arg3 ;
11006 wxString *arg4 = 0 ;
11007 bool result;
11008 bool temp4 = False ;
11009 PyObject * obj0 = 0 ;
11010 PyObject * obj1 = 0 ;
11011 PyObject * obj2 = 0 ;
11012 PyObject * obj3 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11019 {
11020 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 {
11024 arg3 = (long) SWIG_PyObj_AsLong(obj2);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 {
11028 arg4 = wxString_in_helper(obj3);
11029 if (arg4 == NULL) SWIG_fail;
11030 temp4 = True;
11031 }
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 resultobj = SWIG_PyObj_FromBool((bool)result);
11040 {
11041 if (temp4)
11042 delete arg4;
11043 }
11044 return resultobj;
11045 fail:
11046 {
11047 if (temp4)
11048 delete arg4;
11049 }
11050 return NULL;
11051 }
11052
11053
11054 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
11055 PyObject *obj;
11056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11057 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
11058 Py_INCREF(obj);
11059 return Py_BuildValue((char *)"");
11060 }
11061 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxEventType arg1 = (wxEventType) 0 ;
11064 int arg2 = (int) 0 ;
11065 wxStyledTextEvent *result;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "commandType",(char *) "id", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
11073 if (obj0) {
11074 {
11075 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 }
11079 if (obj1) {
11080 {
11081 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 }
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj;
11101 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 delete arg1;
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 return resultobj;
11118 fail:
11119 return NULL;
11120 }
11121
11122
11123 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11126 int arg2 ;
11127 PyObject * obj0 = 0 ;
11128 PyObject * obj1 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "self",(char *) "pos", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11135 {
11136 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 (arg1)->SetPosition(arg2);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 Py_INCREF(Py_None); resultobj = Py_None;
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11156 int arg2 ;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 char *kwnames[] = {
11160 (char *) "self",(char *) "k", NULL
11161 };
11162
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
11164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11165 {
11166 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 (arg1)->SetKey(arg2);
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 Py_INCREF(Py_None); resultobj = Py_None;
11177 return resultobj;
11178 fail:
11179 return NULL;
11180 }
11181
11182
11183 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject *resultobj;
11185 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11186 int arg2 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self",(char *) "m", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195 {
11196 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->SetModifiers(arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11216 int arg2 ;
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self",(char *) "t", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
11224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11225 {
11226 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 (arg1)->SetModificationType(arg2);
11232
11233 wxPyEndAllowThreads(__tstate);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 }
11236 Py_INCREF(Py_None); resultobj = Py_None;
11237 return resultobj;
11238 fail:
11239 return NULL;
11240 }
11241
11242
11243 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11244 PyObject *resultobj;
11245 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11246 wxString *arg2 = 0 ;
11247 bool temp2 = False ;
11248 PyObject * obj0 = 0 ;
11249 PyObject * obj1 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self",(char *) "t", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 arg2 = wxString_in_helper(obj1);
11258 if (arg2 == NULL) SWIG_fail;
11259 temp2 = True;
11260 }
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 (arg1)->SetText((wxString const &)*arg2);
11264
11265 wxPyEndAllowThreads(__tstate);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
11268 Py_INCREF(Py_None); resultobj = Py_None;
11269 {
11270 if (temp2)
11271 delete arg2;
11272 }
11273 return resultobj;
11274 fail:
11275 {
11276 if (temp2)
11277 delete arg2;
11278 }
11279 return NULL;
11280 }
11281
11282
11283 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11286 int arg2 ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "len", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11295 {
11296 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetLength(arg2);
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 Py_INCREF(Py_None); resultobj = Py_None;
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj;
11315 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11316 int arg2 ;
11317 PyObject * obj0 = 0 ;
11318 PyObject * obj1 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "self",(char *) "num", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
11324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11325 {
11326 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 (arg1)->SetLinesAdded(arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 Py_INCREF(Py_None); resultobj = Py_None;
11337 return resultobj;
11338 fail:
11339 return NULL;
11340 }
11341
11342
11343 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11346 int arg2 ;
11347 PyObject * obj0 = 0 ;
11348 PyObject * obj1 = 0 ;
11349 char *kwnames[] = {
11350 (char *) "self",(char *) "val", NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
11354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11355 {
11356 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 (arg1)->SetLine(arg2);
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 Py_INCREF(Py_None); resultobj = Py_None;
11367 return resultobj;
11368 fail:
11369 return NULL;
11370 }
11371
11372
11373 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject *resultobj;
11375 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11376 int arg2 ;
11377 PyObject * obj0 = 0 ;
11378 PyObject * obj1 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "val", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 {
11386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 (arg1)->SetFoldLevelNow(arg2);
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 Py_INCREF(Py_None); resultobj = Py_None;
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11406 int arg2 ;
11407 PyObject * obj0 = 0 ;
11408 PyObject * obj1 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "self",(char *) "val", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
11414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11415 {
11416 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 (arg1)->SetFoldLevelPrev(arg2);
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 Py_INCREF(Py_None); resultobj = Py_None;
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11436 int arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "val", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11445 {
11446 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 (arg1)->SetMargin(arg2);
11452
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 Py_INCREF(Py_None); resultobj = Py_None;
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11464 PyObject *resultobj;
11465 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11466 int arg2 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self",(char *) "val", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11475 {
11476 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 (arg1)->SetMessage(arg2);
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 Py_INCREF(Py_None); resultobj = Py_None;
11487 return resultobj;
11488 fail:
11489 return NULL;
11490 }
11491
11492
11493 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11496 int arg2 ;
11497 PyObject * obj0 = 0 ;
11498 PyObject * obj1 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self",(char *) "val", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11505 {
11506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 (arg1)->SetWParam(arg2);
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 Py_INCREF(Py_None); resultobj = Py_None;
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11524 PyObject *resultobj;
11525 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11526 int arg2 ;
11527 PyObject * obj0 = 0 ;
11528 PyObject * obj1 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self",(char *) "val", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 {
11536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 (arg1)->SetLParam(arg2);
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 Py_INCREF(Py_None); resultobj = Py_None;
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11556 int arg2 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self",(char *) "val", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 {
11566 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->SetListType(arg2);
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 Py_INCREF(Py_None); resultobj = Py_None;
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11586 int arg2 ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "val", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595 {
11596 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->SetX(arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 return resultobj;
11608 fail:
11609 return NULL;
11610 }
11611
11612
11613 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11616 int arg2 ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "val", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 {
11626 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 (arg1)->SetY(arg2);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 return resultobj;
11638 fail:
11639 return NULL;
11640 }
11641
11642
11643 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11646 wxString *arg2 = 0 ;
11647 bool temp2 = False ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "val", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
11655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11656 {
11657 arg2 = wxString_in_helper(obj1);
11658 if (arg2 == NULL) SWIG_fail;
11659 temp2 = True;
11660 }
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 (arg1)->SetDragText((wxString const &)*arg2);
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 Py_INCREF(Py_None); resultobj = Py_None;
11669 {
11670 if (temp2)
11671 delete arg2;
11672 }
11673 return resultobj;
11674 fail:
11675 {
11676 if (temp2)
11677 delete arg2;
11678 }
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11686 bool arg2 ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "val", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11695 {
11696 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 (arg1)->SetDragAllowMove(arg2);
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 Py_INCREF(Py_None); resultobj = Py_None;
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11716 wxDragResult arg2 ;
11717 wxDragResult *argp2 ;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "val", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11726 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
11727 arg2 = *argp2;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 (arg1)->SetDragResult(arg2);
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 Py_INCREF(Py_None); resultobj = Py_None;
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11745 int result;
11746 PyObject * obj0 = 0 ;
11747 char *kwnames[] = {
11748 (char *) "self", NULL
11749 };
11750
11751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
11752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 resultobj = SWIG_PyObj_FromInt((int)result);
11761 return resultobj;
11762 fail:
11763 return NULL;
11764 }
11765
11766
11767 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11770 int result;
11771 PyObject * obj0 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
11777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 resultobj = SWIG_PyObj_FromInt((int)result);
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11795 int result;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 resultobj = SWIG_PyObj_FromInt((int)result);
11811 return resultobj;
11812 fail:
11813 return NULL;
11814 }
11815
11816
11817 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11820 int result;
11821 PyObject * obj0 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 resultobj = SWIG_PyObj_FromInt((int)result);
11836 return resultobj;
11837 fail:
11838 return NULL;
11839 }
11840
11841
11842 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11845 wxString result;
11846 PyObject * obj0 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "self", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
11852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = ((wxStyledTextEvent const *)arg1)->GetText();
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 {
11861 #if wxUSE_UNICODE
11862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11863 #else
11864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11865 #endif
11866 }
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11874 PyObject *resultobj;
11875 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11876 int result;
11877 PyObject * obj0 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "self", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 resultobj = SWIG_PyObj_FromInt((int)result);
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11901 int result;
11902 PyObject * obj0 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
11908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
11912
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 resultobj = SWIG_PyObj_FromInt((int)result);
11917 return resultobj;
11918 fail:
11919 return NULL;
11920 }
11921
11922
11923 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11926 int result;
11927 PyObject * obj0 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = SWIG_PyObj_FromInt((int)result);
11942 return resultobj;
11943 fail:
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11951 int result;
11952 PyObject * obj0 = 0 ;
11953 char *kwnames[] = {
11954 (char *) "self", NULL
11955 };
11956
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
11958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 resultobj = SWIG_PyObj_FromInt((int)result);
11967 return resultobj;
11968 fail:
11969 return NULL;
11970 }
11971
11972
11973 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11976 int result;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_PyObj_FromInt((int)result);
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12001 int result;
12002 PyObject * obj0 = 0 ;
12003 char *kwnames[] = {
12004 (char *) "self", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_PyObj_FromInt((int)result);
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12026 int result;
12027 PyObject * obj0 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
12033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 resultobj = SWIG_PyObj_FromInt((int)result);
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12051 int result;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 resultobj = SWIG_PyObj_FromInt((int)result);
12067 return resultobj;
12068 fail:
12069 return NULL;
12070 }
12071
12072
12073 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj;
12075 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12076 int result;
12077 PyObject * obj0 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = SWIG_PyObj_FromInt((int)result);
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
12099 PyObject *resultobj;
12100 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12101 int result;
12102 PyObject * obj0 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
12108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 resultobj = SWIG_PyObj_FromInt((int)result);
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12126 int result;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 resultobj = SWIG_PyObj_FromInt((int)result);
12142 return resultobj;
12143 fail:
12144 return NULL;
12145 }
12146
12147
12148 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12151 int result;
12152 PyObject * obj0 = 0 ;
12153 char *kwnames[] = {
12154 (char *) "self", NULL
12155 };
12156
12157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
12158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = SWIG_PyObj_FromInt((int)result);
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12176 wxString result;
12177 PyObject * obj0 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (arg1)->GetDragText();
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 {
12192 #if wxUSE_UNICODE
12193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12194 #else
12195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12196 #endif
12197 }
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj;
12206 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12207 bool result;
12208 PyObject * obj0 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
12214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (bool)(arg1)->GetDragAllowMove();
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 resultobj = SWIG_PyObj_FromBool((bool)result);
12223 return resultobj;
12224 fail:
12225 return NULL;
12226 }
12227
12228
12229 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12232 wxDragResult result;
12233 PyObject * obj0 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = (arg1)->GetDragResult();
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 {
12248 wxDragResult * resultptr;
12249 resultptr = new wxDragResult((wxDragResult &) result);
12250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
12251 }
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12261 bool result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
12268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = SWIG_PyObj_FromBool((bool)result);
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12286 bool result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = SWIG_PyObj_FromBool((bool)result);
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12311 bool result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_PyObj_FromBool((bool)result);
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12336 wxEvent *result;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
12359 PyObject *obj;
12360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12361 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
12362 Py_INCREF(obj);
12363 return Py_BuildValue((char *)"");
12364 }
12365 static PyMethodDef SwigMethods[] = {
12366 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12367 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12368 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12369 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
12370 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
12371 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
12372 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
12373 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
12374 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
12375 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
12376 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12377 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
12378 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
12379 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12380 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12381 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12382 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
12383 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
12384 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12385 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
12386 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
12387 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12388 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12389 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12390 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
12391 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
12392 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
12393 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
12394 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
12395 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
12396 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
12397 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
12398 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
12399 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
12400 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
12401 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
12402 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12403 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12404 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
12405 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
12406 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
12407 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
12408 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
12409 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
12410 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
12411 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
12412 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
12413 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
12414 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
12415 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
12416 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
12417 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
12418 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
12419 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12420 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12421 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
12422 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
12423 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12424 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12425 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
12426 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
12427 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
12428 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
12429 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
12430 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
12431 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
12432 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
12433 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
12434 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
12435 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
12436 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
12437 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
12438 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
12439 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
12440 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12441 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
12442 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
12443 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
12444 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
12445 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
12446 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12447 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12448 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
12449 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
12450 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
12451 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
12452 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
12453 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
12454 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
12455 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
12456 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
12457 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
12458 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
12459 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
12460 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
12461 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
12462 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12463 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12464 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12465 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12466 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
12467 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
12468 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
12469 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
12470 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
12471 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
12472 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
12473 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
12474 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
12475 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
12476 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12477 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12478 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
12479 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12480 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12481 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12482 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12483 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
12484 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
12485 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
12486 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12487 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12488 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
12489 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
12490 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12491 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12492 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
12493 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
12494 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
12495 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
12496 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12497 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12498 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
12499 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
12500 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12501 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12502 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12503 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12504 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12505 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12506 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
12507 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
12508 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12509 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
12510 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12511 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12512 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12513 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12514 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12515 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12516 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12517 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12518 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12519 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
12520 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
12521 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
12522 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
12523 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
12524 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12525 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12526 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
12527 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
12528 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
12529 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12530 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
12531 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
12532 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
12533 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
12534 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
12535 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
12536 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
12537 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
12538 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12539 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12540 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
12541 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
12542 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
12543 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12544 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12545 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12546 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12547 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
12548 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
12549 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
12550 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
12551 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
12552 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12553 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12554 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
12555 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
12556 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12557 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12558 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
12559 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
12560 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
12561 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12562 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12563 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
12564 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
12565 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
12566 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
12567 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
12568 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
12569 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
12570 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
12571 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
12572 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
12573 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12574 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12575 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
12576 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
12577 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
12578 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
12579 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
12580 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12581 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12582 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
12583 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
12584 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
12585 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
12586 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
12587 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
12588 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12589 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12590 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12591 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12592 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
12593 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
12594 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
12595 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
12596 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12597 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12598 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12599 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12600 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
12601 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12602 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12603 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
12604 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12605 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12606 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12607 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12608 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12609 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
12610 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
12611 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
12612 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
12613 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
12614 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
12615 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
12616 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12617 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
12618 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12619 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
12620 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
12621 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
12622 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
12623 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
12624 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
12625 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
12626 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
12627 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
12628 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
12629 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
12630 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12631 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12632 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12633 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12634 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12635 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12636 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
12637 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
12638 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
12639 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
12640 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
12641 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
12642 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
12643 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
12644 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
12645 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
12646 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
12647 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
12648 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12649 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12650 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
12651 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
12652 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12653 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12654 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12655 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12656 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12657 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12658 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
12659 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
12660 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
12661 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
12662 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
12663 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
12664 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
12665 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
12666 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
12667 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
12668 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12669 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12670 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12671 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12672 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
12673 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
12674 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
12675 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
12676 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
12677 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
12678 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
12679 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
12680 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
12681 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
12682 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
12683 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
12684 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
12685 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
12686 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
12687 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
12688 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
12689 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
12690 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
12691 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
12692 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
12693 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12694 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
12695 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
12696 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
12697 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
12698 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
12699 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
12700 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12701 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12702 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
12703 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
12704 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
12705 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
12706 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
12707 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12708 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12709 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
12710 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
12711 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
12712 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
12713 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
12714 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
12715 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12716 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
12717 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12718 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12719 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
12720 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
12721 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
12722 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
12723 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
12724 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
12725 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
12726 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
12727 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12728 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
12729 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12730 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
12731 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
12732 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
12733 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
12734 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
12735 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12736 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
12737 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12738 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12739 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
12740 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
12741 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
12742 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
12743 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
12744 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
12745 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
12746 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
12747 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12748 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
12749 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
12750 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
12751 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
12752 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
12753 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
12754 { NULL, NULL }
12755 };
12756
12757
12758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12759
12760 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12761 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12762 }
12763 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12764 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12765 }
12766 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12767 return (void *)((wxObject *) ((wxSizerItem *) x));
12768 }
12769 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12771 }
12772 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12773 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12774 }
12775 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12776 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12777 }
12778 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12779 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12780 }
12781 static void *_p_wxSizerTo_p_wxObject(void *x) {
12782 return (void *)((wxObject *) ((wxSizer *) x));
12783 }
12784 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12785 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12786 }
12787 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12789 }
12790 static void *_p_wxEventTo_p_wxObject(void *x) {
12791 return (void *)((wxObject *) ((wxEvent *) x));
12792 }
12793 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12794 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12795 }
12796 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12797 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12798 }
12799 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12800 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12801 }
12802 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12803 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12804 }
12805 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12806 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12807 }
12808 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
12809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
12810 }
12811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12812 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12813 }
12814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12815 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12816 }
12817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12818 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12819 }
12820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12821 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12822 }
12823 static void *_p_wxControlTo_p_wxObject(void *x) {
12824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12825 }
12826 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12827 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12828 }
12829 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12830 return (void *)((wxObject *) ((wxFSFile *) x));
12831 }
12832 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12833 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12834 }
12835 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
12836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
12837 }
12838 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12839 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12840 }
12841 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12843 }
12844 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12845 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12846 }
12847 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12848 return (void *)((wxObject *) ((wxMenuItem *) x));
12849 }
12850 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12851 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12852 }
12853 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12855 }
12856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12857 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12858 }
12859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12860 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12861 }
12862 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12863 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12864 }
12865 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12866 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12867 }
12868 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12869 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12870 }
12871 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12872 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12873 }
12874 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12875 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12876 }
12877 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12878 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12879 }
12880 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12881 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12882 }
12883 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12884 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12885 }
12886 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12887 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12888 }
12889 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12890 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12891 }
12892 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12893 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12894 }
12895 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12896 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12897 }
12898 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12899 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12900 }
12901 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12902 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12903 }
12904 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12905 return (void *)((wxObject *) ((wxImageHandler *) x));
12906 }
12907 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12908 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12909 }
12910 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12911 return (void *)((wxObject *) ((wxEvtHandler *) x));
12912 }
12913 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12914 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12915 }
12916 static void *_p_wxImageTo_p_wxObject(void *x) {
12917 return (void *)((wxObject *) ((wxImage *) x));
12918 }
12919 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12920 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12921 }
12922 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12924 }
12925 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12926 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12927 }
12928 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12929 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12930 }
12931 static void *_p_wxWindowTo_p_wxObject(void *x) {
12932 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12933 }
12934 static void *_p_wxMenuTo_p_wxObject(void *x) {
12935 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12936 }
12937 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12939 }
12940 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12941 return (void *)((wxObject *) ((wxFileSystem *) x));
12942 }
12943 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12945 }
12946 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12947 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12948 }
12949 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12950 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12951 }
12952 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12953 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12954 }
12955 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12956 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12957 }
12958 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12959 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12960 }
12961 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12963 }
12964 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12965 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12966 }
12967 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12968 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12969 }
12970 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12971 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12972 }
12973 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12974 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12975 }
12976 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12978 }
12979 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12980 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12981 }
12982 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12983 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12984 }
12985 static void *_p_wxControlTo_p_wxWindow(void *x) {
12986 return (void *)((wxWindow *) ((wxControl *) x));
12987 }
12988 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12989 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12990 }
12991 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
12992 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
12993 }
12994 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12995 return (void *)((wxWindow *) ((wxMenuBar *) x));
12996 }
12997 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12998 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12999 }
13000 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13001 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13002 }
13003 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13004 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13005 }
13006 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13007 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13008 }
13009 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
13010 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
13011 }
13012 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13013 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13014 }
13015 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13016 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13017 }
13018 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13019 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13020 }
13021 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13022 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13023 }
13024 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13025 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13026 }
13027 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13028 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13029 }
13030 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13031 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13032 }
13033 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13034 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13035 }
13036 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
13037 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13038 }
13039 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13040 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13041 }
13042 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13043 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13044 }
13045 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13046 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13047 }
13048 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13049 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13050 }
13051 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13052 return (void *)((wxControl *) ((wxControlWithItems *) x));
13053 }
13054 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
13055 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
13056 }
13057 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13059 }
13060 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13061 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13062 }
13063 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13064 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13065 }
13066 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13067 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13068 }
13069 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13070 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13071 }
13072 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13073 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13074 }
13075 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13076 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13077 }
13078 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13080 }
13081 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13082 return (void *)((wxEvent *) ((wxPyEvent *) x));
13083 }
13084 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13086 }
13087 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13088 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13089 }
13090 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13092 }
13093 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13094 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13095 }
13096 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13097 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13098 }
13099 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13100 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13101 }
13102 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13103 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13104 }
13105 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13106 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13107 }
13108 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13109 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13110 }
13111 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13112 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13113 }
13114 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13115 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13116 }
13117 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
13118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
13119 }
13120 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13122 }
13123 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13124 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13125 }
13126 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13127 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13128 }
13129 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13130 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13131 }
13132 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13133 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13134 }
13135 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13136 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13137 }
13138 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13139 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13140 }
13141 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13143 }
13144 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
13145 return (void *)((wxEvent *) ((wxShowEvent *) x));
13146 }
13147 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
13148 return (void *)((wxEvent *) ((wxCommandEvent *) x));
13149 }
13150 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
13151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
13152 }
13153 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
13154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13155 }
13156 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
13157 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
13158 }
13159 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
13160 return (void *)((wxEvent *) ((wxKeyEvent *) x));
13161 }
13162 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
13163 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
13164 }
13165 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
13166 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
13167 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
13168 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
13169 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
13170 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
13171 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}};
13172 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
13173 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
13174 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
13175 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
13176 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
13177 static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
13178 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
13179 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
13180 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
13181 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
13182 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl},{0}};
13183 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
13184 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13185 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
13186
13187 static swig_type_info *swig_types_initial[] = {
13188 _swigt__p_wxRect,
13189 _swigt__p_wxColour,
13190 _swigt__p_wxObject,
13191 _swigt__p_wxScrollBar,
13192 _swigt__p_wxStyledTextEvent,
13193 _swigt__p_wxWindow,
13194 _swigt__p_wxCommandEvent,
13195 _swigt__p_wxBitmap,
13196 _swigt__p_void,
13197 _swigt__p_wxPoint,
13198 _swigt__p_char,
13199 _swigt__p_wxDC,
13200 _swigt__p_wxDragResult,
13201 _swigt__p_wxString,
13202 _swigt__p_wxEvtHandler,
13203 _swigt__p_wxStyledTextCtrl,
13204 _swigt__p_wxFont,
13205 _swigt__p_wxControl,
13206 _swigt__p_wxEvent,
13207 _swigt__p_int,
13208 _swigt__p_wxMemoryBuffer,
13209 0
13210 };
13211
13212
13213 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13214
13215 static swig_const_info swig_const_table[] = {
13216 {0}};
13217
13218 #ifdef __cplusplus
13219 }
13220 #endif
13221
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 SWIGEXPORT(void) SWIG_init(void) {
13226 static PyObject *SWIG_globals = 0;
13227 static int typeinit = 0;
13228 PyObject *m, *d;
13229 int i;
13230 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13231 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13232 d = PyModule_GetDict(m);
13233
13234 if (!typeinit) {
13235 for (i = 0; swig_types_initial[i]; i++) {
13236 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13237 }
13238 typeinit = 1;
13239 }
13240 SWIG_InstallConstants(d,swig_const_table);
13241
13242 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13243 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
13244 PyDict_SetItemString(d,"STC_USE_DND", SWIG_PyObj_FromInt((int)1));
13245 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_PyObj_FromInt((int)1));
13246 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_PyObj_FromInt((int)-1));
13247 PyDict_SetItemString(d,"STC_START", SWIG_PyObj_FromInt((int)2000));
13248 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_PyObj_FromInt((int)3000));
13249 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_PyObj_FromInt((int)4000));
13250 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_PyObj_FromInt((int)0));
13251 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_PyObj_FromInt((int)1));
13252 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_PyObj_FromInt((int)2));
13253 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_PyObj_FromInt((int)0));
13254 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_PyObj_FromInt((int)1));
13255 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_PyObj_FromInt((int)2));
13256 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_PyObj_FromInt((int)65001));
13257 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_PyObj_FromInt((int)1));
13258 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_PyObj_FromInt((int)31));
13259 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_PyObj_FromInt((int)0));
13260 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_PyObj_FromInt((int)1));
13261 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_PyObj_FromInt((int)2));
13262 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_PyObj_FromInt((int)3));
13263 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_PyObj_FromInt((int)4));
13264 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_PyObj_FromInt((int)5));
13265 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_PyObj_FromInt((int)6));
13266 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_PyObj_FromInt((int)7));
13267 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_PyObj_FromInt((int)8));
13268 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_PyObj_FromInt((int)9));
13269 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_PyObj_FromInt((int)10));
13270 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_PyObj_FromInt((int)11));
13271 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_PyObj_FromInt((int)12));
13272 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_PyObj_FromInt((int)13));
13273 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_PyObj_FromInt((int)14));
13274 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_PyObj_FromInt((int)15));
13275 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_PyObj_FromInt((int)16));
13276 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_PyObj_FromInt((int)17));
13277 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_PyObj_FromInt((int)18));
13278 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_PyObj_FromInt((int)19));
13279 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_PyObj_FromInt((int)20));
13280 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_PyObj_FromInt((int)21));
13281 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_PyObj_FromInt((int)22));
13282 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_PyObj_FromInt((int)23));
13283 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_PyObj_FromInt((int)24));
13284 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_PyObj_FromInt((int)25));
13285 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_PyObj_FromInt((int)10000));
13286 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_PyObj_FromInt((int)25));
13287 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_PyObj_FromInt((int)26));
13288 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_PyObj_FromInt((int)27));
13289 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_PyObj_FromInt((int)28));
13290 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_PyObj_FromInt((int)29));
13291 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_PyObj_FromInt((int)30));
13292 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_PyObj_FromInt((int)31));
13293 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_PyObj_FromInt((int)0xFE000000));
13294 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_PyObj_FromInt((int)0));
13295 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_PyObj_FromInt((int)1));
13296 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_PyObj_FromInt((int)32));
13297 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_PyObj_FromInt((int)33));
13298 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_PyObj_FromInt((int)34));
13299 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_PyObj_FromInt((int)35));
13300 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_PyObj_FromInt((int)36));
13301 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_PyObj_FromInt((int)37));
13302 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_PyObj_FromInt((int)39));
13303 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_PyObj_FromInt((int)127));
13304 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_PyObj_FromInt((int)0));
13305 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_PyObj_FromInt((int)1));
13306 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_PyObj_FromInt((int)186));
13307 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_PyObj_FromInt((int)136));
13308 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_PyObj_FromInt((int)238));
13309 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_PyObj_FromInt((int)134));
13310 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_PyObj_FromInt((int)161));
13311 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_PyObj_FromInt((int)129));
13312 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_PyObj_FromInt((int)77));
13313 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_PyObj_FromInt((int)255));
13314 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_PyObj_FromInt((int)204));
13315 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_PyObj_FromInt((int)128));
13316 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_PyObj_FromInt((int)2));
13317 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_PyObj_FromInt((int)162));
13318 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_PyObj_FromInt((int)130));
13319 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_PyObj_FromInt((int)177));
13320 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_PyObj_FromInt((int)178));
13321 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_PyObj_FromInt((int)163));
13322 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_PyObj_FromInt((int)222));
13323 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_PyObj_FromInt((int)0));
13324 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_PyObj_FromInt((int)1));
13325 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_PyObj_FromInt((int)2));
13326 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_PyObj_FromInt((int)7));
13327 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_PyObj_FromInt((int)0));
13328 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_PyObj_FromInt((int)1));
13329 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_PyObj_FromInt((int)2));
13330 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_PyObj_FromInt((int)3));
13331 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_PyObj_FromInt((int)4));
13332 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_PyObj_FromInt((int)5));
13333 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_PyObj_FromInt((int)0x20));
13334 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_PyObj_FromInt((int)0x40));
13335 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_PyObj_FromInt((int)0x80));
13336 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_PyObj_FromInt((int)0xE0));
13337 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_PyObj_FromInt((int)0));
13338 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_PyObj_FromInt((int)1));
13339 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_PyObj_FromInt((int)2));
13340 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_PyObj_FromInt((int)3));
13341 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_PyObj_FromInt((int)4));
13342 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_PyObj_FromInt((int)2));
13343 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_PyObj_FromInt((int)4));
13344 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_PyObj_FromInt((int)0x00100000));
13345 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_PyObj_FromInt((int)0x00200000));
13346 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_PyObj_FromInt((int)0x00400000));
13347 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_PyObj_FromInt((int)0x400));
13348 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_PyObj_FromInt((int)0x1000));
13349 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_PyObj_FromInt((int)0x2000));
13350 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_PyObj_FromInt((int)0x4000));
13351 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_PyObj_FromInt((int)0x8000));
13352 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_PyObj_FromInt((int)0x10000));
13353 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_PyObj_FromInt((int)0x20000));
13354 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_PyObj_FromInt((int)0x0FFF));
13355 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_PyObj_FromInt((int)0x0002));
13356 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_PyObj_FromInt((int)0x0004));
13357 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_PyObj_FromInt((int)0x0008));
13358 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_PyObj_FromInt((int)0x0010));
13359 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_PyObj_FromInt((int)0x0040));
13360 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_PyObj_FromInt((int)0x0001));
13361 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_PyObj_FromInt((int)10000000));
13362 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_PyObj_FromInt((int)0));
13363 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_PyObj_FromInt((int)1));
13364 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_PyObj_FromInt((int)0));
13365 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_PyObj_FromInt((int)1));
13366 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_PyObj_FromInt((int)2));
13367 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_PyObj_FromInt((int)3));
13368 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_PyObj_FromInt((int)0));
13369 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_PyObj_FromInt((int)1));
13370 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_PyObj_FromInt((int)2));
13371 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_PyObj_FromInt((int)-1));
13372 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_PyObj_FromInt((int)4));
13373 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_PyObj_FromInt((int)0x01));
13374 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_PyObj_FromInt((int)0x04));
13375 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_PyObj_FromInt((int)0x01));
13376 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_PyObj_FromInt((int)0x04));
13377 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_PyObj_FromInt((int)0x10));
13378 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_PyObj_FromInt((int)0x08));
13379 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_PyObj_FromInt((int)8));
13380 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_PyObj_FromInt((int)0x1));
13381 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_PyObj_FromInt((int)0x2));
13382 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_PyObj_FromInt((int)0x4));
13383 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_PyObj_FromInt((int)0x8));
13384 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_PyObj_FromInt((int)0x10));
13385 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_PyObj_FromInt((int)0x20));
13386 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_PyObj_FromInt((int)0x40));
13387 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_PyObj_FromInt((int)0x100));
13388 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_PyObj_FromInt((int)0x200));
13389 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_PyObj_FromInt((int)0x400));
13390 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_PyObj_FromInt((int)0x800));
13391 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_PyObj_FromInt((int)0xF77));
13392 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_PyObj_FromInt((int)300));
13393 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_PyObj_FromInt((int)301));
13394 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_PyObj_FromInt((int)302));
13395 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_PyObj_FromInt((int)303));
13396 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_PyObj_FromInt((int)304));
13397 PyDict_SetItemString(d,"STC_KEY_END", SWIG_PyObj_FromInt((int)305));
13398 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_PyObj_FromInt((int)306));
13399 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_PyObj_FromInt((int)307));
13400 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_PyObj_FromInt((int)308));
13401 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_PyObj_FromInt((int)309));
13402 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_PyObj_FromInt((int)7));
13403 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_PyObj_FromInt((int)8));
13404 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_PyObj_FromInt((int)9));
13405 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_PyObj_FromInt((int)13));
13406 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_PyObj_FromInt((int)310));
13407 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_PyObj_FromInt((int)311));
13408 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_PyObj_FromInt((int)312));
13409 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_PyObj_FromInt((int)1));
13410 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_PyObj_FromInt((int)2));
13411 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_PyObj_FromInt((int)4));
13412 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_PyObj_FromInt((int)0));
13413 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_PyObj_FromInt((int)1));
13414 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_PyObj_FromInt((int)2));
13415 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_PyObj_FromInt((int)3));
13416 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_PyObj_FromInt((int)4));
13417 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_PyObj_FromInt((int)5));
13418 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_PyObj_FromInt((int)6));
13419 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_PyObj_FromInt((int)7));
13420 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_PyObj_FromInt((int)8));
13421 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_PyObj_FromInt((int)9));
13422 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_PyObj_FromInt((int)10));
13423 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_PyObj_FromInt((int)11));
13424 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_PyObj_FromInt((int)12));
13425 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_PyObj_FromInt((int)13));
13426 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_PyObj_FromInt((int)14));
13427 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_PyObj_FromInt((int)15));
13428 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_PyObj_FromInt((int)16));
13429 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_PyObj_FromInt((int)17));
13430 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_PyObj_FromInt((int)18));
13431 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_PyObj_FromInt((int)19));
13432 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_PyObj_FromInt((int)20));
13433 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_PyObj_FromInt((int)21));
13434 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_PyObj_FromInt((int)22));
13435 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_PyObj_FromInt((int)23));
13436 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_PyObj_FromInt((int)24));
13437 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_PyObj_FromInt((int)25));
13438 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_PyObj_FromInt((int)26));
13439 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_PyObj_FromInt((int)27));
13440 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_PyObj_FromInt((int)28));
13441 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_PyObj_FromInt((int)29));
13442 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_PyObj_FromInt((int)30));
13443 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_PyObj_FromInt((int)31));
13444 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_PyObj_FromInt((int)32));
13445 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_PyObj_FromInt((int)33));
13446 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_PyObj_FromInt((int)34));
13447 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_PyObj_FromInt((int)35));
13448 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_PyObj_FromInt((int)36));
13449 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_PyObj_FromInt((int)37));
13450 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_PyObj_FromInt((int)38));
13451 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_PyObj_FromInt((int)39));
13452 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_PyObj_FromInt((int)40));
13453 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_PyObj_FromInt((int)41));
13454 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_PyObj_FromInt((int)42));
13455 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_PyObj_FromInt((int)43));
13456 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_PyObj_FromInt((int)44));
13457 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_PyObj_FromInt((int)1000));
13458 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_PyObj_FromInt((int)0));
13459 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13460 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_PyObj_FromInt((int)2));
13461 PyDict_SetItemString(d,"STC_P_STRING", SWIG_PyObj_FromInt((int)3));
13462 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_PyObj_FromInt((int)4));
13463 PyDict_SetItemString(d,"STC_P_WORD", SWIG_PyObj_FromInt((int)5));
13464 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_PyObj_FromInt((int)6));
13465 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)7));
13466 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_PyObj_FromInt((int)8));
13467 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_PyObj_FromInt((int)9));
13468 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_PyObj_FromInt((int)10));
13469 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13470 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_PyObj_FromInt((int)12));
13471 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_PyObj_FromInt((int)13));
13472 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_PyObj_FromInt((int)0));
13473 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_PyObj_FromInt((int)1));
13474 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13475 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13476 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_PyObj_FromInt((int)4));
13477 PyDict_SetItemString(d,"STC_C_WORD", SWIG_PyObj_FromInt((int)5));
13478 PyDict_SetItemString(d,"STC_C_STRING", SWIG_PyObj_FromInt((int)6));
13479 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_PyObj_FromInt((int)7));
13480 PyDict_SetItemString(d,"STC_C_UUID", SWIG_PyObj_FromInt((int)8));
13481 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13482 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_PyObj_FromInt((int)10));
13483 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13484 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13485 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_PyObj_FromInt((int)13));
13486 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_PyObj_FromInt((int)14));
13487 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13488 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_PyObj_FromInt((int)16));
13489 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13490 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13491 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_PyObj_FromInt((int)19));
13492 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_PyObj_FromInt((int)0));
13493 PyDict_SetItemString(d,"STC_H_TAG", SWIG_PyObj_FromInt((int)1));
13494 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_PyObj_FromInt((int)2));
13495 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_PyObj_FromInt((int)3));
13496 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_PyObj_FromInt((int)4));
13497 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_PyObj_FromInt((int)5));
13498 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_PyObj_FromInt((int)6));
13499 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_PyObj_FromInt((int)7));
13500 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_PyObj_FromInt((int)8));
13501 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_PyObj_FromInt((int)9));
13502 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_PyObj_FromInt((int)10));
13503 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_PyObj_FromInt((int)11));
13504 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_PyObj_FromInt((int)12));
13505 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_PyObj_FromInt((int)13));
13506 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_PyObj_FromInt((int)14));
13507 PyDict_SetItemString(d,"STC_H_ASP", SWIG_PyObj_FromInt((int)15));
13508 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_PyObj_FromInt((int)16));
13509 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_PyObj_FromInt((int)17));
13510 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_PyObj_FromInt((int)18));
13511 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_PyObj_FromInt((int)19));
13512 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_PyObj_FromInt((int)20));
13513 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_PyObj_FromInt((int)21));
13514 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_PyObj_FromInt((int)22));
13515 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_PyObj_FromInt((int)23));
13516 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_PyObj_FromInt((int)24));
13517 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_PyObj_FromInt((int)25));
13518 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_PyObj_FromInt((int)26));
13519 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_PyObj_FromInt((int)27));
13520 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_PyObj_FromInt((int)28));
13521 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_PyObj_FromInt((int)29));
13522 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_PyObj_FromInt((int)30));
13523 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_PyObj_FromInt((int)31));
13524 PyDict_SetItemString(d,"STC_HJ_START", SWIG_PyObj_FromInt((int)40));
13525 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_PyObj_FromInt((int)41));
13526 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_PyObj_FromInt((int)42));
13527 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_PyObj_FromInt((int)43));
13528 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_PyObj_FromInt((int)44));
13529 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_PyObj_FromInt((int)45));
13530 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_PyObj_FromInt((int)46));
13531 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_PyObj_FromInt((int)47));
13532 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_PyObj_FromInt((int)48));
13533 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_PyObj_FromInt((int)49));
13534 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_PyObj_FromInt((int)50));
13535 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_PyObj_FromInt((int)51));
13536 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_PyObj_FromInt((int)52));
13537 PyDict_SetItemString(d,"STC_HJA_START", SWIG_PyObj_FromInt((int)55));
13538 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_PyObj_FromInt((int)56));
13539 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_PyObj_FromInt((int)57));
13540 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_PyObj_FromInt((int)58));
13541 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_PyObj_FromInt((int)59));
13542 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_PyObj_FromInt((int)60));
13543 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_PyObj_FromInt((int)61));
13544 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_PyObj_FromInt((int)62));
13545 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_PyObj_FromInt((int)63));
13546 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_PyObj_FromInt((int)64));
13547 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_PyObj_FromInt((int)65));
13548 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_PyObj_FromInt((int)66));
13549 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_PyObj_FromInt((int)67));
13550 PyDict_SetItemString(d,"STC_HB_START", SWIG_PyObj_FromInt((int)70));
13551 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_PyObj_FromInt((int)71));
13552 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_PyObj_FromInt((int)72));
13553 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_PyObj_FromInt((int)73));
13554 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_PyObj_FromInt((int)74));
13555 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_PyObj_FromInt((int)75));
13556 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_PyObj_FromInt((int)76));
13557 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_PyObj_FromInt((int)77));
13558 PyDict_SetItemString(d,"STC_HBA_START", SWIG_PyObj_FromInt((int)80));
13559 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_PyObj_FromInt((int)81));
13560 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_PyObj_FromInt((int)82));
13561 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_PyObj_FromInt((int)83));
13562 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_PyObj_FromInt((int)84));
13563 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_PyObj_FromInt((int)85));
13564 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_PyObj_FromInt((int)86));
13565 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_PyObj_FromInt((int)87));
13566 PyDict_SetItemString(d,"STC_HP_START", SWIG_PyObj_FromInt((int)90));
13567 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_PyObj_FromInt((int)91));
13568 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_PyObj_FromInt((int)92));
13569 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_PyObj_FromInt((int)93));
13570 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_PyObj_FromInt((int)94));
13571 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_PyObj_FromInt((int)95));
13572 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_PyObj_FromInt((int)96));
13573 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_PyObj_FromInt((int)97));
13574 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)98));
13575 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_PyObj_FromInt((int)99));
13576 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_PyObj_FromInt((int)100));
13577 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_PyObj_FromInt((int)101));
13578 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_PyObj_FromInt((int)102));
13579 PyDict_SetItemString(d,"STC_HPA_START", SWIG_PyObj_FromInt((int)105));
13580 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_PyObj_FromInt((int)106));
13581 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_PyObj_FromInt((int)107));
13582 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_PyObj_FromInt((int)108));
13583 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_PyObj_FromInt((int)109));
13584 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_PyObj_FromInt((int)110));
13585 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_PyObj_FromInt((int)111));
13586 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_PyObj_FromInt((int)112));
13587 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)113));
13588 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_PyObj_FromInt((int)114));
13589 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_PyObj_FromInt((int)115));
13590 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_PyObj_FromInt((int)116));
13591 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_PyObj_FromInt((int)117));
13592 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_PyObj_FromInt((int)118));
13593 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_PyObj_FromInt((int)119));
13594 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_PyObj_FromInt((int)120));
13595 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_PyObj_FromInt((int)121));
13596 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_PyObj_FromInt((int)122));
13597 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_PyObj_FromInt((int)123));
13598 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_PyObj_FromInt((int)124));
13599 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_PyObj_FromInt((int)125));
13600 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_PyObj_FromInt((int)126));
13601 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_PyObj_FromInt((int)127));
13602 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13603 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_PyObj_FromInt((int)1));
13604 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13605 PyDict_SetItemString(d,"STC_PL_POD", SWIG_PyObj_FromInt((int)3));
13606 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_PyObj_FromInt((int)4));
13607 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_PyObj_FromInt((int)5));
13608 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_PyObj_FromInt((int)6));
13609 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13610 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_PyObj_FromInt((int)8));
13611 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13612 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13613 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13614 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_PyObj_FromInt((int)12));
13615 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_PyObj_FromInt((int)13));
13616 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_PyObj_FromInt((int)14));
13617 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_PyObj_FromInt((int)15));
13618 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_PyObj_FromInt((int)17));
13619 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_PyObj_FromInt((int)18));
13620 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_PyObj_FromInt((int)19));
13621 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_PyObj_FromInt((int)20));
13622 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_PyObj_FromInt((int)21));
13623 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_PyObj_FromInt((int)22));
13624 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_PyObj_FromInt((int)23));
13625 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_PyObj_FromInt((int)24));
13626 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_PyObj_FromInt((int)25));
13627 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_PyObj_FromInt((int)26));
13628 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_PyObj_FromInt((int)27));
13629 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_PyObj_FromInt((int)28));
13630 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_PyObj_FromInt((int)29));
13631 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_PyObj_FromInt((int)30));
13632 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_PyObj_FromInt((int)0));
13633 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_PyObj_FromInt((int)1));
13634 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_PyObj_FromInt((int)2));
13635 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_PyObj_FromInt((int)3));
13636 PyDict_SetItemString(d,"STC_B_STRING", SWIG_PyObj_FromInt((int)4));
13637 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_PyObj_FromInt((int)5));
13638 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_PyObj_FromInt((int)6));
13639 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13640 PyDict_SetItemString(d,"STC_B_DATE", SWIG_PyObj_FromInt((int)8));
13641 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13642 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_PyObj_FromInt((int)1));
13643 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_PyObj_FromInt((int)2));
13644 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_PyObj_FromInt((int)3));
13645 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_PyObj_FromInt((int)4));
13646 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_PyObj_FromInt((int)0));
13647 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_PyObj_FromInt((int)1));
13648 PyDict_SetItemString(d,"STC_L_TAG", SWIG_PyObj_FromInt((int)2));
13649 PyDict_SetItemString(d,"STC_L_MATH", SWIG_PyObj_FromInt((int)3));
13650 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_PyObj_FromInt((int)4));
13651 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13652 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_PyObj_FromInt((int)1));
13653 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13654 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13655 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_PyObj_FromInt((int)4));
13656 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_PyObj_FromInt((int)5));
13657 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_PyObj_FromInt((int)6));
13658 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_PyObj_FromInt((int)7));
13659 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_PyObj_FromInt((int)8));
13660 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13661 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_PyObj_FromInt((int)10));
13662 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13663 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13664 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_PyObj_FromInt((int)13));
13665 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_PyObj_FromInt((int)14));
13666 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_PyObj_FromInt((int)15));
13667 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_PyObj_FromInt((int)16));
13668 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_PyObj_FromInt((int)17));
13669 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_PyObj_FromInt((int)18));
13670 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_PyObj_FromInt((int)19));
13671 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_PyObj_FromInt((int)0));
13672 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_PyObj_FromInt((int)1));
13673 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_PyObj_FromInt((int)2));
13674 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_PyObj_FromInt((int)3));
13675 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_PyObj_FromInt((int)4));
13676 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_PyObj_FromInt((int)5));
13677 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_PyObj_FromInt((int)6));
13678 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_PyObj_FromInt((int)7));
13679 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_PyObj_FromInt((int)8));
13680 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_PyObj_FromInt((int)9));
13681 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_PyObj_FromInt((int)10));
13682 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_PyObj_FromInt((int)11));
13683 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_PyObj_FromInt((int)12));
13684 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_PyObj_FromInt((int)13));
13685 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_PyObj_FromInt((int)14));
13686 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_PyObj_FromInt((int)15));
13687 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_PyObj_FromInt((int)16));
13688 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13689 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_PyObj_FromInt((int)1));
13690 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_PyObj_FromInt((int)2));
13691 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_PyObj_FromInt((int)3));
13692 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_PyObj_FromInt((int)4));
13693 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_PyObj_FromInt((int)5));
13694 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13695 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13696 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13697 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_PyObj_FromInt((int)1));
13698 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_PyObj_FromInt((int)2));
13699 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13700 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_PyObj_FromInt((int)4));
13701 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_PyObj_FromInt((int)5));
13702 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_PyObj_FromInt((int)9));
13703 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13704 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_PyObj_FromInt((int)1));
13705 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_PyObj_FromInt((int)2));
13706 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_PyObj_FromInt((int)3));
13707 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_PyObj_FromInt((int)4));
13708 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_PyObj_FromInt((int)5));
13709 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_PyObj_FromInt((int)6));
13710 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13711 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_PyObj_FromInt((int)1));
13712 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_PyObj_FromInt((int)2));
13713 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13714 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_PyObj_FromInt((int)4));
13715 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_PyObj_FromInt((int)5));
13716 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_PyObj_FromInt((int)6));
13717 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_PyObj_FromInt((int)7));
13718 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_PyObj_FromInt((int)8));
13719 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13720 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13721 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_PyObj_FromInt((int)1));
13722 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_PyObj_FromInt((int)2));
13723 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_PyObj_FromInt((int)3));
13724 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_PyObj_FromInt((int)6));
13725 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_PyObj_FromInt((int)7));
13726 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13727 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13728 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_PyObj_FromInt((int)10));
13729 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_PyObj_FromInt((int)11));
13730 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_PyObj_FromInt((int)12));
13731 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_PyObj_FromInt((int)13));
13732 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_PyObj_FromInt((int)14));
13733 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_PyObj_FromInt((int)15));
13734 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_PyObj_FromInt((int)16));
13735 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13736 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_PyObj_FromInt((int)1));
13737 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
13738 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_PyObj_FromInt((int)3));
13739 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_PyObj_FromInt((int)4));
13740 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_PyObj_FromInt((int)5));
13741 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_PyObj_FromInt((int)6));
13742 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_PyObj_FromInt((int)7));
13743 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13744 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_PyObj_FromInt((int)9));
13745 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_PyObj_FromInt((int)10));
13746 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_PyObj_FromInt((int)11));
13747 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_PyObj_FromInt((int)0));
13748 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_PyObj_FromInt((int)1));
13749 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_PyObj_FromInt((int)2));
13750 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_PyObj_FromInt((int)3));
13751 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_PyObj_FromInt((int)4));
13752 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_PyObj_FromInt((int)5));
13753 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_PyObj_FromInt((int)6));
13754 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_PyObj_FromInt((int)7));
13755 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13756 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_PyObj_FromInt((int)9));
13757 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_PyObj_FromInt((int)10));
13758 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_PyObj_FromInt((int)0));
13759 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_PyObj_FromInt((int)1));
13760 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_PyObj_FromInt((int)2));
13761 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_PyObj_FromInt((int)3));
13762 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_PyObj_FromInt((int)6));
13763 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13764 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13765 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_PyObj_FromInt((int)10));
13766 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13767 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13768 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_PyObj_FromInt((int)2));
13769 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_PyObj_FromInt((int)3));
13770 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_PyObj_FromInt((int)4));
13771 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_PyObj_FromInt((int)5));
13772 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_PyObj_FromInt((int)6));
13773 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13774 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13775 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13776 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13777 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_PyObj_FromInt((int)2));
13778 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_PyObj_FromInt((int)3));
13779 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13780 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_PyObj_FromInt((int)5));
13781 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_PyObj_FromInt((int)6));
13782 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_PyObj_FromInt((int)7));
13783 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_PyObj_FromInt((int)8));
13784 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_PyObj_FromInt((int)9));
13785 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_PyObj_FromInt((int)10));
13786 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13787 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13788 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_PyObj_FromInt((int)2));
13789 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_PyObj_FromInt((int)3));
13790 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13791 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_PyObj_FromInt((int)5));
13792 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_PyObj_FromInt((int)6));
13793 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13794 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13795 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENT", SWIG_PyObj_FromInt((int)1));
13796 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13797 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13798 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_PyObj_FromInt((int)4));
13799 PyDict_SetItemString(d,"STC_SCRIPTOL_WORD", SWIG_PyObj_FromInt((int)5));
13800 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_PyObj_FromInt((int)6));
13801 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13802 PyDict_SetItemString(d,"STC_SCRIPTOL_UUID", SWIG_PyObj_FromInt((int)8));
13803 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13804 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13805 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13806 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13807 PyDict_SetItemString(d,"STC_SCRIPTOL_VERBATIM", SWIG_PyObj_FromInt((int)13));
13808 PyDict_SetItemString(d,"STC_SCRIPTOL_REGEX", SWIG_PyObj_FromInt((int)14));
13809 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13810 PyDict_SetItemString(d,"STC_SCRIPTOL_WORD2", SWIG_PyObj_FromInt((int)16));
13811 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13812 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13813 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBASIC", SWIG_PyObj_FromInt((int)19));
13814 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_PyObj_FromInt((int)0));
13815 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_PyObj_FromInt((int)1));
13816 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_PyObj_FromInt((int)2));
13817 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_PyObj_FromInt((int)3));
13818 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_PyObj_FromInt((int)4));
13819 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13820 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_PyObj_FromInt((int)6));
13821 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_PyObj_FromInt((int)7));
13822 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_PyObj_FromInt((int)8));
13823 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13824 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_PyObj_FromInt((int)10));
13825 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_PyObj_FromInt((int)0));
13826 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_PyObj_FromInt((int)1));
13827 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_PyObj_FromInt((int)2));
13828 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_PyObj_FromInt((int)3));
13829 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_PyObj_FromInt((int)4));
13830 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_PyObj_FromInt((int)5));
13831 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_PyObj_FromInt((int)6));
13832 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13833 PyDict_SetItemString(d,"STC_F_WORD", SWIG_PyObj_FromInt((int)8));
13834 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_PyObj_FromInt((int)9));
13835 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_PyObj_FromInt((int)10));
13836 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_PyObj_FromInt((int)11));
13837 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_PyObj_FromInt((int)12));
13838 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_PyObj_FromInt((int)13));
13839 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_PyObj_FromInt((int)14));
13840 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13841 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_PyObj_FromInt((int)1));
13842 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_PyObj_FromInt((int)2));
13843 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_PyObj_FromInt((int)3));
13844 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_PyObj_FromInt((int)4));
13845 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_PyObj_FromInt((int)5));
13846 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13847 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13848 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_PyObj_FromInt((int)8));
13849 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_PyObj_FromInt((int)9));
13850 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_PyObj_FromInt((int)10));
13851 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_PyObj_FromInt((int)11));
13852 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_PyObj_FromInt((int)12));
13853 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_PyObj_FromInt((int)13));
13854 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_PyObj_FromInt((int)14));
13855 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_PyObj_FromInt((int)0));
13856 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_PyObj_FromInt((int)1));
13857 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13858 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_PyObj_FromInt((int)3));
13859 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_PyObj_FromInt((int)4));
13860 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13861 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_PyObj_FromInt((int)6));
13862 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_PyObj_FromInt((int)7));
13863 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_PyObj_FromInt((int)8));
13864 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_PyObj_FromInt((int)9));
13865 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_PyObj_FromInt((int)10));
13866 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_PyObj_FromInt((int)11));
13867 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_PyObj_FromInt((int)12));
13868 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_PyObj_FromInt((int)13));
13869 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_PyObj_FromInt((int)14));
13870 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_PyObj_FromInt((int)15));
13871 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_PyObj_FromInt((int)16));
13872 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13873 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_PyObj_FromInt((int)1));
13874 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_PyObj_FromInt((int)2));
13875 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_PyObj_FromInt((int)3));
13876 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_PyObj_FromInt((int)4));
13877 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_PyObj_FromInt((int)5));
13878 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_PyObj_FromInt((int)6));
13879 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_PyObj_FromInt((int)7));
13880 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_PyObj_FromInt((int)8));
13881 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13882 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_PyObj_FromInt((int)10));
13883 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13884 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_PyObj_FromInt((int)1));
13885 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13886 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13887 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_PyObj_FromInt((int)4));
13888 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_PyObj_FromInt((int)5));
13889 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_PyObj_FromInt((int)6));
13890 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13891 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13892 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_PyObj_FromInt((int)9));
13893 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_PyObj_FromInt((int)10));
13894 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_PyObj_FromInt((int)11));
13895 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13896 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_PyObj_FromInt((int)1));
13897 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_PyObj_FromInt((int)2));
13898 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_PyObj_FromInt((int)3));
13899 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_PyObj_FromInt((int)4));
13900 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_PyObj_FromInt((int)5));
13901 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_PyObj_FromInt((int)6));
13902 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_PyObj_FromInt((int)7));
13903 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_PyObj_FromInt((int)8));
13904 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_PyObj_FromInt((int)9));
13905 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_PyObj_FromInt((int)10));
13906 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_PyObj_FromInt((int)11));
13907 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_PyObj_FromInt((int)12));
13908 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_PyObj_FromInt((int)13));
13909 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_PyObj_FromInt((int)14));
13910 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_PyObj_FromInt((int)15));
13911 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13912 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_PyObj_FromInt((int)1));
13913 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_PyObj_FromInt((int)2));
13914 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_PyObj_FromInt((int)3));
13915 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_PyObj_FromInt((int)4));
13916 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_PyObj_FromInt((int)5));
13917 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_PyObj_FromInt((int)6));
13918 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_PyObj_FromInt((int)7));
13919 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_PyObj_FromInt((int)8));
13920 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_PyObj_FromInt((int)9));
13921 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_PyObj_FromInt((int)10));
13922 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_PyObj_FromInt((int)11));
13923 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_PyObj_FromInt((int)12));
13924 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_PyObj_FromInt((int)13));
13925 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_PyObj_FromInt((int)0));
13926 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_PyObj_FromInt((int)1));
13927 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_PyObj_FromInt((int)2));
13928 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_PyObj_FromInt((int)3));
13929 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_PyObj_FromInt((int)4));
13930 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_PyObj_FromInt((int)5));
13931 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_PyObj_FromInt((int)6));
13932 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_PyObj_FromInt((int)7));
13933 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_PyObj_FromInt((int)8));
13934 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_PyObj_FromInt((int)9));
13935 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_PyObj_FromInt((int)10));
13936 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_PyObj_FromInt((int)11));
13937 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_PyObj_FromInt((int)12));
13938 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_PyObj_FromInt((int)13));
13939 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_PyObj_FromInt((int)14));
13940 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_PyObj_FromInt((int)15));
13941 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_PyObj_FromInt((int)16));
13942 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_PyObj_FromInt((int)17));
13943 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_PyObj_FromInt((int)2011));
13944 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_PyObj_FromInt((int)2013));
13945 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_PyObj_FromInt((int)2176));
13946 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_PyObj_FromInt((int)2177));
13947 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_PyObj_FromInt((int)2178));
13948 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_PyObj_FromInt((int)2179));
13949 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_PyObj_FromInt((int)2180));
13950 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_PyObj_FromInt((int)2300));
13951 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_PyObj_FromInt((int)2301));
13952 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_PyObj_FromInt((int)2302));
13953 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_PyObj_FromInt((int)2303));
13954 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_PyObj_FromInt((int)2304));
13955 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_PyObj_FromInt((int)2305));
13956 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_PyObj_FromInt((int)2306));
13957 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_PyObj_FromInt((int)2307));
13958 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_PyObj_FromInt((int)2308));
13959 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_PyObj_FromInt((int)2309));
13960 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_PyObj_FromInt((int)2310));
13961 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_PyObj_FromInt((int)2311));
13962 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_PyObj_FromInt((int)2312));
13963 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_PyObj_FromInt((int)2313));
13964 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_PyObj_FromInt((int)2314));
13965 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_PyObj_FromInt((int)2315));
13966 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_PyObj_FromInt((int)2316));
13967 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_PyObj_FromInt((int)2317));
13968 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_PyObj_FromInt((int)2318));
13969 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_PyObj_FromInt((int)2319));
13970 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_PyObj_FromInt((int)2320));
13971 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_PyObj_FromInt((int)2321));
13972 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_PyObj_FromInt((int)2322));
13973 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2323));
13974 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_PyObj_FromInt((int)2324));
13975 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_PyObj_FromInt((int)2325));
13976 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_PyObj_FromInt((int)2326));
13977 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_PyObj_FromInt((int)2327));
13978 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_PyObj_FromInt((int)2328));
13979 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_PyObj_FromInt((int)2329));
13980 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_PyObj_FromInt((int)2330));
13981 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_PyObj_FromInt((int)2331));
13982 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_PyObj_FromInt((int)2332));
13983 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_PyObj_FromInt((int)2333));
13984 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_PyObj_FromInt((int)2334));
13985 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_PyObj_FromInt((int)2335));
13986 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_PyObj_FromInt((int)2336));
13987 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_PyObj_FromInt((int)2337));
13988 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_PyObj_FromInt((int)2338));
13989 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_PyObj_FromInt((int)2339));
13990 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_PyObj_FromInt((int)2404));
13991 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_PyObj_FromInt((int)2340));
13992 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_PyObj_FromInt((int)2341));
13993 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_PyObj_FromInt((int)2342));
13994 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_PyObj_FromInt((int)2343));
13995 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_PyObj_FromInt((int)2344));
13996 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_PyObj_FromInt((int)2345));
13997 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2346));
13998 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_PyObj_FromInt((int)2347));
13999 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2348));
14000 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_PyObj_FromInt((int)2349));
14001 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2450));
14002 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_PyObj_FromInt((int)2451));
14003 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_PyObj_FromInt((int)2452));
14004 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_PyObj_FromInt((int)2453));
14005 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2454));
14006 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_PyObj_FromInt((int)2390));
14007 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_PyObj_FromInt((int)2391));
14008 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_PyObj_FromInt((int)2392));
14009 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_PyObj_FromInt((int)2393));
14010 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_PyObj_FromInt((int)2395));
14011 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_PyObj_FromInt((int)2396));
14012 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_PyObj_FromInt((int)2413));
14013 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_PyObj_FromInt((int)2414));
14014 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_PyObj_FromInt((int)2415));
14015 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_PyObj_FromInt((int)2416));
14016 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_PyObj_FromInt((int)wxEVT_STC_CHANGE));
14017 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_PyObj_FromInt((int)wxEVT_STC_STYLENEEDED));
14018 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_PyObj_FromInt((int)wxEVT_STC_CHARADDED));
14019 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
14020 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
14021 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_PyObj_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
14022 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_PyObj_FromInt((int)wxEVT_STC_KEY));
14023 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_DOUBLECLICK));
14024 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_PyObj_FromInt((int)wxEVT_STC_UPDATEUI));
14025 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_PyObj_FromInt((int)wxEVT_STC_MODIFIED));
14026 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_PyObj_FromInt((int)wxEVT_STC_MACRORECORD));
14027 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_MARGINCLICK));
14028 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_PyObj_FromInt((int)wxEVT_STC_NEEDSHOWN));
14029 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_PyObj_FromInt((int)wxEVT_STC_POSCHANGED));
14030 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_PyObj_FromInt((int)wxEVT_STC_PAINTED));
14031 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_PyObj_FromInt((int)wxEVT_STC_USERLISTSELECTION));
14032 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_PyObj_FromInt((int)wxEVT_STC_URIDROPPED));
14033 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLSTART));
14034 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLEND));
14035 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_PyObj_FromInt((int)wxEVT_STC_START_DRAG));
14036 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_PyObj_FromInt((int)wxEVT_STC_DRAG_OVER));
14037 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_PyObj_FromInt((int)wxEVT_STC_DO_DROP));
14038 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_PyObj_FromInt((int)wxEVT_STC_ZOOM));
14039 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
14040 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
14041 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
14042
14043
14044 }
14045