]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/stc_wrap.cpp
added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
[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_wxDC swig_types[10]
244 #define SWIGTYPE_p_char swig_types[11]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[12]
246 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[13]
247 #define SWIGTYPE_p_wxFont swig_types[14]
248 #define SWIGTYPE_p_wxControl swig_types[15]
249 #define SWIGTYPE_p_wxEvent swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxMemoryBuffer swig_types[18]
252 static swig_type_info *swig_types[20];
253
254 /* -------- TYPES TABLE (END) -------- */
255
256
257 /*-----------------------------------------------
258 @(target):= _stc.so
259 ------------------------------------------------*/
260 #define SWIG_init init_stc
261
262 #define SWIG_name "_stc"
263
264 #include <limits.h>
265 #include <float.h>
266 #include <string.h>
267
268 #ifndef SWIGSTATIC
269 #ifdef __cplusplus
270 #define SWIGSTATIC(a) static inline a
271 #else
272 #define SWIGSTATIC(a) static a
273 #endif
274 #endif
275
276 #ifndef numeric_cast
277 #ifdef __cplusplus
278 #ifdef HAVE_NUMERIC_CAST
279 #define numeric_cast(type,a) numeric_cast<type>(a)
280 #else
281 #define numeric_cast(type,a) static_cast<type>(a)
282 #endif
283 #else
284 #define numeric_cast(type,a) (type)(a)
285 #endif
286 #endif
287
288
289
290 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
291 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
292 #define SWIG_PyObj_FromShort PyInt_FromLong
293 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
294 #define SWIG_PyObj_FromInt PyInt_FromLong
295 #define SWIG_PyObj_FromLong PyInt_FromLong
296 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
297 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
298 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
299 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
300
301
302 #include "wx/wxPython/wxPython.h"
303 #include "wx/wxPython/pyclasses.h"
304 #include <wx/stc/stc.h>
305
306
307 static const wxString wxPySTCNameStr(wxSTCNameStr);
308
309 SWIGSTATIC(int)
310 SWIG_PyObj_AsInt(PyObject *obj)
311 {
312 return numeric_cast(int,
313 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
314 }
315
316
317 SWIGSTATIC(long)
318 SWIG_PyObj_AsLong(PyObject * obj)
319 {
320 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
321 }
322
323
324 SWIGSTATIC(bool)
325 SWIG_PyObj_AsBool(PyObject *obj)
326 {
327 return PyObject_IsTrue(obj) ? true : false;
328 }
329
330
331 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
332 PyObject* o2;
333 PyObject* o3;
334
335 if (!target) {
336 target = o;
337 } else if (target == Py_None) {
338 Py_DECREF(Py_None);
339 target = o;
340 } else {
341 if (!PyTuple_Check(target)) {
342 o2 = target;
343 target = PyTuple_New(1);
344 PyTuple_SetItem(target, 0, o2);
345 }
346 o3 = PyTuple_New(1);
347 PyTuple_SetItem(o3, 0, o);
348
349 o2 = target;
350 target = PySequence_Concat(o2, o3);
351 Py_DECREF(o2);
352 Py_DECREF(o3);
353 }
354 return target;
355 }
356
357 #ifdef __cplusplus
358 extern "C" {
359 #endif
360 static int _wrap_STCNameStr_set(PyObject *_val) {
361 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
362 return 1;
363 }
364
365
366 static PyObject *_wrap_STCNameStr_get() {
367 PyObject *pyobj;
368
369 {
370 #if wxUSE_UNICODE
371 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
372 #else
373 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
374 #endif
375 }
376 return pyobj;
377 }
378
379
380 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
381 PyObject *resultobj;
382 wxWindow *arg1 = (wxWindow *) 0 ;
383 int arg2 ;
384 wxPoint const &arg3_defvalue = wxDefaultPosition ;
385 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
386 wxSize const &arg4_defvalue = wxDefaultSize ;
387 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
388 long arg5 = (long) 0 ;
389 wxString const &arg6_defvalue = wxPySTCNameStr ;
390 wxString *arg6 = (wxString *) &arg6_defvalue ;
391 wxStyledTextCtrl *result;
392 wxPoint temp3 ;
393 wxSize temp4 ;
394 bool temp6 = False ;
395 PyObject * obj0 = 0 ;
396 PyObject * obj1 = 0 ;
397 PyObject * obj2 = 0 ;
398 PyObject * obj3 = 0 ;
399 PyObject * obj4 = 0 ;
400 PyObject * obj5 = 0 ;
401 char *kwnames[] = {
402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
403 };
404
405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
407 {
408 arg2 = (int) SWIG_PyObj_AsInt(obj1);
409 if (PyErr_Occurred()) SWIG_fail;
410 }
411 if (obj2) {
412 {
413 arg3 = &temp3;
414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
415 }
416 }
417 if (obj3) {
418 {
419 arg4 = &temp4;
420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
421 }
422 }
423 if (obj4) {
424 {
425 arg5 = (long) SWIG_PyObj_AsLong(obj4);
426 if (PyErr_Occurred()) SWIG_fail;
427 }
428 }
429 if (obj5) {
430 {
431 arg6 = wxString_in_helper(obj5);
432 if (arg6 == NULL) SWIG_fail;
433 temp6 = True;
434 }
435 }
436 {
437 PyThreadState* __tstate = wxPyBeginAllowThreads();
438 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
439
440 wxPyEndAllowThreads(__tstate);
441 if (PyErr_Occurred()) SWIG_fail;
442 }
443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
444 {
445 if (temp6)
446 delete arg6;
447 }
448 return resultobj;
449 fail:
450 {
451 if (temp6)
452 delete arg6;
453 }
454 return NULL;
455 }
456
457
458 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
459 PyObject *resultobj;
460 wxStyledTextCtrl *result;
461 char *kwnames[] = {
462 NULL
463 };
464
465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
466 {
467 PyThreadState* __tstate = wxPyBeginAllowThreads();
468 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
469
470 wxPyEndAllowThreads(__tstate);
471 if (PyErr_Occurred()) SWIG_fail;
472 }
473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
474 return resultobj;
475 fail:
476 return NULL;
477 }
478
479
480 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
481 PyObject *resultobj;
482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
483 wxWindow *arg2 = (wxWindow *) 0 ;
484 int arg3 ;
485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
487 wxSize const &arg5_defvalue = wxDefaultSize ;
488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
489 long arg6 = (long) 0 ;
490 wxString const &arg7_defvalue = wxSTCNameStr ;
491 wxString *arg7 = (wxString *) &arg7_defvalue ;
492 wxPoint temp4 ;
493 wxSize temp5 ;
494 bool temp7 = False ;
495 PyObject * obj0 = 0 ;
496 PyObject * obj1 = 0 ;
497 PyObject * obj2 = 0 ;
498 PyObject * obj3 = 0 ;
499 PyObject * obj4 = 0 ;
500 PyObject * obj5 = 0 ;
501 PyObject * obj6 = 0 ;
502 char *kwnames[] = {
503 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
504 };
505
506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
509 {
510 arg3 = (int) SWIG_PyObj_AsInt(obj2);
511 if (PyErr_Occurred()) SWIG_fail;
512 }
513 if (obj3) {
514 {
515 arg4 = &temp4;
516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
517 }
518 }
519 if (obj4) {
520 {
521 arg5 = &temp5;
522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
523 }
524 }
525 if (obj5) {
526 {
527 arg6 = (long) SWIG_PyObj_AsLong(obj5);
528 if (PyErr_Occurred()) SWIG_fail;
529 }
530 }
531 if (obj6) {
532 {
533 arg7 = wxString_in_helper(obj6);
534 if (arg7 == NULL) SWIG_fail;
535 temp7 = True;
536 }
537 }
538 {
539 PyThreadState* __tstate = wxPyBeginAllowThreads();
540 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
541
542 wxPyEndAllowThreads(__tstate);
543 if (PyErr_Occurred()) SWIG_fail;
544 }
545 Py_INCREF(Py_None); resultobj = Py_None;
546 {
547 if (temp7)
548 delete arg7;
549 }
550 return resultobj;
551 fail:
552 {
553 if (temp7)
554 delete arg7;
555 }
556 return NULL;
557 }
558
559
560 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
561 PyObject *resultobj;
562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
563 wxString *arg2 = 0 ;
564 bool temp2 = False ;
565 PyObject * obj0 = 0 ;
566 PyObject * obj1 = 0 ;
567 char *kwnames[] = {
568 (char *) "self",(char *) "text", NULL
569 };
570
571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
573 {
574 arg2 = wxString_in_helper(obj1);
575 if (arg2 == NULL) SWIG_fail;
576 temp2 = True;
577 }
578 {
579 PyThreadState* __tstate = wxPyBeginAllowThreads();
580 (arg1)->AddText((wxString const &)*arg2);
581
582 wxPyEndAllowThreads(__tstate);
583 if (PyErr_Occurred()) SWIG_fail;
584 }
585 Py_INCREF(Py_None); resultobj = Py_None;
586 {
587 if (temp2)
588 delete arg2;
589 }
590 return resultobj;
591 fail:
592 {
593 if (temp2)
594 delete arg2;
595 }
596 return NULL;
597 }
598
599
600 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
601 PyObject *resultobj;
602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
603 wxMemoryBuffer *arg2 = 0 ;
604 PyObject * obj0 = 0 ;
605 PyObject * obj1 = 0 ;
606 char *kwnames[] = {
607 (char *) "self",(char *) "data", NULL
608 };
609
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
613 if (arg2 == NULL) {
614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
615 }
616 {
617 PyThreadState* __tstate = wxPyBeginAllowThreads();
618 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
619
620 wxPyEndAllowThreads(__tstate);
621 if (PyErr_Occurred()) SWIG_fail;
622 }
623 Py_INCREF(Py_None); resultobj = Py_None;
624 return resultobj;
625 fail:
626 return NULL;
627 }
628
629
630 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
631 PyObject *resultobj;
632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
633 int arg2 ;
634 wxString *arg3 = 0 ;
635 bool temp3 = False ;
636 PyObject * obj0 = 0 ;
637 PyObject * obj1 = 0 ;
638 PyObject * obj2 = 0 ;
639 char *kwnames[] = {
640 (char *) "self",(char *) "pos",(char *) "text", NULL
641 };
642
643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
645 {
646 arg2 = (int) SWIG_PyObj_AsInt(obj1);
647 if (PyErr_Occurred()) SWIG_fail;
648 }
649 {
650 arg3 = wxString_in_helper(obj2);
651 if (arg3 == NULL) SWIG_fail;
652 temp3 = True;
653 }
654 {
655 PyThreadState* __tstate = wxPyBeginAllowThreads();
656 (arg1)->InsertText(arg2,(wxString const &)*arg3);
657
658 wxPyEndAllowThreads(__tstate);
659 if (PyErr_Occurred()) SWIG_fail;
660 }
661 Py_INCREF(Py_None); resultobj = Py_None;
662 {
663 if (temp3)
664 delete arg3;
665 }
666 return resultobj;
667 fail:
668 {
669 if (temp3)
670 delete arg3;
671 }
672 return NULL;
673 }
674
675
676 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
677 PyObject *resultobj;
678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
679 PyObject * obj0 = 0 ;
680 char *kwnames[] = {
681 (char *) "self", NULL
682 };
683
684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
686 {
687 PyThreadState* __tstate = wxPyBeginAllowThreads();
688 (arg1)->ClearAll();
689
690 wxPyEndAllowThreads(__tstate);
691 if (PyErr_Occurred()) SWIG_fail;
692 }
693 Py_INCREF(Py_None); resultobj = Py_None;
694 return resultobj;
695 fail:
696 return NULL;
697 }
698
699
700 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
701 PyObject *resultobj;
702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
703 PyObject * obj0 = 0 ;
704 char *kwnames[] = {
705 (char *) "self", NULL
706 };
707
708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
710 {
711 PyThreadState* __tstate = wxPyBeginAllowThreads();
712 (arg1)->ClearDocumentStyle();
713
714 wxPyEndAllowThreads(__tstate);
715 if (PyErr_Occurred()) SWIG_fail;
716 }
717 Py_INCREF(Py_None); resultobj = Py_None;
718 return resultobj;
719 fail:
720 return NULL;
721 }
722
723
724 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
725 PyObject *resultobj;
726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
727 int result;
728 PyObject * obj0 = 0 ;
729 char *kwnames[] = {
730 (char *) "self", NULL
731 };
732
733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
735 {
736 PyThreadState* __tstate = wxPyBeginAllowThreads();
737 result = (int)(arg1)->GetLength();
738
739 wxPyEndAllowThreads(__tstate);
740 if (PyErr_Occurred()) SWIG_fail;
741 }
742 resultobj = SWIG_PyObj_FromInt((int)result);
743 return resultobj;
744 fail:
745 return NULL;
746 }
747
748
749 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
750 PyObject *resultobj;
751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
752 int arg2 ;
753 int result;
754 PyObject * obj0 = 0 ;
755 PyObject * obj1 = 0 ;
756 char *kwnames[] = {
757 (char *) "self",(char *) "pos", NULL
758 };
759
760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
762 {
763 arg2 = (int) SWIG_PyObj_AsInt(obj1);
764 if (PyErr_Occurred()) SWIG_fail;
765 }
766 {
767 PyThreadState* __tstate = wxPyBeginAllowThreads();
768 result = (int)(arg1)->GetCharAt(arg2);
769
770 wxPyEndAllowThreads(__tstate);
771 if (PyErr_Occurred()) SWIG_fail;
772 }
773 resultobj = SWIG_PyObj_FromInt((int)result);
774 return resultobj;
775 fail:
776 return NULL;
777 }
778
779
780 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
781 PyObject *resultobj;
782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
783 int result;
784 PyObject * obj0 = 0 ;
785 char *kwnames[] = {
786 (char *) "self", NULL
787 };
788
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
791 {
792 PyThreadState* __tstate = wxPyBeginAllowThreads();
793 result = (int)(arg1)->GetCurrentPos();
794
795 wxPyEndAllowThreads(__tstate);
796 if (PyErr_Occurred()) SWIG_fail;
797 }
798 resultobj = SWIG_PyObj_FromInt((int)result);
799 return resultobj;
800 fail:
801 return NULL;
802 }
803
804
805 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
806 PyObject *resultobj;
807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
808 int result;
809 PyObject * obj0 = 0 ;
810 char *kwnames[] = {
811 (char *) "self", NULL
812 };
813
814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
816 {
817 PyThreadState* __tstate = wxPyBeginAllowThreads();
818 result = (int)(arg1)->GetAnchor();
819
820 wxPyEndAllowThreads(__tstate);
821 if (PyErr_Occurred()) SWIG_fail;
822 }
823 resultobj = SWIG_PyObj_FromInt((int)result);
824 return resultobj;
825 fail:
826 return NULL;
827 }
828
829
830 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject *resultobj;
832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
833 int arg2 ;
834 int result;
835 PyObject * obj0 = 0 ;
836 PyObject * obj1 = 0 ;
837 char *kwnames[] = {
838 (char *) "self",(char *) "pos", NULL
839 };
840
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
843 {
844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
845 if (PyErr_Occurred()) SWIG_fail;
846 }
847 {
848 PyThreadState* __tstate = wxPyBeginAllowThreads();
849 result = (int)(arg1)->GetStyleAt(arg2);
850
851 wxPyEndAllowThreads(__tstate);
852 if (PyErr_Occurred()) SWIG_fail;
853 }
854 resultobj = SWIG_PyObj_FromInt((int)result);
855 return resultobj;
856 fail:
857 return NULL;
858 }
859
860
861 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject *resultobj;
863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
864 PyObject * obj0 = 0 ;
865 char *kwnames[] = {
866 (char *) "self", NULL
867 };
868
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
871 {
872 PyThreadState* __tstate = wxPyBeginAllowThreads();
873 (arg1)->Redo();
874
875 wxPyEndAllowThreads(__tstate);
876 if (PyErr_Occurred()) SWIG_fail;
877 }
878 Py_INCREF(Py_None); resultobj = Py_None;
879 return resultobj;
880 fail:
881 return NULL;
882 }
883
884
885 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject *resultobj;
887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
888 bool arg2 ;
889 PyObject * obj0 = 0 ;
890 PyObject * obj1 = 0 ;
891 char *kwnames[] = {
892 (char *) "self",(char *) "collectUndo", NULL
893 };
894
895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
897 {
898 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
899 if (PyErr_Occurred()) SWIG_fail;
900 }
901 {
902 PyThreadState* __tstate = wxPyBeginAllowThreads();
903 (arg1)->SetUndoCollection(arg2);
904
905 wxPyEndAllowThreads(__tstate);
906 if (PyErr_Occurred()) SWIG_fail;
907 }
908 Py_INCREF(Py_None); resultobj = Py_None;
909 return resultobj;
910 fail:
911 return NULL;
912 }
913
914
915 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject *resultobj;
917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
918 PyObject * obj0 = 0 ;
919 char *kwnames[] = {
920 (char *) "self", NULL
921 };
922
923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
925 {
926 PyThreadState* __tstate = wxPyBeginAllowThreads();
927 (arg1)->SelectAll();
928
929 wxPyEndAllowThreads(__tstate);
930 if (PyErr_Occurred()) SWIG_fail;
931 }
932 Py_INCREF(Py_None); resultobj = Py_None;
933 return resultobj;
934 fail:
935 return NULL;
936 }
937
938
939 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject *resultobj;
941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
942 PyObject * obj0 = 0 ;
943 char *kwnames[] = {
944 (char *) "self", NULL
945 };
946
947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 (arg1)->SetSavePoint();
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 Py_INCREF(Py_None); resultobj = Py_None;
957 return resultobj;
958 fail:
959 return NULL;
960 }
961
962
963 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject *resultobj;
965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
966 int arg2 ;
967 int arg3 ;
968 wxMemoryBuffer result;
969 PyObject * obj0 = 0 ;
970 PyObject * obj1 = 0 ;
971 PyObject * obj2 = 0 ;
972 char *kwnames[] = {
973 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
974 };
975
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 {
979 arg2 = (int) SWIG_PyObj_AsInt(obj1);
980 if (PyErr_Occurred()) SWIG_fail;
981 }
982 {
983 arg3 = (int) SWIG_PyObj_AsInt(obj2);
984 if (PyErr_Occurred()) SWIG_fail;
985 }
986 {
987 PyThreadState* __tstate = wxPyBeginAllowThreads();
988 result = (arg1)->GetStyledText(arg2,arg3);
989
990 wxPyEndAllowThreads(__tstate);
991 if (PyErr_Occurred()) SWIG_fail;
992 }
993 {
994 wxMemoryBuffer * resultptr;
995 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
997 }
998 return resultobj;
999 fail:
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1005 PyObject *resultobj;
1006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1007 bool result;
1008 PyObject * obj0 = 0 ;
1009 char *kwnames[] = {
1010 (char *) "self", NULL
1011 };
1012
1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1015 {
1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
1017 result = (bool)(arg1)->CanRedo();
1018
1019 wxPyEndAllowThreads(__tstate);
1020 if (PyErr_Occurred()) SWIG_fail;
1021 }
1022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1023 return resultobj;
1024 fail:
1025 return NULL;
1026 }
1027
1028
1029 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1030 PyObject *resultobj;
1031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1032 int arg2 ;
1033 int result;
1034 PyObject * obj0 = 0 ;
1035 PyObject * obj1 = 0 ;
1036 char *kwnames[] = {
1037 (char *) "self",(char *) "handle", NULL
1038 };
1039
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1042 {
1043 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1044 if (PyErr_Occurred()) SWIG_fail;
1045 }
1046 {
1047 PyThreadState* __tstate = wxPyBeginAllowThreads();
1048 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1049
1050 wxPyEndAllowThreads(__tstate);
1051 if (PyErr_Occurred()) SWIG_fail;
1052 }
1053 resultobj = SWIG_PyObj_FromInt((int)result);
1054 return resultobj;
1055 fail:
1056 return NULL;
1057 }
1058
1059
1060 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1063 int arg2 ;
1064 PyObject * obj0 = 0 ;
1065 PyObject * obj1 = 0 ;
1066 char *kwnames[] = {
1067 (char *) "self",(char *) "handle", NULL
1068 };
1069
1070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1072 {
1073 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1074 if (PyErr_Occurred()) SWIG_fail;
1075 }
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 (arg1)->MarkerDeleteHandle(arg2);
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
1083 Py_INCREF(Py_None); resultobj = Py_None;
1084 return resultobj;
1085 fail:
1086 return NULL;
1087 }
1088
1089
1090 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject *resultobj;
1092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1093 bool result;
1094 PyObject * obj0 = 0 ;
1095 char *kwnames[] = {
1096 (char *) "self", NULL
1097 };
1098
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1101 {
1102 PyThreadState* __tstate = wxPyBeginAllowThreads();
1103 result = (bool)(arg1)->GetUndoCollection();
1104
1105 wxPyEndAllowThreads(__tstate);
1106 if (PyErr_Occurred()) SWIG_fail;
1107 }
1108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1109 return resultobj;
1110 fail:
1111 return NULL;
1112 }
1113
1114
1115 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject *resultobj;
1117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1118 int result;
1119 PyObject * obj0 = 0 ;
1120 char *kwnames[] = {
1121 (char *) "self", NULL
1122 };
1123
1124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1126 {
1127 PyThreadState* __tstate = wxPyBeginAllowThreads();
1128 result = (int)(arg1)->GetViewWhiteSpace();
1129
1130 wxPyEndAllowThreads(__tstate);
1131 if (PyErr_Occurred()) SWIG_fail;
1132 }
1133 resultobj = SWIG_PyObj_FromInt((int)result);
1134 return resultobj;
1135 fail:
1136 return NULL;
1137 }
1138
1139
1140 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1141 PyObject *resultobj;
1142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1143 int arg2 ;
1144 PyObject * obj0 = 0 ;
1145 PyObject * obj1 = 0 ;
1146 char *kwnames[] = {
1147 (char *) "self",(char *) "viewWS", NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1152 {
1153 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1154 if (PyErr_Occurred()) SWIG_fail;
1155 }
1156 {
1157 PyThreadState* __tstate = wxPyBeginAllowThreads();
1158 (arg1)->SetViewWhiteSpace(arg2);
1159
1160 wxPyEndAllowThreads(__tstate);
1161 if (PyErr_Occurred()) SWIG_fail;
1162 }
1163 Py_INCREF(Py_None); resultobj = Py_None;
1164 return resultobj;
1165 fail:
1166 return NULL;
1167 }
1168
1169
1170 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject *resultobj;
1172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1173 wxPoint arg2 ;
1174 int result;
1175 wxPoint *argp2 ;
1176 PyObject * obj0 = 0 ;
1177 PyObject * obj1 = 0 ;
1178 char *kwnames[] = {
1179 (char *) "self",(char *) "pt", NULL
1180 };
1181
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1184 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1185 arg2 = *argp2;
1186 {
1187 PyThreadState* __tstate = wxPyBeginAllowThreads();
1188 result = (int)(arg1)->PositionFromPoint(arg2);
1189
1190 wxPyEndAllowThreads(__tstate);
1191 if (PyErr_Occurred()) SWIG_fail;
1192 }
1193 resultobj = SWIG_PyObj_FromInt((int)result);
1194 return resultobj;
1195 fail:
1196 return NULL;
1197 }
1198
1199
1200 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject *resultobj;
1202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1203 int arg2 ;
1204 int arg3 ;
1205 int result;
1206 PyObject * obj0 = 0 ;
1207 PyObject * obj1 = 0 ;
1208 PyObject * obj2 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "self",(char *) "x",(char *) "y", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 {
1216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 {
1220 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 }
1223 {
1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
1225 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1226
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 resultobj = SWIG_PyObj_FromInt((int)result);
1231 return resultobj;
1232 fail:
1233 return NULL;
1234 }
1235
1236
1237 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1238 PyObject *resultobj;
1239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1240 int arg2 ;
1241 PyObject * obj0 = 0 ;
1242 PyObject * obj1 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self",(char *) "line", NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1249 {
1250 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 {
1254 PyThreadState* __tstate = wxPyBeginAllowThreads();
1255 (arg1)->GotoLine(arg2);
1256
1257 wxPyEndAllowThreads(__tstate);
1258 if (PyErr_Occurred()) SWIG_fail;
1259 }
1260 Py_INCREF(Py_None); resultobj = Py_None;
1261 return resultobj;
1262 fail:
1263 return NULL;
1264 }
1265
1266
1267 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject *resultobj;
1269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1270 int arg2 ;
1271 PyObject * obj0 = 0 ;
1272 PyObject * obj1 = 0 ;
1273 char *kwnames[] = {
1274 (char *) "self",(char *) "pos", NULL
1275 };
1276
1277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1279 {
1280 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1281 if (PyErr_Occurred()) SWIG_fail;
1282 }
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->GotoPos(arg2);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294 }
1295
1296
1297 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject *resultobj;
1299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1300 int arg2 ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj1 = 0 ;
1303 char *kwnames[] = {
1304 (char *) "self",(char *) "posAnchor", NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1309 {
1310 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 {
1314 PyThreadState* __tstate = wxPyBeginAllowThreads();
1315 (arg1)->SetAnchor(arg2);
1316
1317 wxPyEndAllowThreads(__tstate);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 Py_INCREF(Py_None); resultobj = Py_None;
1321 return resultobj;
1322 fail:
1323 return NULL;
1324 }
1325
1326
1327 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject *resultobj;
1329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1330 int *arg2 = (int *) 0 ;
1331 wxString result;
1332 int temp2 ;
1333 PyObject * obj0 = 0 ;
1334 char *kwnames[] = {
1335 (char *) "self", NULL
1336 };
1337
1338 arg2 = &temp2;
1339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1341 {
1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
1343 result = (arg1)->GetCurLine(arg2);
1344
1345 wxPyEndAllowThreads(__tstate);
1346 if (PyErr_Occurred()) SWIG_fail;
1347 }
1348 {
1349 #if wxUSE_UNICODE
1350 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1351 #else
1352 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1353 #endif
1354 }
1355 {
1356 PyObject *o = PyInt_FromLong((long) (*arg2));
1357 resultobj = t_output_helper(resultobj,o);
1358 }
1359 return resultobj;
1360 fail:
1361 return NULL;
1362 }
1363
1364
1365 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1368 int result;
1369 PyObject * obj0 = 0 ;
1370 char *kwnames[] = {
1371 (char *) "self", NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1376 {
1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
1378 result = (int)(arg1)->GetEndStyled();
1379
1380 wxPyEndAllowThreads(__tstate);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 resultobj = SWIG_PyObj_FromInt((int)result);
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1393 int arg2 ;
1394 PyObject * obj0 = 0 ;
1395 PyObject * obj1 = 0 ;
1396 char *kwnames[] = {
1397 (char *) "self",(char *) "eolMode", NULL
1398 };
1399
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1402 {
1403 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 {
1407 PyThreadState* __tstate = wxPyBeginAllowThreads();
1408 (arg1)->ConvertEOLs(arg2);
1409
1410 wxPyEndAllowThreads(__tstate);
1411 if (PyErr_Occurred()) SWIG_fail;
1412 }
1413 Py_INCREF(Py_None); resultobj = Py_None;
1414 return resultobj;
1415 fail:
1416 return NULL;
1417 }
1418
1419
1420 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1421 PyObject *resultobj;
1422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1423 int result;
1424 PyObject * obj0 = 0 ;
1425 char *kwnames[] = {
1426 (char *) "self", NULL
1427 };
1428
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (int)(arg1)->GetEOLMode();
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 resultobj = SWIG_PyObj_FromInt((int)result);
1439 return resultobj;
1440 fail:
1441 return NULL;
1442 }
1443
1444
1445 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1448 int arg2 ;
1449 PyObject * obj0 = 0 ;
1450 PyObject * obj1 = 0 ;
1451 char *kwnames[] = {
1452 (char *) "self",(char *) "eolMode", NULL
1453 };
1454
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1457 {
1458 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 {
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 (arg1)->SetEOLMode(arg2);
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 Py_INCREF(Py_None); resultobj = Py_None;
1469 return resultobj;
1470 fail:
1471 return NULL;
1472 }
1473
1474
1475 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject *resultobj;
1477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1478 int arg2 ;
1479 int arg3 ;
1480 PyObject * obj0 = 0 ;
1481 PyObject * obj1 = 0 ;
1482 PyObject * obj2 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "pos",(char *) "mask", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1489 {
1490 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 {
1494 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 {
1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
1499 (arg1)->StartStyling(arg2,arg3);
1500
1501 wxPyEndAllowThreads(__tstate);
1502 if (PyErr_Occurred()) SWIG_fail;
1503 }
1504 Py_INCREF(Py_None); resultobj = Py_None;
1505 return resultobj;
1506 fail:
1507 return NULL;
1508 }
1509
1510
1511 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject *resultobj;
1513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1514 int arg2 ;
1515 int arg3 ;
1516 PyObject * obj0 = 0 ;
1517 PyObject * obj1 = 0 ;
1518 PyObject * obj2 = 0 ;
1519 char *kwnames[] = {
1520 (char *) "self",(char *) "length",(char *) "style", NULL
1521 };
1522
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1525 {
1526 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1527 if (PyErr_Occurred()) SWIG_fail;
1528 }
1529 {
1530 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 (arg1)->SetStyling(arg2,arg3);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1550 bool result;
1551 PyObject * obj0 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "self", NULL
1554 };
1555
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1558 {
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = (bool)(arg1)->GetBufferedDraw();
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1566 return resultobj;
1567 fail:
1568 return NULL;
1569 }
1570
1571
1572 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1573 PyObject *resultobj;
1574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1575 bool arg2 ;
1576 PyObject * obj0 = 0 ;
1577 PyObject * obj1 = 0 ;
1578 char *kwnames[] = {
1579 (char *) "self",(char *) "buffered", NULL
1580 };
1581
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1584 {
1585 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 {
1589 PyThreadState* __tstate = wxPyBeginAllowThreads();
1590 (arg1)->SetBufferedDraw(arg2);
1591
1592 wxPyEndAllowThreads(__tstate);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 }
1595 Py_INCREF(Py_None); resultobj = Py_None;
1596 return resultobj;
1597 fail:
1598 return NULL;
1599 }
1600
1601
1602 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1603 PyObject *resultobj;
1604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1605 int arg2 ;
1606 PyObject * obj0 = 0 ;
1607 PyObject * obj1 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "self",(char *) "tabWidth", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614 {
1615 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 (arg1)->SetTabWidth(arg2);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 Py_INCREF(Py_None); resultobj = Py_None;
1626 return resultobj;
1627 fail:
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1635 int result;
1636 PyObject * obj0 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "self", NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (int)(arg1)->GetTabWidth();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 resultobj = SWIG_PyObj_FromInt((int)result);
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1660 int arg2 ;
1661 PyObject * obj0 = 0 ;
1662 PyObject * obj1 = 0 ;
1663 char *kwnames[] = {
1664 (char *) "self",(char *) "codePage", NULL
1665 };
1666
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 {
1670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 {
1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
1675 (arg1)->SetCodePage(arg2);
1676
1677 wxPyEndAllowThreads(__tstate);
1678 if (PyErr_Occurred()) SWIG_fail;
1679 }
1680 Py_INCREF(Py_None); resultobj = Py_None;
1681 return resultobj;
1682 fail:
1683 return NULL;
1684 }
1685
1686
1687 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject *resultobj;
1689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1690 int arg2 ;
1691 int arg3 ;
1692 wxColour const &arg4_defvalue = wxNullColour ;
1693 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1694 wxColour const &arg5_defvalue = wxNullColour ;
1695 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1696 wxColour temp4 ;
1697 wxColour temp5 ;
1698 PyObject * obj0 = 0 ;
1699 PyObject * obj1 = 0 ;
1700 PyObject * obj2 = 0 ;
1701 PyObject * obj3 = 0 ;
1702 PyObject * obj4 = 0 ;
1703 char *kwnames[] = {
1704 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1705 };
1706
1707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709 {
1710 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 {
1714 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 if (obj3) {
1718 {
1719 arg4 = &temp4;
1720 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1721 }
1722 }
1723 if (obj4) {
1724 {
1725 arg5 = &temp5;
1726 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1727 }
1728 }
1729 {
1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
1731 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1732
1733 wxPyEndAllowThreads(__tstate);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 Py_INCREF(Py_None); resultobj = Py_None;
1737 return resultobj;
1738 fail:
1739 return NULL;
1740 }
1741
1742
1743 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject *resultobj;
1745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1746 int arg2 ;
1747 wxColour *arg3 = 0 ;
1748 wxColour temp3 ;
1749 PyObject * obj0 = 0 ;
1750 PyObject * obj1 = 0 ;
1751 PyObject * obj2 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1758 {
1759 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 {
1763 arg3 = &temp3;
1764 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1765 }
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
1773 Py_INCREF(Py_None); resultobj = Py_None;
1774 return resultobj;
1775 fail:
1776 return NULL;
1777 }
1778
1779
1780 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1783 int arg2 ;
1784 wxColour *arg3 = 0 ;
1785 wxColour temp3 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 PyObject * obj2 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1795 {
1796 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 {
1800 arg3 = &temp3;
1801 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1802 }
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 Py_INCREF(Py_None); resultobj = Py_None;
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1820 int arg2 ;
1821 int arg3 ;
1822 int result;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825 PyObject * obj2 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1832 {
1833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 {
1837 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 resultobj = SWIG_PyObj_FromInt((int)result);
1848 return resultobj;
1849 fail:
1850 return NULL;
1851 }
1852
1853
1854 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1857 int arg2 ;
1858 int arg3 ;
1859 PyObject * obj0 = 0 ;
1860 PyObject * obj1 = 0 ;
1861 PyObject * obj2 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1868 {
1869 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1870 if (PyErr_Occurred()) SWIG_fail;
1871 }
1872 {
1873 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 (arg1)->MarkerDelete(arg2,arg3);
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 Py_INCREF(Py_None); resultobj = Py_None;
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1893 int arg2 ;
1894 PyObject * obj0 = 0 ;
1895 PyObject * obj1 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self",(char *) "markerNumber", NULL
1898 };
1899
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
1901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1902 {
1903 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->MarkerDeleteAll(arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1923 int arg2 ;
1924 int result;
1925 PyObject * obj0 = 0 ;
1926 PyObject * obj1 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "line", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 {
1934 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (int)(arg1)->MarkerGet(arg2);
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = SWIG_PyObj_FromInt((int)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1954 int arg2 ;
1955 int arg3 ;
1956 int result;
1957 PyObject * obj0 = 0 ;
1958 PyObject * obj1 = 0 ;
1959 PyObject * obj2 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 {
1967 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 {
1971 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 result = (int)(arg1)->MarkerNext(arg2,arg3);
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 resultobj = SWIG_PyObj_FromInt((int)result);
1982 return resultobj;
1983 fail:
1984 return NULL;
1985 }
1986
1987
1988 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1989 PyObject *resultobj;
1990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1991 int arg2 ;
1992 int arg3 ;
1993 int result;
1994 PyObject * obj0 = 0 ;
1995 PyObject * obj1 = 0 ;
1996 PyObject * obj2 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2003 {
2004 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 {
2008 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_PyObj_FromInt((int)result);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2028 int arg2 ;
2029 wxBitmap *arg3 = 0 ;
2030 PyObject * obj0 = 0 ;
2031 PyObject * obj1 = 0 ;
2032 PyObject * obj2 = 0 ;
2033 char *kwnames[] = {
2034 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2035 };
2036
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2039 {
2040 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2044 if (arg3 == NULL) {
2045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2046 }
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 Py_INCREF(Py_None); resultobj = Py_None;
2055 return resultobj;
2056 fail:
2057 return NULL;
2058 }
2059
2060
2061 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject *resultobj;
2063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2064 int arg2 ;
2065 int arg3 ;
2066 PyObject * obj0 = 0 ;
2067 PyObject * obj1 = 0 ;
2068 PyObject * obj2 = 0 ;
2069 char *kwnames[] = {
2070 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2075 {
2076 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 {
2080 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 {
2084 PyThreadState* __tstate = wxPyBeginAllowThreads();
2085 (arg1)->SetMarginType(arg2,arg3);
2086
2087 wxPyEndAllowThreads(__tstate);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 Py_INCREF(Py_None); resultobj = Py_None;
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2100 int arg2 ;
2101 int result;
2102 PyObject * obj0 = 0 ;
2103 PyObject * obj1 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "self",(char *) "margin", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2110 {
2111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 {
2115 PyThreadState* __tstate = wxPyBeginAllowThreads();
2116 result = (int)(arg1)->GetMarginType(arg2);
2117
2118 wxPyEndAllowThreads(__tstate);
2119 if (PyErr_Occurred()) SWIG_fail;
2120 }
2121 resultobj = SWIG_PyObj_FromInt((int)result);
2122 return resultobj;
2123 fail:
2124 return NULL;
2125 }
2126
2127
2128 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2129 PyObject *resultobj;
2130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2131 int arg2 ;
2132 int arg3 ;
2133 PyObject * obj0 = 0 ;
2134 PyObject * obj1 = 0 ;
2135 PyObject * obj2 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 {
2143 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 {
2147 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2148 if (PyErr_Occurred()) SWIG_fail;
2149 }
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 (arg1)->SetMarginWidth(arg2,arg3);
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 Py_INCREF(Py_None); resultobj = Py_None;
2158 return resultobj;
2159 fail:
2160 return NULL;
2161 }
2162
2163
2164 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject *resultobj;
2166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2167 int arg2 ;
2168 int result;
2169 PyObject * obj0 = 0 ;
2170 PyObject * obj1 = 0 ;
2171 char *kwnames[] = {
2172 (char *) "self",(char *) "margin", NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2177 {
2178 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 result = (int)(arg1)->GetMarginWidth(arg2);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 }
2188 resultobj = SWIG_PyObj_FromInt((int)result);
2189 return resultobj;
2190 fail:
2191 return NULL;
2192 }
2193
2194
2195 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject *resultobj;
2197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2198 int arg2 ;
2199 int arg3 ;
2200 PyObject * obj0 = 0 ;
2201 PyObject * obj1 = 0 ;
2202 PyObject * obj2 = 0 ;
2203 char *kwnames[] = {
2204 (char *) "self",(char *) "margin",(char *) "mask", NULL
2205 };
2206
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2209 {
2210 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 (arg1)->SetMarginMask(arg2,arg3);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2234 int arg2 ;
2235 int result;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj1 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "margin", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 {
2245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
2250 result = (int)(arg1)->GetMarginMask(arg2);
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
2255 resultobj = SWIG_PyObj_FromInt((int)result);
2256 return resultobj;
2257 fail:
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2265 int arg2 ;
2266 bool arg3 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 PyObject * obj2 = 0 ;
2270 char *kwnames[] = {
2271 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2272 };
2273
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 {
2277 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 {
2281 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 (arg1)->SetMarginSensitive(arg2,arg3);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 Py_INCREF(Py_None); resultobj = Py_None;
2292 return resultobj;
2293 fail:
2294 return NULL;
2295 }
2296
2297
2298 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2301 int arg2 ;
2302 bool result;
2303 PyObject * obj0 = 0 ;
2304 PyObject * obj1 = 0 ;
2305 char *kwnames[] = {
2306 (char *) "self",(char *) "margin", NULL
2307 };
2308
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2311 {
2312 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 {
2316 PyThreadState* __tstate = wxPyBeginAllowThreads();
2317 result = (bool)(arg1)->GetMarginSensitive(arg2);
2318
2319 wxPyEndAllowThreads(__tstate);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 }
2322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2323 return resultobj;
2324 fail:
2325 return NULL;
2326 }
2327
2328
2329 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject *resultobj;
2331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2332 PyObject * obj0 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "self", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->StyleClearAll();
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2356 int arg2 ;
2357 wxColour *arg3 = 0 ;
2358 wxColour temp3 ;
2359 PyObject * obj0 = 0 ;
2360 PyObject * obj1 = 0 ;
2361 PyObject * obj2 = 0 ;
2362 char *kwnames[] = {
2363 (char *) "self",(char *) "style",(char *) "fore", NULL
2364 };
2365
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 {
2369 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 {
2373 arg3 = &temp3;
2374 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2375 }
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 return resultobj;
2385 fail:
2386 return NULL;
2387 }
2388
2389
2390 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj;
2392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2393 int arg2 ;
2394 wxColour *arg3 = 0 ;
2395 wxColour temp3 ;
2396 PyObject * obj0 = 0 ;
2397 PyObject * obj1 = 0 ;
2398 PyObject * obj2 = 0 ;
2399 char *kwnames[] = {
2400 (char *) "self",(char *) "style",(char *) "back", NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2405 {
2406 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 {
2410 arg3 = &temp3;
2411 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2412 }
2413 {
2414 PyThreadState* __tstate = wxPyBeginAllowThreads();
2415 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2416
2417 wxPyEndAllowThreads(__tstate);
2418 if (PyErr_Occurred()) SWIG_fail;
2419 }
2420 Py_INCREF(Py_None); resultobj = Py_None;
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2430 int arg2 ;
2431 bool arg3 ;
2432 PyObject * obj0 = 0 ;
2433 PyObject * obj1 = 0 ;
2434 PyObject * obj2 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self",(char *) "style",(char *) "bold", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2441 {
2442 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 }
2445 {
2446 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 (arg1)->StyleSetBold(arg2,arg3);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460 }
2461
2462
2463 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2466 int arg2 ;
2467 bool arg3 ;
2468 PyObject * obj0 = 0 ;
2469 PyObject * obj1 = 0 ;
2470 PyObject * obj2 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self",(char *) "style",(char *) "italic", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2477 {
2478 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 {
2482 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 (arg1)->StyleSetItalic(arg2,arg3);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 Py_INCREF(Py_None); resultobj = Py_None;
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2502 int arg2 ;
2503 int arg3 ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj1 = 0 ;
2506 PyObject * obj2 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2513 {
2514 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 {
2518 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 (arg1)->StyleSetSize(arg2,arg3);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 Py_INCREF(Py_None); resultobj = Py_None;
2529 return resultobj;
2530 fail:
2531 return NULL;
2532 }
2533
2534
2535 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2538 int arg2 ;
2539 wxString *arg3 = 0 ;
2540 bool temp3 = False ;
2541 PyObject * obj0 = 0 ;
2542 PyObject * obj1 = 0 ;
2543 PyObject * obj2 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self",(char *) "style",(char *) "fontName", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2550 {
2551 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 {
2555 arg3 = wxString_in_helper(obj2);
2556 if (arg3 == NULL) SWIG_fail;
2557 temp3 = True;
2558 }
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 Py_INCREF(Py_None); resultobj = Py_None;
2567 {
2568 if (temp3)
2569 delete arg3;
2570 }
2571 return resultobj;
2572 fail:
2573 {
2574 if (temp3)
2575 delete arg3;
2576 }
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2584 int arg2 ;
2585 bool arg3 ;
2586 PyObject * obj0 = 0 ;
2587 PyObject * obj1 = 0 ;
2588 PyObject * obj2 = 0 ;
2589 char *kwnames[] = {
2590 (char *) "self",(char *) "style",(char *) "filled", NULL
2591 };
2592
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2595 {
2596 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 {
2600 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->StyleSetEOLFilled(arg2,arg3);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2620 PyObject * obj0 = 0 ;
2621 char *kwnames[] = {
2622 (char *) "self", NULL
2623 };
2624
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 (arg1)->StyleResetDefault();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 Py_INCREF(Py_None); resultobj = Py_None;
2635 return resultobj;
2636 fail:
2637 return NULL;
2638 }
2639
2640
2641 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2644 int arg2 ;
2645 bool arg3 ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 PyObject * obj2 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "style",(char *) "underline", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2655 {
2656 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 {
2660 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 {
2664 PyThreadState* __tstate = wxPyBeginAllowThreads();
2665 (arg1)->StyleSetUnderline(arg2,arg3);
2666
2667 wxPyEndAllowThreads(__tstate);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 }
2670 Py_INCREF(Py_None); resultobj = Py_None;
2671 return resultobj;
2672 fail:
2673 return NULL;
2674 }
2675
2676
2677 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2680 int arg2 ;
2681 int arg3 ;
2682 PyObject * obj0 = 0 ;
2683 PyObject * obj1 = 0 ;
2684 PyObject * obj2 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2691 {
2692 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 {
2696 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 {
2700 PyThreadState* __tstate = wxPyBeginAllowThreads();
2701 (arg1)->StyleSetCase(arg2,arg3);
2702
2703 wxPyEndAllowThreads(__tstate);
2704 if (PyErr_Occurred()) SWIG_fail;
2705 }
2706 Py_INCREF(Py_None); resultobj = Py_None;
2707 return resultobj;
2708 fail:
2709 return NULL;
2710 }
2711
2712
2713 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2714 PyObject *resultobj;
2715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2716 int arg2 ;
2717 int arg3 ;
2718 PyObject * obj0 = 0 ;
2719 PyObject * obj1 = 0 ;
2720 PyObject * obj2 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 {
2728 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 {
2732 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 (arg1)->StyleSetCharacterSet(arg2,arg3);
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 Py_INCREF(Py_None); resultobj = Py_None;
2743 return resultobj;
2744 fail:
2745 return NULL;
2746 }
2747
2748
2749 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2750 PyObject *resultobj;
2751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2752 int arg2 ;
2753 bool arg3 ;
2754 PyObject * obj0 = 0 ;
2755 PyObject * obj1 = 0 ;
2756 PyObject * obj2 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2763 {
2764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 {
2768 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 (arg1)->StyleSetHotSpot(arg2,arg3);
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 Py_INCREF(Py_None); resultobj = Py_None;
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2788 bool arg2 ;
2789 wxColour *arg3 = 0 ;
2790 wxColour temp3 ;
2791 PyObject * obj0 = 0 ;
2792 PyObject * obj1 = 0 ;
2793 PyObject * obj2 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2800 {
2801 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 {
2805 arg3 = &temp3;
2806 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2807 }
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 Py_INCREF(Py_None); resultobj = Py_None;
2816 return resultobj;
2817 fail:
2818 return NULL;
2819 }
2820
2821
2822 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2825 bool arg2 ;
2826 wxColour *arg3 = 0 ;
2827 wxColour temp3 ;
2828 PyObject * obj0 = 0 ;
2829 PyObject * obj1 = 0 ;
2830 PyObject * obj2 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2837 {
2838 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 }
2841 {
2842 arg3 = &temp3;
2843 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2844 }
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856 }
2857
2858
2859 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2862 wxColour *arg2 = 0 ;
2863 wxColour temp2 ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 char *kwnames[] = {
2867 (char *) "self",(char *) "fore", NULL
2868 };
2869
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 {
2873 arg2 = &temp2;
2874 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2875 }
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 Py_INCREF(Py_None); resultobj = Py_None;
2884 return resultobj;
2885 fail:
2886 return NULL;
2887 }
2888
2889
2890 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2893 int arg2 ;
2894 int arg3 ;
2895 int arg4 ;
2896 PyObject * obj0 = 0 ;
2897 PyObject * obj1 = 0 ;
2898 PyObject * obj2 = 0 ;
2899 PyObject * obj3 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2906 {
2907 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
2910 {
2911 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2935 int arg2 ;
2936 int arg3 ;
2937 PyObject * obj0 = 0 ;
2938 PyObject * obj1 = 0 ;
2939 PyObject * obj2 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 {
2947 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
2951 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->CmdKeyClear(arg2,arg3);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2971 PyObject * obj0 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2978 {
2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
2980 (arg1)->CmdKeyClearAll();
2981
2982 wxPyEndAllowThreads(__tstate);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 Py_INCREF(Py_None); resultobj = Py_None;
2986 return resultobj;
2987 fail:
2988 return NULL;
2989 }
2990
2991
2992 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject *resultobj;
2994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2995 int arg2 ;
2996 char *arg3 ;
2997 PyObject * obj0 = 0 ;
2998 PyObject * obj1 = 0 ;
2999 PyObject * obj2 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006 {
3007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 {
3011 arg3 = SWIG_PyObj_AsCharPtr(obj2, SWIGTYPE_p_char);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->SetStyleBytes(arg2,arg3);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025 }
3026
3027
3028 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3031 int arg2 ;
3032 bool arg3 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 PyObject * obj2 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self",(char *) "style",(char *) "visible", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3042 {
3043 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 {
3047 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 (arg1)->StyleSetVisible(arg2,arg3);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 Py_INCREF(Py_None); resultobj = Py_None;
3058 return resultobj;
3059 fail:
3060 return NULL;
3061 }
3062
3063
3064 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3067 int result;
3068 PyObject * obj0 = 0 ;
3069 char *kwnames[] = {
3070 (char *) "self", NULL
3071 };
3072
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 result = (int)(arg1)->GetCaretPeriod();
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 resultobj = SWIG_PyObj_FromInt((int)result);
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject *resultobj;
3091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3092 int arg2 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "periodMilliseconds", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3101 {
3102 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3103 if (PyErr_Occurred()) SWIG_fail;
3104 }
3105 {
3106 PyThreadState* __tstate = wxPyBeginAllowThreads();
3107 (arg1)->SetCaretPeriod(arg2);
3108
3109 wxPyEndAllowThreads(__tstate);
3110 if (PyErr_Occurred()) SWIG_fail;
3111 }
3112 Py_INCREF(Py_None); resultobj = Py_None;
3113 return resultobj;
3114 fail:
3115 return NULL;
3116 }
3117
3118
3119 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3120 PyObject *resultobj;
3121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3122 wxString *arg2 = 0 ;
3123 bool temp2 = False ;
3124 PyObject * obj0 = 0 ;
3125 PyObject * obj1 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "characters", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 arg2 = wxString_in_helper(obj1);
3134 if (arg2 == NULL) SWIG_fail;
3135 temp2 = True;
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->SetWordChars((wxString const &)*arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 {
3146 if (temp2)
3147 delete arg2;
3148 }
3149 return resultobj;
3150 fail:
3151 {
3152 if (temp2)
3153 delete arg2;
3154 }
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 (arg1)->BeginUndoAction();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 Py_INCREF(Py_None); resultobj = Py_None;
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3186 PyObject * obj0 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->EndUndoAction();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3210 int arg2 ;
3211 int arg3 ;
3212 PyObject * obj0 = 0 ;
3213 PyObject * obj1 = 0 ;
3214 PyObject * obj2 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "indic",(char *) "style", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 {
3222 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 {
3226 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 (arg1)->IndicatorSetStyle(arg2,arg3);
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 Py_INCREF(Py_None); resultobj = Py_None;
3237 return resultobj;
3238 fail:
3239 return NULL;
3240 }
3241
3242
3243 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3246 int arg2 ;
3247 int result;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self",(char *) "indic", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 {
3257 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 result = (int)(arg1)->IndicatorGetStyle(arg2);
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 resultobj = SWIG_PyObj_FromInt((int)result);
3268 return resultobj;
3269 fail:
3270 return NULL;
3271 }
3272
3273
3274 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3277 int arg2 ;
3278 wxColour *arg3 = 0 ;
3279 wxColour temp3 ;
3280 PyObject * obj0 = 0 ;
3281 PyObject * obj1 = 0 ;
3282 PyObject * obj2 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self",(char *) "indic",(char *) "fore", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 {
3290 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 {
3294 arg3 = &temp3;
3295 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3296 }
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308 }
3309
3310
3311 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3314 int arg2 ;
3315 wxColour result;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "indic", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 {
3325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = (arg1)->IndicatorGetForeground(arg2);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 {
3336 wxColour * resultptr;
3337 resultptr = new wxColour((wxColour &) result);
3338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3339 }
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3349 bool arg2 ;
3350 wxColour *arg3 = 0 ;
3351 wxColour temp3 ;
3352 PyObject * obj0 = 0 ;
3353 PyObject * obj1 = 0 ;
3354 PyObject * obj2 = 0 ;
3355 char *kwnames[] = {
3356 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3357 };
3358
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3361 {
3362 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 arg3 = &temp3;
3367 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3368 }
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3386 bool arg2 ;
3387 wxColour *arg3 = 0 ;
3388 wxColour temp3 ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
3391 PyObject * obj2 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 {
3399 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 {
3403 arg3 = &temp3;
3404 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3405 }
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 Py_INCREF(Py_None); resultobj = Py_None;
3414 return resultobj;
3415 fail:
3416 return NULL;
3417 }
3418
3419
3420 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3423 int arg2 ;
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "bits", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 {
3433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 (arg1)->SetStyleBits(arg2);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3453 int result;
3454 PyObject * obj0 = 0 ;
3455 char *kwnames[] = {
3456 (char *) "self", NULL
3457 };
3458
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 result = (int)(arg1)->GetStyleBits();
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 resultobj = SWIG_PyObj_FromInt((int)result);
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3478 int arg2 ;
3479 int arg3 ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 PyObject * obj2 = 0 ;
3483 char *kwnames[] = {
3484 (char *) "self",(char *) "line",(char *) "state", NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3489 {
3490 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 {
3494 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 (arg1)->SetLineState(arg2,arg3);
3500
3501 wxPyEndAllowThreads(__tstate);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 Py_INCREF(Py_None); resultobj = Py_None;
3505 return resultobj;
3506 fail:
3507 return NULL;
3508 }
3509
3510
3511 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3512 PyObject *resultobj;
3513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3514 int arg2 ;
3515 int result;
3516 PyObject * obj0 = 0 ;
3517 PyObject * obj1 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "line", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3524 {
3525 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 result = (int)(arg1)->GetLineState(arg2);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 resultobj = SWIG_PyObj_FromInt((int)result);
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3545 int result;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 result = (int)(arg1)->GetMaxLineState();
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 resultobj = SWIG_PyObj_FromInt((int)result);
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3570 bool result;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (bool)(arg1)->GetCaretLineVisible();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3595 bool arg2 ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 char *kwnames[] = {
3599 (char *) "self",(char *) "show", NULL
3600 };
3601
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3604 {
3605 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 (arg1)->SetCaretLineVisible(arg2);
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 Py_INCREF(Py_None); resultobj = Py_None;
3616 return resultobj;
3617 fail:
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3625 wxColour result;
3626 PyObject * obj0 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self", NULL
3629 };
3630
3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 result = (arg1)->GetCaretLineBack();
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 {
3641 wxColour * resultptr;
3642 resultptr = new wxColour((wxColour &) result);
3643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3644 }
3645 return resultobj;
3646 fail:
3647 return NULL;
3648 }
3649
3650
3651 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj;
3653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3654 wxColour *arg2 = 0 ;
3655 wxColour temp2 ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658 char *kwnames[] = {
3659 (char *) "self",(char *) "back", NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3664 {
3665 arg2 = &temp2;
3666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3667 }
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3685 int arg2 ;
3686 bool arg3 ;
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
3689 PyObject * obj2 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "self",(char *) "style",(char *) "changeable", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3696 {
3697 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 {
3701 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 (arg1)->StyleSetChangeable(arg2,arg3);
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 Py_INCREF(Py_None); resultobj = Py_None;
3712 return resultobj;
3713 fail:
3714 return NULL;
3715 }
3716
3717
3718 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3721 int arg2 ;
3722 wxString *arg3 = 0 ;
3723 bool temp3 = False ;
3724 PyObject * obj0 = 0 ;
3725 PyObject * obj1 = 0 ;
3726 PyObject * obj2 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3733 {
3734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 {
3738 arg3 = wxString_in_helper(obj2);
3739 if (arg3 == NULL) SWIG_fail;
3740 temp3 = True;
3741 }
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 {
3751 if (temp3)
3752 delete arg3;
3753 }
3754 return resultobj;
3755 fail:
3756 {
3757 if (temp3)
3758 delete arg3;
3759 }
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3767 PyObject * obj0 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 (arg1)->AutoCompCancel();
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 Py_INCREF(Py_None); resultobj = Py_None;
3782 return resultobj;
3783 fail:
3784 return NULL;
3785 }
3786
3787
3788 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3791 bool result;
3792 PyObject * obj0 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = (bool)(arg1)->AutoCompActive();
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3816 int result;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (int)(arg1)->AutoCompPosStart();
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 resultobj = SWIG_PyObj_FromInt((int)result);
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3841 PyObject * obj0 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 (arg1)->AutoCompComplete();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 Py_INCREF(Py_None); resultobj = Py_None;
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3865 wxString *arg2 = 0 ;
3866 bool temp2 = False ;
3867 PyObject * obj0 = 0 ;
3868 PyObject * obj1 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self",(char *) "characterSet", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3875 {
3876 arg2 = wxString_in_helper(obj1);
3877 if (arg2 == NULL) SWIG_fail;
3878 temp2 = True;
3879 }
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 (arg1)->AutoCompStops((wxString const &)*arg2);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 Py_INCREF(Py_None); resultobj = Py_None;
3888 {
3889 if (temp2)
3890 delete arg2;
3891 }
3892 return resultobj;
3893 fail:
3894 {
3895 if (temp2)
3896 delete arg2;
3897 }
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3905 int arg2 ;
3906 PyObject * obj0 = 0 ;
3907 PyObject * obj1 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "self",(char *) "separatorCharacter", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3914 {
3915 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 (arg1)->AutoCompSetSeparator(arg2);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 return resultobj;
3927 fail:
3928 return NULL;
3929 }
3930
3931
3932 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3935 int result;
3936 PyObject * obj0 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 {
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 result = (int)(arg1)->AutoCompGetSeparator();
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 resultobj = SWIG_PyObj_FromInt((int)result);
3951 return resultobj;
3952 fail:
3953 return NULL;
3954 }
3955
3956
3957 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject *resultobj;
3959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3960 wxString *arg2 = 0 ;
3961 bool temp2 = False ;
3962 PyObject * obj0 = 0 ;
3963 PyObject * obj1 = 0 ;
3964 char *kwnames[] = {
3965 (char *) "self",(char *) "text", NULL
3966 };
3967
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3970 {
3971 arg2 = wxString_in_helper(obj1);
3972 if (arg2 == NULL) SWIG_fail;
3973 temp2 = True;
3974 }
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->AutoCompSelect((wxString const &)*arg2);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 Py_INCREF(Py_None); resultobj = Py_None;
3983 {
3984 if (temp2)
3985 delete arg2;
3986 }
3987 return resultobj;
3988 fail:
3989 {
3990 if (temp2)
3991 delete arg2;
3992 }
3993 return NULL;
3994 }
3995
3996
3997 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3998 PyObject *resultobj;
3999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4000 bool arg2 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "cancel", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4009 {
4010 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 (arg1)->AutoCompSetCancelAtStart(arg2);
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 Py_INCREF(Py_None); resultobj = Py_None;
4021 return resultobj;
4022 fail:
4023 return NULL;
4024 }
4025
4026
4027 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4030 bool result;
4031 PyObject * obj0 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4046 return resultobj;
4047 fail:
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4055 wxString *arg2 = 0 ;
4056 bool temp2 = False ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "characterSet", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4065 {
4066 arg2 = wxString_in_helper(obj1);
4067 if (arg2 == NULL) SWIG_fail;
4068 temp2 = True;
4069 }
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 Py_INCREF(Py_None); resultobj = Py_None;
4078 {
4079 if (temp2)
4080 delete arg2;
4081 }
4082 return resultobj;
4083 fail:
4084 {
4085 if (temp2)
4086 delete arg2;
4087 }
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4095 bool arg2 ;
4096 PyObject * obj0 = 0 ;
4097 PyObject * obj1 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self",(char *) "chooseSingle", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 {
4105 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 (arg1)->AutoCompSetChooseSingle(arg2);
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 Py_INCREF(Py_None); resultobj = Py_None;
4116 return resultobj;
4117 fail:
4118 return NULL;
4119 }
4120
4121
4122 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject *resultobj;
4124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4125 bool result;
4126 PyObject * obj0 = 0 ;
4127 char *kwnames[] = {
4128 (char *) "self", NULL
4129 };
4130
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (bool)(arg1)->AutoCompGetChooseSingle();
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4150 bool arg2 ;
4151 PyObject * obj0 = 0 ;
4152 PyObject * obj1 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self",(char *) "ignoreCase", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4159 {
4160 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 (arg1)->AutoCompSetIgnoreCase(arg2);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4180 bool result;
4181 PyObject * obj0 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4205 int arg2 ;
4206 wxString *arg3 = 0 ;
4207 bool temp3 = False ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 PyObject * obj2 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4217 {
4218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 {
4222 arg3 = wxString_in_helper(obj2);
4223 if (arg3 == NULL) SWIG_fail;
4224 temp3 = True;
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 {
4235 if (temp3)
4236 delete arg3;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp3)
4242 delete arg3;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4251 bool arg2 ;
4252 PyObject * obj0 = 0 ;
4253 PyObject * obj1 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self",(char *) "autoHide", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4260 {
4261 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 (arg1)->AutoCompSetAutoHide(arg2);
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 Py_INCREF(Py_None); resultobj = Py_None;
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4281 bool result;
4282 PyObject * obj0 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (bool)(arg1)->AutoCompGetAutoHide();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4297 return resultobj;
4298 fail:
4299 return NULL;
4300 }
4301
4302
4303 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4306 bool arg2 ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "dropRestOfWord", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315 {
4316 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 (arg1)->AutoCompSetDropRestOfWord(arg2);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 Py_INCREF(Py_None); resultobj = Py_None;
4327 return resultobj;
4328 fail:
4329 return NULL;
4330 }
4331
4332
4333 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj;
4335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4336 bool result;
4337 PyObject * obj0 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4361 int arg2 ;
4362 wxBitmap *arg3 = 0 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365 PyObject * obj2 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self",(char *) "type",(char *) "bmp", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 {
4373 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4377 if (arg3 == NULL) {
4378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4379 }
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 Py_INCREF(Py_None); resultobj = Py_None;
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4397 PyObject * obj0 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self", NULL
4400 };
4401
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 (arg1)->ClearRegisteredImages();
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 Py_INCREF(Py_None); resultobj = Py_None;
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4421 int result;
4422 PyObject * obj0 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 result = (int)(arg1)->AutoCompGetTypeSeparator();
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = SWIG_PyObj_FromInt((int)result);
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj;
4445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4446 int arg2 ;
4447 PyObject * obj0 = 0 ;
4448 PyObject * obj1 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self",(char *) "separatorCharacter", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4455 {
4456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 (arg1)->AutoCompSetTypeSeparator(arg2);
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 Py_INCREF(Py_None); resultobj = Py_None;
4467 return resultobj;
4468 fail:
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4476 int arg2 ;
4477 PyObject * obj0 = 0 ;
4478 PyObject * obj1 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self",(char *) "indentSize", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4485 {
4486 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 (arg1)->SetIndent(arg2);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 Py_INCREF(Py_None); resultobj = Py_None;
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4506 int result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (int)(arg1)->GetIndent();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 resultobj = SWIG_PyObj_FromInt((int)result);
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4531 bool arg2 ;
4532 PyObject * obj0 = 0 ;
4533 PyObject * obj1 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self",(char *) "useTabs", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4540 {
4541 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 (arg1)->SetUseTabs(arg2);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 Py_INCREF(Py_None); resultobj = Py_None;
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4561 bool result;
4562 PyObject * obj0 = 0 ;
4563 char *kwnames[] = {
4564 (char *) "self", NULL
4565 };
4566
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = (bool)(arg1)->GetUseTabs();
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
4576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4577 return resultobj;
4578 fail:
4579 return NULL;
4580 }
4581
4582
4583 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4586 int arg2 ;
4587 int arg3 ;
4588 PyObject * obj0 = 0 ;
4589 PyObject * obj1 = 0 ;
4590 PyObject * obj2 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 {
4598 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 {
4602 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->SetLineIndentation(arg2,arg3);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4622 int arg2 ;
4623 int result;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "line", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 {
4633 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = (int)(arg1)->GetLineIndentation(arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 resultobj = SWIG_PyObj_FromInt((int)result);
4644 return resultobj;
4645 fail:
4646 return NULL;
4647 }
4648
4649
4650 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4653 int arg2 ;
4654 int result;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self",(char *) "line", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 {
4664 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = (int)(arg1)->GetLineIndentPosition(arg2);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 resultobj = SWIG_PyObj_FromInt((int)result);
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4684 int arg2 ;
4685 int result;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "pos", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (int)(arg1)->GetColumn(arg2);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_PyObj_FromInt((int)result);
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4715 bool arg2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "show", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 {
4725 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 (arg1)->SetUseHorizontalScrollBar(arg2);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 Py_INCREF(Py_None); resultobj = Py_None;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4745 bool result;
4746 PyObject * obj0 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "self", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4770 bool arg2 ;
4771 PyObject * obj0 = 0 ;
4772 PyObject * obj1 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "show", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4779 {
4780 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 (arg1)->SetIndentationGuides(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 Py_INCREF(Py_None); resultobj = Py_None;
4791 return resultobj;
4792 fail:
4793 return NULL;
4794 }
4795
4796
4797 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4800 bool result;
4801 PyObject * obj0 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "self", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4808 {
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 result = (bool)(arg1)->GetIndentationGuides();
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4816 return resultobj;
4817 fail:
4818 return NULL;
4819 }
4820
4821
4822 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4825 int arg2 ;
4826 PyObject * obj0 = 0 ;
4827 PyObject * obj1 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self",(char *) "column", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 (arg1)->SetHighlightGuide(arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 Py_INCREF(Py_None); resultobj = Py_None;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4855 int result;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 result = (int)(arg1)->GetHighlightGuide();
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 resultobj = SWIG_PyObj_FromInt((int)result);
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4880 int arg2 ;
4881 int result;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "line", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (int)(arg1)->GetLineEndPosition(arg2);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = SWIG_PyObj_FromInt((int)result);
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4911 int result;
4912 PyObject * obj0 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (int)(arg1)->GetCodePage();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 resultobj = SWIG_PyObj_FromInt((int)result);
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4936 wxColour result;
4937 PyObject * obj0 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 result = (arg1)->GetCaretForeground();
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 wxColour * resultptr;
4953 resultptr = new wxColour((wxColour &) result);
4954 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4955 }
4956 return resultobj;
4957 fail:
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4965 bool result;
4966 PyObject * obj0 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (bool)(arg1)->GetReadOnly();
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4981 return resultobj;
4982 fail:
4983 return NULL;
4984 }
4985
4986
4987 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4990 int arg2 ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 char *kwnames[] = {
4994 (char *) "self",(char *) "pos", NULL
4995 };
4996
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
4998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4999 {
5000 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->SetCurrentPos(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 Py_INCREF(Py_None); resultobj = Py_None;
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5020 int arg2 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self",(char *) "pos", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5029 {
5030 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 (arg1)->SetSelectionStart(arg2);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 Py_INCREF(Py_None); resultobj = Py_None;
5041 return resultobj;
5042 fail:
5043 return NULL;
5044 }
5045
5046
5047 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5048 PyObject *resultobj;
5049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5050 int result;
5051 PyObject * obj0 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->GetSelectionStart();
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 resultobj = SWIG_PyObj_FromInt((int)result);
5066 return resultobj;
5067 fail:
5068 return NULL;
5069 }
5070
5071
5072 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5075 int arg2 ;
5076 PyObject * obj0 = 0 ;
5077 PyObject * obj1 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self",(char *) "pos", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5084 {
5085 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetSelectionEnd(arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 Py_INCREF(Py_None); resultobj = Py_None;
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5105 int result;
5106 PyObject * obj0 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (int)(arg1)->GetSelectionEnd();
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 resultobj = SWIG_PyObj_FromInt((int)result);
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5130 int arg2 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "magnification", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 {
5140 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetPrintMagnification(arg2);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5160 int result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (int)(arg1)->GetPrintMagnification();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_PyObj_FromInt((int)result);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5185 int arg2 ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "mode", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 {
5195 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 (arg1)->SetPrintColourMode(arg2);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 Py_INCREF(Py_None); resultobj = Py_None;
5206 return resultobj;
5207 fail:
5208 return NULL;
5209 }
5210
5211
5212 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5215 int result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (int)(arg1)->GetPrintColourMode();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_PyObj_FromInt((int)result);
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5240 int arg2 ;
5241 int arg3 ;
5242 wxString *arg4 = 0 ;
5243 int arg5 = (int) 0 ;
5244 int result;
5245 bool temp4 = False ;
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 PyObject * obj2 = 0 ;
5249 PyObject * obj3 = 0 ;
5250 PyObject * obj4 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5257 {
5258 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 {
5262 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5263 if (PyErr_Occurred()) SWIG_fail;
5264 }
5265 {
5266 arg4 = wxString_in_helper(obj3);
5267 if (arg4 == NULL) SWIG_fail;
5268 temp4 = True;
5269 }
5270 if (obj4) {
5271 {
5272 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_PyObj_FromInt((int)result);
5284 {
5285 if (temp4)
5286 delete arg4;
5287 }
5288 return resultobj;
5289 fail:
5290 {
5291 if (temp4)
5292 delete arg4;
5293 }
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5301 bool arg2 ;
5302 int arg3 ;
5303 int arg4 ;
5304 wxDC *arg5 = (wxDC *) 0 ;
5305 wxDC *arg6 = (wxDC *) 0 ;
5306 wxRect arg7 ;
5307 wxRect arg8 ;
5308 int result;
5309 wxRect *argp7 ;
5310 wxRect *argp8 ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 PyObject * obj2 = 0 ;
5314 PyObject * obj3 = 0 ;
5315 PyObject * obj4 = 0 ;
5316 PyObject * obj5 = 0 ;
5317 PyObject * obj6 = 0 ;
5318 PyObject * obj7 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5325 {
5326 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 {
5330 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 {
5334 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5338 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5340 arg7 = *argp7;
5341 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5342 arg8 = *argp8;
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = SWIG_PyObj_FromInt((int)result);
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5360 int result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (int)(arg1)->GetFirstVisibleLine();
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_PyObj_FromInt((int)result);
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5385 int arg2 ;
5386 wxString result;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "line", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5395 {
5396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 {
5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
5401 result = (arg1)->GetLine(arg2);
5402
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 {
5407 #if wxUSE_UNICODE
5408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5409 #else
5410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5411 #endif
5412 }
5413 return resultobj;
5414 fail:
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5422 int result;
5423 PyObject * obj0 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (int)(arg1)->GetLineCount();
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 resultobj = SWIG_PyObj_FromInt((int)result);
5438 return resultobj;
5439 fail:
5440 return NULL;
5441 }
5442
5443
5444 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5445 PyObject *resultobj;
5446 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5447 int arg2 ;
5448 PyObject * obj0 = 0 ;
5449 PyObject * obj1 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self",(char *) "pixelWidth", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5456 {
5457 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->SetMarginLeft(arg2);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5477 int result;
5478 PyObject * obj0 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 result = (int)(arg1)->GetMarginLeft();
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 resultobj = SWIG_PyObj_FromInt((int)result);
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5502 int arg2 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "pixelWidth", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5511 {
5512 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->SetMarginRight(arg2);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5532 int result;
5533 PyObject * obj0 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (int)(arg1)->GetMarginRight();
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 resultobj = SWIG_PyObj_FromInt((int)result);
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5557 bool result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (bool)(arg1)->GetModify();
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5582 int arg2 ;
5583 int arg3 ;
5584 PyObject * obj0 = 0 ;
5585 PyObject * obj1 = 0 ;
5586 PyObject * obj2 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "start",(char *) "end", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 {
5594 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->SetSelection(arg2,arg3);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5618 wxString result;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (arg1)->GetSelectedText();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 {
5634 #if wxUSE_UNICODE
5635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5636 #else
5637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5638 #endif
5639 }
5640 return resultobj;
5641 fail:
5642 return NULL;
5643 }
5644
5645
5646 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5647 PyObject *resultobj;
5648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5649 int arg2 ;
5650 int arg3 ;
5651 wxString result;
5652 PyObject * obj0 = 0 ;
5653 PyObject * obj1 = 0 ;
5654 PyObject * obj2 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5661 {
5662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (arg1)->GetTextRange(arg2,arg3);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 #if wxUSE_UNICODE
5678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5679 #else
5680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5681 #endif
5682 }
5683 return resultobj;
5684 fail:
5685 return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5692 bool arg2 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "normal", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5701 {
5702 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->HideSelection(arg2);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5722 int arg2 ;
5723 int result;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self",(char *) "pos", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 {
5733 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)(arg1)->LineFromPosition(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 resultobj = SWIG_PyObj_FromInt((int)result);
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5753 int arg2 ;
5754 int result;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "line", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = (int)(arg1)->PositionFromLine(arg2);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 resultobj = SWIG_PyObj_FromInt((int)result);
5775 return resultobj;
5776 fail:
5777 return NULL;
5778 }
5779
5780
5781 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5784 int arg2 ;
5785 int arg3 ;
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj1 = 0 ;
5788 PyObject * obj2 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self",(char *) "columns",(char *) "lines", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5795 {
5796 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 (arg1)->LineScroll(arg2,arg3);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 Py_INCREF(Py_None); resultobj = Py_None;
5811 return resultobj;
5812 fail:
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5820 PyObject * obj0 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 (arg1)->EnsureCaretVisible();
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 Py_INCREF(Py_None); resultobj = Py_None;
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5844 wxString *arg2 = 0 ;
5845 bool temp2 = False ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "text", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5854 {
5855 arg2 = wxString_in_helper(obj1);
5856 if (arg2 == NULL) SWIG_fail;
5857 temp2 = True;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->ReplaceSelection((wxString const &)*arg2);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return resultobj;
5872 fail:
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5884 bool arg2 ;
5885 PyObject * obj0 = 0 ;
5886 PyObject * obj1 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self",(char *) "readOnly", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 {
5894 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->SetReadOnly(arg2);
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 Py_INCREF(Py_None); resultobj = Py_None;
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5914 bool result;
5915 PyObject * obj0 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (bool)(arg1)->CanPaste();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5939 bool result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (bool)(arg1)->CanUndo();
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->EmptyUndoBuffer();
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->Undo();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 (arg1)->Cut();
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 Py_INCREF(Py_None); resultobj = Py_None;
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6036 PyObject * obj0 = 0 ;
6037 char *kwnames[] = {
6038 (char *) "self", NULL
6039 };
6040
6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->Copy();
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 Py_INCREF(Py_None); resultobj = Py_None;
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 (arg1)->Paste();
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6084 PyObject * obj0 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->Clear();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6108 wxString *arg2 = 0 ;
6109 bool temp2 = False ;
6110 PyObject * obj0 = 0 ;
6111 PyObject * obj1 = 0 ;
6112 char *kwnames[] = {
6113 (char *) "self",(char *) "text", NULL
6114 };
6115
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 {
6119 arg2 = wxString_in_helper(obj1);
6120 if (arg2 == NULL) SWIG_fail;
6121 temp2 = True;
6122 }
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 (arg1)->SetText((wxString const &)*arg2);
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 Py_INCREF(Py_None); resultobj = Py_None;
6131 {
6132 if (temp2)
6133 delete arg2;
6134 }
6135 return resultobj;
6136 fail:
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6148 wxString result;
6149 PyObject * obj0 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "self", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (arg1)->GetText();
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 {
6164 #if wxUSE_UNICODE
6165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6166 #else
6167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6168 #endif
6169 }
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6179 int result;
6180 PyObject * obj0 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "self", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 result = (int)(arg1)->GetTextLength();
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 resultobj = SWIG_PyObj_FromInt((int)result);
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6204 bool arg2 ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self",(char *) "overtype", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6213 {
6214 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 (arg1)->SetOvertype(arg2);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 Py_INCREF(Py_None); resultobj = Py_None;
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6234 bool result;
6235 PyObject * obj0 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self", NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (bool)(arg1)->GetOvertype();
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6259 int arg2 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "pixelWidth", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6268 {
6269 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->SetCaretWidth(arg2);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 Py_INCREF(Py_None); resultobj = Py_None;
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6289 int result;
6290 PyObject * obj0 = 0 ;
6291 char *kwnames[] = {
6292 (char *) "self", NULL
6293 };
6294
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 result = (int)(arg1)->GetCaretWidth();
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 resultobj = SWIG_PyObj_FromInt((int)result);
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj;
6313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6314 int arg2 ;
6315 PyObject * obj0 = 0 ;
6316 PyObject * obj1 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "pos", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6323 {
6324 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 (arg1)->SetTargetStart(arg2);
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 Py_INCREF(Py_None); resultobj = Py_None;
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6344 int result;
6345 PyObject * obj0 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (int)(arg1)->GetTargetStart();
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_PyObj_FromInt((int)result);
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6369 int arg2 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self",(char *) "pos", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6378 {
6379 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 (arg1)->SetTargetEnd(arg2);
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 Py_INCREF(Py_None); resultobj = Py_None;
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6399 int result;
6400 PyObject * obj0 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (int)(arg1)->GetTargetEnd();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = SWIG_PyObj_FromInt((int)result);
6415 return resultobj;
6416 fail:
6417 return NULL;
6418 }
6419
6420
6421 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject *resultobj;
6423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6424 wxString *arg2 = 0 ;
6425 int result;
6426 bool temp2 = False ;
6427 PyObject * obj0 = 0 ;
6428 PyObject * obj1 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self",(char *) "text", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6435 {
6436 arg2 = wxString_in_helper(obj1);
6437 if (arg2 == NULL) SWIG_fail;
6438 temp2 = True;
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_PyObj_FromInt((int)result);
6448 {
6449 if (temp2)
6450 delete arg2;
6451 }
6452 return resultobj;
6453 fail:
6454 {
6455 if (temp2)
6456 delete arg2;
6457 }
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6465 wxString *arg2 = 0 ;
6466 int result;
6467 bool temp2 = False ;
6468 PyObject * obj0 = 0 ;
6469 PyObject * obj1 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "text", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 {
6477 arg2 = wxString_in_helper(obj1);
6478 if (arg2 == NULL) SWIG_fail;
6479 temp2 = True;
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 resultobj = SWIG_PyObj_FromInt((int)result);
6489 {
6490 if (temp2)
6491 delete arg2;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp2)
6497 delete arg2;
6498 }
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6506 wxString *arg2 = 0 ;
6507 int result;
6508 bool temp2 = False ;
6509 PyObject * obj0 = 0 ;
6510 PyObject * obj1 = 0 ;
6511 char *kwnames[] = {
6512 (char *) "self",(char *) "text", NULL
6513 };
6514
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 {
6518 arg2 = wxString_in_helper(obj1);
6519 if (arg2 == NULL) SWIG_fail;
6520 temp2 = True;
6521 }
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 resultobj = SWIG_PyObj_FromInt((int)result);
6530 {
6531 if (temp2)
6532 delete arg2;
6533 }
6534 return resultobj;
6535 fail:
6536 {
6537 if (temp2)
6538 delete arg2;
6539 }
6540 return NULL;
6541 }
6542
6543
6544 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6545 PyObject *resultobj;
6546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6547 int arg2 ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self",(char *) "flags", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6556 {
6557 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 (arg1)->SetSearchFlags(arg2);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 Py_INCREF(Py_None); resultobj = Py_None;
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6577 int result;
6578 PyObject * obj0 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (int)(arg1)->GetSearchFlags();
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = SWIG_PyObj_FromInt((int)result);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6602 int arg2 ;
6603 wxString *arg3 = 0 ;
6604 bool temp3 = False ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 PyObject * obj2 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "pos",(char *) "definition", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 arg3 = wxString_in_helper(obj2);
6620 if (arg3 == NULL) SWIG_fail;
6621 temp3 = True;
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 {
6632 if (temp3)
6633 delete arg3;
6634 }
6635 return resultobj;
6636 fail:
6637 {
6638 if (temp3)
6639 delete arg3;
6640 }
6641 return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj;
6647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->CallTipCancel();
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6672 bool result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (bool)(arg1)->CallTipActive();
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6697 int result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (int)(arg1)->CallTipPosAtStart();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = SWIG_PyObj_FromInt((int)result);
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6722 int arg2 ;
6723 int arg3 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 PyObject * obj2 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "start",(char *) "end", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6733 {
6734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 {
6738 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->CallTipSetHighlight(arg2,arg3);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6758 wxColour *arg2 = 0 ;
6759 wxColour temp2 ;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self",(char *) "back", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 {
6769 arg2 = &temp2;
6770 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6771 }
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6775
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 Py_INCREF(Py_None); resultobj = Py_None;
6780 return resultobj;
6781 fail:
6782 return NULL;
6783 }
6784
6785
6786 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject *resultobj;
6788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6789 wxColour *arg2 = 0 ;
6790 wxColour temp2 ;
6791 PyObject * obj0 = 0 ;
6792 PyObject * obj1 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "fore", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 {
6800 arg2 = &temp2;
6801 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6802 }
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 Py_INCREF(Py_None); resultobj = Py_None;
6811 return resultobj;
6812 fail:
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6820 wxColour *arg2 = 0 ;
6821 wxColour temp2 ;
6822 PyObject * obj0 = 0 ;
6823 PyObject * obj1 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self",(char *) "fore", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6830 {
6831 arg2 = &temp2;
6832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6833 }
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 Py_INCREF(Py_None); resultobj = Py_None;
6842 return resultobj;
6843 fail:
6844 return NULL;
6845 }
6846
6847
6848 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6849 PyObject *resultobj;
6850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6851 int arg2 ;
6852 int result;
6853 PyObject * obj0 = 0 ;
6854 PyObject * obj1 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "line", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6861 {
6862 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)(arg1)->VisibleFromDocLine(arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_PyObj_FromInt((int)result);
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6882 int arg2 ;
6883 int result;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "lineDisplay", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 {
6893 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (int)(arg1)->DocLineFromVisible(arg2);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_PyObj_FromInt((int)result);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6913 int arg2 ;
6914 int arg3 ;
6915 PyObject * obj0 = 0 ;
6916 PyObject * obj1 = 0 ;
6917 PyObject * obj2 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self",(char *) "line",(char *) "level", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6924 {
6925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 {
6929 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 (arg1)->SetFoldLevel(arg2,arg3);
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 Py_INCREF(Py_None); resultobj = Py_None;
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6949 int arg2 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "line", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6959 {
6960 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (int)(arg1)->GetFoldLevel(arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 resultobj = SWIG_PyObj_FromInt((int)result);
6971 return resultobj;
6972 fail:
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6980 int arg2 ;
6981 int arg3 ;
6982 int result;
6983 PyObject * obj0 = 0 ;
6984 PyObject * obj1 = 0 ;
6985 PyObject * obj2 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self",(char *) "line",(char *) "level", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 {
6993 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 {
6997 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (int)(arg1)->GetLastChild(arg2,arg3);
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 resultobj = SWIG_PyObj_FromInt((int)result);
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj;
7016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7017 int arg2 ;
7018 int result;
7019 PyObject * obj0 = 0 ;
7020 PyObject * obj1 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "line", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)(arg1)->GetFoldParent(arg2);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = SWIG_PyObj_FromInt((int)result);
7039 return resultobj;
7040 fail:
7041 return NULL;
7042 }
7043
7044
7045 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7048 int arg2 ;
7049 int arg3 ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059 {
7060 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 {
7064 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 (arg1)->ShowLines(arg2,arg3);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 Py_INCREF(Py_None); resultobj = Py_None;
7075 return resultobj;
7076 fail:
7077 return NULL;
7078 }
7079
7080
7081 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj;
7083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7084 int arg2 ;
7085 int arg3 ;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 PyObject * obj2 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7095 {
7096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 {
7100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->HideLines(arg2,arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7120 int arg2 ;
7121 bool result;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self",(char *) "line", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7130 {
7131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (bool)(arg1)->GetLineVisible(arg2);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7151 int arg2 ;
7152 bool arg3 ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "line",(char *) "expanded", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7162 {
7163 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 (arg1)->SetFoldExpanded(arg2,arg3);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181 }
7182
7183
7184 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7187 int arg2 ;
7188 bool result;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "line", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 {
7198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (bool)(arg1)->GetFoldExpanded(arg2);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7218 int arg2 ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "line", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 {
7228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->ToggleFold(arg2);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 Py_INCREF(Py_None); resultobj = Py_None;
7239 return resultobj;
7240 fail:
7241 return NULL;
7242 }
7243
7244
7245 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7248 int arg2 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self",(char *) "line", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257 {
7258 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 (arg1)->EnsureVisible(arg2);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 Py_INCREF(Py_None); resultobj = Py_None;
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj;
7277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7278 int arg2 ;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self",(char *) "flags", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 {
7288 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 (arg1)->SetFoldFlags(arg2);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 Py_INCREF(Py_None); resultobj = Py_None;
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7308 int arg2 ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self",(char *) "line", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 {
7318 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7338 bool arg2 ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self",(char *) "tabIndents", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 {
7348 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 (arg1)->SetTabIndents(arg2);
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 Py_INCREF(Py_None); resultobj = Py_None;
7359 return resultobj;
7360 fail:
7361 return NULL;
7362 }
7363
7364
7365 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj;
7367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7368 bool result;
7369 PyObject * obj0 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (bool)(arg1)->GetTabIndents();
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7393 bool arg2 ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self",(char *) "bsUnIndents", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7402 {
7403 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 (arg1)->SetBackSpaceUnIndents(arg2);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 Py_INCREF(Py_None); resultobj = Py_None;
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7423 bool result;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (bool)(arg1)->GetBackSpaceUnIndents();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7448 int arg2 ;
7449 PyObject * obj0 = 0 ;
7450 PyObject * obj1 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self",(char *) "periodMilliseconds", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7457 {
7458 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 (arg1)->SetMouseDwellTime(arg2);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 Py_INCREF(Py_None); resultobj = Py_None;
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7478 int result;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (int)(arg1)->GetMouseDwellTime();
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 resultobj = SWIG_PyObj_FromInt((int)result);
7494 return resultobj;
7495 fail:
7496 return NULL;
7497 }
7498
7499
7500 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7503 int arg2 ;
7504 bool arg3 ;
7505 int result;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 PyObject * obj2 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7515 {
7516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 {
7520 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 resultobj = SWIG_PyObj_FromInt((int)result);
7531 return resultobj;
7532 fail:
7533 return NULL;
7534 }
7535
7536
7537 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7540 int arg2 ;
7541 bool arg3 ;
7542 int result;
7543 PyObject * obj0 = 0 ;
7544 PyObject * obj1 = 0 ;
7545 PyObject * obj2 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7552 {
7553 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 {
7557 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 resultobj = SWIG_PyObj_FromInt((int)result);
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7577 int arg2 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self",(char *) "mode", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7586 {
7587 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->SetWrapMode(arg2);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj;
7606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7607 int result;
7608 PyObject * obj0 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 result = (int)(arg1)->GetWrapMode();
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 resultobj = SWIG_PyObj_FromInt((int)result);
7623 return resultobj;
7624 fail:
7625 return NULL;
7626 }
7627
7628
7629 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj;
7631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7632 int arg2 ;
7633 PyObject * obj0 = 0 ;
7634 PyObject * obj1 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self",(char *) "mode", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 {
7642 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 (arg1)->SetLayoutCache(arg2);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 Py_INCREF(Py_None); resultobj = Py_None;
7653 return resultobj;
7654 fail:
7655 return NULL;
7656 }
7657
7658
7659 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7662 int result;
7663 PyObject * obj0 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (int)(arg1)->GetLayoutCache();
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 resultobj = SWIG_PyObj_FromInt((int)result);
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7687 int arg2 ;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self",(char *) "pixelWidth", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 {
7697 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 (arg1)->SetScrollWidth(arg2);
7703
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 Py_INCREF(Py_None); resultobj = Py_None;
7708 return resultobj;
7709 fail:
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7717 int result;
7718 PyObject * obj0 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (int)(arg1)->GetScrollWidth();
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 resultobj = SWIG_PyObj_FromInt((int)result);
7733 return resultobj;
7734 fail:
7735 return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7742 int arg2 ;
7743 wxString *arg3 = 0 ;
7744 int result;
7745 bool temp3 = False ;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 PyObject * obj2 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self",(char *) "style",(char *) "text", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 {
7756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 {
7760 arg3 = wxString_in_helper(obj2);
7761 if (arg3 == NULL) SWIG_fail;
7762 temp3 = True;
7763 }
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 resultobj = SWIG_PyObj_FromInt((int)result);
7772 {
7773 if (temp3)
7774 delete arg3;
7775 }
7776 return resultobj;
7777 fail:
7778 {
7779 if (temp3)
7780 delete arg3;
7781 }
7782 return NULL;
7783 }
7784
7785
7786 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj;
7788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7789 bool arg2 ;
7790 PyObject * obj0 = 0 ;
7791 PyObject * obj1 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self",(char *) "endAtLastLine", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7798 {
7799 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 (arg1)->SetEndAtLastLine(arg2);
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 Py_INCREF(Py_None); resultobj = Py_None;
7810 return resultobj;
7811 fail:
7812 return NULL;
7813 }
7814
7815
7816 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj;
7818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7819 int result;
7820 PyObject * obj0 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (int)(arg1)->GetEndAtLastLine();
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_PyObj_FromInt((int)result);
7835 return resultobj;
7836 fail:
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7844 int arg2 ;
7845 int result;
7846 PyObject * obj0 = 0 ;
7847 PyObject * obj1 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self",(char *) "line", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7854 {
7855 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 result = (int)(arg1)->TextHeight(arg2);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 resultobj = SWIG_PyObj_FromInt((int)result);
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7875 bool arg2 ;
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj1 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self",(char *) "show", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 {
7885 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 (arg1)->SetUseVerticalScrollBar(arg2);
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 Py_INCREF(Py_None); resultobj = Py_None;
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7905 bool result;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = (bool)(arg1)->GetUseVerticalScrollBar();
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7930 int arg2 ;
7931 wxString *arg3 = 0 ;
7932 bool temp3 = False ;
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 PyObject * obj2 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self",(char *) "length",(char *) "text", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7942 {
7943 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947 arg3 = wxString_in_helper(obj2);
7948 if (arg3 == NULL) SWIG_fail;
7949 temp3 = True;
7950 }
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 {
7960 if (temp3)
7961 delete arg3;
7962 }
7963 return resultobj;
7964 fail:
7965 {
7966 if (temp3)
7967 delete arg3;
7968 }
7969 return NULL;
7970 }
7971
7972
7973 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7976 bool result;
7977 PyObject * obj0 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (bool)(arg1)->GetTwoPhaseDraw();
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8001 bool arg2 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "twoPhase", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8010 {
8011 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->SetTwoPhaseDraw(arg2);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "self", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 (arg1)->TargetFromSelection();
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 Py_INCREF(Py_None); resultobj = Py_None;
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8055 PyObject * obj0 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->LinesJoin();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8079 int arg2 ;
8080 PyObject * obj0 = 0 ;
8081 PyObject * obj1 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self",(char *) "pixelWidth", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8088 {
8089 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 (arg1)->LinesSplit(arg2);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 Py_INCREF(Py_None); resultobj = Py_None;
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8109 bool arg2 ;
8110 wxColour *arg3 = 0 ;
8111 wxColour temp3 ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 PyObject * obj2 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 {
8122 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 {
8126 arg3 = &temp3;
8127 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8146 bool arg2 ;
8147 wxColour *arg3 = 0 ;
8148 wxColour temp3 ;
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 PyObject * obj2 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8158 {
8159 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 {
8163 arg3 = &temp3;
8164 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8165 }
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 Py_INCREF(Py_None); resultobj = Py_None;
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 (arg1)->LineDuplicate();
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 Py_INCREF(Py_None); resultobj = Py_None;
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8207 PyObject * obj0 = 0 ;
8208 char *kwnames[] = {
8209 (char *) "self", NULL
8210 };
8211
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
8213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 (arg1)->HomeDisplay();
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 Py_INCREF(Py_None); resultobj = Py_None;
8222 return resultobj;
8223 fail:
8224 return NULL;
8225 }
8226
8227
8228 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject *resultobj;
8230 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8231 PyObject * obj0 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
8237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 (arg1)->HomeDisplayExtend();
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 Py_INCREF(Py_None); resultobj = Py_None;
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8255 PyObject * obj0 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 (arg1)->LineEndDisplay();
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 Py_INCREF(Py_None); resultobj = Py_None;
8270 return resultobj;
8271 fail:
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8279 PyObject * obj0 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->LineEndDisplayExtend();
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->LineCopy();
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8327 PyObject * obj0 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "self", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
8333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 (arg1)->MoveCaretInsideView();
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 Py_INCREF(Py_None); resultobj = Py_None;
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8351 int arg2 ;
8352 int result;
8353 PyObject * obj0 = 0 ;
8354 PyObject * obj1 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self",(char *) "line", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 {
8362 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)(arg1)->LineLength(arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_PyObj_FromInt((int)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8382 int arg2 ;
8383 int arg3 ;
8384 PyObject * obj0 = 0 ;
8385 PyObject * obj1 = 0 ;
8386 PyObject * obj2 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8393 {
8394 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 {
8398 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 (arg1)->BraceHighlight(arg2,arg3);
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 Py_INCREF(Py_None); resultobj = Py_None;
8409 return resultobj;
8410 fail:
8411 return NULL;
8412 }
8413
8414
8415 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject *resultobj;
8417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8418 int arg2 ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 char *kwnames[] = {
8422 (char *) "self",(char *) "pos", NULL
8423 };
8424
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
8426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8427 {
8428 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 (arg1)->BraceBadLight(arg2);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 Py_INCREF(Py_None); resultobj = Py_None;
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8448 int arg2 ;
8449 int result;
8450 PyObject * obj0 = 0 ;
8451 PyObject * obj1 = 0 ;
8452 char *kwnames[] = {
8453 (char *) "self",(char *) "pos", NULL
8454 };
8455
8456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
8457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8458 {
8459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = (int)(arg1)->BraceMatch(arg2);
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = SWIG_PyObj_FromInt((int)result);
8470 return resultobj;
8471 fail:
8472 return NULL;
8473 }
8474
8475
8476 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj;
8478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8479 bool result;
8480 PyObject * obj0 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
8486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (bool)(arg1)->GetViewEOL();
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8504 bool arg2 ;
8505 PyObject * obj0 = 0 ;
8506 PyObject * obj1 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self",(char *) "visible", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8513 {
8514 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 (arg1)->SetViewEOL(arg2);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8534 void *result;
8535 PyObject * obj0 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (void *)(arg1)->GetDocPointer();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8559 void *arg2 = (void *) 0 ;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "docPointer", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
8567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 (arg1)->SetDocPointer(arg2);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 Py_INCREF(Py_None); resultobj = Py_None;
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8586 int arg2 ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "mask", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 {
8596 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 (arg1)->SetModEventMask(arg2);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 Py_INCREF(Py_None); resultobj = Py_None;
8607 return resultobj;
8608 fail:
8609 return NULL;
8610 }
8611
8612
8613 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8616 int result;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (int)(arg1)->GetEdgeColumn();
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 resultobj = SWIG_PyObj_FromInt((int)result);
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8641 int arg2 ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "column", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 {
8651 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 (arg1)->SetEdgeColumn(arg2);
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 Py_INCREF(Py_None); resultobj = Py_None;
8662 return resultobj;
8663 fail:
8664 return NULL;
8665 }
8666
8667
8668 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8671 int result;
8672 PyObject * obj0 = 0 ;
8673 char *kwnames[] = {
8674 (char *) "self", NULL
8675 };
8676
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (int)(arg1)->GetEdgeMode();
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_PyObj_FromInt((int)result);
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8696 int arg2 ;
8697 PyObject * obj0 = 0 ;
8698 PyObject * obj1 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "self",(char *) "mode", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
8704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 {
8706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 (arg1)->SetEdgeMode(arg2);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 Py_INCREF(Py_None); resultobj = Py_None;
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8726 wxColour result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (arg1)->GetEdgeColour();
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 {
8742 wxColour * resultptr;
8743 resultptr = new wxColour((wxColour &) result);
8744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8745 }
8746 return resultobj;
8747 fail:
8748 return NULL;
8749 }
8750
8751
8752 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8755 wxColour *arg2 = 0 ;
8756 wxColour temp2 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "edgeColour", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 {
8766 arg2 = &temp2;
8767 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8768 }
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 (arg1)->SetEdgeColour((wxColour const &)*arg2);
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 Py_INCREF(Py_None); resultobj = Py_None;
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 (arg1)->SearchAnchor();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 Py_INCREF(Py_None); resultobj = Py_None;
8801 return resultobj;
8802 fail:
8803 return NULL;
8804 }
8805
8806
8807 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8810 int arg2 ;
8811 wxString *arg3 = 0 ;
8812 int result;
8813 bool temp3 = False ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 PyObject * obj2 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self",(char *) "flags",(char *) "text", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
8822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8823 {
8824 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 arg3 = wxString_in_helper(obj2);
8829 if (arg3 == NULL) SWIG_fail;
8830 temp3 = True;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 resultobj = SWIG_PyObj_FromInt((int)result);
8840 {
8841 if (temp3)
8842 delete arg3;
8843 }
8844 return resultobj;
8845 fail:
8846 {
8847 if (temp3)
8848 delete arg3;
8849 }
8850 return NULL;
8851 }
8852
8853
8854 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8857 int arg2 ;
8858 wxString *arg3 = 0 ;
8859 int result;
8860 bool temp3 = False ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 PyObject * obj2 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "flags",(char *) "text", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 {
8871 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 {
8875 arg3 = wxString_in_helper(obj2);
8876 if (arg3 == NULL) SWIG_fail;
8877 temp3 = True;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 resultobj = SWIG_PyObj_FromInt((int)result);
8887 {
8888 if (temp3)
8889 delete arg3;
8890 }
8891 return resultobj;
8892 fail:
8893 {
8894 if (temp3)
8895 delete arg3;
8896 }
8897 return NULL;
8898 }
8899
8900
8901 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8902 PyObject *resultobj;
8903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8904 int result;
8905 PyObject * obj0 = 0 ;
8906 char *kwnames[] = {
8907 (char *) "self", NULL
8908 };
8909
8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
8911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 result = (int)(arg1)->LinesOnScreen();
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) SWIG_fail;
8918 }
8919 resultobj = SWIG_PyObj_FromInt((int)result);
8920 return resultobj;
8921 fail:
8922 return NULL;
8923 }
8924
8925
8926 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8927 PyObject *resultobj;
8928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8929 bool arg2 ;
8930 PyObject * obj0 = 0 ;
8931 PyObject * obj1 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self",(char *) "allowPopUp", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
8937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8938 {
8939 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 (arg1)->UsePopUp(arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 Py_INCREF(Py_None); resultobj = Py_None;
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8959 bool result;
8960 PyObject * obj0 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 result = (bool)(arg1)->SelectionIsRectangle();
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8975 return resultobj;
8976 fail:
8977 return NULL;
8978 }
8979
8980
8981 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj;
8983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8984 int arg2 ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "zoom", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8993 {
8994 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->SetZoom(arg2);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9014 int result;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (int)(arg1)->GetZoom();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_PyObj_FromInt((int)result);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9039 void *result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (void *)(arg1)->CreateDocument();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9064 void *arg2 = (void *) 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self",(char *) "docPointer", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->AddRefDocument(arg2);
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9091 void *arg2 = (void *) 0 ;
9092 PyObject * obj0 = 0 ;
9093 PyObject * obj1 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self",(char *) "docPointer", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
9099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->ReleaseDocument(arg2);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9118 int result;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "self", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 result = (int)(arg1)->GetModEventMask();
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = SWIG_PyObj_FromInt((int)result);
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9143 bool arg2 ;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj1 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self",(char *) "focus", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152 {
9153 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 (arg1)->SetSTCFocus(arg2);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9173 bool result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (bool)(arg1)->GetSTCFocus();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9198 int arg2 ;
9199 PyObject * obj0 = 0 ;
9200 PyObject * obj1 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self",(char *) "statusCode", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->SetStatus(arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9228 int result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 result = (int)(arg1)->GetStatus();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = SWIG_PyObj_FromInt((int)result);
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9253 bool arg2 ;
9254 PyObject * obj0 = 0 ;
9255 PyObject * obj1 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "self",(char *) "captures", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
9261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9262 {
9263 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 (arg1)->SetMouseDownCaptures(arg2);
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 Py_INCREF(Py_None); resultobj = Py_None;
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9283 bool result;
9284 PyObject * obj0 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (bool)(arg1)->GetMouseDownCaptures();
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9308 int arg2 ;
9309 PyObject * obj0 = 0 ;
9310 PyObject * obj1 = 0 ;
9311 char *kwnames[] = {
9312 (char *) "self",(char *) "cursorType", NULL
9313 };
9314
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
9316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9317 {
9318 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 (arg1)->SetSTCCursor(arg2);
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 Py_INCREF(Py_None); resultobj = Py_None;
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9338 int result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (int)(arg1)->GetSTCCursor();
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = SWIG_PyObj_FromInt((int)result);
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9363 int arg2 ;
9364 PyObject * obj0 = 0 ;
9365 PyObject * obj1 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self",(char *) "symbol", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372 {
9373 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 (arg1)->SetControlCharSymbol(arg2);
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9393 int result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 result = (int)(arg1)->GetControlCharSymbol();
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 resultobj = SWIG_PyObj_FromInt((int)result);
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9425 {
9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
9427 (arg1)->WordPartLeft();
9428
9429 wxPyEndAllowThreads(__tstate);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 }
9432 Py_INCREF(Py_None); resultobj = Py_None;
9433 return resultobj;
9434 fail:
9435 return NULL;
9436 }
9437
9438
9439 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->WordPartLeftExtend();
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 Py_INCREF(Py_None); resultobj = Py_None;
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9466 PyObject * obj0 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
9472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 (arg1)->WordPartRight();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 Py_INCREF(Py_None); resultobj = Py_None;
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 (arg1)->WordPartRightExtend();
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 Py_INCREF(Py_None); resultobj = Py_None;
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9514 int arg2 ;
9515 int arg3 ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9525 {
9526 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 {
9530 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 (arg1)->SetVisiblePolicy(arg2,arg3);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 Py_INCREF(Py_None); resultobj = Py_None;
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 (arg1)->DelLineLeft();
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 Py_INCREF(Py_None); resultobj = Py_None;
9565 return resultobj;
9566 fail:
9567 return NULL;
9568 }
9569
9570
9571 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9574 PyObject * obj0 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 (arg1)->DelLineRight();
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 Py_INCREF(Py_None); resultobj = Py_None;
9589 return resultobj;
9590 fail:
9591 return NULL;
9592 }
9593
9594
9595 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9598 int arg2 ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "newOffset", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 {
9608 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetXOffset(arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9628 int result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (int)(arg1)->GetXOffset();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = SWIG_PyObj_FromInt((int)result);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 (arg1)->ChooseCaretX();
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 Py_INCREF(Py_None); resultobj = Py_None;
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj;
9676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9677 int arg2 ;
9678 int arg3 ;
9679 PyObject * obj0 = 0 ;
9680 PyObject * obj1 = 0 ;
9681 PyObject * obj2 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9688 {
9689 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 {
9693 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 (arg1)->SetXCaretPolicy(arg2,arg3);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 Py_INCREF(Py_None); resultobj = Py_None;
9704 return resultobj;
9705 fail:
9706 return NULL;
9707 }
9708
9709
9710 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9713 int arg2 ;
9714 int arg3 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 PyObject * obj2 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9724 {
9725 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 {
9729 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->SetYCaretPolicy(arg2,arg3);
9735
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 Py_INCREF(Py_None); resultobj = Py_None;
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj;
9748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9749 int arg2 ;
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "mode", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758 {
9759 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 (arg1)->SetPrintWrapMode(arg2);
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 Py_INCREF(Py_None); resultobj = Py_None;
9770 return resultobj;
9771 fail:
9772 return NULL;
9773 }
9774
9775
9776 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9779 int result;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (int)(arg1)->GetPrintWrapMode();
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_PyObj_FromInt((int)result);
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj;
9803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9804 bool arg2 ;
9805 wxColour *arg3 = 0 ;
9806 wxColour temp3 ;
9807 PyObject * obj0 = 0 ;
9808 PyObject * obj1 = 0 ;
9809 PyObject * obj2 = 0 ;
9810 char *kwnames[] = {
9811 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9812 };
9813
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9816 {
9817 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 {
9821 arg3 = &temp3;
9822 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9841 bool arg2 ;
9842 wxColour *arg3 = 0 ;
9843 wxColour temp3 ;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 PyObject * obj2 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 {
9854 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 {
9858 arg3 = &temp3;
9859 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9860 }
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 Py_INCREF(Py_None); resultobj = Py_None;
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9878 bool arg2 ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self",(char *) "underline", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 {
9888 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetHotspotActiveUnderline(arg2);
9894
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 Py_INCREF(Py_None); resultobj = Py_None;
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject *resultobj;
9907 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9908 bool arg2 ;
9909 PyObject * obj0 = 0 ;
9910 PyObject * obj1 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "singleLine", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 {
9918 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 (arg1)->SetHotspotSingleLine(arg2);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 Py_INCREF(Py_None); resultobj = Py_None;
9929 return resultobj;
9930 fail:
9931 return NULL;
9932 }
9933
9934
9935 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj;
9937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9938 int arg2 ;
9939 int result;
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self",(char *) "pos", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9948 {
9949 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (int)(arg1)->PositionBefore(arg2);
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_PyObj_FromInt((int)result);
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9969 int arg2 ;
9970 int result;
9971 PyObject * obj0 = 0 ;
9972 PyObject * obj1 = 0 ;
9973 char *kwnames[] = {
9974 (char *) "self",(char *) "pos", NULL
9975 };
9976
9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
9978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9979 {
9980 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (int)(arg1)->PositionAfter(arg2);
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = SWIG_PyObj_FromInt((int)result);
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10000 int arg2 ;
10001 int arg3 ;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 PyObject * obj2 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self",(char *) "start",(char *) "end", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 {
10012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 {
10016 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->CopyRange(arg2,arg3);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10036 int arg2 ;
10037 wxString *arg3 = 0 ;
10038 bool temp3 = False ;
10039 PyObject * obj0 = 0 ;
10040 PyObject * obj1 = 0 ;
10041 PyObject * obj2 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self",(char *) "length",(char *) "text", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10048 {
10049 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053 arg3 = wxString_in_helper(obj2);
10054 if (arg3 == NULL) SWIG_fail;
10055 temp3 = True;
10056 }
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->CopyText(arg2,(wxString const &)*arg3);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 {
10066 if (temp3)
10067 delete arg3;
10068 }
10069 return resultobj;
10070 fail:
10071 {
10072 if (temp3)
10073 delete arg3;
10074 }
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10082 int arg2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "mode", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 {
10092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetSelectionMode(arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10112 int result;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (int)(arg1)->GetSelectionMode();
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 resultobj = SWIG_PyObj_FromInt((int)result);
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10137 int arg2 ;
10138 int result;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "line", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10147 {
10148 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 result = (int)(arg1)->GetLineSelStartPosition(arg2);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = SWIG_PyObj_FromInt((int)result);
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10168 int arg2 ;
10169 int result;
10170 PyObject * obj0 = 0 ;
10171 PyObject * obj1 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "line", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 {
10179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (int)(arg1)->GetLineSelEndPosition(arg2);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_PyObj_FromInt((int)result);
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10199 wxString *arg2 = 0 ;
10200 bool temp2 = False ;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self",(char *) "characters", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10209 {
10210 arg2 = wxString_in_helper(obj1);
10211 if (arg2 == NULL) SWIG_fail;
10212 temp2 = True;
10213 }
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 Py_INCREF(Py_None); resultobj = Py_None;
10222 {
10223 if (temp2)
10224 delete arg2;
10225 }
10226 return resultobj;
10227 fail:
10228 {
10229 if (temp2)
10230 delete arg2;
10231 }
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10239 PyObject * obj0 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "self", NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
10245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 (arg1)->SetCharsDefault();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 Py_INCREF(Py_None); resultobj = Py_None;
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10263 int result;
10264 PyObject * obj0 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (int)(arg1)->AutoCompGetCurrent();
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 resultobj = SWIG_PyObj_FromInt((int)result);
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 (arg1)->StartRecord();
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 Py_INCREF(Py_None); resultobj = Py_None;
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10312 PyObject * obj0 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
10318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->StopRecord();
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10336 int arg2 ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self",(char *) "lexer", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10345 {
10346 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetLexer(arg2);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10366 int result;
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 result = (int)(arg1)->GetLexer();
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 resultobj = SWIG_PyObj_FromInt((int)result);
10382 return resultobj;
10383 fail:
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10391 int arg2 ;
10392 int arg3 ;
10393 PyObject * obj0 = 0 ;
10394 PyObject * obj1 = 0 ;
10395 PyObject * obj2 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "start",(char *) "end", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402 {
10403 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 {
10407 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->Colourise(arg2,arg3);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 Py_INCREF(Py_None); resultobj = Py_None;
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj;
10426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10427 wxString *arg2 = 0 ;
10428 wxString *arg3 = 0 ;
10429 bool temp2 = False ;
10430 bool temp3 = False ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 char *kwnames[] = {
10435 (char *) "self",(char *) "key",(char *) "value", NULL
10436 };
10437
10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
10439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10440 {
10441 arg2 = wxString_in_helper(obj1);
10442 if (arg2 == NULL) SWIG_fail;
10443 temp2 = True;
10444 }
10445 {
10446 arg3 = wxString_in_helper(obj2);
10447 if (arg3 == NULL) SWIG_fail;
10448 temp3 = True;
10449 }
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 Py_INCREF(Py_None); resultobj = Py_None;
10458 {
10459 if (temp2)
10460 delete arg2;
10461 }
10462 {
10463 if (temp3)
10464 delete arg3;
10465 }
10466 return resultobj;
10467 fail:
10468 {
10469 if (temp2)
10470 delete arg2;
10471 }
10472 {
10473 if (temp3)
10474 delete arg3;
10475 }
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10483 int arg2 ;
10484 wxString *arg3 = 0 ;
10485 bool temp3 = False ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 PyObject * obj2 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10495 {
10496 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500 arg3 = wxString_in_helper(obj2);
10501 if (arg3 == NULL) SWIG_fail;
10502 temp3 = True;
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 {
10513 if (temp3)
10514 delete arg3;
10515 }
10516 return resultobj;
10517 fail:
10518 {
10519 if (temp3)
10520 delete arg3;
10521 }
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10529 wxString *arg2 = 0 ;
10530 bool temp2 = False ;
10531 PyObject * obj0 = 0 ;
10532 PyObject * obj1 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "self",(char *) "language", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
10538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10539 {
10540 arg2 = wxString_in_helper(obj1);
10541 if (arg2 == NULL) SWIG_fail;
10542 temp2 = True;
10543 }
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->SetLexerLanguage((wxString const &)*arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 {
10553 if (temp2)
10554 delete arg2;
10555 }
10556 return resultobj;
10557 fail:
10558 {
10559 if (temp2)
10560 delete arg2;
10561 }
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10569 int result;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (int)(arg1)->GetCurrentLine();
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 resultobj = SWIG_PyObj_FromInt((int)result);
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj;
10593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10594 int arg2 ;
10595 wxString *arg3 = 0 ;
10596 bool temp3 = False ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 PyObject * obj2 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 {
10611 arg3 = wxString_in_helper(obj2);
10612 if (arg3 == NULL) SWIG_fail;
10613 temp3 = True;
10614 }
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 Py_INCREF(Py_None); resultobj = Py_None;
10623 {
10624 if (temp3)
10625 delete arg3;
10626 }
10627 return resultobj;
10628 fail:
10629 {
10630 if (temp3)
10631 delete arg3;
10632 }
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10640 int arg2 ;
10641 wxFont *arg3 = 0 ;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 PyObject * obj2 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
10650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10651 {
10652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10656 if (arg3 == NULL) {
10657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10658 }
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->StyleSetFont(arg2,*arg3);
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 Py_INCREF(Py_None); resultobj = Py_None;
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10676 int arg2 ;
10677 int arg3 ;
10678 wxString *arg4 = 0 ;
10679 bool arg5 ;
10680 bool arg6 ;
10681 bool arg7 ;
10682 bool temp4 = False ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 PyObject * obj2 = 0 ;
10686 PyObject * obj3 = 0 ;
10687 PyObject * obj4 = 0 ;
10688 PyObject * obj5 = 0 ;
10689 PyObject * obj6 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10696 {
10697 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 {
10701 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 arg4 = wxString_in_helper(obj3);
10706 if (arg4 == NULL) SWIG_fail;
10707 temp4 = True;
10708 }
10709 {
10710 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 {
10714 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 {
10730 if (temp4)
10731 delete arg4;
10732 }
10733 return resultobj;
10734 fail:
10735 {
10736 if (temp4)
10737 delete arg4;
10738 }
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10746 int arg2 ;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "cmd", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
10754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10755 {
10756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->CmdKeyExecute(arg2);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 Py_INCREF(Py_None); resultobj = Py_None;
10767 return resultobj;
10768 fail:
10769 return NULL;
10770 }
10771
10772
10773 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj;
10775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10776 int arg2 ;
10777 int arg3 ;
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 PyObject * obj2 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "left",(char *) "right", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 {
10788 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 {
10792 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 (arg1)->SetMargins(arg2,arg3);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 Py_INCREF(Py_None); resultobj = Py_None;
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10812 int *arg2 = (int *) 0 ;
10813 int *arg3 = (int *) 0 ;
10814 int temp2 ;
10815 int temp3 ;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 arg2 = &temp2;
10822 arg3 = &temp3;
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->GetSelection(arg2,arg3);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 Py_INCREF(Py_None); resultobj = Py_None;
10833 {
10834 PyObject *o = PyInt_FromLong((long) (*arg2));
10835 resultobj = t_output_helper(resultobj,o);
10836 }
10837 {
10838 PyObject *o = PyInt_FromLong((long) (*arg3));
10839 resultobj = t_output_helper(resultobj,o);
10840 }
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10850 int arg2 ;
10851 wxPoint result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "pos", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 {
10861 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 result = (arg1)->PointFromPosition(arg2);
10867
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 {
10872 wxPoint * resultptr;
10873 resultptr = new wxPoint((wxPoint &) result);
10874 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10875 }
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10885 int arg2 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "line", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10894 {
10895 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->ScrollToLine(arg2);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10915 int arg2 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "column", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
10923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10924 {
10925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->ScrollToColumn(arg2);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10945 int arg2 ;
10946 long arg3 = (long) 0 ;
10947 long arg4 = (long) 0 ;
10948 long result;
10949 PyObject * obj0 = 0 ;
10950 PyObject * obj1 = 0 ;
10951 PyObject * obj2 = 0 ;
10952 PyObject * obj3 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10959 {
10960 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 if (obj2) {
10964 {
10965 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 }
10969 if (obj3) {
10970 {
10971 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 }
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 resultobj = SWIG_PyObj_FromLong((long)result);
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10992 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "bar", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
11000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 (arg1)->SetVScrollBar(arg2);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 Py_INCREF(Py_None); resultobj = Py_None;
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11019 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
11020 PyObject * obj0 = 0 ;
11021 PyObject * obj1 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self",(char *) "bar", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetHScrollBar(arg2);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11046 bool result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)(arg1)->GetLastKeydownProcessed();
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11071 bool arg2 ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "val", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->SetLastKeydownProcessed(arg2);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11101 wxString *arg2 = 0 ;
11102 bool result;
11103 bool temp2 = False ;
11104 PyObject * obj0 = 0 ;
11105 PyObject * obj1 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self",(char *) "filename", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
11111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11112 {
11113 arg2 = wxString_in_helper(obj1);
11114 if (arg2 == NULL) SWIG_fail;
11115 temp2 = True;
11116 }
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11125 {
11126 if (temp2)
11127 delete arg2;
11128 }
11129 return resultobj;
11130 fail:
11131 {
11132 if (temp2)
11133 delete arg2;
11134 }
11135 return NULL;
11136 }
11137
11138
11139 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11142 wxString *arg2 = 0 ;
11143 bool result;
11144 bool temp2 = False ;
11145 PyObject * obj0 = 0 ;
11146 PyObject * obj1 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self",(char *) "filename", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11153 {
11154 arg2 = wxString_in_helper(obj1);
11155 if (arg2 == NULL) SWIG_fail;
11156 temp2 = True;
11157 }
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11166 {
11167 if (temp2)
11168 delete arg2;
11169 }
11170 return resultobj;
11171 fail:
11172 {
11173 if (temp2)
11174 delete arg2;
11175 }
11176 return NULL;
11177 }
11178
11179
11180 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11183 int arg2 ;
11184 int arg3 ;
11185 int arg4 ;
11186 int result;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 PyObject * obj3 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11197 {
11198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 {
11202 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_PyObj_FromInt((int)result);
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11226 long arg2 ;
11227 long arg3 ;
11228 wxString *arg4 = 0 ;
11229 bool result;
11230 bool temp4 = False ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 PyObject * obj2 = 0 ;
11234 PyObject * obj3 = 0 ;
11235 char *kwnames[] = {
11236 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11241 {
11242 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 {
11246 arg3 = (long) SWIG_PyObj_AsLong(obj2);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 {
11250 arg4 = wxString_in_helper(obj3);
11251 if (arg4 == NULL) SWIG_fail;
11252 temp4 = True;
11253 }
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11262 {
11263 if (temp4)
11264 delete arg4;
11265 }
11266 return resultobj;
11267 fail:
11268 {
11269 if (temp4)
11270 delete arg4;
11271 }
11272 return NULL;
11273 }
11274
11275
11276 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
11277 PyObject *obj;
11278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11279 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
11280 Py_INCREF(obj);
11281 return Py_BuildValue((char *)"");
11282 }
11283 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxEventType arg1 = (wxEventType) 0 ;
11286 int arg2 = (int) 0 ;
11287 wxStyledTextEvent *result;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "commandType",(char *) "id", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
11295 if (obj0) {
11296 {
11297 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 }
11301 if (obj1) {
11302 {
11303 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 }
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
11315 return resultobj;
11316 fail:
11317 return NULL;
11318 }
11319
11320
11321 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj;
11323 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11324 PyObject * obj0 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 delete arg1;
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 Py_INCREF(Py_None); resultobj = Py_None;
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11348 int arg2 ;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "pos", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11357 {
11358 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->SetPosition(arg2);
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372 }
11373
11374
11375 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11378 int arg2 ;
11379 PyObject * obj0 = 0 ;
11380 PyObject * obj1 = 0 ;
11381 char *kwnames[] = {
11382 (char *) "self",(char *) "k", NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
11386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11387 {
11388 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetKey(arg2);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11408 int arg2 ;
11409 PyObject * obj0 = 0 ;
11410 PyObject * obj1 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self",(char *) "m", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
11416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11417 {
11418 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetModifiers(arg2);
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 Py_INCREF(Py_None); resultobj = Py_None;
11429 return resultobj;
11430 fail:
11431 return NULL;
11432 }
11433
11434
11435 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11438 int arg2 ;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self",(char *) "t", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11447 {
11448 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 (arg1)->SetModificationType(arg2);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 Py_INCREF(Py_None); resultobj = Py_None;
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11468 wxString *arg2 = 0 ;
11469 bool temp2 = False ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "t", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
11477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11478 {
11479 arg2 = wxString_in_helper(obj1);
11480 if (arg2 == NULL) SWIG_fail;
11481 temp2 = True;
11482 }
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 (arg1)->SetText((wxString const &)*arg2);
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 Py_INCREF(Py_None); resultobj = Py_None;
11491 {
11492 if (temp2)
11493 delete arg2;
11494 }
11495 return resultobj;
11496 fail:
11497 {
11498 if (temp2)
11499 delete arg2;
11500 }
11501 return NULL;
11502 }
11503
11504
11505 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj;
11507 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11508 int arg2 ;
11509 PyObject * obj0 = 0 ;
11510 PyObject * obj1 = 0 ;
11511 char *kwnames[] = {
11512 (char *) "self",(char *) "len", NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
11516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11517 {
11518 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 (arg1)->SetLength(arg2);
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 Py_INCREF(Py_None); resultobj = Py_None;
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11538 int arg2 ;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "num", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
11546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547 {
11548 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 (arg1)->SetLinesAdded(arg2);
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 Py_INCREF(Py_None); resultobj = Py_None;
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11568 int arg2 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char *kwnames[] = {
11572 (char *) "self",(char *) "val", NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
11576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11577 {
11578 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 (arg1)->SetLine(arg2);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 Py_INCREF(Py_None); resultobj = Py_None;
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11598 int arg2 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "val", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11607 {
11608 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 (arg1)->SetFoldLevelNow(arg2);
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 Py_INCREF(Py_None); resultobj = Py_None;
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11628 int arg2 ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self",(char *) "val", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 {
11638 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->SetFoldLevelPrev(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 Py_INCREF(Py_None); resultobj = Py_None;
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11658 int arg2 ;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "self",(char *) "val", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
11666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11667 {
11668 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 (arg1)->SetMargin(arg2);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 Py_INCREF(Py_None); resultobj = Py_None;
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11688 int arg2 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "val", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11697 {
11698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 (arg1)->SetMessage(arg2);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 Py_INCREF(Py_None); resultobj = Py_None;
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11718 int arg2 ;
11719 PyObject * obj0 = 0 ;
11720 PyObject * obj1 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self",(char *) "val", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11727 {
11728 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 (arg1)->SetWParam(arg2);
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 Py_INCREF(Py_None); resultobj = Py_None;
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11748 int arg2 ;
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "val", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
11756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11757 {
11758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 (arg1)->SetLParam(arg2);
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 Py_INCREF(Py_None); resultobj = Py_None;
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject *resultobj;
11777 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11778 int arg2 ;
11779 PyObject * obj0 = 0 ;
11780 PyObject * obj1 = 0 ;
11781 char *kwnames[] = {
11782 (char *) "self",(char *) "val", NULL
11783 };
11784
11785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787 {
11788 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 (arg1)->SetListType(arg2);
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 Py_INCREF(Py_None); resultobj = Py_None;
11799 return resultobj;
11800 fail:
11801 return NULL;
11802 }
11803
11804
11805 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11808 int arg2 ;
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self",(char *) "val", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
11816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11817 {
11818 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 (arg1)->SetX(arg2);
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 Py_INCREF(Py_None); resultobj = Py_None;
11829 return resultobj;
11830 fail:
11831 return NULL;
11832 }
11833
11834
11835 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11838 int arg2 ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self",(char *) "val", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
11846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11847 {
11848 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetY(arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 Py_INCREF(Py_None); resultobj = Py_None;
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11868 wxString *arg2 = 0 ;
11869 bool temp2 = False ;
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj1 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "val", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11878 {
11879 arg2 = wxString_in_helper(obj1);
11880 if (arg2 == NULL) SWIG_fail;
11881 temp2 = True;
11882 }
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 (arg1)->SetDragText((wxString const &)*arg2);
11886
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 Py_INCREF(Py_None); resultobj = Py_None;
11891 {
11892 if (temp2)
11893 delete arg2;
11894 }
11895 return resultobj;
11896 fail:
11897 {
11898 if (temp2)
11899 delete arg2;
11900 }
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11908 bool arg2 ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "val", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11917 {
11918 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetDragAllowMove(arg2);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11938 int arg2 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self",(char *) "val", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
11946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947 {
11948 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 (arg1)->SetDragResult((wxDragResult )arg2);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11968 int result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
11979
11980 wxPyEndAllowThreads(__tstate);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 }
11983 resultobj = SWIG_PyObj_FromInt((int)result);
11984 return resultobj;
11985 fail:
11986 return NULL;
11987 }
11988
11989
11990 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11993 int result;
11994 PyObject * obj0 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
12000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 resultobj = SWIG_PyObj_FromInt((int)result);
12009 return resultobj;
12010 fail:
12011 return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12018 int result;
12019 PyObject * obj0 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 resultobj = SWIG_PyObj_FromInt((int)result);
12034 return resultobj;
12035 fail:
12036 return NULL;
12037 }
12038
12039
12040 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12043 int result;
12044 PyObject * obj0 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
12050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 resultobj = SWIG_PyObj_FromInt((int)result);
12059 return resultobj;
12060 fail:
12061 return NULL;
12062 }
12063
12064
12065 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj;
12067 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12068 wxString result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = ((wxStyledTextEvent const *)arg1)->GetText();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 #if wxUSE_UNICODE
12085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12086 #else
12087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12088 #endif
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093 }
12094
12095
12096 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12099 int result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 resultobj = SWIG_PyObj_FromInt((int)result);
12115 return resultobj;
12116 fail:
12117 return NULL;
12118 }
12119
12120
12121 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12124 int result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
12135
12136 wxPyEndAllowThreads(__tstate);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 resultobj = SWIG_PyObj_FromInt((int)result);
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12149 int result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_PyObj_FromInt((int)result);
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12174 int result;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
12181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_PyObj_FromInt((int)result);
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12199 int result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = SWIG_PyObj_FromInt((int)result);
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj;
12223 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12224 int result;
12225 PyObject * obj0 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
12231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
12235
12236 wxPyEndAllowThreads(__tstate);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 }
12239 resultobj = SWIG_PyObj_FromInt((int)result);
12240 return resultobj;
12241 fail:
12242 return NULL;
12243 }
12244
12245
12246 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12249 int result;
12250 PyObject * obj0 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 resultobj = SWIG_PyObj_FromInt((int)result);
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj;
12273 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12274 int result;
12275 PyObject * obj0 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
12281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_PyObj_FromInt((int)result);
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj;
12298 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12299 int result;
12300 PyObject * obj0 = 0 ;
12301 char *kwnames[] = {
12302 (char *) "self", NULL
12303 };
12304
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
12306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 resultobj = SWIG_PyObj_FromInt((int)result);
12315 return resultobj;
12316 fail:
12317 return NULL;
12318 }
12319
12320
12321 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj;
12323 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12324 int result;
12325 PyObject * obj0 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
12331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 resultobj = SWIG_PyObj_FromInt((int)result);
12340 return resultobj;
12341 fail:
12342 return NULL;
12343 }
12344
12345
12346 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12347 PyObject *resultobj;
12348 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12349 int result;
12350 PyObject * obj0 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = SWIG_PyObj_FromInt((int)result);
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12374 int result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_PyObj_FromInt((int)result);
12390 return resultobj;
12391 fail:
12392 return NULL;
12393 }
12394
12395
12396 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj;
12398 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12399 wxString result;
12400 PyObject * obj0 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "self", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
12406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = (arg1)->GetDragText();
12410
12411 wxPyEndAllowThreads(__tstate);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 }
12414 {
12415 #if wxUSE_UNICODE
12416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12417 #else
12418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12419 #endif
12420 }
12421 return resultobj;
12422 fail:
12423 return NULL;
12424 }
12425
12426
12427 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12430 bool result;
12431 PyObject * obj0 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 result = (bool)(arg1)->GetDragAllowMove();
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12446 return resultobj;
12447 fail:
12448 return NULL;
12449 }
12450
12451
12452 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12455 int result;
12456 PyObject * obj0 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
12462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (int)(arg1)->GetDragResult();
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 resultobj = SWIG_PyObj_FromInt((int)result);
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12480 bool result;
12481 PyObject * obj0 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
12487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj;
12504 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12505 bool result;
12506 PyObject * obj0 = 0 ;
12507 char *kwnames[] = {
12508 (char *) "self", NULL
12509 };
12510
12511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
12512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12513 {
12514 PyThreadState* __tstate = wxPyBeginAllowThreads();
12515 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
12516
12517 wxPyEndAllowThreads(__tstate);
12518 if (PyErr_Occurred()) SWIG_fail;
12519 }
12520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12521 return resultobj;
12522 fail:
12523 return NULL;
12524 }
12525
12526
12527 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
12528 PyObject *resultobj;
12529 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12530 bool result;
12531 PyObject * obj0 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12546 return resultobj;
12547 fail:
12548 return NULL;
12549 }
12550
12551
12552 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12555 wxEvent *result;
12556 PyObject * obj0 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
12562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
12571 return resultobj;
12572 fail:
12573 return NULL;
12574 }
12575
12576
12577 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
12578 PyObject *obj;
12579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12580 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
12581 Py_INCREF(obj);
12582 return Py_BuildValue((char *)"");
12583 }
12584 static PyMethodDef SwigMethods[] = {
12585 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12586 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12587 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12588 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
12589 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
12590 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
12591 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
12592 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
12593 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
12594 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
12595 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12596 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
12597 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
12598 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12599 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12600 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12601 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
12602 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
12603 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12604 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
12605 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
12606 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12607 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12608 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12609 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
12610 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
12611 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
12612 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
12613 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
12614 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
12615 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
12616 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
12617 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
12618 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
12619 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
12620 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
12621 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12622 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12623 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
12624 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
12625 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
12626 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
12627 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
12628 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
12629 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
12630 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
12631 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
12632 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
12633 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
12634 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
12635 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
12636 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
12637 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
12638 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12639 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12640 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
12641 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
12642 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12643 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12644 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
12645 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
12646 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
12647 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
12648 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
12649 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
12650 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
12651 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
12652 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
12653 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
12654 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
12655 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
12656 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
12657 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
12658 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
12659 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12660 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
12661 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
12662 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
12663 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
12664 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
12665 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12666 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12667 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
12668 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
12669 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
12670 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
12671 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
12672 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
12673 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
12674 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
12675 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
12676 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
12677 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
12678 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
12679 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
12680 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
12681 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12682 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12683 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12684 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12685 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
12686 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
12687 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
12688 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
12689 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
12690 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
12691 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
12692 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
12693 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
12694 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
12695 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12696 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12697 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
12698 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12699 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12700 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12701 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12702 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
12703 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
12704 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
12705 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12706 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12707 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
12708 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
12709 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12710 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12711 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
12712 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
12713 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
12714 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
12715 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12716 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12717 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
12718 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
12719 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12720 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12721 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12722 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12723 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12724 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12725 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
12726 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
12727 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12728 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
12729 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12730 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12731 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12732 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12733 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12734 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12735 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12736 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12737 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12738 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
12739 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
12740 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
12741 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
12742 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
12743 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12744 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12745 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
12746 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
12747 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
12748 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12749 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
12750 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
12751 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
12752 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
12753 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
12754 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
12755 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
12756 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
12757 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12758 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12759 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
12760 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
12761 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
12762 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12763 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12764 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12765 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12766 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
12767 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
12768 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
12769 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
12770 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
12771 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12772 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12773 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
12774 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
12775 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12776 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12777 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
12778 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
12779 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
12780 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12781 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12782 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
12783 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
12784 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
12785 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
12786 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
12787 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
12788 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
12789 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
12790 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
12791 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
12792 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12793 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12794 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
12795 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
12796 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
12797 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
12798 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
12799 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12800 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12801 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
12802 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
12803 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
12804 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
12805 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
12806 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
12807 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12808 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12809 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12810 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12811 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
12812 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
12813 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
12814 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
12815 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12816 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12817 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12818 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12819 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
12820 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12821 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12822 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
12823 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12824 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12825 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12826 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12827 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12828 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
12829 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
12830 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
12831 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
12832 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
12833 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
12834 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
12835 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12836 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
12837 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12838 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
12839 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
12840 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
12841 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
12842 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
12843 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
12844 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
12845 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
12846 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
12847 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
12848 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
12849 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12850 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12851 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12852 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12853 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12854 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12855 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
12856 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
12857 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
12858 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
12859 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
12860 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
12861 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
12862 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
12863 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
12864 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
12865 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
12866 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
12867 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12868 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12869 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
12870 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
12871 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12872 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12873 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12874 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12875 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12876 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12877 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
12878 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
12879 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
12880 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
12881 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
12882 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
12883 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
12884 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
12885 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
12886 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
12887 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12888 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12889 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12890 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12891 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
12892 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
12893 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
12894 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
12895 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
12896 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
12897 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
12898 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
12899 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12900 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12901 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
12902 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
12903 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
12904 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
12905 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
12906 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
12907 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
12908 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
12909 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
12910 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
12911 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
12912 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
12913 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
12914 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
12915 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
12916 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
12917 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
12918 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
12919 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
12920 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12921 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
12922 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
12923 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
12924 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
12925 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
12926 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
12927 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12928 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12929 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
12930 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
12931 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
12932 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
12933 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
12934 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12935 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12936 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
12937 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
12938 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
12939 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
12940 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
12941 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
12942 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12943 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
12944 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12945 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12946 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
12947 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
12948 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
12949 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
12950 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
12951 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
12952 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
12953 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
12954 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12955 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
12956 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12957 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
12958 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
12959 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
12960 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
12961 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
12962 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12963 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
12964 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12965 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12966 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
12967 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
12968 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
12969 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
12970 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
12971 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
12972 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
12973 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
12974 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12975 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
12976 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
12977 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
12978 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
12979 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
12980 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
12981 { NULL, NULL }
12982 };
12983
12984
12985 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12986
12987 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12988 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12989 }
12990 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12991 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12992 }
12993 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12994 return (void *)((wxObject *) ((wxSizerItem *) x));
12995 }
12996 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12997 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12998 }
12999 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
13000 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
13001 }
13002 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
13003 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
13004 }
13005 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
13006 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
13007 }
13008 static void *_p_wxSizerTo_p_wxObject(void *x) {
13009 return (void *)((wxObject *) ((wxSizer *) x));
13010 }
13011 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
13012 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13013 }
13014 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
13015 return (void *)((wxObject *) ((wxFileHistory *) x));
13016 }
13017 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
13018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
13019 }
13020 static void *_p_wxEventTo_p_wxObject(void *x) {
13021 return (void *)((wxObject *) ((wxEvent *) x));
13022 }
13023 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13024 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13025 }
13026 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13027 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13028 }
13029 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13030 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13031 }
13032 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13033 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13034 }
13035 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13036 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13037 }
13038 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
13039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
13040 }
13041 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13042 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13043 }
13044 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13045 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13046 }
13047 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13048 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13049 }
13050 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13051 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13052 }
13053 static void *_p_wxControlTo_p_wxObject(void *x) {
13054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13055 }
13056 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13057 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13058 }
13059 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
13060 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
13061 }
13062 static void *_p_wxFSFileTo_p_wxObject(void *x) {
13063 return (void *)((wxObject *) ((wxFSFile *) x));
13064 }
13065 static void *_p_wxClipboardTo_p_wxObject(void *x) {
13066 return (void *)((wxObject *) ((wxClipboard *) x));
13067 }
13068 static void *_p_wxPySizerTo_p_wxObject(void *x) {
13069 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13070 }
13071 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
13072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13073 }
13074 static void *_p_wxPyEventTo_p_wxObject(void *x) {
13075 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13076 }
13077 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13079 }
13080 static void *_p_wxShowEventTo_p_wxObject(void *x) {
13081 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13082 }
13083 static void *_p_wxToolTipTo_p_wxObject(void *x) {
13084 return (void *)((wxObject *) ((wxToolTip *) x));
13085 }
13086 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13087 return (void *)((wxObject *) ((wxMenuItem *) x));
13088 }
13089 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13090 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13091 }
13092 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13093 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13094 }
13095 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13096 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13097 }
13098 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13099 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13100 }
13101 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13102 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13103 }
13104 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13105 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13106 }
13107 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13108 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13109 }
13110 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13111 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13112 }
13113 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13114 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13115 }
13116 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13117 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13118 }
13119 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13120 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13121 }
13122 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13123 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13124 }
13125 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13126 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13127 }
13128 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13129 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13130 }
13131 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13132 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13133 }
13134 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13135 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13136 }
13137 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13138 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13139 }
13140 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13141 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13142 }
13143 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13144 return (void *)((wxObject *) ((wxImageHandler *) x));
13145 }
13146 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13147 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13148 }
13149 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13150 return (void *)((wxObject *) ((wxEvtHandler *) x));
13151 }
13152 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13153 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13154 }
13155 static void *_p_wxImageTo_p_wxObject(void *x) {
13156 return (void *)((wxObject *) ((wxImage *) x));
13157 }
13158 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13159 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13160 }
13161 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
13162 return (void *)((wxObject *) ((wxSystemOptions *) x));
13163 }
13164 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
13165 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
13166 }
13167 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13169 }
13170 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13171 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13172 }
13173 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13174 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13175 }
13176 static void *_p_wxWindowTo_p_wxObject(void *x) {
13177 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13178 }
13179 static void *_p_wxMenuTo_p_wxObject(void *x) {
13180 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13181 }
13182 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13184 }
13185 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
13186 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
13187 }
13188 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13189 return (void *)((wxObject *) ((wxFileSystem *) x));
13190 }
13191 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13192 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13193 }
13194 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13195 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13196 }
13197 static void *_p_wxPyAppTo_p_wxObject(void *x) {
13198 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13199 }
13200 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13201 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13202 }
13203 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13204 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13205 }
13206 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13207 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13208 }
13209 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
13210 return (void *)((wxObject *) ((wxBusyInfo *) x));
13211 }
13212 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13213 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13214 }
13215 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13216 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13217 }
13218 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13219 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13220 }
13221 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13222 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13223 }
13224 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13225 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13226 }
13227 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
13228 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
13229 }
13230 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13232 }
13233 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13234 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13235 }
13236 static void *_p_wxValidatorTo_p_wxObject(void *x) {
13237 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13238 }
13239 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
13240 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
13241 }
13242 static void *_p_wxControlTo_p_wxWindow(void *x) {
13243 return (void *)((wxWindow *) ((wxControl *) x));
13244 }
13245 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13246 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13247 }
13248 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
13249 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
13250 }
13251 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13252 return (void *)((wxWindow *) ((wxMenuBar *) x));
13253 }
13254 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13255 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13256 }
13257 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13258 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13259 }
13260 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13261 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13262 }
13263 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13264 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13265 }
13266 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
13267 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
13268 }
13269 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13270 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13271 }
13272 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13273 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13274 }
13275 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13276 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13277 }
13278 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13279 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13280 }
13281 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13282 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13283 }
13284 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13285 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13286 }
13287 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13288 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13289 }
13290 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13291 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13292 }
13293 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
13294 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
13295 }
13296 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
13297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13298 }
13299 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13300 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13301 }
13302 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13303 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13304 }
13305 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13306 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13307 }
13308 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13309 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13310 }
13311 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
13312 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
13313 }
13314 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13315 return (void *)((wxControl *) ((wxControlWithItems *) x));
13316 }
13317 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
13318 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
13319 }
13320 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13322 }
13323 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13324 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13325 }
13326 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13327 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13328 }
13329 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13330 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13331 }
13332 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13333 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13334 }
13335 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13336 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13337 }
13338 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
13339 return (void *)((wxEvent *) ((wxTimerEvent *) x));
13340 }
13341 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13342 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13343 }
13344 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13346 }
13347 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13348 return (void *)((wxEvent *) ((wxPyEvent *) x));
13349 }
13350 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13351 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13352 }
13353 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
13354 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
13355 }
13356 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13357 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13358 }
13359 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13360 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13361 }
13362 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13363 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13364 }
13365 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13366 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13367 }
13368 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13369 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13370 }
13371 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13372 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13373 }
13374 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13375 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13376 }
13377 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13378 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13379 }
13380 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13381 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13382 }
13383 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13384 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13385 }
13386 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
13387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
13388 }
13389 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13391 }
13392 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13393 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13394 }
13395 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13396 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13397 }
13398 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13399 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13400 }
13401 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13402 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13403 }
13404 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13405 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13406 }
13407 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13408 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13409 }
13410 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13412 }
13413 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
13414 return (void *)((wxEvent *) ((wxProcessEvent *) x));
13415 }
13416 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
13417 return (void *)((wxEvent *) ((wxShowEvent *) x));
13418 }
13419 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
13420 return (void *)((wxEvent *) ((wxCommandEvent *) x));
13421 }
13422 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
13423 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
13424 }
13425 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
13426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13427 }
13428 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
13429 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
13430 }
13431 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
13432 return (void *)((wxEvent *) ((wxKeyEvent *) x));
13433 }
13434 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
13435 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
13436 }
13437 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
13438 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
13439 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_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_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_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_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_wxToolTip", _p_wxToolTipTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_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_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_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_wxPyProcess", _p_wxPyProcessTo_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_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
13440 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
13441 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
13442 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}};
13443 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}};
13444 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
13445 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
13446 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
13447 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
13448 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
13449 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_wxPyTimer", _p_wxPyTimerTo_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},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler},{0}};
13450 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
13451 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
13452 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}};
13453 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_wxTimerEvent", _p_wxTimerEventTo_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_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_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_wxProcessEvent", _p_wxProcessEventTo_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}};
13454 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13455 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
13456
13457 static swig_type_info *swig_types_initial[] = {
13458 _swigt__p_wxRect,
13459 _swigt__p_wxColour,
13460 _swigt__p_wxObject,
13461 _swigt__p_wxScrollBar,
13462 _swigt__p_wxStyledTextEvent,
13463 _swigt__p_wxWindow,
13464 _swigt__p_wxCommandEvent,
13465 _swigt__p_wxBitmap,
13466 _swigt__p_void,
13467 _swigt__p_wxPoint,
13468 _swigt__p_wxDC,
13469 _swigt__p_char,
13470 _swigt__p_wxEvtHandler,
13471 _swigt__p_wxStyledTextCtrl,
13472 _swigt__p_wxFont,
13473 _swigt__p_wxControl,
13474 _swigt__p_wxEvent,
13475 _swigt__p_int,
13476 _swigt__p_wxMemoryBuffer,
13477 0
13478 };
13479
13480
13481 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13482
13483 static swig_const_info swig_const_table[] = {
13484 {0}};
13485
13486 #ifdef __cplusplus
13487 }
13488 #endif
13489
13490 #ifdef __cplusplus
13491 extern "C"
13492 #endif
13493 SWIGEXPORT(void) SWIG_init(void) {
13494 static PyObject *SWIG_globals = 0;
13495 static int typeinit = 0;
13496 PyObject *m, *d;
13497 int i;
13498 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13499 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13500 d = PyModule_GetDict(m);
13501
13502 if (!typeinit) {
13503 for (i = 0; swig_types_initial[i]; i++) {
13504 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13505 }
13506 typeinit = 1;
13507 }
13508 SWIG_InstallConstants(d,swig_const_table);
13509
13510 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13511 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
13512 PyDict_SetItemString(d,"STC_USE_DND", SWIG_PyObj_FromInt((int)1));
13513 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_PyObj_FromInt((int)1));
13514 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_PyObj_FromInt((int)-1));
13515 PyDict_SetItemString(d,"STC_START", SWIG_PyObj_FromInt((int)2000));
13516 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_PyObj_FromInt((int)3000));
13517 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_PyObj_FromInt((int)4000));
13518 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_PyObj_FromInt((int)0));
13519 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_PyObj_FromInt((int)1));
13520 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_PyObj_FromInt((int)2));
13521 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_PyObj_FromInt((int)0));
13522 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_PyObj_FromInt((int)1));
13523 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_PyObj_FromInt((int)2));
13524 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_PyObj_FromInt((int)65001));
13525 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_PyObj_FromInt((int)1));
13526 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_PyObj_FromInt((int)31));
13527 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_PyObj_FromInt((int)0));
13528 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_PyObj_FromInt((int)1));
13529 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_PyObj_FromInt((int)2));
13530 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_PyObj_FromInt((int)3));
13531 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_PyObj_FromInt((int)4));
13532 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_PyObj_FromInt((int)5));
13533 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_PyObj_FromInt((int)6));
13534 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_PyObj_FromInt((int)7));
13535 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_PyObj_FromInt((int)8));
13536 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_PyObj_FromInt((int)9));
13537 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_PyObj_FromInt((int)10));
13538 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_PyObj_FromInt((int)11));
13539 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_PyObj_FromInt((int)12));
13540 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_PyObj_FromInt((int)13));
13541 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_PyObj_FromInt((int)14));
13542 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_PyObj_FromInt((int)15));
13543 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_PyObj_FromInt((int)16));
13544 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_PyObj_FromInt((int)17));
13545 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_PyObj_FromInt((int)18));
13546 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_PyObj_FromInt((int)19));
13547 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_PyObj_FromInt((int)20));
13548 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_PyObj_FromInt((int)21));
13549 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_PyObj_FromInt((int)22));
13550 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_PyObj_FromInt((int)23));
13551 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_PyObj_FromInt((int)24));
13552 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_PyObj_FromInt((int)25));
13553 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_PyObj_FromInt((int)10000));
13554 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_PyObj_FromInt((int)25));
13555 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_PyObj_FromInt((int)26));
13556 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_PyObj_FromInt((int)27));
13557 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_PyObj_FromInt((int)28));
13558 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_PyObj_FromInt((int)29));
13559 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_PyObj_FromInt((int)30));
13560 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_PyObj_FromInt((int)31));
13561 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_PyObj_FromInt((int)0xFE000000));
13562 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_PyObj_FromInt((int)0));
13563 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_PyObj_FromInt((int)1));
13564 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_PyObj_FromInt((int)32));
13565 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_PyObj_FromInt((int)33));
13566 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_PyObj_FromInt((int)34));
13567 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_PyObj_FromInt((int)35));
13568 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_PyObj_FromInt((int)36));
13569 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_PyObj_FromInt((int)37));
13570 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_PyObj_FromInt((int)39));
13571 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_PyObj_FromInt((int)127));
13572 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_PyObj_FromInt((int)0));
13573 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_PyObj_FromInt((int)1));
13574 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_PyObj_FromInt((int)186));
13575 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_PyObj_FromInt((int)136));
13576 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_PyObj_FromInt((int)238));
13577 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_PyObj_FromInt((int)134));
13578 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_PyObj_FromInt((int)161));
13579 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_PyObj_FromInt((int)129));
13580 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_PyObj_FromInt((int)77));
13581 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_PyObj_FromInt((int)255));
13582 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_PyObj_FromInt((int)204));
13583 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_PyObj_FromInt((int)128));
13584 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_PyObj_FromInt((int)2));
13585 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_PyObj_FromInt((int)162));
13586 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_PyObj_FromInt((int)130));
13587 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_PyObj_FromInt((int)177));
13588 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_PyObj_FromInt((int)178));
13589 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_PyObj_FromInt((int)163));
13590 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_PyObj_FromInt((int)222));
13591 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_PyObj_FromInt((int)0));
13592 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_PyObj_FromInt((int)1));
13593 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_PyObj_FromInt((int)2));
13594 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_PyObj_FromInt((int)7));
13595 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_PyObj_FromInt((int)0));
13596 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_PyObj_FromInt((int)1));
13597 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_PyObj_FromInt((int)2));
13598 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_PyObj_FromInt((int)3));
13599 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_PyObj_FromInt((int)4));
13600 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_PyObj_FromInt((int)5));
13601 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_PyObj_FromInt((int)6));
13602 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_PyObj_FromInt((int)0x20));
13603 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_PyObj_FromInt((int)0x40));
13604 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_PyObj_FromInt((int)0x80));
13605 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_PyObj_FromInt((int)0xE0));
13606 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_PyObj_FromInt((int)0));
13607 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_PyObj_FromInt((int)1));
13608 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_PyObj_FromInt((int)2));
13609 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_PyObj_FromInt((int)3));
13610 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_PyObj_FromInt((int)4));
13611 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_PyObj_FromInt((int)2));
13612 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_PyObj_FromInt((int)4));
13613 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_PyObj_FromInt((int)0x00100000));
13614 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_PyObj_FromInt((int)0x00200000));
13615 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_PyObj_FromInt((int)0x00400000));
13616 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_PyObj_FromInt((int)0x400));
13617 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_PyObj_FromInt((int)0x1000));
13618 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_PyObj_FromInt((int)0x2000));
13619 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_PyObj_FromInt((int)0x4000));
13620 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_PyObj_FromInt((int)0x8000));
13621 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_PyObj_FromInt((int)0x10000));
13622 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_PyObj_FromInt((int)0x20000));
13623 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_PyObj_FromInt((int)0x0FFF));
13624 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_PyObj_FromInt((int)0x0002));
13625 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_PyObj_FromInt((int)0x0004));
13626 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_PyObj_FromInt((int)0x0008));
13627 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_PyObj_FromInt((int)0x0010));
13628 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_PyObj_FromInt((int)0x0040));
13629 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_PyObj_FromInt((int)0x0001));
13630 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_PyObj_FromInt((int)10000000));
13631 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_PyObj_FromInt((int)0));
13632 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_PyObj_FromInt((int)1));
13633 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_PyObj_FromInt((int)0));
13634 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_PyObj_FromInt((int)1));
13635 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_PyObj_FromInt((int)2));
13636 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_PyObj_FromInt((int)3));
13637 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_PyObj_FromInt((int)0));
13638 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_PyObj_FromInt((int)1));
13639 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_PyObj_FromInt((int)2));
13640 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_PyObj_FromInt((int)-1));
13641 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_PyObj_FromInt((int)4));
13642 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_PyObj_FromInt((int)0x01));
13643 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_PyObj_FromInt((int)0x04));
13644 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_PyObj_FromInt((int)0x01));
13645 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_PyObj_FromInt((int)0x04));
13646 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_PyObj_FromInt((int)0x10));
13647 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_PyObj_FromInt((int)0x08));
13648 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_PyObj_FromInt((int)0));
13649 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_PyObj_FromInt((int)1));
13650 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_PyObj_FromInt((int)2));
13651 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_PyObj_FromInt((int)8));
13652 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_PyObj_FromInt((int)0x1));
13653 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_PyObj_FromInt((int)0x2));
13654 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_PyObj_FromInt((int)0x4));
13655 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_PyObj_FromInt((int)0x8));
13656 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_PyObj_FromInt((int)0x10));
13657 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_PyObj_FromInt((int)0x20));
13658 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_PyObj_FromInt((int)0x40));
13659 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_PyObj_FromInt((int)0x100));
13660 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_PyObj_FromInt((int)0x200));
13661 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_PyObj_FromInt((int)0x400));
13662 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_PyObj_FromInt((int)0x800));
13663 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_PyObj_FromInt((int)0xF77));
13664 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_PyObj_FromInt((int)300));
13665 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_PyObj_FromInt((int)301));
13666 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_PyObj_FromInt((int)302));
13667 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_PyObj_FromInt((int)303));
13668 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_PyObj_FromInt((int)304));
13669 PyDict_SetItemString(d,"STC_KEY_END", SWIG_PyObj_FromInt((int)305));
13670 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_PyObj_FromInt((int)306));
13671 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_PyObj_FromInt((int)307));
13672 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_PyObj_FromInt((int)308));
13673 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_PyObj_FromInt((int)309));
13674 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_PyObj_FromInt((int)7));
13675 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_PyObj_FromInt((int)8));
13676 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_PyObj_FromInt((int)9));
13677 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_PyObj_FromInt((int)13));
13678 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_PyObj_FromInt((int)310));
13679 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_PyObj_FromInt((int)311));
13680 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_PyObj_FromInt((int)312));
13681 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_PyObj_FromInt((int)1));
13682 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_PyObj_FromInt((int)2));
13683 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_PyObj_FromInt((int)4));
13684 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_PyObj_FromInt((int)0));
13685 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_PyObj_FromInt((int)1));
13686 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_PyObj_FromInt((int)2));
13687 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_PyObj_FromInt((int)3));
13688 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_PyObj_FromInt((int)4));
13689 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_PyObj_FromInt((int)5));
13690 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_PyObj_FromInt((int)6));
13691 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_PyObj_FromInt((int)7));
13692 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_PyObj_FromInt((int)8));
13693 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_PyObj_FromInt((int)9));
13694 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_PyObj_FromInt((int)10));
13695 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_PyObj_FromInt((int)11));
13696 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_PyObj_FromInt((int)12));
13697 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_PyObj_FromInt((int)13));
13698 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_PyObj_FromInt((int)14));
13699 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_PyObj_FromInt((int)15));
13700 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_PyObj_FromInt((int)16));
13701 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_PyObj_FromInt((int)17));
13702 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_PyObj_FromInt((int)18));
13703 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_PyObj_FromInt((int)19));
13704 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_PyObj_FromInt((int)20));
13705 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_PyObj_FromInt((int)21));
13706 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_PyObj_FromInt((int)22));
13707 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_PyObj_FromInt((int)23));
13708 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_PyObj_FromInt((int)24));
13709 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_PyObj_FromInt((int)25));
13710 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_PyObj_FromInt((int)26));
13711 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_PyObj_FromInt((int)27));
13712 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_PyObj_FromInt((int)28));
13713 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_PyObj_FromInt((int)29));
13714 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_PyObj_FromInt((int)30));
13715 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_PyObj_FromInt((int)31));
13716 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_PyObj_FromInt((int)32));
13717 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_PyObj_FromInt((int)33));
13718 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_PyObj_FromInt((int)34));
13719 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_PyObj_FromInt((int)35));
13720 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_PyObj_FromInt((int)36));
13721 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_PyObj_FromInt((int)37));
13722 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_PyObj_FromInt((int)38));
13723 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_PyObj_FromInt((int)39));
13724 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_PyObj_FromInt((int)40));
13725 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_PyObj_FromInt((int)41));
13726 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_PyObj_FromInt((int)42));
13727 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_PyObj_FromInt((int)43));
13728 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_PyObj_FromInt((int)44));
13729 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_PyObj_FromInt((int)45));
13730 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_PyObj_FromInt((int)46));
13731 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_PyObj_FromInt((int)47));
13732 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_PyObj_FromInt((int)48));
13733 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_PyObj_FromInt((int)49));
13734 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_PyObj_FromInt((int)50));
13735 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_PyObj_FromInt((int)51));
13736 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_PyObj_FromInt((int)52));
13737 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_PyObj_FromInt((int)53));
13738 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_PyObj_FromInt((int)54));
13739 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_PyObj_FromInt((int)1000));
13740 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_PyObj_FromInt((int)0));
13741 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13742 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_PyObj_FromInt((int)2));
13743 PyDict_SetItemString(d,"STC_P_STRING", SWIG_PyObj_FromInt((int)3));
13744 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_PyObj_FromInt((int)4));
13745 PyDict_SetItemString(d,"STC_P_WORD", SWIG_PyObj_FromInt((int)5));
13746 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_PyObj_FromInt((int)6));
13747 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)7));
13748 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_PyObj_FromInt((int)8));
13749 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_PyObj_FromInt((int)9));
13750 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_PyObj_FromInt((int)10));
13751 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13752 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_PyObj_FromInt((int)12));
13753 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_PyObj_FromInt((int)13));
13754 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_PyObj_FromInt((int)0));
13755 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_PyObj_FromInt((int)1));
13756 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13757 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13758 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_PyObj_FromInt((int)4));
13759 PyDict_SetItemString(d,"STC_C_WORD", SWIG_PyObj_FromInt((int)5));
13760 PyDict_SetItemString(d,"STC_C_STRING", SWIG_PyObj_FromInt((int)6));
13761 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_PyObj_FromInt((int)7));
13762 PyDict_SetItemString(d,"STC_C_UUID", SWIG_PyObj_FromInt((int)8));
13763 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13764 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_PyObj_FromInt((int)10));
13765 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13766 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13767 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_PyObj_FromInt((int)13));
13768 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_PyObj_FromInt((int)14));
13769 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13770 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_PyObj_FromInt((int)16));
13771 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13772 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13773 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_PyObj_FromInt((int)19));
13774 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_PyObj_FromInt((int)0));
13775 PyDict_SetItemString(d,"STC_H_TAG", SWIG_PyObj_FromInt((int)1));
13776 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_PyObj_FromInt((int)2));
13777 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_PyObj_FromInt((int)3));
13778 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_PyObj_FromInt((int)4));
13779 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_PyObj_FromInt((int)5));
13780 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_PyObj_FromInt((int)6));
13781 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_PyObj_FromInt((int)7));
13782 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_PyObj_FromInt((int)8));
13783 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_PyObj_FromInt((int)9));
13784 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_PyObj_FromInt((int)10));
13785 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_PyObj_FromInt((int)11));
13786 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_PyObj_FromInt((int)12));
13787 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_PyObj_FromInt((int)13));
13788 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_PyObj_FromInt((int)14));
13789 PyDict_SetItemString(d,"STC_H_ASP", SWIG_PyObj_FromInt((int)15));
13790 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_PyObj_FromInt((int)16));
13791 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_PyObj_FromInt((int)17));
13792 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_PyObj_FromInt((int)18));
13793 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_PyObj_FromInt((int)19));
13794 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_PyObj_FromInt((int)20));
13795 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_PyObj_FromInt((int)21));
13796 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_PyObj_FromInt((int)22));
13797 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_PyObj_FromInt((int)23));
13798 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_PyObj_FromInt((int)24));
13799 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_PyObj_FromInt((int)25));
13800 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_PyObj_FromInt((int)26));
13801 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_PyObj_FromInt((int)27));
13802 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_PyObj_FromInt((int)28));
13803 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_PyObj_FromInt((int)29));
13804 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_PyObj_FromInt((int)30));
13805 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_PyObj_FromInt((int)31));
13806 PyDict_SetItemString(d,"STC_HJ_START", SWIG_PyObj_FromInt((int)40));
13807 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_PyObj_FromInt((int)41));
13808 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_PyObj_FromInt((int)42));
13809 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_PyObj_FromInt((int)43));
13810 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_PyObj_FromInt((int)44));
13811 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_PyObj_FromInt((int)45));
13812 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_PyObj_FromInt((int)46));
13813 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_PyObj_FromInt((int)47));
13814 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_PyObj_FromInt((int)48));
13815 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_PyObj_FromInt((int)49));
13816 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_PyObj_FromInt((int)50));
13817 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_PyObj_FromInt((int)51));
13818 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_PyObj_FromInt((int)52));
13819 PyDict_SetItemString(d,"STC_HJA_START", SWIG_PyObj_FromInt((int)55));
13820 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_PyObj_FromInt((int)56));
13821 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_PyObj_FromInt((int)57));
13822 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_PyObj_FromInt((int)58));
13823 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_PyObj_FromInt((int)59));
13824 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_PyObj_FromInt((int)60));
13825 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_PyObj_FromInt((int)61));
13826 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_PyObj_FromInt((int)62));
13827 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_PyObj_FromInt((int)63));
13828 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_PyObj_FromInt((int)64));
13829 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_PyObj_FromInt((int)65));
13830 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_PyObj_FromInt((int)66));
13831 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_PyObj_FromInt((int)67));
13832 PyDict_SetItemString(d,"STC_HB_START", SWIG_PyObj_FromInt((int)70));
13833 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_PyObj_FromInt((int)71));
13834 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_PyObj_FromInt((int)72));
13835 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_PyObj_FromInt((int)73));
13836 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_PyObj_FromInt((int)74));
13837 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_PyObj_FromInt((int)75));
13838 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_PyObj_FromInt((int)76));
13839 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_PyObj_FromInt((int)77));
13840 PyDict_SetItemString(d,"STC_HBA_START", SWIG_PyObj_FromInt((int)80));
13841 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_PyObj_FromInt((int)81));
13842 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_PyObj_FromInt((int)82));
13843 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_PyObj_FromInt((int)83));
13844 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_PyObj_FromInt((int)84));
13845 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_PyObj_FromInt((int)85));
13846 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_PyObj_FromInt((int)86));
13847 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_PyObj_FromInt((int)87));
13848 PyDict_SetItemString(d,"STC_HP_START", SWIG_PyObj_FromInt((int)90));
13849 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_PyObj_FromInt((int)91));
13850 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_PyObj_FromInt((int)92));
13851 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_PyObj_FromInt((int)93));
13852 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_PyObj_FromInt((int)94));
13853 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_PyObj_FromInt((int)95));
13854 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_PyObj_FromInt((int)96));
13855 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_PyObj_FromInt((int)97));
13856 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)98));
13857 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_PyObj_FromInt((int)99));
13858 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_PyObj_FromInt((int)100));
13859 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_PyObj_FromInt((int)101));
13860 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_PyObj_FromInt((int)102));
13861 PyDict_SetItemString(d,"STC_HPA_START", SWIG_PyObj_FromInt((int)105));
13862 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_PyObj_FromInt((int)106));
13863 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_PyObj_FromInt((int)107));
13864 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_PyObj_FromInt((int)108));
13865 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_PyObj_FromInt((int)109));
13866 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_PyObj_FromInt((int)110));
13867 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_PyObj_FromInt((int)111));
13868 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_PyObj_FromInt((int)112));
13869 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)113));
13870 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_PyObj_FromInt((int)114));
13871 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_PyObj_FromInt((int)115));
13872 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_PyObj_FromInt((int)116));
13873 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_PyObj_FromInt((int)117));
13874 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_PyObj_FromInt((int)118));
13875 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_PyObj_FromInt((int)119));
13876 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_PyObj_FromInt((int)120));
13877 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_PyObj_FromInt((int)121));
13878 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_PyObj_FromInt((int)122));
13879 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_PyObj_FromInt((int)123));
13880 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_PyObj_FromInt((int)124));
13881 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_PyObj_FromInt((int)125));
13882 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_PyObj_FromInt((int)126));
13883 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_PyObj_FromInt((int)127));
13884 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13885 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_PyObj_FromInt((int)1));
13886 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13887 PyDict_SetItemString(d,"STC_PL_POD", SWIG_PyObj_FromInt((int)3));
13888 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_PyObj_FromInt((int)4));
13889 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_PyObj_FromInt((int)5));
13890 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_PyObj_FromInt((int)6));
13891 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13892 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_PyObj_FromInt((int)8));
13893 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13894 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13895 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13896 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_PyObj_FromInt((int)12));
13897 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_PyObj_FromInt((int)13));
13898 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_PyObj_FromInt((int)14));
13899 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_PyObj_FromInt((int)15));
13900 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_PyObj_FromInt((int)17));
13901 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_PyObj_FromInt((int)18));
13902 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_PyObj_FromInt((int)19));
13903 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_PyObj_FromInt((int)20));
13904 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_PyObj_FromInt((int)21));
13905 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_PyObj_FromInt((int)22));
13906 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_PyObj_FromInt((int)23));
13907 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_PyObj_FromInt((int)24));
13908 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_PyObj_FromInt((int)25));
13909 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_PyObj_FromInt((int)26));
13910 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_PyObj_FromInt((int)27));
13911 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_PyObj_FromInt((int)28));
13912 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_PyObj_FromInt((int)29));
13913 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_PyObj_FromInt((int)30));
13914 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_PyObj_FromInt((int)0));
13915 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_PyObj_FromInt((int)1));
13916 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_PyObj_FromInt((int)2));
13917 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_PyObj_FromInt((int)3));
13918 PyDict_SetItemString(d,"STC_B_STRING", SWIG_PyObj_FromInt((int)4));
13919 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_PyObj_FromInt((int)5));
13920 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_PyObj_FromInt((int)6));
13921 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13922 PyDict_SetItemString(d,"STC_B_DATE", SWIG_PyObj_FromInt((int)8));
13923 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_PyObj_FromInt((int)9));
13924 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_PyObj_FromInt((int)10));
13925 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_PyObj_FromInt((int)11));
13926 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_PyObj_FromInt((int)12));
13927 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13928 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_PyObj_FromInt((int)1));
13929 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_PyObj_FromInt((int)2));
13930 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_PyObj_FromInt((int)3));
13931 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_PyObj_FromInt((int)4));
13932 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_PyObj_FromInt((int)0));
13933 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_PyObj_FromInt((int)1));
13934 PyDict_SetItemString(d,"STC_L_TAG", SWIG_PyObj_FromInt((int)2));
13935 PyDict_SetItemString(d,"STC_L_MATH", SWIG_PyObj_FromInt((int)3));
13936 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_PyObj_FromInt((int)4));
13937 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13938 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_PyObj_FromInt((int)1));
13939 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13940 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13941 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_PyObj_FromInt((int)4));
13942 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_PyObj_FromInt((int)5));
13943 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_PyObj_FromInt((int)6));
13944 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_PyObj_FromInt((int)7));
13945 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_PyObj_FromInt((int)8));
13946 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13947 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_PyObj_FromInt((int)10));
13948 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13949 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13950 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_PyObj_FromInt((int)13));
13951 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_PyObj_FromInt((int)14));
13952 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_PyObj_FromInt((int)15));
13953 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_PyObj_FromInt((int)16));
13954 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_PyObj_FromInt((int)17));
13955 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_PyObj_FromInt((int)18));
13956 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_PyObj_FromInt((int)19));
13957 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_PyObj_FromInt((int)0));
13958 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_PyObj_FromInt((int)1));
13959 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_PyObj_FromInt((int)2));
13960 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_PyObj_FromInt((int)3));
13961 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_PyObj_FromInt((int)4));
13962 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_PyObj_FromInt((int)5));
13963 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_PyObj_FromInt((int)6));
13964 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_PyObj_FromInt((int)7));
13965 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_PyObj_FromInt((int)8));
13966 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_PyObj_FromInt((int)9));
13967 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_PyObj_FromInt((int)10));
13968 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_PyObj_FromInt((int)11));
13969 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_PyObj_FromInt((int)12));
13970 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_PyObj_FromInt((int)13));
13971 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_PyObj_FromInt((int)14));
13972 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_PyObj_FromInt((int)15));
13973 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_PyObj_FromInt((int)16));
13974 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_PyObj_FromInt((int)17));
13975 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_PyObj_FromInt((int)18));
13976 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13977 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_PyObj_FromInt((int)1));
13978 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_PyObj_FromInt((int)2));
13979 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_PyObj_FromInt((int)3));
13980 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_PyObj_FromInt((int)4));
13981 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_PyObj_FromInt((int)5));
13982 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13983 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13984 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13985 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_PyObj_FromInt((int)1));
13986 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_PyObj_FromInt((int)2));
13987 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13988 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_PyObj_FromInt((int)4));
13989 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_PyObj_FromInt((int)5));
13990 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_PyObj_FromInt((int)9));
13991 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13992 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_PyObj_FromInt((int)1));
13993 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_PyObj_FromInt((int)2));
13994 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_PyObj_FromInt((int)3));
13995 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_PyObj_FromInt((int)4));
13996 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_PyObj_FromInt((int)5));
13997 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_PyObj_FromInt((int)6));
13998 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13999 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_PyObj_FromInt((int)1));
14000 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_PyObj_FromInt((int)2));
14001 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
14002 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_PyObj_FromInt((int)4));
14003 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_PyObj_FromInt((int)5));
14004 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_PyObj_FromInt((int)6));
14005 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_PyObj_FromInt((int)7));
14006 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_PyObj_FromInt((int)8));
14007 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
14008 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_PyObj_FromInt((int)0));
14009 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_PyObj_FromInt((int)1));
14010 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_PyObj_FromInt((int)2));
14011 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_PyObj_FromInt((int)3));
14012 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_PyObj_FromInt((int)6));
14013 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_PyObj_FromInt((int)7));
14014 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_PyObj_FromInt((int)8));
14015 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
14016 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_PyObj_FromInt((int)10));
14017 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_PyObj_FromInt((int)11));
14018 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_PyObj_FromInt((int)12));
14019 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_PyObj_FromInt((int)13));
14020 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_PyObj_FromInt((int)14));
14021 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_PyObj_FromInt((int)15));
14022 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_PyObj_FromInt((int)16));
14023 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_PyObj_FromInt((int)0));
14024 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_PyObj_FromInt((int)1));
14025 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
14026 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_PyObj_FromInt((int)3));
14027 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_PyObj_FromInt((int)4));
14028 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_PyObj_FromInt((int)5));
14029 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_PyObj_FromInt((int)6));
14030 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_PyObj_FromInt((int)7));
14031 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_PyObj_FromInt((int)8));
14032 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_PyObj_FromInt((int)9));
14033 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_PyObj_FromInt((int)10));
14034 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_PyObj_FromInt((int)11));
14035 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_PyObj_FromInt((int)0));
14036 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_PyObj_FromInt((int)1));
14037 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_PyObj_FromInt((int)2));
14038 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_PyObj_FromInt((int)3));
14039 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_PyObj_FromInt((int)4));
14040 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_PyObj_FromInt((int)5));
14041 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_PyObj_FromInt((int)6));
14042 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_PyObj_FromInt((int)7));
14043 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
14044 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_PyObj_FromInt((int)9));
14045 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_PyObj_FromInt((int)10));
14046 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_PyObj_FromInt((int)0));
14047 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_PyObj_FromInt((int)1));
14048 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_PyObj_FromInt((int)2));
14049 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_PyObj_FromInt((int)3));
14050 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_PyObj_FromInt((int)6));
14051 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_PyObj_FromInt((int)8));
14052 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
14053 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_PyObj_FromInt((int)10));
14054 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_PyObj_FromInt((int)0));
14055 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
14056 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_PyObj_FromInt((int)2));
14057 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_PyObj_FromInt((int)3));
14058 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_PyObj_FromInt((int)4));
14059 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_PyObj_FromInt((int)5));
14060 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_PyObj_FromInt((int)6));
14061 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
14062 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_PyObj_FromInt((int)8));
14063 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
14064 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_PyObj_FromInt((int)1));
14065 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_PyObj_FromInt((int)2));
14066 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_PyObj_FromInt((int)3));
14067 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
14068 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_PyObj_FromInt((int)5));
14069 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_PyObj_FromInt((int)6));
14070 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_PyObj_FromInt((int)7));
14071 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_PyObj_FromInt((int)8));
14072 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_PyObj_FromInt((int)9));
14073 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_PyObj_FromInt((int)10));
14074 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_PyObj_FromInt((int)0));
14075 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_PyObj_FromInt((int)1));
14076 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_PyObj_FromInt((int)2));
14077 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
14078 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_PyObj_FromInt((int)4));
14079 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_PyObj_FromInt((int)5));
14080 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_PyObj_FromInt((int)6));
14081 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_PyObj_FromInt((int)7));
14082 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_PyObj_FromInt((int)8));
14083 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_PyObj_FromInt((int)9));
14084 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_PyObj_FromInt((int)10));
14085 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_PyObj_FromInt((int)11));
14086 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
14087 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_PyObj_FromInt((int)1));
14088 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_PyObj_FromInt((int)2));
14089 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_PyObj_FromInt((int)3));
14090 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
14091 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_PyObj_FromInt((int)5));
14092 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_PyObj_FromInt((int)6));
14093 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
14094 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_PyObj_FromInt((int)8));
14095 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_PyObj_FromInt((int)0));
14096 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_PyObj_FromInt((int)1));
14097 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
14098 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_PyObj_FromInt((int)3));
14099 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_PyObj_FromInt((int)4));
14100 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_PyObj_FromInt((int)5));
14101 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_PyObj_FromInt((int)6));
14102 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_PyObj_FromInt((int)7));
14103 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_PyObj_FromInt((int)8));
14104 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_PyObj_FromInt((int)9));
14105 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_PyObj_FromInt((int)10));
14106 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_PyObj_FromInt((int)11));
14107 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_PyObj_FromInt((int)12));
14108 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_PyObj_FromInt((int)13));
14109 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_PyObj_FromInt((int)14));
14110 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_PyObj_FromInt((int)15));
14111 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_PyObj_FromInt((int)0));
14112 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_PyObj_FromInt((int)1));
14113 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_PyObj_FromInt((int)2));
14114 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_PyObj_FromInt((int)3));
14115 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_PyObj_FromInt((int)4));
14116 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
14117 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_PyObj_FromInt((int)6));
14118 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_PyObj_FromInt((int)7));
14119 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_PyObj_FromInt((int)8));
14120 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
14121 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_PyObj_FromInt((int)10));
14122 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_PyObj_FromInt((int)11));
14123 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_PyObj_FromInt((int)12));
14124 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_PyObj_FromInt((int)13));
14125 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_PyObj_FromInt((int)14));
14126 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_PyObj_FromInt((int)0));
14127 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_PyObj_FromInt((int)1));
14128 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_PyObj_FromInt((int)2));
14129 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_PyObj_FromInt((int)3));
14130 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_PyObj_FromInt((int)4));
14131 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_PyObj_FromInt((int)5));
14132 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_PyObj_FromInt((int)6));
14133 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
14134 PyDict_SetItemString(d,"STC_F_WORD", SWIG_PyObj_FromInt((int)8));
14135 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_PyObj_FromInt((int)9));
14136 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_PyObj_FromInt((int)10));
14137 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_PyObj_FromInt((int)11));
14138 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_PyObj_FromInt((int)12));
14139 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_PyObj_FromInt((int)13));
14140 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_PyObj_FromInt((int)14));
14141 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_PyObj_FromInt((int)0));
14142 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_PyObj_FromInt((int)1));
14143 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_PyObj_FromInt((int)2));
14144 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_PyObj_FromInt((int)3));
14145 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_PyObj_FromInt((int)4));
14146 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_PyObj_FromInt((int)5));
14147 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
14148 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
14149 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_PyObj_FromInt((int)8));
14150 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_PyObj_FromInt((int)9));
14151 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_PyObj_FromInt((int)10));
14152 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_PyObj_FromInt((int)11));
14153 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_PyObj_FromInt((int)12));
14154 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_PyObj_FromInt((int)13));
14155 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_PyObj_FromInt((int)14));
14156 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_PyObj_FromInt((int)0));
14157 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_PyObj_FromInt((int)1));
14158 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
14159 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_PyObj_FromInt((int)3));
14160 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_PyObj_FromInt((int)4));
14161 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
14162 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_PyObj_FromInt((int)6));
14163 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_PyObj_FromInt((int)7));
14164 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_PyObj_FromInt((int)8));
14165 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_PyObj_FromInt((int)9));
14166 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_PyObj_FromInt((int)10));
14167 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_PyObj_FromInt((int)11));
14168 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_PyObj_FromInt((int)12));
14169 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_PyObj_FromInt((int)13));
14170 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_PyObj_FromInt((int)14));
14171 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_PyObj_FromInt((int)15));
14172 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_PyObj_FromInt((int)16));
14173 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_PyObj_FromInt((int)0));
14174 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_PyObj_FromInt((int)1));
14175 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_PyObj_FromInt((int)2));
14176 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_PyObj_FromInt((int)3));
14177 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_PyObj_FromInt((int)4));
14178 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_PyObj_FromInt((int)5));
14179 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_PyObj_FromInt((int)6));
14180 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_PyObj_FromInt((int)7));
14181 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_PyObj_FromInt((int)8));
14182 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
14183 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_PyObj_FromInt((int)10));
14184 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_PyObj_FromInt((int)0));
14185 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_PyObj_FromInt((int)1));
14186 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
14187 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
14188 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_PyObj_FromInt((int)4));
14189 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_PyObj_FromInt((int)5));
14190 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_PyObj_FromInt((int)6));
14191 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_PyObj_FromInt((int)7));
14192 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
14193 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_PyObj_FromInt((int)9));
14194 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_PyObj_FromInt((int)10));
14195 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_PyObj_FromInt((int)11));
14196 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_PyObj_FromInt((int)0));
14197 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_PyObj_FromInt((int)1));
14198 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_PyObj_FromInt((int)2));
14199 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_PyObj_FromInt((int)3));
14200 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_PyObj_FromInt((int)4));
14201 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_PyObj_FromInt((int)5));
14202 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_PyObj_FromInt((int)6));
14203 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_PyObj_FromInt((int)7));
14204 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_PyObj_FromInt((int)8));
14205 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_PyObj_FromInt((int)9));
14206 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_PyObj_FromInt((int)10));
14207 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_PyObj_FromInt((int)11));
14208 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_PyObj_FromInt((int)12));
14209 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_PyObj_FromInt((int)13));
14210 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_PyObj_FromInt((int)14));
14211 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_PyObj_FromInt((int)15));
14212 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_PyObj_FromInt((int)0));
14213 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_PyObj_FromInt((int)1));
14214 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_PyObj_FromInt((int)2));
14215 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_PyObj_FromInt((int)3));
14216 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_PyObj_FromInt((int)4));
14217 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_PyObj_FromInt((int)5));
14218 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_PyObj_FromInt((int)6));
14219 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_PyObj_FromInt((int)7));
14220 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_PyObj_FromInt((int)8));
14221 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_PyObj_FromInt((int)9));
14222 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_PyObj_FromInt((int)10));
14223 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_PyObj_FromInt((int)11));
14224 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_PyObj_FromInt((int)12));
14225 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_PyObj_FromInt((int)13));
14226 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_PyObj_FromInt((int)0));
14227 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_PyObj_FromInt((int)1));
14228 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_PyObj_FromInt((int)2));
14229 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_PyObj_FromInt((int)3));
14230 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_PyObj_FromInt((int)4));
14231 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_PyObj_FromInt((int)5));
14232 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_PyObj_FromInt((int)6));
14233 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_PyObj_FromInt((int)7));
14234 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_PyObj_FromInt((int)8));
14235 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_PyObj_FromInt((int)9));
14236 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_PyObj_FromInt((int)10));
14237 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_PyObj_FromInt((int)11));
14238 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_PyObj_FromInt((int)12));
14239 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_PyObj_FromInt((int)13));
14240 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_PyObj_FromInt((int)14));
14241 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_PyObj_FromInt((int)15));
14242 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_PyObj_FromInt((int)16));
14243 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_PyObj_FromInt((int)17));
14244 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_PyObj_FromInt((int)0));
14245 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_PyObj_FromInt((int)1));
14246 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_PyObj_FromInt((int)2));
14247 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_PyObj_FromInt((int)3));
14248 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_PyObj_FromInt((int)4));
14249 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_PyObj_FromInt((int)5));
14250 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_PyObj_FromInt((int)6));
14251 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_PyObj_FromInt((int)7));
14252 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_PyObj_FromInt((int)8));
14253 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
14254 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_PyObj_FromInt((int)10));
14255 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_PyObj_FromInt((int)11));
14256 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_PyObj_FromInt((int)12));
14257 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_PyObj_FromInt((int)13));
14258 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_PyObj_FromInt((int)14));
14259 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_PyObj_FromInt((int)0));
14260 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_PyObj_FromInt((int)1));
14261 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_PyObj_FromInt((int)2));
14262 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_PyObj_FromInt((int)3));
14263 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_PyObj_FromInt((int)4));
14264 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_PyObj_FromInt((int)5));
14265 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_PyObj_FromInt((int)6));
14266 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_PyObj_FromInt((int)0));
14267 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_PyObj_FromInt((int)1));
14268 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
14269 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_PyObj_FromInt((int)3));
14270 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_PyObj_FromInt((int)4));
14271 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_PyObj_FromInt((int)5));
14272 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_PyObj_FromInt((int)6));
14273 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_PyObj_FromInt((int)7));
14274 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_PyObj_FromInt((int)8));
14275 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_PyObj_FromInt((int)0));
14276 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_PyObj_FromInt((int)1));
14277 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_PyObj_FromInt((int)2));
14278 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_PyObj_FromInt((int)3));
14279 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_PyObj_FromInt((int)4));
14280 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_PyObj_FromInt((int)5));
14281 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_PyObj_FromInt((int)0));
14282 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_PyObj_FromInt((int)1));
14283 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_PyObj_FromInt((int)2));
14284 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_PyObj_FromInt((int)3));
14285 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_PyObj_FromInt((int)4));
14286 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_PyObj_FromInt((int)5));
14287 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_PyObj_FromInt((int)6));
14288 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_PyObj_FromInt((int)0));
14289 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_PyObj_FromInt((int)1));
14290 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_PyObj_FromInt((int)2));
14291 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_PyObj_FromInt((int)3));
14292 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_PyObj_FromInt((int)4));
14293 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_PyObj_FromInt((int)5));
14294 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_PyObj_FromInt((int)6));
14295 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_PyObj_FromInt((int)7));
14296 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_PyObj_FromInt((int)8));
14297 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_PyObj_FromInt((int)9));
14298 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_PyObj_FromInt((int)10));
14299 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_PyObj_FromInt((int)11));
14300 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_PyObj_FromInt((int)12));
14301 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_PyObj_FromInt((int)13));
14302 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_PyObj_FromInt((int)31));
14303 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_PyObj_FromInt((int)2011));
14304 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_PyObj_FromInt((int)2013));
14305 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_PyObj_FromInt((int)2176));
14306 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_PyObj_FromInt((int)2177));
14307 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_PyObj_FromInt((int)2178));
14308 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_PyObj_FromInt((int)2179));
14309 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_PyObj_FromInt((int)2180));
14310 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_PyObj_FromInt((int)2300));
14311 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_PyObj_FromInt((int)2301));
14312 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_PyObj_FromInt((int)2302));
14313 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_PyObj_FromInt((int)2303));
14314 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_PyObj_FromInt((int)2304));
14315 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_PyObj_FromInt((int)2305));
14316 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_PyObj_FromInt((int)2306));
14317 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_PyObj_FromInt((int)2307));
14318 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_PyObj_FromInt((int)2308));
14319 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_PyObj_FromInt((int)2309));
14320 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_PyObj_FromInt((int)2310));
14321 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_PyObj_FromInt((int)2311));
14322 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_PyObj_FromInt((int)2312));
14323 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_PyObj_FromInt((int)2313));
14324 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_PyObj_FromInt((int)2314));
14325 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_PyObj_FromInt((int)2315));
14326 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_PyObj_FromInt((int)2316));
14327 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_PyObj_FromInt((int)2317));
14328 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_PyObj_FromInt((int)2318));
14329 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_PyObj_FromInt((int)2319));
14330 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_PyObj_FromInt((int)2320));
14331 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_PyObj_FromInt((int)2321));
14332 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_PyObj_FromInt((int)2322));
14333 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2323));
14334 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_PyObj_FromInt((int)2324));
14335 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_PyObj_FromInt((int)2325));
14336 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_PyObj_FromInt((int)2326));
14337 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_PyObj_FromInt((int)2327));
14338 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_PyObj_FromInt((int)2328));
14339 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_PyObj_FromInt((int)2329));
14340 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_PyObj_FromInt((int)2330));
14341 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_PyObj_FromInt((int)2331));
14342 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_PyObj_FromInt((int)2332));
14343 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_PyObj_FromInt((int)2333));
14344 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_PyObj_FromInt((int)2334));
14345 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_PyObj_FromInt((int)2335));
14346 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_PyObj_FromInt((int)2336));
14347 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_PyObj_FromInt((int)2337));
14348 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_PyObj_FromInt((int)2338));
14349 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_PyObj_FromInt((int)2339));
14350 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_PyObj_FromInt((int)2404));
14351 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_PyObj_FromInt((int)2340));
14352 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_PyObj_FromInt((int)2341));
14353 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_PyObj_FromInt((int)2342));
14354 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_PyObj_FromInt((int)2343));
14355 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_PyObj_FromInt((int)2344));
14356 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_PyObj_FromInt((int)2345));
14357 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2346));
14358 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_PyObj_FromInt((int)2347));
14359 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2348));
14360 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_PyObj_FromInt((int)2349));
14361 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2450));
14362 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_PyObj_FromInt((int)2451));
14363 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_PyObj_FromInt((int)2452));
14364 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_PyObj_FromInt((int)2453));
14365 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2454));
14366 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_PyObj_FromInt((int)2390));
14367 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_PyObj_FromInt((int)2391));
14368 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_PyObj_FromInt((int)2392));
14369 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_PyObj_FromInt((int)2393));
14370 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_PyObj_FromInt((int)2395));
14371 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_PyObj_FromInt((int)2396));
14372 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_PyObj_FromInt((int)2413));
14373 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_PyObj_FromInt((int)2414));
14374 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_PyObj_FromInt((int)2415));
14375 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_PyObj_FromInt((int)2416));
14376 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_PyObj_FromInt((int)2426));
14377 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_PyObj_FromInt((int)2427));
14378 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_PyObj_FromInt((int)2428));
14379 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_PyObj_FromInt((int)2429));
14380 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_PyObj_FromInt((int)2430));
14381 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_PyObj_FromInt((int)2431));
14382 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_PyObj_FromInt((int)2432));
14383 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_PyObj_FromInt((int)2433));
14384 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_PyObj_FromInt((int)2434));
14385 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_PyObj_FromInt((int)2435));
14386 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_PyObj_FromInt((int)2436));
14387 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_PyObj_FromInt((int)2437));
14388 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2438));
14389 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_PyObj_FromInt((int)2439));
14390 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_PyObj_FromInt((int)2440));
14391 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_PyObj_FromInt((int)2441));
14392 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_PyObj_FromInt((int)2442));
14393 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_PyObj_FromInt((int)wxEVT_STC_CHANGE));
14394 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_PyObj_FromInt((int)wxEVT_STC_STYLENEEDED));
14395 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_PyObj_FromInt((int)wxEVT_STC_CHARADDED));
14396 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
14397 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
14398 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_PyObj_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
14399 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_PyObj_FromInt((int)wxEVT_STC_KEY));
14400 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_DOUBLECLICK));
14401 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_PyObj_FromInt((int)wxEVT_STC_UPDATEUI));
14402 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_PyObj_FromInt((int)wxEVT_STC_MODIFIED));
14403 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_PyObj_FromInt((int)wxEVT_STC_MACRORECORD));
14404 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_MARGINCLICK));
14405 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_PyObj_FromInt((int)wxEVT_STC_NEEDSHOWN));
14406 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_PyObj_FromInt((int)wxEVT_STC_POSCHANGED));
14407 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_PyObj_FromInt((int)wxEVT_STC_PAINTED));
14408 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_PyObj_FromInt((int)wxEVT_STC_USERLISTSELECTION));
14409 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_PyObj_FromInt((int)wxEVT_STC_URIDROPPED));
14410 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLSTART));
14411 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLEND));
14412 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_PyObj_FromInt((int)wxEVT_STC_START_DRAG));
14413 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_PyObj_FromInt((int)wxEVT_STC_DRAG_OVER));
14414 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_PyObj_FromInt((int)wxEVT_STC_DO_DROP));
14415 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_PyObj_FromInt((int)wxEVT_STC_ZOOM));
14416 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
14417 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
14418 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
14419
14420
14421 }
14422